:root {
  --bg: #f4f7f1;
  --surface: #ffffff;
  --ink: #17211d;
  --muted: #65736d;
  --line: #dbe4dc;
  --brand: #1f8f57;
  --brand-dark: #10392f;
  --accent: #f2b84b;
  --clay: #8d6a45;
  --sky: #dceef0;
  --danger: #b42318;
  --shadow: 0 20px 60px rgba(23, 33, 29, .13);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

main {
  flex: 1 0 auto;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 247, 241, .9);
  border-bottom: 1px solid rgba(219, 228, 220, .8);
  backdrop-filter: blur(18px);
  transition: transform .2s ease, box-shadow .2s ease;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header.is-compact {
  box-shadow: 0 14px 34px rgba(23, 33, 29, .12);
}

.header-shell {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 13px clamp(18px, 4vw, 56px);
  transition: padding .2s ease;
}

.site-header.is-compact .header-shell {
  padding-block: 9px;
}

.brand,
.footer-brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 900;
}

.brand {
  min-width: 220px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(31, 143, 87, .22);
  border-radius: var(--radius);
  background: #eaf7ed;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .55);
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 6px;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 1.05rem;
  letter-spacing: 0;
}

.brand-copy small {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
}

.main-nav,
.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.main-nav {
  justify-content: center;
  min-width: 0;
  width: fit-content;
  justify-self: center;
  padding: 5px;
  border: 1px solid rgba(219, 228, 220, .9);
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 10px 26px rgba(23, 33, 29, .08);
}

.main-nav a,
.nav-dropdown-trigger,
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: #2b3934;
  font-weight: 800;
  font-size: .93rem;
  white-space: nowrap;
}

.client-submenu {
  min-width: 230px;
}

.mobile-client-actions {
  display: none;
}

.mobile-cart-link {
  display: none;
}

.nav-dropdown-trigger {
  border-radius: 999px 0 0 999px;
  padding-right: 9px;
}

.nav-dropdown-toggle {
  min-width: 34px;
  padding: 0 12px 0 8px;
  border-radius: 0 999px 999px 0;
  cursor: pointer;
}

.main-nav a:hover,
.nav-dropdown-trigger:hover,
.nav-dropdown-toggle:hover {
  color: var(--brand);
}

.main-nav a.is-active,
.nav-dropdown.is-active > .nav-dropdown-control,
.nav-dropdown.is-open > .nav-dropdown-control {
  background: var(--brand-dark);
  color: #fff;
  box-shadow: 0 10px 20px rgba(16, 57, 47, .2);
}

.nav-dropdown.is-active .nav-dropdown-trigger,
.nav-dropdown.is-active .nav-dropdown-toggle,
.nav-dropdown.is-open .nav-dropdown-trigger,
.nav-dropdown.is-open .nav-dropdown-toggle {
  color: #fff;
}

.main-nav a.is-active:hover,
.nav-dropdown.is-active > .nav-dropdown-control a:hover,
.nav-dropdown.is-active > .nav-dropdown-control button:hover,
.nav-dropdown.is-open > .nav-dropdown-control a:hover,
.nav-dropdown.is-open > .nav-dropdown-control button:hover {
  color: #fff;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
  display: none;
}

.nav-dropdown:hover::after,
.nav-dropdown:focus-within::after,
.nav-dropdown.is-open::after {
  display: block;
}

.nav-dropdown-control {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #2b3934;
}

.nav-caret {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .18s ease;
}

.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret,
.nav-dropdown.is-open .nav-caret {
  transform: rotate(225deg) translate(-1px, -1px);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 25;
  min-width: 238px;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.nav-submenu::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -7px;
  width: 12px;
  height: 12px;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  background: var(--surface);
  transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.is-open .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.nav-submenu a {
  position: relative;
  justify-content: space-between;
  min-height: 42px;
  border-radius: var(--radius);
}

.header-actions {
  justify-content: end;
}

.button,
a.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(31, 143, 87, .2);
  text-decoration: none;
}

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

