@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --panel-soft: #eef3ff;
  --line: #dfe6f1;
  --ink: #1d2b46;
  --muted: #6c7890;
  --blue: #2f56d5;
  --blue-strong: #2448b6;
  --blue-soft: #edf2ff;
  --brand: #2f56d5;
  --brand-soft: #edf2ff;
  --navy: #202938;
  --danger: #ff5f5f;
  --success: #25886a;
  --shadow: 0 18px 40px rgba(37, 62, 120, 0.08);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shell-gutter: 20px;
}

:root {
  --brand: #2f56d5;
  --brand-soft: #edf2ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  overflow-x: clip;
}

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

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

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

.shell {
  width: calc(100% - (var(--shell-gutter) * 2));
  max-width: none;
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(33, 55, 99, 0.08);
}

.meta-strip {
  background: var(--blue);
  color: #dfe7ff;
  font-size: 13px;
  font-weight: 600;
}

.meta-strip-inner {
  min-height: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.meta-strip strong {
  color: #fff;
}

.topbar-inner {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 280px;
  align-items: center;
  gap: 18px;
  min-height: 63px;
  padding: 11px 0 13px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 0;
  background: transparent url("/logo.png") center / contain no-repeat;
  border: 0;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
  flex: 0 0 38px;
}

.brand-mark::before {
  content: none;
}

.brand-mark::after {
  content: none;
}

.brand-copy strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-copy span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.nav-shell {
  display: flex;
  width: 100%;
  justify-content: center;
  justify-self: center;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  border: 1px solid #e7edf7;
  border-radius: 999px;
  padding: 4px;
  box-shadow: 0 10px 24px rgba(31, 52, 104, 0.1);
  margin: 0 auto;
  justify-content: center;
}

.nav a,
.nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 119px;
  padding: 11px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #5e6b84;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: 180ms ease;
}

.nav a:hover,
.nav button:hover {
  background: #f3f6fb;
  color: var(--ink);
}

.nav a.active,
.nav button.active,
.nav a[aria-current="page"] {
  background: var(--blue-soft);
  color: var(--blue);
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  justify-self: end;
}

.guest-auth-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.header-auth-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  padding: 9px 13px;
  border-radius: 10px;
  border: 1px solid var(--blue);
  background: #fff;
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.header-auth-link.primary {
  min-width: 102px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 28px rgba(47, 86, 213, 0.24);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 3px;
  background: #fff;
  border: 1px solid #dbe4f1;
  border-radius: 10px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  padding: 7px 0;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
  text-align: center;
  cursor: pointer;
}

.lang-btn-active {
  background: var(--blue);
  color: #fff;
}

.logout-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1.5px solid #ff6d6d;
  background: #fff;
  color: #ff4c4c;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
}

.logout-chip.hidden {
  display: none !important;
}

main.shell {
  padding: 0 0 42px;
}

.hero {
  padding: 28px 0 0;
}

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

