:root {
  --bg: #111315;
  --bg-soft: #181b1f;
  --surface: #1f2329;
  --surface-hover: #262b33;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f3f4f6;
  --text-muted: #9ca3af;
  --accent: #e09f3e;
  --accent-hover: #f0b254;
  --radius: 14px;
  --container: 1160px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(17, 19, 21, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-text {
  font-family: 'Bebas Neue', 'Manrope', sans-serif;
  font-size: 1.75rem;
  letter-spacing: 0.05em;
  line-height: 1;
  color: #ffffff;
}

.brand-dom {
  color: #ffd400;
}

.footer-brand-text {
  font-size: 1.35rem;
}

.brand-logo {
  height: 38px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #111315;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center 45%;
  transform: scale(1.02);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 19, 21, 0.48) 0%,
    rgba(17, 19, 21, 0.42) 45%,
    rgba(17, 19, 21, 0.92) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(17, 19, 21, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: rgba(243, 244, 246, 0.84);
  max-width: 600px;
  margin-bottom: 32px;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
  flex-wrap: wrap;
}

.section-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.section-desc {
  color: var(--text-muted);
  max-width: 460px;
  font-size: 0.96rem;
}

/* About / Principles */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.pillar-num {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: 0.08em;
}

.pillar-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.pillar-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* Objects Grid */
.objects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.object-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.object-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 159, 62, 0.4);
}

.object-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  cursor: zoom-in;
  background: #0d0f11;
}

.object-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.object-card:hover .object-media img {
  transform: scale(1.04);
}

.object-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(17, 19, 21, 0.78);
  backdrop-filter: blur(6px);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.object-body {
  padding: 20px 22px 22px;
}

.object-body h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 6px;
}

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

/* Contacts & Socials */
.contacts-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.person-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.person-role {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}

.person-name {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.person-area {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.person-phone {
  display: inline-block;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.person-phone:hover {
  color: var(--accent);
}

.person-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  transition: background 0.2s ease;
}

.mini-pill:hover {
  background: rgba(255, 255, 255, 0.12);
}

.socials-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.socials-box h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.socials-box > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.social-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.social-item:hover {
  border-color: rgba(224, 159, 62, 0.45);
  background: var(--surface-hover);
}

.social-title {
  font-weight: 600;
  font-size: 0.96rem;
}

.social-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.social-arrow {
  color: var(--accent);
  font-weight: 700;
}

/* Footer */
.footer {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

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

.footer-brand img {
  height: 28px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 10px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 26px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 960px) {
  .pillars-grid,
  .objects-grid,
  .contacts-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav {
    display: none;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 110px 0 56px;
  }

  .section {
    padding: 64px 0;
  }
}