.button.ghost {
  background: transparent;
  color: var(--brand-dark);
  border-color: #9ec9b1;
  box-shadow: none;
}

.button.ghost.light {
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}

.button.small {
  min-height: 36px;
  padding-inline: 14px;
  font-size: .9rem;
}

.button.disabled {
  pointer-events: none;
  opacity: .45;
}

.cart-pill {
  position: relative;
  min-height: 48px;
  display: inline-grid;
  grid-template-columns: auto 1fr auto;
  gap: 9px;
  align-items: center;
  padding: 7px 9px;
  border: 1px solid #c8dccf;
  border-radius: var(--radius);
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 10px 24px rgba(23, 33, 29, .08);
}

.cart-pill:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}

.cart-icon {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #eaf8ef;
}

.cart-icon::before,
.cart-icon::after {
  content: "";
  position: absolute;
  border: 2px solid var(--brand-dark);
}

.cart-icon::before {
  left: 6px;
  right: 5px;
  bottom: 6px;
  height: 12px;
  border-top: 0;
  border-radius: 0 0 4px 4px;
}

.cart-icon::after {
  left: 10px;
  top: 5px;
  width: 8px;
  height: 8px;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.cart-copy {
  display: grid;
  line-height: 1.05;
}

.cart-copy strong {
  font-size: .88rem;
}

.cart-copy small {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
}

.cart-count {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #2f2414;
  font-size: .78rem;
  font-weight: 950;
}

.icon-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 900;
}

.icon-link span {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #2f2414;
  font-size: .8rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.flash-wrap {
  position: fixed;
  top: 84px;
  right: 24px;
  z-index: 30;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 32px));
}

.flash {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #eaf8ef;
  border: 1px solid #b7dfc4;
  box-shadow: var(--shadow);
  font-weight: 800;
}

.flash.error {
  background: #fff0ed;
  border-color: #f0b9b1;
  color: var(--danger);
}

.hero {
  position: relative;
  min-height: clamp(620px, 82vh, 820px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero picture,
.hero picture::after {
  position: absolute;
  inset: 0;
}

.hero picture::after {
  content: "";
  background: linear-gradient(90deg, rgba(13, 28, 24, .92), rgba(13, 28, 24, .58) 44%, rgba(13, 28, 24, .18));
}

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

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding-block: 64px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: #bcf1c9;
  font-weight: 900;
}

.eyebrow.dark {
  color: var(--brand);
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 9vw, 7.8rem);
  line-height: .9;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  font-size: 1.32rem;
  line-height: 1.12;
}

.hero p {
  max-width: 640px;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-stats span {
  min-width: 140px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .78);
}

.hero-stats strong {
  display: block;
  color: #fff;
  font-size: 1.35rem;
}

.section,
.seo-hero,
.page-head,
.detail-hero,
.checkout-layout,
.auth-shell,
.account-layout,
.contact-grid,
.content-grid {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: 70px 0;
}

.intro-band,
.split,
.seo-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 5vw, 70px);
  align-items: center;
}

.packages-grid {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 20px 0 72px;
}

.package-card,
.method-card,
.summary-box,
.cart-item,
.result-panel,
.auth-form,
.account-side,
.account-main,
.seo-proof,
.detail-specs,
.order-row,
.admin-checklist {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(23, 33, 29, .06);
}

.package-card {
  display: flex;
  min-height: 560px;
  flex-direction: column;
  padding: 22px;
  position: relative;
}

.package-card.popular {
  border-color: #91caa7;
  box-shadow: var(--shadow);
}

.package-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  min-height: 30px;
}

.badge,
.popular-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
}

.badge {
  background: #e6f3e9;
  color: var(--brand-dark);
}

.popular-badge {
  background: #fff4d8;
  color: #6b4c13;
}

.package-card p,
.page-head p,
.section p,
.method-card p,
.account-main p,
.result-panel p {
  color: var(--muted);
}

