@font-face {
  font-family: "Montserrat";
  src: url("om-web-fonts/Montserrat-normal-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("om-web-fonts/Montserrat-normal-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("om-web-fonts/Montserrat-normal-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --green-950: #06251d;
  --green-900: #123b31;
  --green-800: #244f43;
  --green-700: #366658;
  --green-600: #477969;
  --green-100: #edf4f1;
  --green-50: #f5f9f6;
  --leaf: #8CB64A;
  --leaf-700: #71983a;
  --silver: #969FA7;
  --yellow: #8CB64A;
  --yellow-600: #71983a;
  --ink: #09231a;
  --muted: #5d7168;
  --line: #d9e5de;
  --paper: #ffffff;
  --soft: #f6f8f5;
  --shadow: 0 18px 45px rgba(7, 59, 39, 0.12);
  --header-height: 108px;
}

* { box-sizing: border-box; }
html { font-size: 15px; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--yellow);
  color: var(--green-950);
  padding: .7rem 1rem;
  border-radius: 6px;
}
.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(217, 229, 222, .9);
  backdrop-filter: blur(14px);
}
.site-header::after {
  content: "";
  display: block;
  height: 13px;
  border-top: 8px solid #fff;
  background:
    linear-gradient(90deg,
      var(--green-700) 0 calc(33.333% - .45rem),
      transparent calc(33.333% - .45rem) calc(33.333% + .45rem),
      var(--leaf) calc(33.333% + .45rem) calc(66.666% - .45rem),
      transparent calc(66.666% - .45rem) calc(66.666% + .45rem),
      var(--silver) calc(66.666% + .45rem) 100%);
}
.top-strip {
  min-height: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .25rem clamp(1rem, 5vw, 5rem);
  background: var(--green-900);
  color: #fff;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.top-strip .top-credit { font-size: .82rem; font-weight: 400; letter-spacing: normal; text-transform: none; color: rgba(255,255,255,.78); }
.top-strip .top-legal { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 .55rem; font-size: .82rem; font-weight: 400; letter-spacing: normal; text-transform: none; color: rgba(255,255,255,.78); }
.top-strip .top-legal a { color: rgba(255,255,255,.78); text-decoration: none; white-space: nowrap; font-weight: 400; }
.top-strip .top-legal a:hover { color: var(--yellow); text-decoration: underline; }
.top-strip .top-legal .sep { color: rgba(255,255,255,.35); }
.market-ticker {
  background: var(--green-800);
  color: rgba(255,255,255,.92);
  border-top: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
.market-ticker .ticker-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .25rem .85rem;
  padding: .35rem clamp(1rem, 5vw, 5rem);
}
.market-ticker .ticker-item {
  display: inline-flex;
  align-items: baseline;
  gap: .35rem;
}
.market-ticker .t-label {
  color: rgba(255,255,255,.62);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .06em;
  font-size: .64rem;
}
.market-ticker .t-value {
  color: #fff;
  font-weight: 700;
  font-size: .78rem;
  font-variant-numeric: tabular-nums;
}
.market-ticker .ticker-sep {
  color: rgba(255,255,255,.28);
  font-weight: 700;
}
.market-ticker[data-stale] .t-value { opacity: .65; }
.market-ticker .ticker-live .t-label {
  position: relative;
  padding-left: .85rem;
  color: rgba(255,255,255,.78);
}
.market-ticker .ticker-live .t-label::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: .42rem; height: .42rem;
  margin-top: -.21rem;
  border-radius: 50%;
  background: #5fd388;
  box-shadow: 0 0 0 0 rgba(95,211,136,.65);
  animation: tickerPulse 2.4s ease-out infinite;
}
.market-ticker .ticker-live .t-value {
  color: rgba(255,255,255,.78);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.market-ticker[data-stale] .ticker-live .t-label::before {
  background: #d39a5f;
  animation: none;
}
@keyframes tickerPulse {
  0%   { box-shadow: 0 0 0 0 rgba(95,211,136,.55); }
  70%  { box-shadow: 0 0 0 .55rem rgba(95,211,136,0); }
  100% { box-shadow: 0 0 0 0 rgba(95,211,136,0); }
}
@media (prefers-reduced-motion: reduce) {
  .market-ticker .ticker-live .t-label::before { animation: none; }
}
@media (max-width: 720px) {
  .market-ticker { display: none; }
}
.nav-shell {
  height: 78px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand img {
  width: 188px;
  max-height: 72px;
  height: auto;
  object-fit: contain;
}
.site-menu {
  display: flex;
  align-items: center;
  gap: .12rem;
}
.nav-link,
.site-menu a,
.site-menu button {
  font-size: .9rem;
  font-weight: 700;
}
.nav-link {
  padding: .66rem .72rem;
  border-radius: 6px;
  color: var(--green-900);
}
.nav-link:hover,
.nav-item.is-open > .nav-link,
.nav-link.is-active {
  background: var(--green-100);
  color: var(--green-700);
}
.nav-cta {
  margin-left: .35rem;
  padding: .68rem .95rem;
  border-radius: 6px;
  background: var(--yellow);
  color: var(--green-950);
  box-shadow: 0 10px 24px rgba(217, 169, 24, .22);
}
.language-picker select {
  min-width: 108px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--green-900);
  background: #fff;
  padding: .55rem .7rem;
  font-size: .84rem;
  font-weight: 700;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 0;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--green-900);
}

