:root {
  --bg: #f3ede2;
  --bg-accent: #e6d2b4;
  --surface: #fffaf1;
  --surface-strong: #f8e8d1;
  --text: #1e1b18;
  --text-soft: #5d564f;
  --brand: #0f766e;
  --brand-hover: #0b5f59;
  --line: #d5c4ab;
  --success: #0f9d58;
  --shadow: 0 20px 50px rgba(34, 29, 22, 0.12);
  --radius-lg: 28px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 207, 120, 0.38), transparent 40%),
    radial-gradient(circle at 85% 5%, rgba(15, 118, 110, 0.2), transparent 45%),
    linear-gradient(145deg, var(--bg) 0%, #f9f4ea 45%, #f2e7d6 100%);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#app {
  flex: 1;
}

.backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(93, 86, 79, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 86, 79, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 90%);
  z-index: -1;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--text);
  color: var(--surface);
  font-weight: 800;
  font-family: "Syne", "Segoe UI", sans-serif;
}

.brand-text {
  font-family: "Syne", "Segoe UI", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface), white 30%);
  padding: 6px;
  border-radius: 999px;
}

.nav a {
  text-decoration: none;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: 180ms ease;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  background: var(--surface-strong);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
  padding: 12px 20px;
}

.btn-primary:hover {
  background: var(--brand-hover);
}

.btn-outline {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.65);
  padding: 10px 18px;
}

.panel {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface), white 18%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.route-view {
  min-height: 64vh;
  padding: clamp(26px, 4vw, 52px);
  animation: riseIn 360ms ease;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(18px, 3vw, 36px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--brand);
}

h1,
h2 {
  margin: 0;
  font-family: "Syne", "Segoe UI", sans-serif;
  line-height: 1.05;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 3.5rem);
}

h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
}

.subtitle {
  margin: 18px 0 0;
  color: var(--text-soft);
  max-width: 58ch;
}

.service-area {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  padding: 8px 14px;
  border: 1px solid color-mix(in srgb, var(--brand), white 55%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand), white 90%);
  color: var(--brand-hover);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.metric-grid {
  display: grid;
  gap: 12px;
}

.metric {
  background: var(--surface-strong);
  border: 1px solid #d7c4a9;
  border-radius: var(--radius-md);
  padding: 16px;
}

.metric strong {
  display: block;
  font-size: 1.55rem;
  font-family: "Syne", "Segoe UI", sans-serif;
}

.metric span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.card-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.features-actions {
  margin-top: 36px;
  display: flex;
  justify-content: flex-end;
}

.card {
  border: 1px solid var(--line);
  background: #fffdf8;
  border-radius: var(--radius-md);
  padding: 18px;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-family: "Syne", "Segoe UI", sans-serif;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  color: var(--text-soft);
}

.price-wrap {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.price {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fffdf8;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.price-action {
  margin-top: auto;
}

.price.highlight {
  border-color: var(--brand);
  background: linear-gradient(175deg, #fffbf4 0%, #f4fff9 100%);
  display: flex;
  flex-direction: column;
}

.pill {
  position: absolute;
  top: 14px;
  right: 12px;
  font-size: 0.72rem;
  background: var(--brand);
  color: white;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
}

.price h3 {
  margin: 0;
  font-family: "Syne", "Segoe UI", sans-serif;
}

.price.highlight h3 {
  padding-right: 0;
}

.price.highlight .pill {
  position: static;
  margin-left: auto;
  margin-bottom: 10px;
}

.amount {
  font-family: "Syne", "Segoe UI", sans-serif;
  font-size: 2.2rem;
  margin: 10px 0;
}

.amount span {
  font-size: 1rem;
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.list {
  padding-left: 18px;
  color: var(--text-soft);
}

.list li + li {
  margin-top: 8px;
}

.contact-box {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fffdf8;
  padding: 20px;
}

.contact-box a:not(.btn) {
  color: var(--brand-hover);
  font-weight: 700;
}

.messenger-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  background: #e9f8ef;
  color: var(--success);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
}

.footer {
  padding: 18px 0 28px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero,
  .card-grid,
  .price-wrap {
    grid-template-columns: 1fr;
  }

  .features-actions {
    justify-content: flex-start;
  }

  .header {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .route-view {
    padding: 22px 18px;
  }

  .btn-outline:not(.price-action) {
    display: none;
  }
}