.hero-card,
.section-card,
.callout,
.route-card,
.data-card,
.status-card,
.workspace,
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 38px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.hero-card h1 {
  margin: 18px 0 14px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.hero p,
.section-card p,
.callout p,
.route-card p,
.data-card p,
.card p,
.field label,
.message,
.empty,
li {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  transition: 180ms ease;
  font-weight: 700;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 28px rgba(47, 86, 213, 0.24);
}

.btn-primary:hover {
  background: var(--blue-strong);
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: #f4f7fc;
}

.section-card {
  padding: 56px 0 10px;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.section-head {
  display: flex;
  justify-content: center;
  gap: 14px;
  text-align: center;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.05em;
}

.section-head p {
  margin: 0;
  font-size: 17px;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.chip-row,
.grid-3,
.grid-4,
.grid-2,
.feature-grid,
.stats-row,
.branch-grid {
  display: grid;
  gap: 20px;
}

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

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

.grid-4,
.stats-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.route-card,
.data-card {
  padding: 22px;
}

.route-card h3,
.data-card h3,
.callout h3,
.card h3,
.workspace-head h2 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag,
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #f3f6fb;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.status[data-tone="teal"] {
  background: #e7f7f2;
  color: var(--success);
}

.status[data-tone="accent"] {
  background: #fff1f1;
  color: #db5959;
}

.status[data-tone="neutral"] {
  background: #f3f6fb;
  color: var(--muted);
}

.callout {
  padding: 26px;
  margin-bottom: 26px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 15px;
  border-radius: 14px;
  border: 1px solid #d7e0ee;
  background: #fff;
  outline: none;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(47, 86, 213, 0.4);
  box-shadow: 0 0 0 4px rgba(47, 86, 213, 0.08);
}

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

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

.empty {
  padding: 20px;
  border: 1px dashed #cbd5e5;
  border-radius: 18px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.status-pill[data-tone="teal"] {
  background: #e7f7f2;
  color: var(--success);
}

.status-pill[data-tone="accent"] {
  background: #fff1f1;
  color: #db5959;
}

.status-pill[data-tone="neutral"] {
  background: #f3f6fb;
  color: var(--muted);
}

.workspace {
  padding: 32px;
  margin: 46px 0 10px;
}

.workspace-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}

.workspace-head p {
  margin: 0;
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
}

.card {
  padding: 24px;
}

.dashboard-grid,
.admin-grid,
.metrics,
.status-grid {
  display: grid;
  gap: 12px;
}

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

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

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

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

.metric,
.dashboard-stat,
.status-item,
.stat-tile {
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.metric strong,
.dashboard-stat strong,
.status-item strong,
.stat-tile strong {
  display: block;
  font-size: 28px;
  letter-spacing: -0.05em;
}

.metric span,
.dashboard-stat span,
.status-item label,
.stat-tile span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.data-card header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.category-card,
.feature-card,
.stat-tile,
.branch-card,
.project-card,
.investor-card,
.tariff-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.category-card {
  min-height: 154px;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.category-icon {
  width: 62px;
  height: 62px;
  border-radius: 0;
  background: transparent;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 28px;
  margin-bottom: 16px;
}

.category-icon svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-card strong {
  font-size: 15px;
  line-height: 1.35;
}

.project-card,
.investor-card,
.tariff-card,
.branch-card {
  overflow: hidden;
}

.project-card,
.tariff-card {
  padding: 0;
}

.project-cover,
.branch-cover {
  height: 220px;
  background: linear-gradient(135deg, #3b63de 0%, #2849bd 100%);
  position: relative;
  overflow: hidden;
}

.project-cover img,
.branch-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-cover-fallback,
.investor-avatar {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 54px;
  font-weight: 800;
  background: linear-gradient(145deg, #365fda 0%, #2549bb 100%);
}

.project-cover-label {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.project-body,
.investor-body,
.tariff-body,
.branch-body {
  padding: 20px;
}

.project-title,
.investor-title,
.tariff-title {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.project-excerpt,
.investor-excerpt,
.tariff-excerpt,
.branch-text {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
}

.price-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--blue);
  font-weight: 800;
}

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

.project-meta,
.branch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.investor-avatar {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  margin: 0 auto 18px;
  font-size: 44px;
}

.tariff-card.featured {
  border: 2px solid var(--blue);
}

.tariff-badge {
  position: absolute;
  right: 18px;
  top: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.tariff-card .btn {
  width: 100%;
  margin-top: 16px;
}

.home-category-card {
  min-height: 160px;
  border-radius: 20px;
}

.home-category-card strong {
  max-width: 140px;
  font-size: 14px;
}

.home-project-card .project-cover {
  height: 196px;
}

.home-project-card .project-title {
  font-size: 18px;
  line-height: 1.3;
  min-height: 46px;
  margin-bottom: 8px;
}

.home-project-card .project-body {
  padding: 16px 16px 14px;
}

.home-project-card .project-excerpt {
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.55;
}

.home-price-line {
  justify-content: space-between;
}

.home-price-line strong {
  font-size: 22px;
  letter-spacing: -0.04em;
}

.home-price-line span {
  font-size: 12px;
}

.home-project-meta {
  margin-top: 8px;
  justify-content: space-between;
  font-size: 12px;
}

.home-project-footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
}

.home-tariff-card {
  height: 100%;
}

.home-tariff-card .tariff-body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px 22px 20px;
}

.home-tariff-card .tariff-title {
  font-size: 20px;
  margin-bottom: 12px;
}

.home-tariff-card .tariff-excerpt {
  font-size: 14px;
  line-height: 1.65;
  min-height: 92px;
}

.home-tariff-tags {
  margin-top: 12px;
}

.tariff-feature-list {
  margin: 18px 0 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.tariff-feature-list li::marker {
  color: var(--blue);
}

.stats-row {
  margin: 40px 0;
}

.stat-tile {
  text-align: center;
}

.stat-tile strong {
  color: var(--blue);
}

.feature-card {
  padding: 24px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 18px;
}

.step-list {
  display: grid;
  gap: 18px;
  margin-top: 10px;
}

.step-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: flex-start;
  padding: 26px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.step-index {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.cta-banner {
  margin-top: 42px;
  padding: 42px 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, #284ac0 0%, #3d72ec 100%);
  color: #fff;
  text-align: center;
}

.cta-banner h3 {
  margin: 0 0 10px;
  font-size: 40px;
  letter-spacing: -0.04em;
}

.cta-banner p {
  margin: 0 auto 22px;
  max-width: 720px;
  color: #dce5ff;
}

.contact-strip {
  margin-top: 42px;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.contact-item {
  padding: 18px;
}

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

.branch-card {
  min-height: 304px;
}

.branch-body {
  display: grid;
  gap: 10px;
}

.page-hero-blue {
  background: linear-gradient(135deg, #2d53cf 0%, #4f87f8 100%);
  color: #fff;
  border: 0;
  text-align: center;
}

.page-hero-blue p,
.page-hero-blue .hero-copy p,
.page-hero-blue .eyebrow {
  color: #dce6ff;
}

.page-hero-blue .eyebrow {
  background: rgba(255, 255, 255, 0.14);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 276px minmax(0, 1fr);
  gap: 22px;
}

.catalog-sidebar,
.catalog-main,
.admin-sidebar-panel,
.admin-main-panel,
.metric-card,
.activity-card,
.settings-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.catalog-sidebar,
.admin-sidebar-panel {
  padding: 24px;
}

.catalog-main,
.admin-main-panel,
.activity-card,
.settings-card {
  padding: 26px;
}

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

.catalog-toolbar h3,
.admin-main-panel h3,
.activity-card h3,
.settings-card h3 {
  margin: 0;
  font-size: 20px;
}

.catalog-count {
  color: var(--muted);
  font-weight: 700;
}

.filter-stack {
  display: grid;
  gap: 18px;
}

.filter-group {
  display: grid;
  gap: 10px;
}

.filter-group strong {
  font-size: 15px;
}

.filter-select,
.filter-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f4f7fd;
  padding: 12px 14px;
  color: var(--ink);
}

.range-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.range-line {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue) 88%, #dfe6f1 88%, #dfe6f1 100%);
}

.filter-note {
  color: var(--muted);
  font-size: 13px;
}

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

.project-card .actions,
.investor-card .actions {
  margin-top: 16px;
}

.project-card .actions .btn,
.investor-card .actions .btn {
  width: 100%;
}

.project-card .tag-row,
.investor-card .tag-row {
  margin-top: 12px;
}

.muted-line {
  color: #9aa6bd;
  font-size: 13px;
}

.project-cover-link,
.card-title-link,
.media-chip {
  text-decoration: none;
}

.project-cover-link,
.card-title-link {
  color: inherit;
}

.public-detail-shell {
  display: grid;
  gap: 20px;
  max-width: 1320px;
  margin: 0 auto;
}

.detail-back-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-back-actions .btn {
  min-height: 48px;
  border-radius: 14px;
}

.public-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.public-detail-main {
  overflow: hidden;
}

.public-detail-main .project-body,
.public-detail-main .investor-body {
  padding: 24px 26px 28px;
}

.public-detail-main .project-title,
.public-detail-main .investor-title {
  font-size: clamp(30px, 4vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.05em;
}

.public-detail-main .project-excerpt,
.public-detail-main .investor-excerpt,
.public-detail-main .muted-line {
  font-size: 15px;
  line-height: 1.65;
}

.detail-hero-cover {
  height: 360px;
}

.public-detail-side {
  display: grid;
  gap: 18px;
}

.detail-side-card {
  padding: 24px;
}

.detail-side-card h3 {
  margin-bottom: 14px;
  font-size: 24px;
}

.detail-head {
  margin-bottom: 18px;
}

.detail-head h1 {
  margin-bottom: 10px;
}

.detail-section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.detail-section h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.detail-copy {
  white-space: pre-line;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.detail-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 0;
}

.detail-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 8px;
}

.detail-stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f7f9ff;
}

.detail-stat span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}

.detail-stat strong {
  font-size: 22px;
  letter-spacing: -0.03em;
}

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

.detail-gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #f8fbff;
}

.detail-gallery-grid img {
  width: 100%;
  aspect-ratio: 1.1 / 0.78;
  object-fit: cover;
  display: block;
}

.detail-note-card {
  padding: 20px;
}

.detail-note-card p {
  color: var(--muted);
  line-height: 1.7;
}

.media-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.media-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 700;
}

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

.detail-list-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.detail-list-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.detail-list-item strong {
  color: var(--ink);
  text-align: right;
}

.detail-avatar-shell {
  padding: 32px 26px 14px;
  text-align: center;
}

.detail-avatar-shell .investor-avatar {
  margin-bottom: 18px;
}

.public-detail-main .actions {
  margin-top: 22px;
}

.public-detail-main .actions .btn,
.public-detail-side .actions .btn {
  min-height: 50px;
}

.public-detail-side .actions {
  align-items: stretch;
}

.public-detail-side .actions .btn {
  flex: 1 1 0;
}

.admin-layout {
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  gap: 18px;
}

.admin-menu {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.admin-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid transparent;
}

.admin-menu-item.active {
  color: var(--blue);
  background: var(--blue-soft);
  border-color: #d7e3ff;
}

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

.metric-card {
  padding: 24px 26px;
  display: grid;
  gap: 10px;
}

.metric-card strong {
  font-size: 42px;
  letter-spacing: -0.05em;
}

.metric-card span {
  color: var(--muted);
}

.admin-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 20px;
}

.action-stack,
.feed-list {
  display: grid;
  gap: 12px;
}

.action-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-weight: 700;
}

.feed-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf2fb;
}

.feed-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.feed-item p,
.feed-item time {
  margin: 0;
}

.feed-item time {
  color: #94a0b8;
  font-size: 13px;
  white-space: nowrap;
}

.settings-grid {
  margin-top: 20px;
}

.settings-grid .inline-grid {
  align-items: end;
}

body.auth-screen .hero,
body.auth-screen .callout {
  display: none;
}

body.auth-screen .section-card,
body.admin-screen .section-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

body.auth-screen .section-head,
body.admin-screen .section-head {
  display: none;
}

body.auth-screen .data-grid {
  grid-template-columns: 1fr;
  max-width: 980px;
  margin: 32px auto 0;
}

.auth-shell {
  display: grid;
  gap: 28px;
}

.auth-intro {
  text-align: center;
  padding-top: 42px;
}

.auth-intro h1 {
  margin: 0 0 14px;
  font-size: clamp(42px, 5vw, 56px);
  letter-spacing: -0.05em;
}

.auth-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.auth-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.auth-choice-card,
.auth-panel-card,
.auth-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.auth-choice-card {
  padding: 30px 26px;
  cursor: pointer;
  transition: 180ms ease;
}

.auth-choice-card.active {
  border-color: #cad9ff;
  box-shadow: 0 18px 40px rgba(47, 86, 213, 0.12);
}

.auth-choice-card h3 {
  margin: 0 0 12px;
  font-size: 26px;
}

.auth-choice-card p {
  margin: 0 0 18px;
}

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

.role-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.role-checklist li::before {
  content: "✓";
  color: #19b353;
  font-weight: 800;
}

