:root {
  --bg: #f6efe6;
  --surface: #fffaf4;
  --surface-soft: #efe4d7;
  --ink: #3f2a1f;
  --ink-muted: #735744;
  --brand: #5a3926;
  --brand-deep: #3f2618;
  --accent: #c08b5a;
  --accent-deep: #9b6a43;
  --line: #dec9b2;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 8px 20px rgba(63, 38, 24, 0.1);
  --shadow-md: 0 16px 34px rgba(63, 38, 24, 0.16);
  --max: 1180px;
  --nav-h: 78px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  background: radial-gradient(circle at 20% 0%, #fff8f0 0%, var(--bg) 50%, #efe3d5 100%);
  color: var(--ink);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 2.2rem));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(246, 239, 230, 0.9);
  border-bottom: 1px solid rgba(63, 42, 31, 0.1);
}

.nav {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: conic-gradient(from 130deg, var(--brand) 0deg, var(--accent) 180deg, var(--brand) 360deg);
  box-shadow: inset 0 0 0 5px #ecd8c1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-item {
  position: relative;
}

.nav-main {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.nav-main::after {
  content: "▾";
  font-size: 0.66rem;
  line-height: 1;
  opacity: 0.68;
  transform: translateY(-1px);
}

.nav-item-has-menu .nav-submenu {
  position: absolute;
  left: -0.7rem;
  top: calc(100% + 0.55rem);
  min-width: 230px;
  display: grid;
  gap: 0.15rem;
  padding: 0.5rem;
  border-radius: 14px;
  border: 1px solid rgba(63, 42, 31, 0.15);
  background: rgba(255, 250, 244, 0.98);
  box-shadow: 0 14px 30px rgba(63, 38, 24, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-item-has-menu .nav-submenu a {
  display: block;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  color: #6a4a35;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-item-has-menu .nav-submenu a:hover {
  background: #f2e3d4;
  color: #4a2f1f;
}

.nav-item-has-menu:hover .nav-submenu,
.nav-item-has-menu:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-links a {
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.nav-item.active .nav-main,
.nav-main.active {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.icon-btn,
.menu-btn,
.btn {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid rgba(63, 42, 31, 0.14);
}

.menu-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--brand-deep);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: var(--surface);
  border: 1px solid rgba(63, 42, 31, 0.16);
  color: var(--ink);
}

.btn-accent {
  background: var(--accent);
  color: #2f1d13;
}

.hero {
  padding: 1.25rem 0 1.05rem;
}

.hero-grid {
  display: grid;
  gap: 0.9rem;
}

.hero-top,
.hero-media,
.metric-card {
  animation: heroRise 0.7s ease both;
}

.hero-media {
  animation-delay: 0.12s;
}

.metric-card:nth-child(1) {
  animation-delay: 0.2s;
}

.metric-card:nth-child(2) {
  animation-delay: 0.28s;
}

.metric-card:nth-child(3) {
  animation-delay: 0.36s;
}

.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.85rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: #f1e1cf;
  color: #6a4a35;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

.hero h1,
.section-head h2 {
  margin: 0.7rem 0 0.6rem;
  font-family: "Sora", sans-serif;
  line-height: 1.15;
  letter-spacing: -0.4px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 4.1rem);
  line-height: 1.08;
  max-width: 9ch;
}

.highlight {
  color: #9a6239;
}

.hero p {
  margin: 0;
  max-width: 56ch;
  color: var(--ink-muted);
}

.hero-actions {
  margin-top: 0.85rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.hero-cta {
  margin-top: 0;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: nowrap;
}

.hero-cta .btn {
  min-height: 52px;
  padding: 0.72rem 1.35rem;
  font-size: 1rem;
}

.hero-cta .btn-primary {
  padding-left: 1.55rem;
  padding-right: 1.55rem;
}

.hero-orb {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--accent);
  display: inline-grid;
  place-items: center;
  font-size: 1.2rem;
  line-height: 1;
  box-shadow: var(--shadow-sm);
}

.hero-media {
  margin-top: 0.7rem;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  min-height: 390px;
  box-shadow: var(--shadow-md);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.metric-strip {
  margin-top: -1.25rem;
  position: relative;
  z-index: 2;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1.9fr 1fr 1.1fr;
  gap: 0.8rem;
  align-items: stretch;
}

.metric-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 0.9rem;
  box-shadow: var(--shadow-sm);
  min-height: 150px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.metric-card h2,
.metric-card h3,
.metric-card h4 {
  margin: 0;
  font-family: "Sora", sans-serif;
  line-height: 1.15;
}

.metric-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #5b3a27;
  font-size: 0.95rem;
  background: #f3e8dd;
}

.metric-card-assets {
  display: grid;
  grid-template-columns: 1fr 1fr 0.95fr;
  gap: 0.7rem;
  align-items: stretch;
}

.metric-assets-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.2rem 0.25rem;
}

.metric-assets-left h2 {
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  color: #5b3a27;
}

.metric-assets-left a {
  font-size: 1rem;
  color: #5f4637;
  font-weight: 600;
}

.metric-assets-left a span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-left: 0.35rem;
  border-radius: 50%;
  color: #4b2f1f;
  background: var(--accent);
}

