:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-alt: #eef3fb;
  --border: #d8e1ee;
  --text: #10213a;
  --muted: #5e6c84;
  --primary: #1f67d2;
  --primary-deep: #1146a3;
  --secondary: #0f8a7b;
  --accent: #d98f2b;
  --danger: #b84545;
  --success: #1f8a5a;
  --shadow: 0 18px 45px rgba(16, 33, 58, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 103, 210, 0.08), transparent 26%),
    linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

body.modal-open {
  overflow: hidden;
}

section[id] {
  scroll-margin-top: 118px;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header,
.content-wrap,
.site-footer,
.private-topbar,
.private-shell {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.site-header,
.private-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
}

.site-header-public {
  position: sticky;
  top: 0;
  z-index: 30;
  margin-top: 0;
  padding-top: 18px;
  padding-bottom: 18px;
  backdrop-filter: blur(18px);
}

.site-header-public::before {
  content: "";
  position: absolute;
  inset: 8px -18px;
  z-index: -1;
  border: 1px solid rgba(216, 225, 238, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 38px rgba(16, 33, 58, 0.08);
}

.site-header-public.is-scrolled::before {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(16, 33, 58, 0.1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

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

.nav-links,
.top-actions,
.inline-actions,
.tabs {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-links a,
.muted-link {
  color: var(--muted);
}

.nav-links-public {
  gap: 10px;
}

.public-nav-link {
  position: relative;
  padding: 11px 14px;
  border-radius: 10px;
  font-weight: 600;
  color: #5e6c84;
  transition: color 120ms ease, background 120ms ease;
}

.public-nav-link:hover {
  color: var(--text);
  background: rgba(238, 243, 251, 0.9);
}

.public-nav-link.active {
  color: var(--primary-deep);
  background: rgba(31, 103, 210, 0.08);
}

.public-nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.button,
.button-secondary,
.button-danger,
.button-ghost,
.tab-button {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease, transform 120ms ease;
}

.button {
  background: var(--primary);
}

.button-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  box-shadow: 0 14px 28px rgba(31, 103, 210, 0.22);
}

.button,
.button-secondary,
.button-danger,
.button-nav-cta {
  color: #fff;
}

.button-nav-cta:hover {
  background: linear-gradient(135deg, #0d419a, #1a5cc0);
  box-shadow: 0 18px 32px rgba(31, 103, 210, 0.24);
}

.button:hover,
.button-secondary:hover,
.button-danger:hover,
.button-ghost:hover,
.tab-button:hover {
  transform: translateY(-1px);
}

.button:disabled,
.button-secondary:disabled,
.button-danger:disabled,
.button-ghost:disabled,
.tab-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.button-secondary {
  background: var(--secondary);
  color: #fff;
}

.button-danger {
  background: var(--danger);
  color: #fff;
}

.button-ghost,
.tab-button {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}

.tab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tab-button.active {
  background: var(--surface-alt);
  border-color: rgba(31, 103, 210, 0.22);
  color: var(--primary-deep);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero,
.panel,
.metric-card,
.pricing-card,
.sidebar-card,
.auth-card,
.map-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding: 40px;
  margin-top: 18px;
}

.hero h1,
.page-title {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero p,
.section-copy,
.muted {
  color: var(--muted);
  line-height: 1.7;
}

.feature-grid,
.pricing-grid,
.stats-grid,
.two-col,
.split-grid {
  display: grid;
  gap: 18px;
}

.feature-grid,
.pricing-grid,
.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.content-wrap {
  display: grid;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 40px;
}

.panel,
.metric-card,
.pricing-card,
.sidebar-card,
.auth-card,
.map-panel {
  padding: 24px;
}

.metric-value {
  display: block;
  margin-top: 10px;
  font-size: 1.8rem;
  font-weight: 800;
}

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

.form-grid {
  display: grid;
  gap: 16px;
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(31, 103, 210, 0.18);
  border-color: rgba(31, 103, 210, 0.35);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.message {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
}

.message.success {
  border-color: rgba(31, 138, 90, 0.18);
  background: rgba(31, 138, 90, 0.08);
  color: var(--success);
}

.message.error {
  border-color: rgba(184, 69, 69, 0.18);
  background: rgba(184, 69, 69, 0.08);
  color: var(--danger);
}

.message.warning {
  border-color: rgba(217, 143, 43, 0.2);
  background: rgba(217, 143, 43, 0.1);
  color: #8a5a19;
}

.toast-stack {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1200;
  display: grid;
  gap: 12px;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  border-radius: 16px;
  border: 1px solid rgba(16, 33, 58, 0.08);
  background: rgba(255, 255, 255, 0.97);
  color: var(--text);
  box-shadow: 0 18px 40px rgba(16, 33, 58, 0.14);
  padding: 14px 16px;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.45;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 160ms ease, opacity 160ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  border-color: rgba(31, 138, 90, 0.18);
  box-shadow: 0 18px 40px rgba(31, 138, 90, 0.14);
}

.toast.warning {
  border-color: rgba(217, 143, 43, 0.2);
  box-shadow: 0 18px 40px rgba(217, 143, 43, 0.14);
}

.toast.error {
  border-color: rgba(184, 69, 69, 0.18);
  box-shadow: 0 18px 40px rgba(184, 69, 69, 0.14);
}

.site-footer {
  padding: 30px 0 44px;
  color: var(--muted);
}

.private-layout {
  min-height: 100vh;
  background: linear-gradient(180deg, #f6f8fc 0%, #eef3fb 100%);
}

.private-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  padding: 8px 0 32px;
}

.sidebar-card nav {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.sidebar-link {
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--muted);
}

.sidebar-link.active {
  background: var(--surface-alt);
  color: var(--primary-deep);
  font-weight: 700;
}

.private-main {
  display: grid;
  gap: 20px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  gap: 16px;
  margin-bottom: 18px;
}

.date-trigger {
  cursor: pointer;
}

.date-trigger input {
  cursor: pointer;
}

.panel-subsection {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.panel-subsection h3 {
  margin: 0;
}

.hidden {
  display: none !important;
}

#portal-map {
  height: min(52vh, 540px);
  border-radius: 12px;
  overflow: hidden;
}

.item-list {
  display: grid;
  gap: 12px;
}

.list-item {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
}

.empty-state {
  padding: 28px;
  border: 1px dashed rgba(94, 108, 132, 0.35);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.empty-state p {
  margin-bottom: 0;
  color: var(--muted);
}

.list-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(217, 143, 43, 0.22);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(217, 143, 43, 0.1);
  color: #8a5a19;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-pill.success {
  border-color: rgba(31, 138, 90, 0.2);
  background: rgba(31, 138, 90, 0.08);
  color: var(--success);
}

.chart-list {
  display: grid;
  gap: 12px;
}

.chart-row {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f9fbff);
}

.chart-row div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.chart-row strong {
  color: var(--text);
}

.chart-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-alt);
}

.chart-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary-deep), var(--secondary));
}

.inline-check {
  display: flex;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}

.inline-check input {
  width: auto;
}

.request-card,
.payment-card,
.plan-editor-card,
.plan-summary-card {
  display: grid;
  gap: 12px;
}

.request-steps {
  display: grid;
  gap: 12px;
}

.request-step {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f9fbff);
  transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.request-step strong,
.request-step p {
  margin: 0;
}

.request-step p {
  margin-top: 6px;
  color: var(--muted);
}

.request-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(16, 33, 58, 0.08);
  background: rgba(238, 243, 251, 0.9);
  color: var(--muted);
  font-weight: 800;
}