.auth-panel-card,
.auth-form-card {
  max-width: 480px;
  padding: 26px;
  margin: 0 auto;
}

.auth-panel-card h3,
.auth-form-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.auth-panel-card .inline-grid,
.auth-form-card .inline-grid {
  grid-template-columns: 1fr;
}

.auth-terms {
  padding: 18px 20px;
  border-radius: 16px;
  background: #f4f8ff;
  border: 1px solid #d7e5ff;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.auth-provider-stack,
.auth-form-stack {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.auth-provider-button {
  width: 100%;
}

.auth-provider-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.auth-center-note {
  text-align: center;
  color: var(--muted);
}

.auth-center-note a {
  color: var(--blue);
  font-weight: 700;
}

.auth-role-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--blue);
  font-weight: 700;
}

.auth-provider-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
  margin: 4px 0;
}

.auth-provider-divider::before,
.auth-provider-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e4eaf5;
}

.auth-soft-box {
  padding: 18px 20px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid #deebff;
}

.auth-soft-box h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

.auth-soft-box p {
  margin: 0;
  color: var(--muted);
}

body.admin-screen {
  background: #f6f8fc;
}

body.admin-screen .meta-strip,
body.admin-screen .topbar,
body.admin-screen .hero,
body.admin-screen .callout,
body.admin-screen .footer-dark {
  display: none;
}

body.admin-screen main.shell {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}

body.admin-screen .data-grid {
  display: block;
  margin: 0;
}

.admin-shell {
  display: grid;
  grid-template-columns: 198px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 18px 12px 24px;
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  grid-column: 1;
}

.admin-sidebar .brand {
  gap: 12px;
  margin-bottom: 22px;
  padding: 0 8px;
}

.admin-sidebar .brand-mark {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

.admin-sidebar .brand-copy strong {
  font-size: 15px;
  line-height: 1.1;
}

.admin-sidebar .brand-copy span {
  font-size: 10px;
}

.admin-nav {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  color: #50607d;
  text-align: left;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.admin-nav-link:hover {
  background: #f4f7ff;
  color: var(--blue);
}

.admin-nav-icon,
.admin-signout-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
}

.admin-nav-icon svg,
.admin-signout-icon svg {
  width: 18px;
  height: 18px;
}

.admin-nav-label {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-nav-link.active {
  background: #2648a5;
  color: #fff;
  box-shadow: 0 14px 28px rgba(38, 72, 165, 0.18);
}

.admin-spacer {
  flex: 1;
}

.admin-account-card {
  padding: 18px 8px 0;
  border-top: 1px solid #edf1f8;
}

.admin-account-card p {
  margin: 0;
  font-size: 12px;
  color: #7b879d;
}

.admin-account-card p strong {
  color: var(--ink);
  font-size: 13px;
}

.admin-signout {
  margin-top: 14px;
  width: 100%;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 12px;
  color: #d93a35;
  border-color: #f1cdcb;
}

.admin-signout:hover {
  background: #fff5f5;
}

.admin-main {
  display: grid;
  align-content: start;
  grid-column: 2;
  min-width: 0;
}

.admin-header-bar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.admin-header-path {
  font-weight: 700;
}

.admin-header-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.admin-page {
  padding: 18px 20px 22px;
}

@media (min-width: 1280px) {
  .shell {
    width: 80%;
  }

  body.admin-screen main.shell {
    width: 100%;
  }
}

.admin-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.admin-page-head h1 {
  margin: 0 0 8px;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.admin-page-head p {
  margin: 0;
  color: var(--muted);
}

.admin-panel-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 24px 26px;
}

.admin-panel-card > h3 {
  font-size: 22px;
}

.admin-panel-card + .admin-panel-card {
  margin-top: 18px;
}

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

.admin-stat-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.admin-stat-box strong {
  display: block;
  font-size: 44px;
  letter-spacing: -0.05em;
}

.admin-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--blue);
  background: #eef3ff;
}

.admin-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.admin-action-list,
.admin-feed-list,
.admin-list-stack {
  display: grid;
  gap: 18px;
}

.admin-action-item {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-weight: 700;
  background: #fff;
}

.admin-feed-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf1f8;
}

.admin-feed-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.admin-feed-item p,
.admin-feed-item time {
  margin: 0;
}

.admin-feed-item time {
  color: #95a1b8;
  white-space: nowrap;
}

.admin-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.admin-settings-inline {
  display: flex;
  gap: 10px;
  align-items: center;
}

.admin-segmented {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.admin-segmented button,
.admin-segmented a {
  min-width: 62px;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
}

.admin-segmented .active {
  background: var(--blue);
  color: #fff;
}

.admin-row-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(18, 34, 78, 0.06);
}

.admin-row-main {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.admin-row-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fbfcff 0%, #eef3ff 100%);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-weight: 700;
  font-size: 20px;
  box-shadow: inset 0 0 0 1px #dde6fb;
}

.admin-row-text {
  min-width: 0;
}

.admin-row-text h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
}

.admin-row-text p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
}

.admin-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.admin-row-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #e4eaf8;
  background: #f8fbff;
}

.admin-row-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  min-width: 190px;
}

.admin-row-actions .admin-outline-btn,
.admin-row-actions .admin-blue-btn,
.admin-row-actions .admin-red-btn,
.admin-row-actions .admin-green-btn,
.admin-row-actions .admin-white-btn {
  width: 100%;
}

.admin-title-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 20px 0 24px;
}

.admin-kpi-pill {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f7f9ff;
}

.admin-kpi-pill span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}

.admin-kpi-pill strong {
  font-size: 30px;
  letter-spacing: -0.04em;
}

.admin-row-card--passport .admin-row-actions {
  min-width: 168px;
}

.admin-row-card--staff .admin-row-actions,
.admin-row-card--agent .admin-row-actions {
  min-width: 208px;
}

.admin-project-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.admin-project-metric {
  padding: 14px 16px;
  border-radius: 14px;
  background: #f7f9ff;
  border: 1px solid #e5ebfa;
}

.admin-project-metric span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}

.admin-project-metric strong {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  word-break: break-word;
}

.status-green,
.status-purple,
.status-red,
.status-gray {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.status-green {
  background: #14c95a;
  color: #fff;
}

.status-purple {
  background: #a449ff;
  color: #fff;
}

.status-red {
  background: #e93333;
  color: #fff;
}

.status-gray {
  background: #eff2f7;
  color: #50607d;
}

.admin-outline-btn,
.admin-blue-btn,
.admin-red-btn,
.admin-green-btn,
.admin-white-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
}