.nav-item.has-submenu {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 30px;
  margin-left: -.2rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green-900);
  font-size: .8rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
}
.nav-submenu-toggle:hover,
.nav-submenu-toggle:focus-visible {
  background: var(--green-100);
  color: var(--green-700);
  outline: none;
}
.nav-submenu-toggle span { transition: transform .15s ease; display: inline-block; }
.nav-item.is-open .nav-submenu-toggle span { transform: rotate(180deg); }
.nav-submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  padding: .45rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  z-index: 50;
}
.nav-item.is-open > .nav-submenu { display: flex; }
.nav-sublink {
  padding: .55rem .7rem;
  border-radius: 5px;
  color: var(--green-900);
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
}
.nav-sublink:hover,
.nav-sublink:focus-visible,
.nav-sublink.is-active {
  background: var(--green-100);
  color: var(--green-700);
  outline: none;
}

.hero {
  position: relative;
  height: 520px;
  min-height: 520px;
  overflow: hidden;
  background: var(--green-900);
}
.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}
.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s ease;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide img,
.page-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-shade,
.page-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 45, 30, .92), rgba(5, 45, 30, .68) 43%, rgba(5, 45, 30, .18));
}
.hero-content,
.page-hero-copy {
  position: relative;
  z-index: 2;
  width: min(680px, calc(100% - 2rem));
  height: 100%;
  margin-left: max(1rem, calc((100vw - 1180px) / 2 + 1rem));
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.eyebrow {
  display: block;
  margin-bottom: .65rem;
  color: var(--yellow);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: .98;
  letter-spacing: 0;
}
.hero p {
  width: min(600px, 100%);
  margin: 1rem 0 0;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  color: rgba(255, 255, 255, .92);
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .72rem 1rem;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: .92rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: var(--leaf);
  color: var(--green-950);
  box-shadow: 0 14px 28px rgba(140, 182, 74, .28);
}
.button-ghost {
  color: #fff;
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.08);
}
.slider-dots {
  position: absolute;
  left: max(1rem, calc((100vw - 1180px) / 2 + 1rem));
  bottom: 22px;
  z-index: 3;
  display: flex;
  gap: .55rem;
}
.slider-dot {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 10px;
  background: rgba(255,255,255,.55);
  cursor: pointer;
}
.slider-dot.is-active { background: var(--leaf); }

.accent-mark {
  position: absolute;
  z-index: 3;
  width: 34px;
  height: 34px;
  opacity: .23;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.22));
  animation: elevate-mark 8s ease-in-out infinite, spin-mark 20s linear infinite;
  pointer-events: none;
}
.accent-one { right: 9%; top: 18%; }
.accent-two { right: 19%; bottom: 15%; width: 24px; height: 24px; animation-delay: -3s; }
.accent-three { right: 8%; top: 1.6rem; width: 28px; height: 28px; }
@keyframes elevate-mark {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
@keyframes spin-mark {
  to { rotate: 360deg; }
}

.intro-section,
.services-section,
.proof-section,
.process-section,
.split-section,
.language-section,
.contact-layout,
.detail-section,
.cta-band {
  padding: clamp(2.6rem, 5vw, 4.8rem) clamp(1rem, 5vw, 5rem);
}
.home-page .intro-section {
  padding-bottom: clamp(1.2rem, 2vw, 1.8rem);
}
.home-page .services-section {
  padding-top: clamp(1.2rem, 2vw, 2rem);
}
.section-copy,
.section-heading,
.proof-copy {
  width: min(780px, 100%);
  margin: 0 auto 1.5rem;
  text-align: center;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.35vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: 0;
}
h3 {
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.22;
}
p {
  margin: .75rem 0 0;
  font-size: .98rem;
  color: var(--muted);
}
.service-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--paper);
}
.service-card {
  min-height: 245px;
  padding: 1.45rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: .72rem;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.service-card:nth-child(3n) { border-right: 0; }
.service-card:nth-last-child(-n + 3) { border-bottom: 0; }
.service-card:hover {
  transform: translateY(-4px);
  background: var(--green-50);
  box-shadow: var(--shadow);
}
.icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--green-700);
  background: var(--green-100);
  transition: transform .2s ease, background .2s ease;
}
.service-card:hover .icon-wrap {
  transform: translateY(-3px) scale(1.04);
  background: #dff1e7;
}
.icon-wrap svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card p { font-size: .92rem; margin: 0; }
.text-link {
  margin-top: auto;
  color: var(--green-700);
  font-weight: 800;
  font-size: .9rem;
}

.proof-section {
  background: var(--green-50);
}
.proof-feature,
.process-feature {
  width: min(1180px, 100%);
  margin: 0 auto 1.8rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  gap: clamp(1.4rem, 3vw, 2.5rem);
  align-items: center;
}
.proof-feature .proof-copy,
.process-feature .section-heading {
  width: auto;
  margin: 0;
  text-align: left;
}
.body-image-card {
  margin: 0;
  min-height: 320px;
  overflow: hidden;
}
.body-image-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
}
.proof-grid,
.value-list {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.proof-grid article,
.value-list article,
.contact-panel,
.scope-panel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 1.3rem;
}

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--green-900);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-band div { max-width: 720px; }
.cta-band p { color: rgba(255,255,255,.82); }

