
:root {
  --bg: #1f231c;
  --bg-soft: #2b3127;
  --panel: #3a4332;
  --panel-light: #4a5640;
  --sand: #c7b78a;
  --sand-soft: #ded3b1;
  --text: #f2efe6;
  --muted: #cfc7b2;
  --border: rgba(222, 211, 177, 0.16);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  --accent-blue: #2c5aa0;
  --accent-yellow: #d7b443;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top, rgba(215, 180, 67, 0.08), transparent 26%),
    linear-gradient(180deg, #20241d 0%, #1a1d18 100%);
  color: var(--text);
}

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

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

button {
  font: inherit;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(24, 28, 22, 0.8);
  border-bottom: 1px solid var(--border);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--sand-soft);
}

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

.nav-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--sand-soft);
}

.language-switch {
  display: flex;
  gap: 8px;
}

.lang-btn {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-yellow));
  color: white;
  border-color: transparent;
}

.hero-grid,
.about-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.about-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.eyebrow,
.section-tag,
.card-label,
.point-title,
.contact-brand {
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.eyebrow,
.section-tag,
.card-label,
.point-title {
  color: var(--sand);
  font-size: 0.82rem;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  margin-top: 20px;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.2;
}

.hero-text,
#about p,
#work p,
.contact-text,
.mission-card p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-text {
  max-width: 680px;
  margin-top: 24px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--panel-light), var(--panel));
  color: var(--text);
}

.btn-secondary {
  background: transparent;
  color: var(--sand-soft);
}

.mission-card,
.values-card,
.info-card,
.contact-card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(74, 86, 64, 0.86), rgba(43, 49, 39, 0.95));
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.mission-card {
  padding: 30px;
}

.mission-card h2 {
  margin-top: 12px;
  font-size: 2rem;
}

.mission-card p {
  margin-top: 18px;
}

.mission-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.point-box {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.point-box strong {
  display: block;
  margin-top: 10px;
  line-height: 1.5;
}

#about h2,
#work h2 {
  margin-top: 16px;
  max-width: 12ch;
}

#about p {
  margin-top: 22px;
  max-width: 700px;
}

.values-card {
  padding: 30px;
}

.values-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.values-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.6;
}

.values-list li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-yellow));
}

.section-intro {
  max-width: 780px;
}

.cards-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.info-card {
  padding: 28px;
}

.info-card h3 {
  color: var(--sand-soft);
}

.info-card p {
  margin-top: 16px;
}

.contact-section {
  padding-top: 36px;
}

.contact-card {
  padding: 40px;
  text-align: center;
}

.contact-brand {
  color: var(--sand);
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.contact-card h2 {
  margin-bottom: 16px;
}

.contact-phone a {
  display: inline-block;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--sand-soft);
  margin-bottom: 16px;
}

.contact-text {
  max-width: 720px;
  margin: 0 auto;
}

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

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 0;
  }

  h1 {
    max-width: 100%;
  }

  #about h2,
  #work h2 {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 68px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  .language-switch {
    width: 100%;
    justify-content: center;
  }

  .mission-points {
    grid-template-columns: 1fr;
  }

  .mission-card,
  .values-card,
  .info-card,
  .contact-card {
    border-radius: 24px;
  }
}