.admin-blue-btn {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.admin-red-btn {
  border-color: #ea2e2e;
  background: #ea2e2e;
  color: #fff;
}

.admin-green-btn {
  border-color: #13b74d;
  background: #13b74d;
  color: #fff;
}

.admin-white-btn {
  background: #fff;
}

.admin-project-cover {
  width: 176px;
  height: 100px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #3a62de 0%, #294bbc 100%);
  flex: 0 0 auto;
}

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

.admin-project-cover .project-cover-fallback {
  font-size: 34px;
}

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

.admin-category-card,
.admin-tariff-card {
  padding: 26px;
}

.admin-category-card h3,
.admin-tariff-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.admin-lines {
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.admin-card-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.admin-category-inline-card {
  padding: 22px;
}

.admin-category-actions .btn,
.admin-category-editor-actions .btn {
  padding: 10px 14px;
  font-size: 13px;
}

.admin-category-status-button[data-next-active="false"] {
  border-color: #f0c5c5;
  background: #fff6f6;
  color: #c24c4c;
}

.admin-category-status-button[data-next-active="true"] {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.admin-category-editor {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e4eaf4;
}

.admin-category-active-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
}

.admin-guide-stack {
  display: grid;
  gap: 14px;
}

.admin-guide-card {
  padding: 18px 18px 16px;
  border: 1px solid #e3e9f8;
  border-radius: 18px;
  background: #f8fbff;
}

.admin-guide-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.admin-guide-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.admin-project-chip-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.admin-project-chip {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid #e3e9f8;
  border-radius: 16px;
  background: #fff;
}

.admin-project-chip strong {
  font-size: 14px;
  line-height: 1.45;
}

.admin-project-chip span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.admin-table-wrap {
  overflow: auto;
  border: 1px solid #e8edf6;
  border-radius: 18px;
  background: #fff;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border: 1px solid #e8edf6;
  text-align: left;
  font-size: 13px;
  line-height: 1.45;
}

.admin-table th {
  background: #f8fbff;
  font-weight: 800;
  white-space: nowrap;
}

.admin-list-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.admin-segmented--user-scope {
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.admin-mini-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f4f7fd;
  padding: 13px 14px;
  min-height: 48px;
}

.admin-mini-select {
  width: 220px;
  color: var(--ink);
  appearance: none;
}

.admin-list-entry {
  display: grid;
  gap: 14px;
}

.admin-user-card {
  align-items: flex-start;
}

.admin-user-text {
  width: 100%;
}

.admin-user-title-line {
  align-items: flex-start;
  justify-content: space-between;
}

.admin-user-heading {
  min-width: 0;
}

.admin-user-heading h3 {
  margin-bottom: 6px;
}

.admin-user-heading p {
  margin: 0;
}

.admin-user-badge-row {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-user-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 12px;
}

.admin-user-stat {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #e5ebfa;
  background: #f8fbff;
}

.admin-user-stat span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
}

.admin-user-stat strong {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  word-break: break-word;
}

.admin-user-meta {
  gap: 8px;
}

.admin-user-side {
  min-width: 170px;
}

.admin-user-quick-grid {
  display: grid;
  gap: 10px;
}

.admin-user-quick-grid .muted-line {
  text-align: center;
}

.admin-user-side .muted-line {
  text-align: center;
}

.admin-user-edit-card {
  padding: 24px 26px;
}

.admin-center-link {
  display: block;
  text-align: center;
  color: var(--muted);
  margin-top: 24px;
}

.admin-center-link a {
  color: var(--blue);
  font-weight: 700;
}

@media (max-width: 1180px) {
  .auth-choice-grid,
  .admin-stats-grid,
  .admin-card-grid,
  .admin-settings-grid,
  .admin-two-col {
    grid-template-columns: 1fr;
  }

  .admin-row-card,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar,
  .admin-main {
    grid-column: auto;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .admin-row-actions {
    justify-content: flex-start;
  }

  .admin-user-title-line {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-user-badge-row {
    justify-content: flex-start;
  }

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

  .admin-summary-strip,
  .admin-project-stats {
    grid-template-columns: 1fr;
  }
}

.footer-dark {
  margin-top: 58px;
  background: var(--navy);
  color: #fff;
}

.footer-inner {
  padding: 40px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 34px;
}

.footer-brand {
  display: grid;
  gap: 18px;
}

.footer-brand .brand-copy span,
.footer-copy,
.footer-col p,
.footer-note {
  color: #c5cedd;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 800;
}

.footer-social a:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.admin-secondary-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 26px 0;
}

.admin-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(27, 45, 93, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.admin-secondary-link:hover {
  border-color: rgba(42, 90, 255, 0.28);
  color: var(--brand);
}

.admin-secondary-link.active {
  border-color: var(--brand);
  background: rgba(42, 90, 255, 0.08);
  color: var(--brand);
}

@media (max-width: 760px) {
  .admin-secondary-nav {
    padding: 12px 18px 0;
    gap: 8px;
  }

  .admin-secondary-link {
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }
}

.public-pricing-shell {
  display: grid;
  gap: 22px;
}

.pricing-hero-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}

.pricing-hero-copy {
  display: grid;
  gap: 14px;
}

.pricing-kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pricing-kpi-card {
  padding: 22px 24px;
  display: grid;
  gap: 8px;
}

.pricing-kpi-card span {
  color: var(--muted);
  font-size: 14px;
}

.pricing-kpi-card strong {
  font-size: 28px;
  color: var(--ink);
}

.pricing-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.pricing-side-stack {
  display: grid;
  gap: 18px;
}

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

.pricing-grid .tariff-card {
  height: 100%;
}

.pricing-grid .tariff-body {
  gap: 14px;
}

.tariff-helper-note {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.tariff-contact-stack {
  display: grid;
  gap: 10px;
}

.tariff-contact-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.tariff-contact-note a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1080px) {
  .pricing-layout,
  .pricing-kpi-strip,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-hero-card {
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .policy-page .section-head h2,
  .faq-page .section-head h2,
  .sitemap-page .section-head h2 {
    font-size: 32px;
  }

  .policy-page .route-card,
  .faq-page .route-card,
  .sitemap-page .route-card {
    padding: 22px 20px;
  }
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 18px;
}

.footer-col p {
  margin: 0;
  line-height: 1.8;
}

.footer-note {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.footer-note:has(span:only-child) {
  justify-content: flex-start;
}

.footer-link {
  color: #fff;
  font-weight: 700;
}

body.home-page .hero-grid {
  display: block;
}

body.home-page .hero-card {
  min-height: 420px;
  background: transparent;
  color: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
  padding: 74px 80px;
}

body.home-page .hero-card::after,
body.home-page .status-card,
body.home-page .metrics,
body.home-page #investors,
body.home-page #pages {
  display: none !important;
}

body.home-page .eyebrow {
  display: none;
}

body.home-page .hero-copy h1 {
  margin: 28px auto 20px;
  max-width: 960px;
  color: #fff;
  line-height: 1.12;
  font-size: clamp(38px, 5vw, 66px);
}

body.home-page .hero-copy p {
  margin: 0 auto;
  max-width: 860px;
  color: #d5dbea;
  font-size: 20px;
}

body.home-page .hero-actions {
  justify-content: center;
  margin-top: 34px;
}

body.home-page .hero-actions .btn-primary {
  min-width: 238px;
}

body.home-page #workspace:not(:target) {
  display: none;
}

body.home-page .chip-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 860px;
  margin: 0 auto;
}

body.home-page .grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.home-page #tariffs .grid-4 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.home-page .section-cta .btn {
  min-width: 220px;
}

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

body.home-page .meta-strip {
  font-size: 12px;
}

body.home-page .meta-strip-inner {
  min-height: 31px;
  gap: 16px;
}

body.home-page .topbar-inner {
  grid-template-columns: 280px minmax(0, 1fr) 280px;
  gap: 18px;
  min-height: 63px;
  padding: 11px 0 13px;
}

body.home-page .brand {
  gap: 10px;
  justify-self: start;
}

body.home-page .brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
}

body.home-page .brand-copy strong {
  font-size: 16px;
}

body.home-page .brand-copy span {
  font-size: 11px;
}

body.home-page .nav-shell {
  width: 100%;
  justify-content: center;
  justify-self: center;
}

body.home-page .nav {
  margin: 0 auto;
  justify-content: center;
}

body.home-page .nav a,
body.home-page .nav button {
  min-width: 119px;
  padding: 11px 16px;
}

body.home-page .topbar-actions {
  gap: 9px;
  justify-self: end;
}

body.home-page .guest-auth-actions {
  gap: 8px;
}

body.home-page .header-auth-link {
  min-width: 68px;
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 13px;
}

body.home-page .header-auth-link.primary {
  min-width: 102px;
}

body.home-page .lang-switch {
  padding: 3px;
  border-radius: 10px;
}

body.home-page .lang-btn {
  min-width: 30px;
  padding: 7px 0;
  border-radius: 8px;
  font-size: 13px;
}

body.home-page .hero {
  width: calc(100% + (var(--shell-gutter) * 2));
  margin-left: calc(var(--shell-gutter) * -1);
  padding: 0 0 16px;
  overflow: hidden;
}

body.home-page .hero-stage {
  min-height: 416px;
  border-radius: 0;
  box-shadow: none;
}

body.home-page .hero-card {
  min-height: 416px;
  padding: 74px 72px;
}

body.home-page .hero-card--animated::before,
body.home-page .hero-card--animated::after,
body.home-page .hero-video-fade {
  display: none !important;
  content: none !important;
}