.price {
  margin: 8px 0 18px;
}

.price strong {
  font-size: 2rem;
  color: var(--brand-dark);
}

.price.big strong {
  font-size: 3rem;
}

.price span {
  color: var(--muted);
  font-weight: 800;
}

.specs,
.detail-specs,
.bank-box {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}

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

.specs div,
.detail-specs div,
.bank-box div {
  padding: 10px;
  border-radius: var(--radius);
  background: #f7faf6;
}

dt {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-weight: 900;
}

.feature-list,
.wide-list {
  padding: 0;
  margin: 0 0 20px;
  list-style: none;
}

.feature-list {
  flex: 1;
}

.feature-list li,
.wide-list li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: #2d3b35;
  font-weight: 750;
}

.feature-list li::before,
.wide-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--accent);
}

.seo-hero,
.detail-hero,
.page-head,
.auth-shell,
.account-layout {
  padding: 70px 0;
}

.seo-hero,
.detail-hero,
.checkout-layout,
.auth-shell,
.contact-grid,
.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 24px;
  align-items: start;
}

.seo-hero h1,
.page-head h1,
.detail-hero h1,
.auth-shell h1,
.account-main h1 {
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  color: var(--brand-dark);
}

.seo-proof,
.detail-specs,
.summary-box,
.result-panel {
  padding: 24px;
}

.seo-proof {
  display: grid;
  gap: 12px;
  background: var(--brand-dark);
  color: #fff;
}

.seo-proof strong {
  font-size: 1.3rem;
}

.seo-proof span {
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .78);
  font-weight: 800;
}

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

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px 18px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

.checkout-layout {
  padding: 40px 0 80px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 0 72px;
}

.cart-list,
.payment-methods {
  display: grid;
  gap: 14px;
}

.cart-item,
.method-card {
  padding: 20px;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.qty-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfb;
  padding: 12px 13px;
  color: var(--ink);
}

input[type="number"] {
  width: 76px;
}

.summary-box {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 10px;
}

.summary-box strong {
  font-size: 2.1rem;
  color: var(--brand-dark);
}

.empty-state {
  padding: 28px;
  border: 1px dashed #aec6b3;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 800;
}

.auth-shell {
  align-items: center;
}

.auth-form,
.support-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

.form-link {
  margin: 0;
  color: var(--muted);
}

.form-link a {
  color: var(--brand);
  font-weight: 900;
}

.account-layout {
  grid-template-columns: 280px 1fr;
}

.admin-layout {
  align-items: start;
}

.account-side {
  display: grid;
  gap: 8px;
  padding: 18px;
  align-content: start;
}

.account-side > span {
  color: var(--muted);
  margin-bottom: 10px;
}

.account-user-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7faf6;
}

.account-user-card small {
  color: var(--muted);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.account-avatar,
.service-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--brand-dark);
  color: #fff;
  font-weight: 950;
}

.account-side a {
  padding: 10px 12px;
  border-radius: var(--radius);
  font-weight: 900;
}

.account-side a.active,
.account-side a:hover {
  background: #e7f3ea;
  color: var(--brand-dark);
}

.account-main {
  min-height: 420px;
  padding: 24px;
}

.panel-hero,
.panel-heading,
.service-card-top,
.mini-row,
.ticket-row {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.panel-hero {
  align-items: start;
  padding: 22px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: #f7faf6;
  border: 1px solid var(--line);
}

.panel-hero h1,
.panel-heading h1 {
  margin-bottom: 8px;
  color: var(--brand-dark);
}

.panel-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.panel-hero-actions,
.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: end;
}

.panel-heading {
  margin-bottom: 18px;
}

.panel-heading.compact {
  margin-bottom: 10px;
}

.panel-heading.compact h2 {
  margin: 0;
  font-size: 1.2rem;
}

.panel-heading a:not(.button) {
  color: var(--brand);
  font-weight: 900;
}

.panel-heading .button {
  color: #fff;
}

.panel-heading .button.ghost {
  color: var(--brand-dark);
}

