/* ==========================================================================
   LimenThai — маркетинговый сайт. Токены сознательно взрослее мини-аппа:
   тот же акцентный оранжевый и самолётик, но на глубоком navy + кремовом
   фоне, без "мультяшных" скруглённых плашек — сайту должны доверять деньги.
   ========================================================================== */

:root {
  --navy-900: #0d1b33;
  --navy-800: #16213a;
  --navy-700: #202e4d;
  --accent-from: #ff7a1a;
  --accent-to: #ff3b12;
  --gold: #c99a4b;
  --finance-blue: #2856d6;
  --finance-blue-soft: #eaf0fd;
  --finance-blue-on-dark: #8fb3ff;

  --bg: #fbfaf7;
  --bg-alt: #f3efe8;
  --card-bg: #ffffff;
  --text-primary: #16213a;
  --text-secondary: #5c6373;
  --text-on-dark: #f4f1ea;
  --text-on-dark-secondary: #aab2c5;
  --border: #e8e3d9;

  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(13, 27, 51, 0.10);
  --shadow-card: 0 1px 3px rgba(13, 27, 51, 0.10);
  --shadow-btn: 0 1px 3px rgba(13, 27, 51, 0.10);

  --font-head: "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;

  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-800);
  line-height: 1.15;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-to);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent-to);
  border-radius: 2px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
  color: #fff;
  box-shadow: var(--shadow-btn);
}

.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-on-dark);
  border: 1.5px solid rgba(244, 241, 234, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--navy-800);
  border: 1.5px solid var(--border);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 13px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

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

.brand svg {
  color: var(--accent-to);
  flex: none;
}

.brand-word {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  color: var(--navy-800);
  line-height: 1;
}

.brand-word span {
  color: var(--accent-to);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.main-nav a:hover {
  color: var(--navy-800);
}

.nav-cta-mobile {
  display: none;
}

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

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
}

.lang-switch a {
  padding: 4px 8px;
  border-radius: 8px;
}

.lang-switch a.active {
  color: var(--navy-800);
  background: var(--bg-alt);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
}

/* ---------- hero ---------- */

.hero {
  padding: 76px 0 96px;
  background:
    radial-gradient(60% 60% at 85% 15%, rgba(255, 122, 26, 0.10), transparent 70%),
    var(--bg);
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-kicker-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 7px 14px 7px 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--shadow-card);
}

.trust-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34c759;
  flex: none;
}

.hero h1 {
  font-size: 47px;
  font-weight: 800;
  letter-spacing: -0.01em;
  max-width: 15ch;
}

.hero-lead {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-cta-note {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 8px 22px;
}

@media (max-width: 1180px) {
  .hero-facts {
    grid-template-columns: repeat(2, auto);
  }
}

.hero-fact-value {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  color: var(--finance-blue);
}

.hero-fact-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.hero-art {
  position: relative;
}

.hero-art-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
}

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

.hero-rate-card {
  position: absolute;
  left: -28px;
  bottom: -26px;
  background: var(--navy-900);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  box-shadow: var(--shadow-card);
  min-width: 230px;
}

.hero-rate-card .label {
  font-size: 12.5px;
  color: var(--text-on-dark-secondary);
  margin-bottom: 6px;
}

.hero-rate-card .value {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 34px;
  line-height: 1.1;
}

.hero-rate-card .value span {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--finance-blue-on-dark);
  margin-top: 4px;
}

/* ---------- section shell ---------- */

section {
  padding: 88px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head h2 {
  font-size: 34px;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 16.5px;
}

.section-head.align-left {
  margin: 0 0 48px;
  text-align: left;
}

/* ---------- services ---------- */

.services {
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: border-color 0.2s ease;
}

.service-card:hover {
  border-color: var(--finance-blue);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--finance-blue-soft);
  color: var(--navy-800);
  margin-bottom: 20px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.service-flagship {
  position: relative;
  overflow: hidden;
}

.service-flagship .badge {
  position: absolute;
  top: 22px;
  right: 22px;
  background: var(--navy-900);
  color: var(--text-on-dark);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
}

/* ---------- how it works ---------- */

.how {
  background: var(--bg);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px 30px;
}

.step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 16.5px;
  margin-bottom: 6px;
}

.step p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.step-connector {
  display: none;
}

/* ---------- why us ---------- */

.why {
  background: var(--navy-900);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}

.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 70% at 90% 10%, rgba(255, 122, 26, 0.18), transparent 70%);
  pointer-events: none;
}

.why .section-head h2,
.why .section-head p {
  color: var(--text-on-dark);
}

.why .section-head p {
  color: var(--text-on-dark-secondary);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.why-item {
  border: 1px solid rgba(244, 241, 234, 0.14);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.03);
}

.why-item .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--finance-blue-on-dark);
  margin-bottom: 18px;
}

.why-item .icon svg {
  width: 24px;
  height: 24px;
}

.why-item h3 {
  color: var(--text-on-dark);
  font-size: 17px;
  margin-bottom: 8px;
}

.why-item p {
  color: var(--text-on-dark-secondary);
  font-size: 14px;
  margin-bottom: 0;
}

/* ---------- about ---------- */

.about .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
}

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

.about-copy .section-head {
  text-align: left;
  margin: 0 0 20px;
}

.about-copy p {
  color: var(--text-secondary);
  font-size: 15.5px;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-list li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-primary);
}

.about-list li .check {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e6f7ec;
  color: #218a4a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

/* ---------- final cta ---------- */

.final-cta {
  padding: 0 0 96px;
}

.final-cta .box {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  border-radius: 28px;
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.final-cta .box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(45% 90% at 95% 50%, rgba(255, 122, 26, 0.22), transparent 70%);
}

.final-cta h2 {
  color: var(--text-on-dark);
  font-size: 30px;
  margin-bottom: 10px;
  position: relative;
}

.final-cta p {
  color: var(--text-on-dark-secondary);
  margin-bottom: 0;
  font-size: 15.5px;
  position: relative;
  max-width: 44ch;
}

.final-cta .actions {
  position: relative;
  flex: none;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 14px;
  max-width: 32ch;
  margin: 14px 0 0;
}

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14.5px;
  color: var(--text-primary);
}

.footer-col a:hover {
  color: var(--accent-to);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
}

/* ---------- responsive ---------- */

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

  .services-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .brand-word {
    font-size: 16px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions > .btn-primary {
    display: none;
  }

  .main-nav.nav-open {
    display: flex;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 20px;
  }

  .main-nav.nav-open a {
    padding: 10px 0;
    width: 100%;
  }

  .main-nav.nav-open .nav-cta-mobile {
    display: inline-flex;
    justify-content: center;
    margin-top: 8px;
    padding: 13px 16px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .services-grid,
  .why-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .final-cta .box {
    flex-direction: column;
    text-align: center;
    padding: 44px 28px;
  }

  .final-cta p {
    max-width: none;
  }

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

  .hero-rate-card {
    left: 16px;
    bottom: -20px;
  }
}