body.home-page .hero-video {
  left: 50%;
  right: auto;
  width: 110%;
  max-width: none;
  transform: translateX(-50%);
  filter: none;
}

body.home-page .hero-copy h1 {
  margin: 25px auto 18px;
  max-width: 864px;
  font-size: clamp(34px, 4.5vw, 59px);
}

body.home-page .hero-copy p {
  max-width: 774px;
  font-size: 18px;
}

body.home-page .hero-actions {
  gap: 11px;
  margin-top: 30px;
}

body.home-page .hero-actions .btn-primary {
  min-width: 214px;
  padding: 13px 16px;
  border-radius: 16px;
}

body.home-page .categories-home-section {
  width: calc(100% + (var(--shell-gutter) * 2));
  margin-left: calc(var(--shell-gutter) * -1);
  padding: 62px 0 72px;
  background: #f4f6fa;
}

body.home-page .categories-showcase-frame {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
}

body.home-page .section-card {
  padding: 27px 0 9px;
}

body.home-page .section-head {
  gap: 13px;
  margin-bottom: 25px;
}

body.home-page .section-head h2 {
  font-size: 31px;
}

body.home-page .section-head p {
  font-size: 15px;
}

body.home-page .chip-row,
body.home-page .grid-3,
body.home-page #tariffs .grid-4 {
  gap: 18px;
}

body.home-page .category-card {
  min-height: 144px;
  padding: 18px 13px;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(31, 53, 109, 0.08);
}

body.home-page .category-icon {
  width: 56px;
  height: 56px;
  font-size: 25px;
  margin-bottom: 14px;
}

body.home-page .home-category-card strong {
  max-width: 132px;
  min-height: 36px;
  font-size: 13px;
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.home-page .home-project-card .project-cover {
  height: 176px;
}

body.home-page .home-project-card .project-body {
  padding: 14px 14px 13px;
}

body.home-page .home-project-card .catalog-kicker {
  margin-bottom: 9px;
  font-size: 11px;
}

body.home-page .home-project-card .project-title {
  font-size: 16px;
  min-height: 41px;
  margin-bottom: 7px;
}

body.home-page .home-project-card .project-excerpt {
  margin-bottom: 10px;
  font-size: 12px;
}

body.home-page .home-price-line strong {
  font-size: 20px;
}

body.home-page .home-price-line span,
body.home-page .home-project-meta {
  font-size: 11px;
}

body.home-page .home-project-footer {
  margin-top: 10px;
  padding-top: 10px;
  gap: 10px;
  font-size: 10px;
}

body.home-page .home-tariff-card .tariff-body {
  padding: 22px 20px 18px;
}

body.home-page .home-tariff-card .tariff-title {
  font-size: 18px;
  margin-bottom: 10px;
}

body.home-page .home-tariff-card .tariff-excerpt {
  min-height: 83px;
  font-size: 13px;
  line-height: 1.55;
}

body.home-page .home-tariff-tags {
  margin-top: 10px;
}

body.home-page .tariff-feature-list {
  margin-top: 16px;
  gap: 9px;
  font-size: 13px;
}

body.home-page .tariff-card .btn,
body.home-page .section-cta .btn {
  padding: 12px 16px;
}

body.home-page .section-cta .btn {
  min-width: 198px;
}

body.home-page .tariff-contact-note {
  font-size: 12px;
}

body.home-page .footer-dark {
  margin-top: 52px;
}

body.home-page .footer-inner {
  padding: 36px 0 25px;
}

body.home-page .footer-grid {
  gap: 30px;
}

body.home-page .footer-brand {
  gap: 16px;
}

body.home-page .footer-col h4 {
  margin-bottom: 10px;
  font-size: 16px;
}

body.home-page .footer-col p,
body.home-page .footer-note {
  font-size: 13px;
}

body.home-page .footer-note {
  margin-top: 23px;
  padding-top: 22px;
}

body.home-page .footer-social {
  gap: 10px;
}

body.home-page .footer-social a {
  width: 36px;
  height: 36px;
  font-size: 11px;
}

body.categories-page main.shell {
  padding: 44px 0 84px;
}

.categories-catalog-shell {
  padding-top: 8px;
}

.categories-page-head {
  max-width: 760px;
  margin: 0 0 34px;
}

.categories-page-head h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 4.2vw, 48px);
  letter-spacing: -0.05em;
}

.categories-page-head p {
  margin: 0;
  font-size: 16px;
}

.categories-page-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 26px 24px;
  align-items: start;
}

.catalog-category-card {
  min-height: 154px;
  padding: 18px 12px;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(31, 53, 109, 0.08);
}

.catalog-category-card strong {
  max-width: 150px;
  min-height: 40px;
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.compat-page .status-card {
  background: #fff;
}

.footer {
  display: none;
}

@media (max-width: 1180px) {
  .categories-page-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .categories-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .topbar-inner,
  .workspace-head {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .topbar-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .topbar-actions,
  .nav-shell {
    justify-content: center;
  }

  .grid-4,
  .stats-row,
  .contact-grid,
  .dashboard-grid,
  .status-grid,
  .metric-grid,
  .catalog-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .feature-grid,
  body.home-page .grid-3,
  body.home-page #tariffs .grid-4,
  .workspace-grid,
  .branch-grid,
  .footer-grid,
  .catalog-layout,
  .admin-layout,
  .admin-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --shell-gutter: 10px;
  }

  .shell {
    width: min(calc(100% - (var(--shell-gutter) * 2)), 1280px);
  }

  .meta-strip-inner {
    flex-direction: column;
    gap: 2px;
    padding: 8px 0;
  }

  .nav-shell {
    overflow-x: auto;
  }

  .nav {
    width: max-content;
    min-width: 100%;
    overflow-x: visible;
    justify-content: center;
    margin: 0 auto;
  }

  .nav a,
  .nav button {
    min-width: 116px;
    padding: 11px 14px;
  }

  .topbar-actions {
    flex-wrap: wrap;
  }

  .guest-auth-actions {
    width: auto;
    max-width: 100%;
    justify-content: center;
    flex-wrap: nowrap;
  }

  .hero-card,
  .route-card,
  .data-card,
  .card,
  .callout,
  .workspace {
    padding: 20px;
    border-radius: 22px;
  }

  body.home-page .hero-card {
    padding: 70px 22px;
    min-height: 430px;
  }

  body.home-page .categories-showcase-frame {
    width: calc(100% - 24px);
  }

  body.home-page .chip-row,
  .grid-4,
  .grid-3,
  .grid-2,
  .feature-grid,
  .stats-row,
  .contact-grid,
  .dashboard-grid,
  .status-grid,
  .admin-grid,
  .inline-grid {
    grid-template-columns: 1fr;
  }

  .section-card {
    padding-top: 42px;
  }

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

  .categories-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
  }

  .public-detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-hero-cover {
    height: 280px;
  }

  .detail-stat-grid {
    grid-template-columns: 1fr;
  }

  .public-detail-main .project-body,
  .public-detail-main .investor-body,
  .detail-avatar-shell,
  .detail-side-card {
    padding: 20px;
  }

  .public-detail-main .project-title,
  .public-detail-main .investor-title,
  .detail-side-card h3,
  .detail-section h3 {
    font-size: 24px;
  }

  .footer-note {
    flex-direction: column;
  }
}

.catalog-toolbar-rich {
  align-items: flex-start;
}

.catalog-page-title {
  font-size: 24px;
  letter-spacing: -0.04em;
}

.catalog-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.catalog-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.catalog-metric-pill {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8faff;
}

.catalog-metric-pill span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}

.catalog-metric-pill strong {
  font-size: 22px;
  letter-spacing: -0.04em;
}

.catalog-note-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8faff;
}

.catalog-note-card strong {
  display: block;
  margin-bottom: 8px;
}

.catalog-note-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.catalog-project-card,
.catalog-investor-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.project-head-stack {
  margin-bottom: 10px;
}