.admin-toolbar {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.admin-toolbar h1 {
  margin-bottom: 0;
}

.admin-form h2 {
  margin: 10px 0 0;
  color: var(--brand-dark);
}

.admin-form-grid,
.admin-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-form-grid label:first-child {
  grid-column: 1 / -1;
}

.admin-checklist {
  margin-top: 18px;
  padding: 18px;
}

.panel-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.panel-stats div {
  padding: 18px;
  border-radius: var(--radius);
  background: #f7faf6;
}

.panel-stats span {
  color: var(--muted);
  font-weight: 900;
}

.panel-stats strong {
  display: block;
  font-size: 1.8rem;
  color: var(--brand-dark);
}

.panel-stats small {
  color: var(--muted);
  font-weight: 800;
}

.quick-actions,
.dashboard-grid,
.service-grid,
.profile-grid,
.support-layout {
  display: grid;
  gap: 14px;
}

.quick-actions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0;
}

.quick-actions a {
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--brand-dark);
  font-weight: 900;
  text-align: center;
}

.quick-actions a:hover {
  border-color: var(--brand);
  background: #e7f3ea;
  color: var(--brand-dark);
  transform: translateY(-1px);
}

.dashboard-grid,
.support-layout {
  grid-template-columns: 1fr 1fr;
}

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

.service-grid > .empty-state,
.profile-grid > .empty-state,
.support-layout > .empty-state {
  grid-column: 1 / -1;
}

.dashboard-panel,
.service-card,
.profile-card,
.support-form,
.ticket-row,
.mini-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.dashboard-panel,
.service-card,
.profile-card,
.support-form {
  padding: 18px;
}

.service-card {
  display: grid;
  gap: 12px;
}

.service-card h2 {
  margin-bottom: 0;
  color: var(--brand-dark);
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.service-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.service-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.service-card dt,
.profile-card span {
  color: var(--muted);
  font-weight: 900;
}

.service-card dd {
  margin: 0;
  font-weight: 900;
  text-align: right;
}

.profile-card {
  display: grid;
  gap: 8px;
}

.profile-card strong {
  color: var(--brand-dark);
  overflow-wrap: anywhere;
}

.panel-list {
  display: grid;
  gap: 10px;
}

.mini-row,
.ticket-row {
  padding: 12px;
}

.mini-row div,
.ticket-row div,
.order-row div {
  display: grid;
  gap: 3px;
}

.mini-row small,
.ticket-row small,
.order-row small {
  color: var(--muted);
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 950;
  white-space: nowrap;
}

.status-pill.success {
  background: #e5f5eb;
  color: #11613a;
}

.status-pill.pending {
  background: #fff4d8;
  color: #6b4c13;
}

.status-pill.muted {
  background: #eef2ef;
  color: var(--muted);
}

.status-pill.neutral {
  background: #e7f3ea;
  color: var(--brand-dark);
}

.order-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  margin-bottom: 10px;
}

.process {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.process span {
  min-height: 90px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--brand-dark);
  font-weight: 900;
}

.result-panel {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto 80px;
}

.bank-box {
  grid-template-columns: 1fr 1fr;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.7fr);
  gap: clamp(28px, 5vw, 72px);
  margin-top: auto;
  padding: 48px clamp(18px, 4vw, 56px);
  background: #17211d;
  color: #fff;
}

.footer-main {
  display: grid;
  gap: 14px;
  align-content: start;
}

.site-footer p {
  max-width: 620px;
  color: rgba(255, 255, 255, .68);
}

.footer-cta {
  width: fit-content;
}

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

.site-footer nav {
  display: grid;
  gap: 9px;
  align-content: start;
}

.site-footer nav strong {
  margin-bottom: 4px;
  color: #fff;
  font-size: .92rem;
}

.site-footer nav a {
  color: rgba(255, 255, 255, .68);
  font-size: .93rem;
  font-weight: 750;
}

.site-footer a:hover {
  color: #bcf1c9;
}