.metric-assets-mid {
  border-radius: 18px;
  background: #f7efe7;
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
}

.metric-assets-mid h3 {
  font-size: 1rem;
  color: #5a4539;
  font-weight: 600;
}

.metric-assets-mid h4 {
  margin-top: 0.1rem;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  color: #5b3a27;
}

.metric-assets-art {
  border-radius: 18px;
  background:
    linear-gradient(0deg, rgba(216, 173, 127, 0.72) 0 32%, transparent 32% 100%),
    repeating-linear-gradient(90deg, rgba(195, 147, 98, 0.46) 0 2px, transparent 2px 10px),
    linear-gradient(140deg, #4b2e1f 0%, #6a4731 100%);
  position: relative;
  overflow: hidden;
}

.metric-assets-art::before,
.metric-assets-art::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 35%;
  background: linear-gradient(180deg, rgba(225, 186, 142, 0.95) 0%, rgba(197, 147, 99, 0.92) 100%);
  clip-path: polygon(0 100%, 100% 100%, 100% 40%, 35% 0, 0 40%);
}

.metric-assets-art::before {
  left: 10%;
  height: 80%;
}

.metric-assets-art::after {
  right: 6%;
  height: 56%;
}

.metric-card-people {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 22px;
}

.metric-card-people h3 {
  font-size: 1rem;
  color: #5a4539;
}

.metric-card-people h4 {
  font-size: clamp(1.55rem, 2.2vw, 2.35rem);
  color: #5b3a27;
}

.avatar-row {
  display: flex;
  margin-top: 0.2rem;
}

.avatar-row img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-right: -10px;
}

.metric-card-trust {
  background-image: linear-gradient(120deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%),
    url("https://images.unsplash.com/photo-1521572267360-ee0c2909d518?auto=format&fit=crop&w=900&q=80");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.metric-trust-inner {
  width: 88%;
  background: rgba(251, 244, 236, 0.95);
  border-radius: 18px;
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.metric-trust-inner h3 {
  font-size: 1rem;
  color: #5a4539;
}

.metric-trust-inner h4 {
  font-size: clamp(1.7rem, 2.4vw, 2.45rem);
  color: #5b3a27;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: 2.7rem 0;
}

.section-tight {
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
}

.section + .section {
  border-top: 1px solid rgba(63, 42, 31, 0.08);
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.66) 0%, rgba(239, 228, 215, 0.7) 100%);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-head h2 {
  font-size: clamp(1.35rem, 2.8vw, 2.05rem);
  margin: 0;
}

.section-head p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 48ch;
}