.catalog-kicker {
  margin: 0 0 10px;
  color: #6e7fa7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-price-row,
.investor-range-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.project-price-row strong,
.investor-range-line strong {
  font-size: 26px;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.project-price-row span,
.investor-range-line span {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

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

.project-meta-item {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfcff;
}

.project-meta-item span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
}

.project-meta-item strong {
  font-size: 15px;
}

.card-bottom-row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.project-owner-line {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-actions {
  align-items: stretch;
}

.catalog-actions .btn {
  min-width: 0;
}

.project-catalog-cards .project-card .actions .btn,
.investor-catalog-cards .investor-card .actions .btn {
  width: auto;
  flex: 1 1 0;
}

.investor-card-top {
  padding: 28px 24px 0;
}

.investor-hero-avatar {
  width: 108px;
  height: 108px;
  border-radius: 30px;
  margin: 0 auto;
  font-size: 44px;
}

.investor-detail-shell {
  text-align: center;
}

.investor-detail-avatar {
  width: 112px;
  height: 112px;
  border-radius: 34px;
  margin: 0 auto 18px;
  font-size: 46px;
}

.detail-highlight-card {
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

.detail-gallery-thumb {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.detail-gallery-thumb img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

@media (max-width: 1120px) {
  .catalog-overview {
    grid-template-columns: 1fr;
  }

  .home-project-footer,
  .home-project-meta,
  .home-price-line {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .catalog-toolbar-actions,
  .card-bottom-row,
  .project-price-row,
  .investor-range-line {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-meta-grid,
  .catalog-overview {
    grid-template-columns: 1fr;
  }

  .project-catalog-cards .project-card .actions .btn,
  .investor-catalog-cards .investor-card .actions .btn {
    width: 100%;
    flex: none;
  }
}

.about-page main.shell,
.branches-page main.shell {
  padding-top: 28px;
  padding-bottom: 56px;
}

.about-page .hero {
  padding-top: 12px;
  margin-bottom: 28px;
}

.about-hero .hero-card {
  min-height: 280px;
  padding: 64px 32px;
}

.about-hero .hero-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.about-hero .hero-copy h1 {
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 58px);
}

.about-hero .hero-copy p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 22px;
}

.about-stat-grid {
  gap: 18px;
  margin-bottom: 28px;
}

.about-stat-grid .stat-tile {
  padding: 24px 20px;
  text-align: center;
}

.about-stat-grid .stat-tile strong {
  display: block;
  margin-bottom: 10px;
  font-size: 48px;
  letter-spacing: -0.05em;
  color: var(--brand);
}

.about-stat-grid .stat-tile p {
  margin: 0;
  color: var(--muted);
}

.about-page .section-card {
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

.about-page .section-head {
  justify-content: center;
  margin-bottom: 26px;
  text-align: center;
}

.about-page .section-head h2 {
  font-size: 42px;
}

.about-mission-shell {
  margin-bottom: 34px;
}

.about-mission-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 30px 34px;
  text-align: center;
}

.about-mission-card p {
  margin: 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.7;
}

.about-feature-grid {
  gap: 18px;
  margin-bottom: 44px;
}

.about-feature-grid .feature-card {
  padding: 24px;
}

.about-feature-grid .feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand);
}

.about-feature-grid .feature-card h3 {
  margin-bottom: 10px;
  font-size: 26px;
}

.about-feature-grid .feature-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.about-step-list {
  gap: 22px;
  margin-bottom: 42px;
}

.about-step-list .step-card {
  padding: 24px 28px;
}

.about-step-list .step-index {
  width: 54px;
  height: 54px;
  font-size: 22px;
}

.about-step-list h3 {
  margin-bottom: 10px;
  font-size: 28px;
}

.about-step-list p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.about-page .cta-banner {
  margin-top: 10px;
  margin-bottom: 42px;
  padding: 52px 36px;
}

.about-page .cta-banner h3 {
  font-size: 42px;
}

.about-page .contact-strip {
  padding-bottom: 10px;
}

.about-page .contact-strip > p {
  max-width: 640px;
  margin: 0 auto 24px;
  text-align: center;
}

.branches-shell {
  min-height: 700px;
  padding: 28px 0 10px;
  border: none;
  background: transparent;
  box-shadow: none;
}

.branches-head {
  justify-content: center;
  text-align: center;
  margin-bottom: 24px;
}

.branches-head h2 {
  font-size: clamp(34px, 4vw, 56px);
}

.branches-head p {
  color: var(--muted);
  font-size: 22px;
}

.branches-picker {
  max-width: 380px;
  margin: 0 auto 36px;
}

.branches-picker .filter-select {
  height: 60px;
  border-radius: 18px;
  font-size: 17px;
}

.branches-showcase {
  display: grid;
  grid-template-columns: minmax(0, 420px);
  justify-content: start;
  gap: 24px;
}

.branches-card {
  overflow: hidden;
  padding: 0;
}

.branches-card .branch-cover {
  height: 250px;
  background:
    linear-gradient(180deg, rgba(14, 30, 66, 0) 18%, rgba(14, 30, 66, 0.82) 100%),
    linear-gradient(135deg, #d6dde9 0%, #b7c3d9 100%);
}

.branches-card .project-cover-fallback {
  width: 100%;
  height: 100%;
  border-radius: 0;
  font-size: 88px;
}

.branches-card .branch-body {
  padding: 22px 24px 26px;
}

.branches-card .branch-body h3 {
  font-size: 22px;
}

.branches-card .branch-text {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 17px;
}

.branch-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.branch-contact-row::before {
  content: "☎";
  color: var(--brand);
  font-size: 22px;
}

.branch-contact-row strong {
  font-size: 18px;
  font-weight: 500;
}

@media (max-width: 1120px) {
  .about-feature-grid,
  .about-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .about-page main.shell,
  .branches-page main.shell {
    padding-top: 18px;
  }

  .about-hero .hero-card {
    min-height: auto;
    padding: 40px 22px;
  }

  .about-hero .hero-copy p,
  .about-mission-card p,
  .branches-head p {
    font-size: 18px;
  }

  .about-page .section-head h2,
  .about-page .cta-banner h3,
  .branches-head h2 {
    font-size: 32px;
  }

  .about-stat-grid,
  .about-feature-grid,
  .about-step-list,
  .branches-showcase {
    grid-template-columns: 1fr;
  }

  .about-step-list .step-card,
  .about-mission-card,
  .about-page .cta-banner {
    padding: 22px 20px;
  }

  .branches-picker {
    max-width: none;
  }

  .branches-shell {
    min-height: 0;
  }
}

body.auth-screen main.shell {
  padding-top: 34px;
  padding-bottom: 54px;
}

body.auth-screen .data-grid {
  max-width: 1120px;
  margin-top: 28px;
}

.auth-shell {
  max-width: 1000px;
  margin: 0 auto;
  gap: 36px;
  align-items: start;
}

.auth-intro {
  max-width: 820px;
  margin: 0 auto;
  padding-top: 14px;
}

.auth-intro .admin-avatar {
  border-radius: 28px;
  background: linear-gradient(180deg, #f9fbff 0%, #edf3ff 100%);
  box-shadow: inset 0 0 0 3px #2f56d5, 0 18px 42px rgba(47, 86, 213, 0.14);
}

.auth-intro h1 {
  margin: 0 0 16px;
  font-size: clamp(40px, 4.8vw, 58px);
}

.auth-intro p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 21px;
  line-height: 1.62;
}

.auth-choice-grid {
  max-width: 980px;
  margin: 0 auto;
  gap: 26px;
  align-items: stretch;
}

.auth-choice-card {
  min-height: 268px;
  padding: 36px 30px;
  border-radius: 28px;
}

.auth-choice-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 54px rgba(15, 37, 84, 0.1);
}

.auth-choice-card h3 {
  margin: 0 0 14px;
  font-size: 28px;
}

.auth-choice-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 20px;
}

.role-checklist {
  margin-top: 22px;
  gap: 12px;
}

.role-checklist li {
  font-size: 17px;
}

.role-checklist li::before {
  content: "\2713";
  font-size: 15px;
  line-height: 1;
}

.auth-panel-card,
.auth-form-card {
  max-width: 540px !important;
  padding: 30px 28px;
  border-radius: 26px;
}

.auth-panel-card p,
.auth-form-card p {
  color: var(--muted);
  line-height: 1.6;
}

.auth-panel-card .auth-role-pill {
  margin-top: 8px;
}

.auth-terms {
  margin-top: 20px;
  padding: 20px 22px;
  border-radius: 18px;
}

.auth-terms input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.auth-provider-stack,
.auth-form-stack {
  gap: 14px;
  margin-top: 20px;
}

.auth-provider-button {
  min-height: 58px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 700;
}

.auth-form-card .field label,
.auth-panel-card .field label {
  font-weight: 700;
}

.auth-form-card .field input,
.auth-panel-card .field input {
  min-height: 56px;
  border-radius: 16px;
  padding-inline: 16px;
  background: #eef4ff;
  border-color: #dbe6fb;
}

.auth-provider-divider {
  margin: 10px 0 2px;
}

.auth-soft-box {
  margin-top: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f7faff;
  border: 1px solid #dce7fb;
}

.auth-soft-box h4 {
  margin: 0 0 6px;
}

.auth-soft-box p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.auth-kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
  margin: 0 auto 24px;
}

.auth-kpi-card {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid #dbe5fb;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 14px 34px rgba(22, 42, 87, 0.06);
}

.auth-kpi-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-kpi-card strong {
  display: block;
  color: #17326b;
  font-size: 20px;
  line-height: 1.25;
}

.auth-inline-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f7faff;
  border: 1px solid #dce7fb;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.auth-action-bar {
  margin-top: 18px;
}