.page-hero,
.service-detail-hero {
  position: relative;
  height: 340px;
  overflow: hidden;
  background: var(--green-900);
}
.page-hero-copy h1 {
  margin: 0;
  font-size: clamp(1.9rem, 2.8vw, 3rem);
  line-height: 1.05;
}
.page-hero-copy p {
  width: min(620px, 100%);
  color: rgba(255,255,255,.9);
  font-size: clamp(.98rem, 1.2vw, 1.12rem);
}
.page-hero-copy .button {
  align-self: flex-start;
  margin-top: 1.2rem;
}
.process-section { background: var(--soft); }
.process-list {
  width: min(1000px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
}
.process-list li {
  min-height: 132px;
  padding: 1.1rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}
.process-list span {
  display: inline-flex;
  color: var(--green-700);
  font-size: .82rem;
  font-weight: 900;
}
.process-list p {
  color: var(--ink);
  font-weight: 800;
}

.detail-section {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1.5rem;
}
.detail-copy {
  padding: .6rem 0;
}
.detail-copy p {
  font-size: 1.02rem;
  max-width: 760px;
}
.detail-copy .body-image-card {
  margin-top: 1.5rem;
  min-height: 260px;
}
.detail-copy .body-image-card img {
  min-height: 260px;
}
.scope-panel ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .7rem;
}
.scope-panel li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--green-950);
  font-size: .95rem;
}
.scope-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55rem;
  width: .48rem;
  height: .48rem;
  border-radius: 50%;
  background: var(--yellow);
}
.compact { padding-top: 1.2rem; }
.related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.split-section {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 2rem;
}
.about-story-image {
  margin-top: 1.4rem;
}
.language-section {
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.language-section > div:first-child {
  max-width: 680px;
}
.language-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  justify-content: flex-end;
}
.language-pills span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .55rem .8rem;
  background: #fff;
  font-weight: 800;
  font-size: .88rem;
}

.contact-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 1.5rem;
}
.contact-panel dl {
  margin: 1rem 0 0;
  display: grid;
  gap: .3rem;
}
.contact-panel dt {
  color: var(--green-700);
  font-weight: 900;
  font-size: .82rem;
  text-transform: uppercase;
}
.contact-panel dd {
  margin: 0 0 .8rem;
  color: var(--ink);
}
.contact-body-image {
  width: 100%;
  height: 220px;
  margin-top: 1rem;
  object-fit: cover;
  object-position: center;
}
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.contact-form h2,
.contact-form .full,
.contact-form .form-note,
.contact-form button {
  grid-column: 1 / -1;
}
.contact-form label {
  display: grid;
  gap: .42rem;
  color: var(--green-950);
  font-size: .88rem;
  font-weight: 800;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .78rem .85rem;
  color: var(--ink);
  background: #fff;
  font-size: .94rem;
}
.contact-form textarea { resize: vertical; }
.field-error {
  margin-top: .1rem;
  color: #b42318;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.35;
}
.field-error.full { grid-column: 1 / -1; }
.form-status {
  grid-column: 1 / -1;
  border-radius: 6px;
  padding: .75rem .85rem;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.45;
}
.form-status-error {
  border: 1px solid #f4b5ad;
  background: #fff4f2;
  color: #9f1c12;
}
.contact-form input.is-invalid,
.contact-form select.is-invalid,
.contact-form textarea.is-invalid,
.apply-step input.is-invalid,
.apply-step select.is-invalid,
.apply-step textarea.is-invalid,
.status-form input.is-invalid {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, .12);
}
.form-note {
  margin: 0;
  font-size: .86rem;
}

.site-footer {
  background: var(--green-950);
  color: rgba(255,255,255,.84);
  padding: 2.6rem clamp(1rem, 5vw, 5rem) 1.2rem;
}
.footer-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}
.footer-brand img { width: 180px; filter: brightness(0) invert(1); opacity: .95; }
.footer-social {
  margin-top: 1.1rem;
}
.site-footer h2 {
  font-size: .92rem;
  margin-bottom: .65rem;
  color: #fff;
}
.site-footer a,
.site-footer p {
  display: block;
  margin: .38rem 0;
  color: rgba(255,255,255,.78);
  font-size: .9rem;
}
.site-footer a:hover { color: var(--yellow); }
.site-footer a.is-active { color: var(--yellow); }
.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
.footer-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: .42rem .82rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.9);
  font-size: .84rem;
  font-weight: 700;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.footer-social-links a:hover {
  background: rgba(140, 182, 74, .16);
  border-color: rgba(140, 182, 74, .45);
  color: #fff;
}
.footer-bottom {
  width: min(1180px, 100%);
  margin: 1.8rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255,255,255,.62);
  font-size: .82rem;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 80;
  width: min(760px, calc(100% - 2rem));
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: .88rem; }
.cookie-banner button {
  border: 0;
  border-radius: 6px;
  padding: .62rem .9rem;
  color: var(--green-950);
  background: var(--yellow);
  font-weight: 900;
}