.request-step.is-active {
  border-color: rgba(31, 103, 210, 0.22);
  box-shadow: 0 14px 30px rgba(17, 70, 163, 0.08);
  transform: translateY(-1px);
}

.request-step.is-active .request-step-index {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff;
}

.request-step.is-complete {
  border-color: rgba(31, 138, 90, 0.22);
  background:
    radial-gradient(circle at top right, rgba(31, 138, 90, 0.08), transparent 36%),
    linear-gradient(180deg, #fff, #f7fcfa);
}

.request-step.is-complete .request-step-index {
  background: rgba(31, 138, 90, 0.12);
  border-color: rgba(31, 138, 90, 0.18);
  color: var(--success);
}

.request-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.request-meta span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 0.86rem;
}

.request-section-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.payment-amount {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.public-plan-card {
  display: grid;
  gap: 16px;
  position: relative;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.public-plan-card:hover {
  transform: translateY(-2px);
}

.public-plan-card.is-selected {
  border-color: rgba(15, 138, 123, 0.28);
  box-shadow: 0 22px 44px rgba(15, 138, 123, 0.12);
}

.public-plan-card.is-featured {
  border-color: rgba(31, 103, 210, 0.24);
  box-shadow: 0 22px 44px rgba(17, 70, 163, 0.12);
}

.public-plan-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.plan-price {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: var(--text);
}

.plan-price span {
  margin-left: 8px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}

.feature-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 10px;
}

.feature-list.compact {
  gap: 8px;
  margin-top: 10px;
}

.plan-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}