@media (max-width: 980px) {
  .header-shell {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    padding-block: 11px;
  }

  .brand {
    min-width: 0;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: clamp(12px, 3vw, 24px);
    right: clamp(12px, 3vw, 24px);
    width: auto;
    justify-self: stretch;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    max-height: calc(100vh - 86px);
    overflow-y: auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .main-nav a {
    justify-content: space-between;
    border-radius: var(--radius);
    min-height: 46px;
  }

  .nav-dropdown {
    display: grid;
    width: 100%;
  }

  .nav-dropdown::after {
    display: none;
  }

  .nav-dropdown-control {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    border-radius: var(--radius);
  }

  .nav-dropdown-trigger {
    min-height: 46px;
    width: 100%;
    border-radius: var(--radius) 0 0 var(--radius);
    justify-content: space-between;
  }

  .nav-dropdown-toggle {
    min-height: 46px;
    min-width: 48px;
    border-radius: 0 var(--radius) var(--radius) 0;
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    display: none;
    gap: 4px;
    margin-top: 6px;
    padding: 6px;
    background: #f7faf6;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .nav-submenu::before {
    display: none;
  }

  .nav-dropdown:hover .nav-submenu,
  .nav-dropdown:focus-within .nav-submenu {
    transform: none;
  }

  .nav-dropdown.is-open .nav-submenu {
    display: grid;
  }

  .main-nav.is-open {
    display: flex;
  }

  .mobile-client-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-top: 12px;
    margin-top: 6px;
    border-top: 1px solid var(--line);
  }

  .mobile-cart-link {
    min-height: 46px;
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    border: 1px solid #c8dccf;
    border-radius: var(--radius);
    background: #f7faf6;
    color: var(--brand-dark);
    font-weight: 900;
  }

  .mobile-cart-link span {
    min-width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--accent);
    color: #2f2414;
    font-size: .78rem;
  }

  .mobile-client-actions .button {
    width: 100%;
    min-height: 44px;
  }

  .header-actions {
    justify-content: end;
    gap: 8px;
  }

  .header-register {
    display: none;
  }

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

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

  .panel-stats,
  .quick-actions,
  .dashboard-grid,
  .service-grid,
  .profile-grid,
  .support-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-band,
  .split,
  .seo-copy,
  .seo-hero,
  .detail-hero,
  .checkout-layout,
  .auth-shell,
  .contact-grid,
  .account-layout {
    grid-template-columns: 1fr;
  }

  .summary-box {
    position: static;
  }

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

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

@media (max-width: 680px) {
  .header-shell {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    padding-inline: 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand-copy strong {
    font-size: .98rem;
  }

  .brand-copy small,
  .cart-copy,
  .header-actions .button {
    display: none;
  }

  .mobile-client-actions {
    grid-template-columns: 1fr;
  }

  .cart-pill {
    width: 44px;
    min-height: 44px;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 0;
  }

  .cart-count {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    font-size: .7rem;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    margin-inline: 18px;
    width: auto;
  }

  .hero picture::after {
    background: linear-gradient(180deg, rgba(13, 28, 24, .45), rgba(13, 28, 24, .94));
  }

  .packages-grid,
  .content-grid,
  .panel-stats,
  .quick-actions,
  .dashboard-grid,
  .service-grid,
  .profile-grid,
  .support-layout,
  .bank-box,
  .process,
  .admin-form-grid,
  .admin-row {
    grid-template-columns: 1fr;
  }

  .package-card {
    min-height: auto;
  }

  .cart-item,
  .order-row {
    grid-template-columns: 1fr;
  }

  .panel-hero,
  .panel-heading,
  .mini-row,
  .ticket-row {
    align-items: stretch;
    flex-direction: column;
  }

  .panel-hero-actions,
  .service-actions {
    justify-content: stretch;
  }

  .panel-hero-actions .button,
  .service-actions .button {
    width: 100%;
  }

  .qty-form {
    align-items: stretch;
  }

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