.auth-center-note {
  margin: 6px 0 0;
  font-size: 18px;
}

.role-option-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.role-option-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.role-admin-card.active {
  border-color: #cad9ff;
  box-shadow: 0 18px 40px rgba(47, 86, 213, 0.12);
}

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

@media (max-width: 760px) {
  body.auth-screen main.shell {
    padding-top: 20px;
    padding-bottom: 30px;
  }

  .auth-shell {
    gap: 22px;
  }

  .auth-intro {
    padding-top: 16px;
  }

  .auth-intro h1 {
    font-size: 34px;
  }

  .auth-intro p,
  .auth-choice-card p,
  .role-checklist li,
  .auth-center-note {
    font-size: 16px;
  }

  .auth-choice-card,
  .auth-panel-card,
  .auth-form-card {
    min-height: 0;
    padding: 24px 20px;
  }

  .auth-kpi-strip {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 18px;
  }

  .role-option-head {
    flex-direction: column;
  }

  .auth-intro .admin-avatar {
    width: 78px !important;
    height: 78px !important;
    font-size: 28px !important;
    margin-bottom: 14px !important;
  }
}

.catalog-layout {
  align-items: start;
  gap: 24px;
}

.catalog-sidebar {
  position: sticky;
  top: 18px;
}

.catalog-sidebar h3 {
  margin: 0 0 22px;
  font-size: 24px;
}

.filter-stack {
  display: grid;
  gap: 18px;
}

.filter-group {
  display: grid;
  gap: 10px;
}

.filter-group strong {
  font-size: 15px;
}

.filter-select,
.filter-input {
  min-height: 52px;
  border-radius: 16px;
}

.range-line {
  height: 12px;
}

.catalog-main {
  padding: 26px;
}

.catalog-toolbar {
  margin-bottom: 20px;
}

.catalog-count {
  font-size: 18px;
}

.catalog-cards {
  gap: 22px;
}

.project-catalog-cards,
.investor-catalog-cards {
  align-items: stretch;
}

.project-catalog-cards .project-card .project-cover {
  height: 210px;
}

.project-catalog-cards .project-card .project-body,
.investor-catalog-cards .investor-card .investor-body {
  padding: 20px 20px 18px;
}

.project-catalog-cards .project-title,
.investor-catalog-cards .investor-title {
  font-size: 22px;
  line-height: 1.25;
}

.project-catalog-cards .project-excerpt,
.investor-catalog-cards .investor-excerpt {
  min-height: 66px;
  font-size: 14px;
  line-height: 1.6;
}

.project-catalog-cards .tag-row,
.investor-catalog-cards .tag-row {
  gap: 8px;
}

.project-catalog-cards .actions,
.investor-catalog-cards .actions {
  margin-top: 18px;
}

@media (max-width: 1120px) {
  .catalog-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .catalog-main,
  .catalog-sidebar {
    padding: 20px;
  }

.catalog-sidebar h3 {
  margin-bottom: 18px;
}

.catalog-count {
  font-size: 16px;
}

  .project-catalog-cards .project-card .project-cover {
    height: 190px;
  }

  .project-catalog-cards .project-title,
  .investor-catalog-cards .investor-title {
    font-size: 20px;
  }

  .project-catalog-cards .project-excerpt,
  .investor-catalog-cards .investor-excerpt {
    min-height: 0;
  }
}

.projects-page-wrap,
.investors-page-wrap {
  display: grid;
  gap: 28px;
}

body[data-compat-kind="publicProjects"] .hero,
body[data-compat-kind="publicProjects"] .callout,
body[data-compat-kind="publicProjects"] #contentDescription,
body[data-compat-kind="publicInvestors"] .hero,
body[data-compat-kind="publicInvestors"] .callout,
body[data-compat-kind="publicInvestors"] #contentDescription {
  display: none;
}

body[data-compat-kind="publicProjects"] .topbar .brand-copy span,
body[data-compat-kind="publicProjects"] .footer-note span:last-child,
body[data-compat-kind="publicProjects"] .footer-brand .brand-copy span,
body[data-compat-kind="publicInvestors"] .topbar .brand-copy span,
body[data-compat-kind="publicInvestors"] .footer-note span:last-child,
body[data-compat-kind="publicInvestors"] .footer-brand .brand-copy span {
  display: none;
}

body[data-compat-kind="publicProjects"] .section-card,
body[data-compat-kind="publicInvestors"] .section-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-compat-kind="publicProjects"] .section-head,
body[data-compat-kind="publicInvestors"] .section-head {
  display: none;
}

body[data-compat-kind="publicProjects"] .data-grid,
body[data-compat-kind="publicInvestors"] .data-grid {
  display: block;
}

.projects-page-title-row h2,
.investors-page-title-row h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.projects-page-grid {
  display: grid;
  grid-template-columns: 254px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.projects-page-sidebar {
  position: sticky;
  top: 24px;
}

.projects-filter-card {
  padding: 22px 20px 20px;
  border: 1px solid #dfe5f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(21, 42, 92, 0.05);
}

.projects-filter-card h3 {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 20px;
}

.projects-filter-card .projects-filter-block + .projects-filter-block {
  margin-top: 22px;
}

.projects-filter-label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.projects-filter-select,
.projects-budget-input,
.projects-sort-select {
  min-height: 48px;
  border: 1px solid #e5eaf5;
  border-radius: 12px;
  background: #f8faff;
  color: var(--ink);
  font-size: 14px;
  box-shadow: none;
}

.projects-sort-select {
  min-width: 164px;
  max-width: 188px;
}

.projects-range-shell {
  position: relative;
  height: 22px;
  margin: 6px 0 10px;
}

.projects-range-track,
.projects-range-active {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 8px;
  border-radius: 999px;
  transform: translateY(-50%);
}

.projects-range-track {
  background: #dfe7f8;
}

.projects-range-active {
  left: 10px;
  right: 10px;
  background: linear-gradient(90deg, #2d4ecf 0%, #2741b0 100%);
}

.projects-range-knob {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 2px solid #2d4ecf;
  border-radius: 999px;
  background: #fff;
  transform: translateY(-50%);
  box-shadow: 0 4px 12px rgba(39, 65, 176, 0.18);
}

.projects-range-knob-left {
  left: 0;
}

.projects-range-knob-right {
  right: 0;
}

.projects-range-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: #607099;
  font-size: 13px;
}

.projects-range-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.projects-budget-input {
  padding-inline: 12px;
}

.projects-page-main {
  min-width: 0;
}

.projects-page-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.projects-page-controls .catalog-count {
  color: #44506d;
  font-size: 16px;
}

.projects-page-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.project-showcase-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid #dfe5f2;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(18, 32, 76, 0.05);
}