.plan-card-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

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

.payment-method-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  color: var(--text);
}

.payment-method-card.is-selected {
  border-color: rgba(31, 103, 210, 0.28);
  background:
    radial-gradient(circle at top right, rgba(31, 103, 210, 0.08), transparent 38%),
    linear-gradient(180deg, #fff, #f5f9ff);
  box-shadow: 0 16px 32px rgba(17, 70, 163, 0.08);
}

.payment-method-card:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.payment-method-label {
  font-weight: 800;
  font-size: 1rem;
}

.payment-method-copy,
.payment-method-tag {
  color: var(--muted);
  font-size: 0.9rem;
}

.payment-method-tag {
  font-weight: 700;
}

.payment-stage {
  background:
    radial-gradient(circle at top right, rgba(15, 138, 123, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.98));
}

.payment-stage-summary,
.payment-summary-grid {
  display: grid;
  gap: 14px;
}

.payment-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-card.compact {
  padding: 18px;
  box-shadow: none;
}

.metric-card.compact .metric-value {
  font-size: 1.35rem;
}

.payment-stage .button {
  min-width: 220px;
}

.payment-stage-note {
  display: grid;
  gap: 4px;
  padding-top: 4px;
}

.payment-stage-note span {
  color: var(--muted);
}

.next-step-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(31, 103, 210, 0.14);
  border-radius: 14px;
  background:
    radial-gradient(circle at top right, rgba(31, 103, 210, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.next-step-card strong {
  font-size: 1.05rem;
}

.voucher-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(15, 138, 123, 0.16);
  border-radius: 14px;
  background:
    radial-gradient(circle at top right, rgba(15, 138, 123, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff, #f7fcfb);
}

.voucher-card-pending {
  border-style: dashed;
}

.voucher-card-head,
.voucher-meta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.voucher-meta-grid {
  align-items: stretch;
}

.voucher-meta-grid > div {
  display: grid;
  gap: 8px;
}

.voucher-meta-label {
  color: var(--muted);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.voucher-link {
  display: inline-flex;
  justify-content: center;
  min-width: 160px;
}

.plan-editor-card input,
.plan-editor-card textarea {
  margin-top: 4px;
}

.plan-editor-card textarea {
  min-height: 88px;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 33, 58, 0.36);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  width: min(100%, 560px);
  padding: 26px;
  border: 1px solid rgba(216, 225, 238, 0.95);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(31, 103, 210, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98));
  box-shadow: 0 26px 60px rgba(16, 33, 58, 0.24);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.modal-title {
  margin: 0;
  font-size: 1.65rem;
  letter-spacing: -0.04em;
}

.modal-copy {
  margin: 10px 0 0;
}

.modal-close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text);
  border-color: rgba(31, 103, 210, 0.2);
  background: #fff;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 4px;
}

@media (max-width: 1080px) {
  .hero,
  .feature-grid,
  .pricing-grid,
  .stats-grid,
  .two-col,
  .split-grid,
  .private-shell,
  .form-grid.two,
  .filter-row,
  .payment-method-grid,
  .payment-summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 880px) {
  .site-header-public {
    position: static;
  }

  .site-header-public::before {
    inset: 0;
  }

  section[id] {
    scroll-margin-top: 32px;
  }
}

/* July 2026 UI refinement layer */

:root {
  --bg: #edf2f8;
  --surface-alt: #eff4fb;
  --border: #d7dfeb;
  --text: #0f1f35;
  --muted: #607089;
  --primary: #1857c8;
  --primary-deep: #0d3c8f;
  --secondary: #117d73;
  --accent: #c78526;
  --shadow: 0 24px 60px rgba(11, 23, 42, 0.08);
  --shadow-soft: 0 12px 30px rgba(11, 23, 42, 0.05);
  --radius: 16px;
  --radius-sm: 12px;
}

body {
  background:
    radial-gradient(circle at top left, rgba(24, 87, 200, 0.08), transparent 24%),
    radial-gradient(circle at 86% 8%, rgba(17, 125, 115, 0.09), transparent 20%),
    linear-gradient(180deg, #f8fbff 0%, #edf2f8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 72%);
  opacity: 0.26;
}

.site-header-public::before {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 42px rgba(11, 23, 42, 0.08);
}

.site-header-public.is-scrolled::before {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 36px rgba(11, 23, 42, 0.11);
}

.public-nav-link {
  font-weight: 700;
}

.button {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  box-shadow: 0 14px 32px rgba(24, 87, 200, 0.2);
}

.button-ghost,
.tab-button {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero,
.panel,
.metric-card,
.pricing-card,
.sidebar-card,
.auth-card,
.map-panel,
.list-item {
  box-shadow: var(--shadow-soft);
}

.hero {
  gap: 34px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(17, 125, 115, 0.1), transparent 24%),
    radial-gradient(circle at 10% 12%, rgba(24, 87, 200, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.98));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -36% 42%;
  height: 340px;
  background: radial-gradient(circle, rgba(24, 87, 200, 0.1), transparent 62%);
  pointer-events: none;
}

.hero-copy,
.hero-insight-stack {
  position: relative;
  z-index: 1;
}

.hero-kicker-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-kicker-pill {
  padding: 8px 12px;
  border: 1px solid rgba(24, 87, 200, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--primary-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.hero-proof-card {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid rgba(215, 223, 235, 0.88);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
}

.hero-proof-card span {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.hero-proof-card strong {
  font-size: 0.97rem;
  line-height: 1.45;
}

.metric-card,
.pricing-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 251, 255, 0.98));
}

.marketing-page .panel {
  position: relative;
  overflow: hidden;
}

.marketing-page .panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0, rgba(24, 87, 200, 0.04), transparent 26%);
  pointer-events: none;
}

.public-plan-card {
  overflow: hidden;
}

.public-plan-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0.82;
}

