:root {
  --bg: #080b09;
  --ink: #f5f2e8;
  --muted: rgba(245, 242, 232, 0.72);
  --dark: #101512;
  --line: rgba(245, 242, 232, 0.14);
  --emerald: #1f7a4a;
  --gold: #c9a24d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", Arial, "Noto Sans", sans-serif;
  text-rendering: optimizeLegibility;
}

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(8, 11, 9, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 178px;
}

.brand-logo {
  display: block;
  width: clamp(168px, 16vw, 218px);
  height: 46px;
  object-fit: contain;
  object-position: left center;
}

.site-nav,
.header-actions,
.lang-switch {
  display: flex;
  align-items: center;
}

.site-nav {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.header-actions {
  gap: 10px;
}

.lang-switch {
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.lang {
  min-width: 38px;
  min-height: 32px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.lang.active {
  color: #101512;
  background: #f1d98c;
}

.header-cta,
.primary-action,
.secondary-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: var(--radius);
  font-weight: 800;
  white-space: nowrap;
}

.header-cta,
.primary-action {
  color: #08100b;
  background: linear-gradient(135deg, #e7c86e, #f4e7b6);
  box-shadow: 0 12px 30px rgba(201, 162, 77, 0.2);
}

.secondary-action {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 118px clamp(18px, 5vw, 72px) 7vh;
}

.hero img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 11, 9, 0.94) 0%, rgba(8, 11, 9, 0.68) 42%, rgba(8, 11, 9, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 11, 9, 0.96) 0%, rgba(8, 11, 9, 0) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 580px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.55;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 12px;
  margin: 38px 0 0;
}

.hero-stats div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.hero-stats dt {
  margin: 0 0 4px;
  font-weight: 900;
  text-transform: lowercase;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: clamp(56px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.section-title {
  max-width: 860px;
  margin-bottom: 28px;
}

.section-title.compact {
  max-width: 700px;
}

.section-title h2,
.system-copy h2,
.service h2 {
  margin: 0;
  font-size: clamp(25px, 3.8vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

.intro {
  background: #f3f0e7;
  color: #121811;
}

.intro-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.intro-grid article,
.package-grid article,
.contact-grid article,
.support-card {
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid rgba(18, 24, 17, 0.12);
  background: #fff;
  box-shadow: 0 16px 38px rgba(18, 24, 17, 0.08);
}

.intro-grid article span {
  color: var(--emerald);
  font-weight: 900;
}

.intro-grid h3,
.package-grid h3,
.support-card h3 {
  margin: 12px 0 9px;
  font-size: 20px;
}

.intro-grid p,
.package-grid p {
  margin: 0;
  color: #5e695e;
  font-size: 15px;
  line-height: 1.55;
}

.system-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: center;
  background: #101512;
}

.system-copy p,
.service p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.system-flow {
  display: grid;
  gap: 12px;
}

.system-flow article {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.system-flow strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
}

.system-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.packages {
  background: #ece8dc;
  color: #121811;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.package-grid article {
  padding: 18px;
}

.package-grid strong {
  display: block;
  color: var(--emerald);
  font-size: 24px;
}

.service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: center;
}

.support-card {
  color: #121811;
}

.support-card p {
  color: #5e695e;
}

.contact {
  background: #f3f0e7;
  color: #121811;
}

.contact .section-title p {
  color: #5e695e;
}

.contact-grid {
  grid-template-columns: repeat(4, minmax(260px, 1fr));
}

.contact-grid article span {
  display: block;
  color: #697264;
  font-size: 13px;
  margin-bottom: 8px;
}

.contact-grid article strong {
  display: block;
  font-size: clamp(15px, 1.25vw, 18px);
  white-space: nowrap;
}

.site-footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer a {
  color: var(--gold);
  font-weight: 800;
}

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

  .package-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .system-band,
  .service,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .header-cta {
    flex: 1;
  }

  .hero {
    min-height: 100vh;
    padding-top: 190px;
  }

  .hero-actions a,
  .package-grid,
  .contact-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }
}