.project-showcase-cover-link {
  display: block;
}

.projects-showcase-cover {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 142px;
  border-bottom: 1px solid #e6ebf5;
  background: #eef3fb;
  overflow: hidden;
}

.projects-showcase-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.projects-showcase-cover--placeholder {
  background: linear-gradient(180deg, #f0f4fb 0%, #e8eef8 100%);
}

.projects-cover-placeholder {
  width: 100%;
  min-height: 142px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2d4ecf;
  font-size: 54px;
  font-weight: 700;
}

.project-showcase-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 16px 16px 14px;
}

.project-showcase-category {
  margin: 0 0 10px;
  color: #8a96ad;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-showcase-title {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.22;
  letter-spacing: -0.03em;
}

.project-showcase-excerpt {
  display: -webkit-box;
  min-height: 62px;
  margin: 0 0 12px;
  overflow: hidden;
  color: #5d6b87;
  font-size: 13px;
  line-height: 1.45;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.project-showcase-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #1f325c;
}

.project-showcase-price strong {
  font-size: 16px;
  font-weight: 700;
}

.project-price-icon {
  flex: 0 0 auto;
  font-size: 17px;
  line-height: 1;
}

.project-showcase-owner {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 12px;
  color: #607099;
  font-size: 13px;
}

.project-owner-dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #365ccf;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.78);
}

.project-showcase-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid #e7edf7;
}

.project-meta-stat {
  color: #9aa5bc;
  font-size: 12px;
}

.investors-page-grid {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.investors-page-sidebar {
  position: sticky;
  top: 24px;
}

.investors-filter-card {
  padding: 26px 26px 24px;
  border: 1px solid #dfe5f2;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(21, 42, 92, 0.05);
}

.investors-filter-card h3 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 20px;
}

.investors-filter-card .investors-filter-block + .investors-filter-block {
  margin-top: 26px;
}

.investors-filter-label {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.investors-filter-select,
.investors-budget-input,
.investors-sort-select {
  min-height: 56px;
  border: 1px solid #e5eaf5;
  border-radius: 14px;
  background: #f8faff;
  color: var(--ink);
  font-size: 15px;
  box-shadow: none;
}

.investors-sort-select {
  min-width: 170px;
  max-width: 190px;
  background: #f8faff;
}

.investors-range-shell {
  position: relative;
  height: 24px;
  margin: 6px 0 10px;
}

.investors-range-track,
.investors-range-active {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 8px;
  border-radius: 999px;
  transform: translateY(-50%);
}

.investors-range-track {
  background: #dfe7f8;
}

.investors-range-active {
  left: 10px;
  right: 10px;
  background: linear-gradient(90deg, #2d4ecf 0%, #2741b0 100%);
}

.investors-range-knob {
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid #2d4ecf;
  border-radius: 999px;
  background: #fff;
  transform: translateY(-50%);
  box-shadow: 0 4px 12px rgba(39, 65, 176, 0.2);
}

.investors-range-knob-left {
  left: 0;
}

.investors-range-knob-right {
  right: 0;
}

.investors-range-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: #607099;
  font-size: 14px;
}

.investors-range-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.investors-budget-input {
  padding-inline: 14px;
}

.investors-page-main {
  min-width: 0;
}

.investors-page-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.investors-page-controls .catalog-count {
  color: #44506d;
  font-size: 17px;
}

.investors-page-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.investor-showcase-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid #dfe5f2;
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(18, 32, 76, 0.05);
}

.investor-showcase-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 168px;
  padding: 24px 24px 16px;
  border-bottom: 1px solid #e6ebf5;
  background: #fff;
}

.investor-showcase-visual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  font-size: 58px;
  font-weight: 500;
  line-height: 1;
}

.investor-showcase-visual-square {
  border-radius: 0;
}

.investor-showcase-visual-circle {
  border-radius: 999px;
}

.investor-showcase-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 26px 26px 22px;
}

.investor-showcase-title {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.investor-showcase-type {
  margin: 0 0 16px;
  color: #667595;
  font-size: 15px;
}

.investor-showcase-excerpt {
  min-height: 78px;
  margin: 0 0 16px;
  color: #485673;
  font-size: 14px;
  line-height: 1.55;
}

.investor-showcase-budget,
.investor-showcase-location {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #223155;
}

.investor-showcase-budget strong {
  font-size: 16px;
  font-weight: 700;
}

.investor-budget-icon,
.investor-location-icon {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
}

.investor-showcase-location {
  color: #586785;
  font-size: 14px;
}

.investor-showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.investor-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid #dde4f2;
  border-radius: 999px;
  background: #fff;
  color: #2f405f;
  font-size: 13px;
  white-space: nowrap;
}

.investor-showcase-meta {
  margin-top: auto;
  padding-bottom: 16px;
}

.investor-dot-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.investor-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #e4e9f4;
}

.investor-extra-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid #dfe5f2;
  border-radius: 999px;
  background: #fff;
  color: #415072;
  font-size: 13px;
}

.investor-showcase-footer {
  display: grid;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid #e6ebf5;
}

.investor-contact-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #8d96aa;
  font-size: 15px;
}

.investor-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1.5px solid #2d4ecf;
  border-radius: 14px;
  background: #fff;
  color: #1d3fb8;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.investor-buy-btn:hover {
  background: #2d4ecf;
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 1180px) {
  .projects-page-grid,
  .investors-page-grid {
    grid-template-columns: 1fr;
  }

  .projects-page-sidebar,
  .investors-page-sidebar {
    position: static;
  }

  .projects-page-cards,
  .investors-page-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .projects-page-wrap,
  .investors-page-wrap {
    gap: 22px;
  }

  .projects-page-title-row h2,
  .investors-page-title-row h2 {
    font-size: 34px;
  }

  .projects-filter-card,
  .project-showcase-body,
  .investors-filter-card,
  .investor-showcase-body {
    padding-inline: 20px;
  }

  .projects-page-controls,
  .investors-page-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .projects-sort-select,
  .investors-sort-select {
    max-width: none;
  }

  .projects-page-cards,
  .investors-page-cards {
    grid-template-columns: 1fr;
  }

  .projects-showcase-cover,
  .investor-showcase-cover {
    min-height: 148px;
  }

  .project-showcase-title,
  .investor-showcase-title {
    font-size: 18px;
  }
}

.branches-metrics {
  margin-bottom: 26px;
}

.branches-metrics .stat-tile {
  padding: 20px 18px;
}

.branches-metrics .stat-tile strong {
  font-size: 34px;
}

.branches-card .branch-cover .branch-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 20px;
  color: #fff;
  z-index: 2;
}

.branch-overlay h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.branch-overlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.branch-contact-row::before {
  content: "\260E";
}

.policy-page main.shell,
.faq-page main.shell,
.sitemap-page main.shell {
  padding-top: 18px;
  padding-bottom: 56px;
}

.policy-page .section-card,
.faq-page .section-card,
.sitemap-page .section-card {
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

.policy-page .route-card,
.faq-page .route-card,
.sitemap-page .route-card {
  padding: 24px 24px 22px;
}

.policy-page .route-card h3,
.faq-page .route-card h3,
.sitemap-page .route-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.policy-page .route-card p,
.faq-page .route-card p,
.sitemap-page .route-card p {
  color: var(--muted);
  line-height: 1.7;
}

.policy-page .section-head,
.faq-page .section-head,
.sitemap-page .section-head {
  justify-content: center;
  margin-bottom: 24px;
  text-align: center;
}

.policy-page .section-head h2,
.faq-page .section-head h2,
.sitemap-page .section-head h2 {
  font-size: 40px;
}

.policy-page .cta-banner,
.sitemap-page .cta-banner {
  margin-top: 14px;
}

.faq-page .grid-2,
.policy-page .grid-2,
.sitemap-page .grid-3 {
  gap: 18px;
}

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

.footer-social a:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}