.public-plan-card.is-featured::after {
  content: "Recomendado";
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(24, 87, 200, 0.08);
  color: var(--primary-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.payment-method-card {
  position: relative;
  overflow: hidden;
}

.payment-method-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(24, 87, 200, 0), rgba(24, 87, 200, 0.6), rgba(17, 125, 115, 0.65));
  opacity: 0;
  transition: opacity 120ms ease;
}

.payment-method-card.is-selected::after {
  opacity: 1;
}

.site-footer {
  padding: 14px 0 52px;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 18px;
  padding: 26px 28px;
  border: 1px solid rgba(215, 223, 235, 0.96);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.site-footer-grid strong {
  display: inline-block;
  margin-bottom: 8px;
}

.site-footer-grid p {
  margin: 0;
  line-height: 1.7;
}

.private-topbar {
  position: sticky;
  top: 0;
  z-index: 24;
  margin-top: 10px;
  margin-bottom: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(215, 223, 235, 0.96);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(24, 87, 200, 0.08), transparent 28%),
    rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.sidebar-card {
  align-self: start;
  position: sticky;
  top: 108px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98));
}

.sidebar-card nav {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.sidebar-link {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 700;
  transition: background 120ms ease, color 120ms ease, transform 120ms ease;
}

.sidebar-link:hover {
  color: var(--text);
  background: rgba(17, 125, 115, 0.06);
}

.sidebar-link.active {
  color: var(--primary-deep);
  background:
    linear-gradient(90deg, rgba(24, 87, 200, 0.12), rgba(17, 125, 115, 0.08));
  box-shadow: inset 3px 0 0 var(--primary);
}

.private-main {
  display: grid;
  gap: 20px;
}

.section-head {
  margin-bottom: 20px;
}

.panel-subsection {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(215, 223, 235, 0.8);
}

.list-item {
  border: 1px solid rgba(215, 223, 235, 0.86);
  background: rgba(255, 255, 255, 0.88);
}

.request-step {
  background: rgba(255, 255, 255, 0.86);
}

@media (max-width: 1080px) {
  .hero-proof-grid,
  .site-footer-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: static;
  }
}

@media (max-width: 880px) {
  .private-topbar {
    position: static;
  }

  .hero {
    padding: 34px 24px;
  }

  .site-footer-grid {
    padding: 22px;
  }
}