.card-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.85rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.service-card .thumb {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.service-card h3 {
  margin: 0.7rem 0 0.3rem;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.service-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 0.85rem;
  box-shadow: var(--shadow-sm);
}

.value-icon {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: inline-block;
  background: radial-gradient(circle at 70% 30%, #dfbf9f 0%, #c08b5a 52%, #5a3926 53%, #5a3926 100%);
}

.value-card h3 {
  margin: 0.8rem 0 0.3rem;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.value-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.feature-band {
  margin: 1.2rem 0 0;
  background: linear-gradient(135deg, #4b2e1f 0%, #5e3b28 60%, #7a5138 100%);
  color: #f7efe8;
  border-radius: 20px;
  padding: 0.95rem;
  box-shadow: var(--shadow-md);
}

.feature-band .card-grid {
  margin-top: 0.75rem;
}

.feature-pill {
  background: linear-gradient(120deg, #c08b5a 0%, #dfbc98 100%);
  color: #3f2a1f;
  border-radius: 14px;
  padding: 0.85rem;
}

.feature-pill h4 {
  margin: 0 0 0.25rem;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.feature-pill p {
  margin: 0;
  font-size: 0.88rem;
}

.split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0.75rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.panel img {
  border-radius: 16px;
}

.team-grid {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.team-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff7ef;
  padding: 0.6rem;
  text-align: center;
}

.team-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 999px;
  margin: 0 auto 0.55rem;
}

.team-card h4 {
  margin: 0;
  font-size: 0.92rem;
}

.team-card p {
  margin: 0.2rem 0 0;
  color: var(--ink-muted);
  font-size: 0.8rem;
}

.quote {
  background: #f7eee4;
  border: 1px solid #e5d2bf;
  border-radius: 16px;
  padding: 1rem;
  color: #5f4637;
}

.logo-row {
  margin-top: 0.65rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  color: #7a5f4d;
  font-weight: 700;
  font-size: 0.84rem;
}

.news-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.insights-grid .news-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.insights-grid .news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-card-featured {
  background: linear-gradient(165deg, #4b2e1f 0%, #6a4731 100%);
  border-color: #4b2e1f;
}

.news-card-featured .content h3,
.news-card-featured .content p {
  color: #fbf4ed;
}

.news-card .content {
  padding: 0.8rem;
}

.news-card h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
}

.news-card p {
  margin: 0.55rem 0 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.faq {
  display: grid;
  gap: 0.45rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.faq-btn {
  width: 100%;
  text-align: left;
  padding: 0.75rem 0.85rem;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-content p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--ink-muted);
}

.newsletter {
  margin-top: 1.2rem;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 240px;
  box-shadow: var(--shadow-md);
}

.newsletter .left {
  padding: 1.25rem;
  background: linear-gradient(140deg, #4b2e1f 0%, #5a3926 100%);
  color: #fff7ef;
}

.newsletter .left h3 {
  margin-top: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.3rem, 2.7vw, 2rem);
}

.input-row {
  margin-top: 1rem;
  display: flex;
  gap: 0.6rem;
}

.input-row input,
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid #d9c2ac;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.contact-form textarea {
  border-radius: 16px;
  resize: vertical;
  min-height: 140px;
}

.input-row input:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid rgba(192, 139, 90, 0.4);
  border-color: #b88355;
}

.newsletter .right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer {
  padding: 1.55rem 0 1rem;
}

.cta-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}

.cta-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.cta-row h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.footer-links {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.copy {
  margin-top: 1rem;
  color: #8a705d;
  font-size: 0.88rem;
}

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid var(--line);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.table-wrap th,
.table-wrap td {
  padding: 0.9rem;
  border-bottom: 1px solid #e2e9e5;
  text-align: left;
}

.table-wrap th {
  color: #5f4637;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.35px;
}

.tree-board {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.tree-board-horizontal {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 1.5rem 1rem;
}

.tree-flow-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: min-content;
  padding: 1rem 0;
}

.tree-level {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 0.5rem;
}

.tree-level-mini {
  padding: 0 0.25rem;
}

.tree-connector {
  width: 2px;
  height: 200px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent) 50%, transparent 100%);
  opacity: 0.4;
  flex-shrink: 0;
}

.tree-node {
  border: 2px solid #c08b5a;
  border-radius: 14px;
  background: #fef9f6;
  padding: 0.85rem;
  text-align: center;
  min-width: 160px;
  box-shadow: 0 4px 12px rgba(90, 57, 38, 0.08);
  transition: all 0.3s ease;
}

.tree-node:hover {
  border-color: #b0754f;
  box-shadow: 0 8px 20px rgba(90, 57, 38, 0.15);
  transform: translateY(-4px);
}

.tree-node-root {
  min-width: 200px;
  background: linear-gradient(135deg, #5a3926 0%, #7a5138 100%);
  color: #fff8ef;
  border-color: #6c4630;
}

.tree-node-root:hover {
  border-color: #8b5f41;
}

.tree-node h3,
.tree-node h4 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.tree-node h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.tree-node h4 {
  font-weight: 600;
}

.tree-node p {
  margin: 0.4rem 0 0;
  color: #765946;
  font-size: 0.85rem;
}

.tree-node-root p {
  color: #efd8c3;
  font-size: 0.9rem;
}

.node-badge {
  display: inline-block;
  margin-top: 0.55rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: #e8c7b0;
  color: #4b2f1f;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tree-node-root .node-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #fff8ef;
}

.tree-node-mini {
  min-width: 140px;
  padding: 0.7rem;
}

.tree-node-mini h4 {
  font-size: 0.9rem;
}

.tree-node-mini p {
  font-size: 0.8rem;
}

.tree-branch-row {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.tree-branch-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.kpi-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.kpi-card h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.kpi-card p {
  margin: 0.4rem 0 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.locator-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0.75rem;
}

.locator-map {
  position: relative;
  overflow: hidden;
}

.locator-map img {
  border-radius: 14px;
  min-height: 430px;
  object-fit: cover;
}

.map-overlay {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(63, 38, 24, 0.74);
  color: #fff8ef;
  padding: 0.75rem;
}

.map-overlay h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

.map-overlay p {
  margin: 0.4rem 0 0;
  color: #efd7c2;
}

.locator-list {
  display: grid;
  gap: 0.6rem;
  align-content: start;
}

.locator-search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

.locator-search-row input {
  width: 100%;
  border: 1px solid #d9c2ac;
  border-radius: 999px;
  padding: 0.78rem 1rem;
  font: inherit;
  background: #fff;
}

.location-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff8f1;
  padding: 0.75rem;
  display: grid;
  gap: 0.4rem;
}

.location-card h4 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.location-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.income-bars {
  margin-top: 0.55rem;
  display: grid;
  gap: 0.6rem;
}

.bar-item {
  display: grid;
  gap: 0.35rem;
}

.bar-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  color: #614633;
}

.bar-track {
  width: 100%;
  height: 11px;
  border-radius: 999px;
  background: #efdfd0;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #5a3926 0%, #c08b5a 100%);
}

.mobile-menu {
  display: none;
}

.mobile-submenu {
  border-top: 1px solid rgba(63, 42, 31, 0.08);
  border-bottom: 1px solid rgba(63, 42, 31, 0.08);
  padding: 0.25rem 0;
}

.mobile-submenu summary {
  list-style: none;
  cursor: pointer;
  padding: 0.7rem 0.2rem;
  color: var(--ink-muted);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-submenu summary::-webkit-details-marker {
  display: none;
}

.mobile-submenu summary::after {
  content: "+";
  color: #7d614d;
  font-size: 1rem;
}

.mobile-submenu[open] summary::after {
  content: "−";
}

.mobile-submenu summary.active {
  color: var(--ink);
}

.mobile-submenu-links {
  display: grid;
  gap: 0.15rem;
  padding: 0.2rem 0 0.35rem 0.8rem;
}

.mobile-submenu-links a {
  padding: 0.48rem 0.2rem;
  color: #6a4a35;
  font-weight: 600;
  font-size: 0.93rem;
}

.mobile-submenu-links a.active {
  color: var(--ink);
}

@media (max-width: 1030px) {
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .metric-card-assets {
    grid-column: 1 / -1;
  }

  .metric-card-trust {
    grid-column: 1 / -1;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .logo-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kpi-grid,
  .tree-branch-row,
  .tree-branch-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .locator-layout {
    grid-template-columns: 1fr;
  }

  .tree-flow-container {
    gap: 0.3rem;
  }

  .tree-node {
    min-width: 150px;
    padding: 0.7rem;
  }

  .tree-node h3,
  .tree-node h4 {
    font-size: 0.95rem;
  }

  .tree-node-root {
    min-width: 180px;
  }

  .tree-connector {
    height: 160px;
  }

  .tree-level-mini {
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-h: 70px;
  }

  .container {
    width: min(var(--max), calc(100% - 1.3rem));
  }

  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  .menu-btn {
    display: inline-grid;
    place-items: center;
  }

  .mobile-menu {
    display: grid;
    gap: 0.2rem;
    padding: 0.8rem 1rem 1rem;
    border-top: 1px solid rgba(63, 42, 31, 0.14);
  }

  .mobile-menu a {
    padding: 0.7rem 0.2rem;
    color: var(--ink-muted);
    font-weight: 700;
  }

  .mobile-menu a.active {
    color: var(--ink);
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .hero {
    padding-top: 0.7rem;
  }

  .hero-top {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero-cta {
    flex-wrap: wrap;
  }

  .hero-cta .btn {
    min-height: 52px;
    font-size: 1rem;
    padding: 0.75rem 1.35rem;
  }

  .hero-orb {
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
  }

  .hero-media {
    min-height: 230px;
    border-radius: 14px;
  }

  .metric-grid,
  .card-grid,
  .value-grid,
  .news-grid,
  .logo-row,
  .kpi-grid,
  .tree-branch-row,
  .tree-branch-compact {
    grid-template-columns: 1fr;
  }

  .tree-node-root {
    max-width: none;
  }

  .tree-board-horizontal {
    padding: 1.2rem 0.8rem;
  }

  .tree-flow-container {
    gap: 0.2rem;
  }

  .tree-level {
    gap: 0.5rem;
  }

  .tree-node {
    min-width: 130px;
    padding: 0.6rem;
  }

  .tree-node h3,
  .tree-node h4 {
    font-size: 0.9rem;
  }

  .tree-node p {
    font-size: 0.75rem;
  }

  .node-badge {
    padding: 0.3rem 0.5rem;
    font-size: 0.7rem;
  }

  .tree-node-mini {
    min-width: 110px;
  }

  .tree-connector {
    height: 120px;
    width: 1.5px;
  }

  .locator-search-row {
    grid-template-columns: 1fr;
  }

  .metric-card {
    border-radius: 24px;
    min-height: auto;
  }

  .metric-card-assets {
    grid-template-columns: 1fr;
  }

  .metric-assets-left {
    gap: 0.8rem;
  }

  .metric-assets-left h2 {
    font-size: 2.4rem;
  }

  .metric-assets-left a {
    font-size: 1.35rem;
  }

  .metric-assets-mid h3,
  .metric-card-people h3,
  .metric-trust-inner h3 {
    font-size: 1.45rem;
  }

  .metric-assets-mid h4,
  .metric-card-people h4,
  .metric-trust-inner h4 {
    font-size: 2.25rem;
  }

  .metric-assets-art {
    min-height: 190px;
  }

  .metric-trust-inner {
    width: 100%;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 1.9rem 0;
  }

  .input-row {
    flex-direction: column;
  }

  .cta-row {
    align-items: flex-start;
  }
}