@media (max-width: 980px) {
  html { font-size: 14.5px; }
  .hero { height: 430px; min-height: 430px; }
  .service-grid,
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card:nth-child(3n) { border-right: 1px solid var(--line); }
  .service-card:nth-child(2n) { border-right: 0; }
  .service-card:nth-last-child(-n + 3) { border-bottom: 1px solid var(--line); }
  .service-card:nth-last-child(-n + 2) { border-bottom: 0; }
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-section,
  .split-section,
  .contact-layout,
  .proof-feature,
  .process-feature { grid-template-columns: 1fr; }
  .language-section,
  .cta-band { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  html { font-size: 14px; }
  .top-strip { display: none; }
  .nav-shell { height: 78px; }
  .brand img {
    width: 166px;
    max-height: 70px;
  }
  .nav-toggle { display: block; }
  .site-menu {
    position: fixed;
    left: 0;
    right: 0;
    top: 78px;
    padding: .9rem 1rem 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-menu.is-open { display: flex; }
  .nav-link,
  .nav-cta,
  .language-picker select { width: 100%; }
  .nav-cta { margin-left: 0; text-align: center; }
  .nav-item.has-submenu { width: 100%; flex-wrap: wrap; }
  .nav-item.has-submenu > .nav-link { flex: 1; }
  .nav-submenu-toggle { width: 38px; height: 38px; font-size: 1rem; margin-left: 0; }
  .nav-submenu {
    position: static;
    width: 100%;
    margin-top: .35rem;
    border: 0;
    box-shadow: none;
    background: var(--green-100);
    padding: .35rem;
  }
  .nav-item.is-open > .nav-submenu { display: flex; }
  .nav-sublink { width: 100%; }
  .hero { height: 350px; min-height: 350px; }
  .hero-content,
  .page-hero-copy {
    width: calc(100% - 2rem);
    margin-left: 1rem;
  }
  .hero p { max-height: 6.2rem; overflow: hidden; }
  .button-row { gap: .55rem; }
  .slider-dots { left: 1rem; bottom: 14px; }
  .page-hero,
  .service-detail-hero { height: 300px; }
  .hero-shade,
  .page-hero-shade { background: linear-gradient(90deg, rgba(5,45,30,.92), rgba(5,45,30,.78)); }
  .intro-section,
  .services-section,
  .proof-section,
  .process-section,
  .split-section,
  .language-section,
  .contact-layout,
  .detail-section,
  .cta-band {
    padding: 2.4rem 1rem;
  }
  .section-copy,
  .section-heading,
  .proof-copy { text-align: left; }
  .service-grid,
  .related-grid,
  .process-list,
  .proof-grid,
  .value-list,
  .footer-grid { grid-template-columns: 1fr; }
  .body-image-card,
  .body-image-card img {
    min-height: 240px;
  }
  .service-card,
  .service-card:nth-child(n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .service-card:last-child { border-bottom: 0; }
  .contact-form { grid-template-columns: 1fr; padding: 1rem; }
  .footer-bottom,
  .cookie-banner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  .accent-mark { animation: none !important; }
}

/* ----- Language picker (button + dropdown) ----- */
.language-picker {
  position: relative;
  display: inline-flex;
  align-items: stretch;
}
.language-picker .lang-button {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .6rem .8rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--green-900);
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
}
.language-picker .lang-button:hover,
.language-picker .lang-button:focus-visible {
  border-color: var(--green-700);
  outline: none;
}
.language-picker .lang-button .chev { transition: transform .15s ease; }
.language-picker.is-open .lang-button .chev { transform: rotate(180deg); }
.language-picker .lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 168px;
  padding: .35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  z-index: 60;
}
.language-picker.is-open .lang-menu { display: flex; }
.language-picker .lang-option {
  padding: .5rem .65rem;
  border-radius: 5px;
  border: 0;
  background: transparent;
  color: var(--green-900);
  font-size: .88rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.language-picker .lang-option:hover,
.language-picker .lang-option:focus-visible {
  background: var(--green-100);
  color: var(--green-700);
  outline: none;
}
.language-picker .lang-option.is-active {
  background: var(--green-100);
  color: var(--green-700);
}

/* ----- Leadership cards ----- */
.leadership-grid {
  width: min(1180px, 100%);
  margin: 2.4rem auto;
  padding: 0 clamp(1rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
  justify-content: center;
}
.leadership-grid:has(.leader-card:only-child) {
  grid-template-columns: minmax(280px, 460px);
}
.leader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.6rem 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.leader-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--green-100);
  border: 3px solid var(--leaf);
  object-fit: cover;
  object-position: center top;
  margin-bottom: 1rem;
}
.leader-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.4rem;
  color: var(--green-700);
  font-weight: 800;
}
.leader-card h3 {
  margin: 0 0 .25rem;
  font-size: 1.3rem;
  color: var(--green-900);
}
.leader-card .role {
  display: block;
  margin-bottom: .9rem;
  color: var(--leaf-700);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.leader-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.55;
}
.leader-links {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  justify-content: center;
}
.leader-link {
  padding: .45rem .75rem;
  border-radius: 5px;
  background: var(--green-100);
  color: var(--green-700);
  font-size: .82rem;
  font-weight: 700;
}
.leader-link:hover { background: var(--green-700); color: #fff; }

/* ----- Loan calculator ----- */
.calc-shell {
  width: min(1180px, 100%);
  margin: 2.4rem auto 1.6rem;
  padding: 0 clamp(1rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.6rem;
}
.calc-form,
.calc-result {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}
.calc-form label {
  display: grid;
  gap: .35rem;
  margin-bottom: 1rem;
  font-size: .88rem;
  font-weight: 800;
  color: var(--green-950);
}
.calc-form input[type="number"],
.calc-form input[type="range"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .68rem .8rem;
  font-size: .96rem;
  color: var(--ink);
  background: #fff;
}
.calc-form .field-with-unit {
  position: relative;
}
.calc-form .field-with-unit .unit {
  position: absolute;
  right: .8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
}
.calc-form .range-row { display: grid; gap: .35rem; }
.calc-form .range-row .range-meta {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: .82rem;
  color: var(--muted);
}
.calc-result h2 {
  margin: 0 0 .8rem;
  font-size: 1.2rem;
  color: var(--green-900);
}
.calc-result .figure {
  display: grid;
  gap: .15rem;
  padding: 1rem;
  margin-bottom: .8rem;
  border-radius: 8px;
  background: var(--green-100);
}
.calc-result .figure span:first-child {
  font-size: .82rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.calc-result .figure span:last-child {
  font-size: 1.8rem;
  color: var(--green-900);
  font-weight: 800;
}
.calc-result .figure.is-primary {
  background: linear-gradient(135deg, var(--green-700), var(--leaf-700));
  color: #fff;
}
.calc-result .figure.is-primary span:first-child { color: rgba(255,255,255,.78); }
.calc-result .figure.is-primary span:last-child { color: #fff; }
.calc-result .breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin-bottom: 1rem;
}
.calc-result .disclaimer {
  margin: .5rem 0 0;
  font-size: .82rem;
  color: var(--muted);
}

/* ----- Loan application form ----- */
.apply-shell {
  width: min(900px, 100%);
  margin: 2.4rem auto;
  padding: 0 clamp(1rem, 5vw, 5rem);
}
.apply-card {
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}
.apply-steps {
  display: flex;
  gap: .35rem;
  margin-bottom: 1.4rem;
  list-style: none;
  padding: 0;
}
.apply-steps li {
  flex: 1;
  padding: .5rem .6rem;
  border-radius: 5px;
  background: var(--green-100);
  color: var(--green-700);
  font-size: .78rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.apply-steps li.is-active {
  background: var(--green-700);
  color: #fff;
}
.apply-steps li.is-done { background: var(--leaf); color: var(--green-950); }
.apply-step { display: none; }
.apply-step.is-active { display: grid; gap: 1rem; }
.apply-step .grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.apply-step label { display: grid; gap: .35rem; font-size: .88rem; font-weight: 800; color: var(--green-950); }
.apply-step input,
.apply-step select,
.apply-step textarea {
  width: 100%;
  padding: .72rem .85rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-size: .94rem;
  color: var(--ink);
}
.apply-step textarea { resize: vertical; min-height: 110px; }
.apply-actions {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  margin-top: 1.4rem;
}
.apply-summary {
  background: var(--soft);
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  font-size: .9rem;
  display: grid;
  gap: .25rem;
}
.apply-summary dt { font-weight: 700; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; }
.apply-summary dd { margin: 0 0 .35rem; color: var(--green-900); font-weight: 600; }

/* ----- Application status check ----- */
.status-shell {
  width: min(720px, 100%);
  margin: 2.4rem auto;
  padding: 0 clamp(1rem, 5vw, 5rem);
}
.status-form {
  display: grid;
  gap: 1rem;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}
.status-form label {
  display: grid;
  gap: .35rem;
  font-size: .88rem;
  font-weight: 800;
  color: var(--green-950);
}
.status-form input {
  width: 100%;
  padding: .72rem .85rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-size: .94rem;
  color: var(--ink);
}
.status-result {
  margin-top: 1.4rem;
  padding: 1.4rem;
  border-radius: 10px;
  background: var(--green-100);
  border: 1px solid var(--line);
  display: none;
}
.status-result.is-visible { display: block; }
.status-result h3 { margin: 0 0 .35rem; color: var(--green-900); }
.status-result .pill {
  display: inline-block;
  padding: .25rem .6rem;
  border-radius: 999px;
  background: var(--leaf);
  color: var(--green-950);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.status-stages {
  margin: 1rem 0 0;
  list-style: none;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.status-stages li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: .65rem;
  align-items: center;
  font-size: .9rem;
  color: var(--muted);
}
.status-stages li::before {
  content: "";
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line);
}
.status-stages li.is-done::before { background: var(--leaf); border-color: var(--leaf-700); }
.status-stages li.is-done { color: var(--green-900); font-weight: 700; }
.status-stages li.is-current::before { background: var(--green-700); border-color: var(--green-700); box-shadow: 0 0 0 4px rgba(54,102,88,.18); }
.status-stages li.is-current { color: var(--green-900); font-weight: 800; }

@media (max-width: 760px) {
  .calc-shell { grid-template-columns: 1fr; }
  .apply-step .grid-2 { grid-template-columns: 1fr; }
  .calc-result .breakdown { grid-template-columns: 1fr; }
}

/* ===== Admin area ===== */
.admin-body { background: var(--soft); margin: 0; }
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }

.admin-sidebar {
  background: var(--green-950);
  color: rgba(255,255,255,.86);
  padding: 1.2rem 0;
  display: flex; flex-direction: column; gap: 1rem;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-brand {
  display: flex; align-items: center; gap: .65rem;
  padding: 0 1.1rem .8rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-brand img { width: 32px; height: 32px; }
.admin-brand-name { color: #fff; font-weight: 800; font-size: 1rem; line-height: 1.1; }
.admin-brand-sub { color: rgba(255,255,255,.55); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.admin-nav { display: flex; flex-direction: column; padding: 0 .55rem; gap: .12rem; flex: 1; }
.admin-nav a {
  display: flex; align-items: center; gap: .65rem;
  padding: .65rem .75rem; border-radius: 6px;
  color: rgba(255,255,255,.78); font-size: .9rem; font-weight: 600;
}
.admin-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-nav a.is-active { background: var(--green-700); color: #fff; }
.admin-nav-icon { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; opacity: .9; flex-shrink: 0; }
.admin-nav-icon svg { width: 18px; height: 18px; display: block; }
.admin-nav a:hover .admin-nav-icon, .admin-nav a.is-active .admin-nav-icon { opacity: 1; }
.admin-nav-signout { color: #ffb6a3 !important; margin-top: auto; }
.admin-nav-signout:hover { background: rgba(255,127,127,.12) !important; }
.admin-badge {
  margin-left: auto; padding: .08rem .45rem; border-radius: 999px;
  background: rgba(255,255,255,.18); color: #fff; font-size: .68rem; font-weight: 800;
}
.admin-badge-alert { background: var(--leaf); color: var(--green-950); }
.admin-sidebar-footer { padding: .8rem 1.1rem 0; border-top: 1px solid rgba(255,255,255,.08); }
.admin-sidebar-footer a { color: rgba(255,255,255,.6); font-size: .78rem; }
.admin-sidebar-footer a:hover { color: var(--leaf); }

.admin-main { padding: 1.4rem clamp(1rem, 3vw, 2rem); min-width: 0; }
.admin-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 1rem; border-bottom: 1px solid var(--line); margin-bottom: 1.2rem;
}
.admin-topbar h1 { margin: 0; color: var(--green-900); font-size: 1.35rem; }
.admin-who { display: flex; flex-direction: column; align-items: flex-end; font-size: .85rem; }
.admin-who strong { color: var(--green-900); }
.admin-who span { color: var(--muted); text-transform: uppercase; font-size: .7rem; letter-spacing: .04em; }

.admin-mobile-toggle {
  display: none;
  position: fixed; top: .8rem; right: .8rem; z-index: 60;
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 6px;
  background: #fff; font-size: 1.2rem; cursor: pointer;
}

.admin-flash {
  padding: .7rem 1rem; border-radius: 6px; margin-bottom: 1rem;
  font-size: .9rem; font-weight: 600;
}
.admin-flash-success { background: #dcefd9; color: #1f4d1d; }
.admin-flash-error { background: #fde0db; color: #8a2418; }
.admin-flash-warn { background: #fff3d4; color: #8a6d00; }
.admin-flash-info { background: var(--green-100); color: var(--green-700); }

.admin-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 1.2rem 1.4rem; margin-bottom: 1.2rem; box-shadow: var(--shadow);
}
.admin-card-tight { padding: 0.9rem 1rem; }
.admin-card h2 { margin: 0 0 .8rem; color: var(--green-900); font-size: 1.05rem; }
.admin-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8rem; }
.admin-card-head h2 { margin: 0; }
.admin-empty { padding: 1rem; color: var(--muted); text-align: center; font-style: italic; font-size: .9rem; }
.admin-link { color: var(--green-700); font-size: .88rem; font-weight: 700; text-decoration: none; }
.admin-link:hover { text-decoration: underline; }

.admin-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 1.2rem; }
.admin-kpi { padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); display: grid; gap: .25rem; }
.admin-kpi-label { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.admin-kpi-value { font-size: 1.6rem; color: var(--green-900); font-weight: 800; }
.admin-kpi-accent { background: linear-gradient(135deg, var(--green-700), var(--leaf-700)); border-color: transparent; }
.admin-kpi-accent .admin-kpi-label { color: rgba(255,255,255,.78); }
.admin-kpi-accent .admin-kpi-value { color: #fff; }
.admin-kpi-warn { border-color: #ffd58a; background: #fff8e7; }

.admin-stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .65rem; }
.admin-stage {
  display: grid; gap: .15rem; padding: .8rem .9rem;
  background: var(--green-100); border: 1px solid var(--line); border-radius: 8px;
  text-decoration: none; color: var(--green-900);
}
.admin-stage:hover { background: var(--green-700); color: #fff; }
.admin-stage:hover .admin-stage-label { color: rgba(255,255,255,.85); }
.admin-stage-count { font-size: 1.55rem; font-weight: 800; }
.admin-stage-label { font-size: .8rem; color: var(--muted); font-weight: 600; }

.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.admin-grid-2 > div { display: contents; }
.admin-grid-2 > .admin-card { margin-bottom: 0; }
@media (max-width: 900px) { .admin-grid-2 { grid-template-columns: 1fr; } }

.admin-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.admin-list li { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .55rem .65rem; border-radius: 6px; background: var(--soft); }
.admin-list li a { display: grid; gap: .15rem; flex: 1; color: var(--green-900); }
.admin-list-title { font-weight: 700; font-size: .92rem; }
.admin-list-meta { font-size: .8rem; color: var(--muted); }

.admin-activity { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.admin-activity li { display: grid; grid-template-columns: 130px 110px 1fr; gap: .65rem; padding: .35rem 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
.admin-activity li:last-child { border-bottom: 0; }
.admin-activity-when { color: var(--muted); font-size: .78rem; }
.admin-activity-who { color: var(--green-700); font-weight: 700; }
.admin-activity-what { color: var(--green-900); }

.admin-filters { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .9rem 1rem; margin-bottom: .9rem; box-shadow: var(--shadow); }
.admin-filters-row { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }
.admin-filters-row > * { font-size: .88rem; }
.admin-search { flex: 1; min-width: 220px; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: 6px; }
.admin-filters-row select, .admin-filters-row input[type="date"] { padding: .5rem .65rem; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.admin-filters-row .button { padding: .5rem .9rem; min-height: 0; font-size: .85rem; }
.admin-filter-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .65rem; }
.admin-chip {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .65rem; border: 1px solid var(--line); border-radius: 999px;
  font-size: .78rem; font-weight: 700; color: var(--muted); cursor: pointer; user-select: none;
  background: #fff;
}
.admin-chip input { display: none; }
.admin-chip.is-on { background: var(--green-700); border-color: var(--green-700); color: #fff; }

.admin-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: .65rem; font-size: .85rem; color: var(--muted); }
.admin-toolbar-label { font-weight: 700; }

.admin-tabs { display: flex; gap: .35rem; margin-bottom: .9rem; border-bottom: 1px solid var(--line); }
.admin-tabs a {
  padding: .55rem .9rem; border-radius: 6px 6px 0 0;
  font-size: .9rem; font-weight: 700; color: var(--muted);
  border: 1px solid transparent; border-bottom: 0; margin-bottom: -1px;
}
.admin-tabs a:hover { color: var(--green-700); }
.admin-tabs a.is-active { background: #fff; color: var(--green-900); border-color: var(--line); }

.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin-table th, .admin-table td { padding: .65rem .55rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th { background: var(--green-100); color: var(--green-900); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.admin-table th a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .25rem; }
.admin-table th a:hover { text-decoration: underline; }
.admin-table tr.is-muted { opacity: .55; }
.admin-meta { color: var(--muted); font-size: .8rem; }
.admin-message-preview { max-width: 360px; }
.admin-actions-col { width: 1px; white-space: nowrap; }
.admin-actions { display: inline-flex; gap: .25rem; align-items: center; }
.admin-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 6px; border: 1px solid var(--line);
  background: #fff; color: var(--green-700); font-size: .95rem; cursor: pointer; text-decoration: none;
}
.admin-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.admin-icon:hover { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.nowrap { white-space: nowrap; }
.pill-status { display: inline-block; padding: .18rem .55rem; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.pill-received { background: #e9eef0; color: var(--muted); }
.pill-documents_reviewed { background: #fff3d4; color: #8a6d00; }
.pill-affordability_assessment { background: #d4e7f7; color: #13507a; }
.pill-decision_communicated { background: #e1ecda; color: var(--green-700); }
.pill-onboarded { background: var(--leaf); color: var(--green-950); }

.admin-pager { display: flex; gap: 1rem; justify-content: center; align-items: center; margin-top: 1rem; font-size: .9rem; color: var(--muted); }
.admin-pager a { color: var(--green-700); font-weight: 700; }

.admin-page-actions { display: flex; gap: .65rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }

.admin-dl { display: grid; grid-template-columns: 130px 1fr; gap: .35rem .8rem; margin: 0; }
.admin-dl dt { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.admin-dl dd { margin: 0; color: var(--green-900); font-weight: 600; }

.admin-status-form, .admin-assign-form, .admin-stacked-form { display: grid; gap: .7rem; }
.admin-status-form label, .admin-stacked-form label, .admin-assign-form label { display: grid; gap: .3rem; font-size: .85rem; font-weight: 700; color: var(--green-900); }
.admin-status-form input, .admin-status-form select, .admin-status-form textarea,
.admin-stacked-form input, .admin-stacked-form select, .admin-stacked-form textarea,
.admin-assign-form select {
  width: 100%; padding: .6rem .75rem; border: 1px solid var(--line); border-radius: 6px;
  font-size: .92rem; background: #fff;
}
.admin-stacked-form input[disabled] { background: var(--soft); color: var(--muted); }
.admin-inline-check { display: inline-flex !important; align-items: center; gap: .45rem; flex-direction: row !important; font-weight: 600 !important; }
.admin-inline-check input { width: auto !important; }
.admin-note-form { margin-bottom: .9rem; display: grid; gap: .5rem; }
.admin-note-form textarea { width: 100%; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 6px; font-size: .9rem; }
.admin-notes { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.admin-notes li { padding: .65rem .8rem; background: var(--soft); border-left: 3px solid var(--green-700); border-radius: 5px; font-size: .9rem; }
.admin-notes li header { font-size: .75rem; color: var(--muted); margin-bottom: .35rem; font-weight: 700; }
.admin-notes li p { margin: 0; color: var(--green-900); white-space: pre-wrap; }
.admin-emails { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.admin-emails li { padding: .55rem .75rem; background: var(--soft); border-radius: 5px; font-size: .85rem; }
.admin-prose { font-size: .95rem; color: var(--green-900); white-space: pre-wrap; line-height: 1.55; }

/* Login screen */
.admin-login-body { display: grid; place-items: center; min-height: 100vh; background: linear-gradient(135deg, var(--green-700), var(--green-950)); padding: 1rem; }
.admin-login-shell { width: 100%; max-width: 420px; }
.admin-login-card { background: #fff; padding: 2rem; border-radius: 14px; box-shadow: 0 30px 60px rgba(6,37,29,.4); }
.admin-login-card h1 { margin: 0 0 .35rem; color: var(--green-900); font-size: 1.3rem; }
.admin-login-card .admin-login-lead { margin: 0 0 1.2rem; color: var(--muted); font-size: .9rem; }
.admin-login-mark { width: 48px; height: 48px; margin-bottom: .6rem; }
.admin-login-card form { display: grid; gap: .85rem; }
.admin-login-card label { display: grid; gap: .35rem; font-size: .88rem; font-weight: 700; color: var(--green-900); }
.admin-login-card input { padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 6px; font-size: .95rem; }
.admin-login-card .button { width: 100%; }
.admin-login-foot { margin: 1.4rem 0 0; text-align: center; font-size: .85rem; }
.admin-login-foot a { color: var(--green-700); font-weight: 700; }

/* Footer-bottom staff sign-in */
.footer-bottom .footer-staff-link { color: rgba(255,255,255,.45); font-size: .78rem; opacity: .8; }
.footer-bottom .footer-staff-link:hover { color: var(--leaf); opacity: 1; }
.footer-bottom { flex-wrap: wrap; row-gap: .5rem; }
.footer-bottom .footer-legal { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 .55rem; }
.footer-bottom .footer-legal a { display: inline; margin: 0; color: rgba(255,255,255,.78); text-decoration: none; font-size: inherit; white-space: nowrap; }
.footer-bottom .footer-legal a:hover { color: var(--yellow); text-decoration: underline; }
.footer-bottom .footer-legal .sep { color: rgba(255,255,255,.35); }
.footer-bottom .footer-credit-link { display: inline; margin: 0; color: var(--leaf); text-decoration: none; font-weight: 600; font-size: inherit; white-space: nowrap; }
.footer-bottom .footer-credit-link:hover { text-decoration: underline; color: var(--yellow); }
@media (max-width: 520px) {
  .footer-bottom { font-size: .72rem; }
}

/* Legal pages (disclaimer, privacy, cookie policy) */
.legal-content { width: min(900px, 100%); margin: 0 auto; padding: 3rem 1.5rem 4rem; line-height: 1.7; color: var(--green-900); }
.legal-content h1 { color: var(--green-900); font-size: 2rem; margin: 0 0 .25rem; }
.legal-content .legal-meta { color: var(--green-700); font-size: .85rem; opacity: .85; margin-bottom: 1.8rem; }
.legal-content h2 { color: var(--green-700); margin: 2rem 0 .55rem; font-size: 1.2rem; }
.legal-content h3 { color: var(--green-700); margin: 1.3rem 0 .4rem; font-size: 1rem; }
.legal-content p, .legal-content li { font-size: .98rem; }
.legal-content ul { padding-left: 1.4rem; }
.legal-content a { color: var(--leaf-700); text-decoration: underline; }
.legal-content a:hover { color: var(--green-700); }
.legal-note { background: rgba(140,182,74,.12); border-left: 3px solid var(--leaf); padding: .85rem 1rem; border-radius: 6px; font-size: .9rem; margin: 1.5rem 0; color: var(--green-900); }

@media (max-width: 900px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .admin-sidebar {
    position: fixed; left: 0; top: 0; bottom: 0; width: 260px; z-index: 50;
    transform: translateX(-100%); transition: transform .25s ease;
  }
  .admin-sidebar.is-open { transform: translateX(0); }
  .admin-main { padding-top: 4rem; }
  .admin-topbar { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .admin-who { align-items: flex-start; }
  .admin-dl { grid-template-columns: 1fr; }
}

.admin-modal-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(11, 27, 17, .55);
  z-index: 1000;
  align-items: center; justify-content: center;
  padding: 1rem;
  animation: admin-modal-fade .12s ease-out;
}
.admin-modal-backdrop.is-open { display: flex; }
@keyframes admin-modal-fade { from { opacity: 0; } to { opacity: 1; } }
.admin-modal {
  background: #fff; border-radius: 10px;
  max-width: 460px; width: 100%;
  padding: 1.4rem 1.5rem 1.25rem;
  box-shadow: 0 18px 50px rgba(11, 27, 17, .35);
  border: 1px solid var(--line);
  animation: admin-modal-pop .14s ease-out;
}
@keyframes admin-modal-pop {
  from { transform: translateY(8px) scale(.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.admin-modal-title {
  margin: 0 0 .55rem;
  font-size: 1.05rem; font-weight: 800;
  color: var(--green-900); letter-spacing: -0.01em;
}
.admin-modal-msg {
  margin: 0 0 1.2rem;
  color: var(--green-900); font-size: .95rem; line-height: 1.45;
}
.admin-modal-actions {
  display: flex; gap: .55rem; justify-content: flex-end; flex-wrap: wrap;
}
.admin-modal-cancel {
  background: #fff; color: var(--green-900);
  border: 1px solid var(--line);
}
.admin-modal-cancel:hover { background: var(--soft); }
.admin-modal-ok.is-danger {
  background: #c0392b; border-color: #a93226; color: #fff;
}
.admin-modal-ok.is-danger:hover { background: #a93226; border-color: #922b21; }
