:root {
  --bg: #fff7ef;
  --line: rgba(88, 52, 32, 0.12);
  --text: #2d211d;
  --muted: #6e5a52;
  --primary: #ff6b4a;
  --secondary: #ffb347;
  --accent: #2d3959;
  --surface: rgba(255, 250, 245, 0.9);
  --surface-strong: rgba(255, 242, 232, 0.95);
  --shadow: 0 26px 70px rgba(120, 67, 30, 0.14);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 107, 74, 0.18), transparent 26%),
    radial-gradient(circle at top right, rgba(255, 179, 71, 0.18), transparent 24%),
    linear-gradient(180deg, #fff7ef 0%, #fff0e3 52%, #fff9f3 100%);
  line-height: 1.6;
}

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

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

.container {
  width: min(calc(100% - 24px), var(--container));
  margin: 0 auto;
}

.topbar {
  padding: 14px 0 18px;
}

.topbar__row {
  position: relative;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(88, 52, 32, 0.1);
  border-radius: 24px 44px 24px 44px;
  background: linear-gradient(135deg, rgba(255, 249, 243, 0.92), rgba(255, 238, 221, 0.84));
  box-shadow: 0 14px 40px rgba(134, 77, 39, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 0 0 9px rgba(255, 107, 74, 0.12);
}

.nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(88, 52, 32, 0.06);
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.nav a:hover {
  transform: translateY(-1px);
  background: rgba(255, 107, 74, 0.1);
  color: var(--text);
}

.lang-menu {
  position: relative;
  z-index: 60;
  flex: 0 0 auto;
}

.lang-menu__button {
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 74px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(88, 52, 32, 0.08);
  background: linear-gradient(135deg, rgba(255, 179, 71, 0.22), rgba(255, 255, 255, 0.92));
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.lang-menu__button:hover {
  background: linear-gradient(135deg, rgba(255, 179, 71, 0.3), rgba(255, 255, 255, 0.96));
}

.lang-menu__icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  flex: 0 0 auto;
}

.lang-menu__code {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lang-menu__list {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 190px;
  padding: 8px;
  border: 1px solid rgba(88, 52, 32, 0.1);
  border-radius: 20px;
  background: rgba(255, 252, 248, 0.98);
  box-shadow: 0 18px 48px rgba(120, 67, 30, 0.16);
  z-index: 80;
  display: none;
}

.lang-menu.is-open .lang-menu__list {
  display: block;
}

.lang-menu__list a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.lang-menu__list a:hover,
.lang-menu__list a.is-current {
  background: rgba(255, 107, 74, 0.1);
  color: var(--text);
}

.hero {
  position: relative;
  z-index: 1;
  padding: 6px 0 44px;
}

.hero__grid,
.grid-2,
.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.hero__panel,
.hero__card,
.section-card,
.compare-card,
.faq-item,
.cta-card,
.lang-card {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero__panel,
.section-card,
.compare-card,
.faq-item,
.lang-card {
  border: 1px solid rgba(88, 52, 32, 0.08);
  background: var(--surface);
}

.hero__panel,
.hero__card,
.cta-card {
  padding: 24px;
}

.section-card,
.compare-card,
.faq-item {
  padding: 22px;
}

.hero__panel {
  background:
    linear-gradient(160deg, rgba(255, 252, 248, 0.94), rgba(255, 241, 229, 0.94));
}

.hero__card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid rgba(45, 57, 89, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 179, 71, 0.22), transparent 28%),
    linear-gradient(150deg, #2d3959 0%, #27324f 100%);
  color: #fff7ef;
}

.hero__card h2,
.hero__card h3,
.hero__card p,
.hero__card li {
  color: inherit;
}

.eyebrow,
.compare-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 107, 74, 0.12);
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  letter-spacing: -0.03em;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(32px, 8vw, 60px);
  line-height: 0.96;
  max-width: 700px;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.03;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.lead,
.section-head p,
.hero__panel p,
.section-card p,
.compare-card p,
.faq-item p,
.cta-card p,
.lang-card p {
  color: var(--muted);
}

.lead {
  margin: 0 0 22px;
  max-width: 760px;
  font-size: 17px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fffaf5;
  box-shadow: 0 18px 34px rgba(255, 107, 74, 0.24);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(88, 52, 32, 0.08);
  color: var(--text);
}

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

.stat,
.checklist li {
  padding: 16px;
  border-radius: var(--radius-md);
}

.stat {
  border: 1px solid rgba(88, 52, 32, 0.06);
  background: rgba(255, 255, 255, 0.82);
}

.stat strong {
  display: block;
  margin-bottom: 4px;
  font-size: 20px;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

section {
  position: relative;
  z-index: 1;
  padding: 0 0 60px;
}

.section-head {
  margin-bottom: 22px;
  max-width: 760px;
}

.section-card,
.compare-card,
.faq-item {
  position: relative;
  overflow: hidden;
}

.section-card::before,
.compare-card::before,
.faq-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.compare-card:nth-child(2) {
  background:
    linear-gradient(165deg, rgba(255, 248, 240, 0.96), rgba(255, 236, 220, 0.96));
}

.compare-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(88, 52, 32, 0.08);
  margin-top: 16px;
}

.faq {
  display: grid;
  gap: 14px;
}

.cta-card {
  display: grid;
  grid-template-columns: 1.4fr auto;
  align-items: end;
  gap: 18px;
  border: 1px solid rgba(255, 107, 74, 0.12);
  background:
    radial-gradient(circle at top right, rgba(255, 240, 216, 0.2), transparent 30%),
    linear-gradient(135deg, #ff6b4a 0%, #ff8b5b 48%, #ffb347 100%);
  color: #fffaf5;
}

.cta-card p {
  color: rgba(255, 250, 245, 0.9);
}

.cta-card .btn--secondary {
  background: rgba(255, 250, 245, 0.94);
  border-color: rgba(255, 250, 245, 0.2);
}

.footer {
  padding: 0 0 28px;
}

.footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.lang-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lang-card {
  max-width: 720px;
  padding: 32px;
  background:
    linear-gradient(160deg, rgba(255, 252, 248, 0.96), rgba(255, 239, 227, 0.95));
}

.lang-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(88, 52, 32, 0.08);
  background: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero__grid,
  .grid-2,
  .compare,
  .hero__stats,
  .lang-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .topbar__row {
    gap: 8px;
    padding: 12px 14px;
  }

  .brand {
    flex: 0 0 auto;
    gap: 8px;
    font-size: 12px;
  }

  .brand__dot {
    box-shadow: 0 0 0 7px rgba(255, 107, 74, 0.12);
  }

  .nav {
    flex: 1 1 auto;
    justify-content: flex-start;
    gap: 6px;
    padding: 0 6px;
    background: transparent;
    border: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    min-height: 32px;
    padding: 0 10px;
    font-size: 11px;
    background: rgba(255, 250, 245, 0.96);
    border: 1px solid rgba(88, 52, 32, 0.08);
  }

  .lang-menu__button {
    min-width: 60px;
    min-height: 36px;
    padding: 0 10px;
    font-size: 11px;
  }

  .lang-menu__icon {
    width: 14px;
    height: 14px;
  }

  h1 {
    font-size: clamp(28px, 10vw, 42px);
  }

  .hero__panel,
  .hero__card,
  .cta-card,
  .section-card,
  .compare-card,
  .faq-item,
  .lang-card {
    padding: 20px;
  }

  .btn {
    width: 100%;
  }

  .footer__row {
    flex-direction: column;
    align-items: flex-start;
  }
}
