:root {
  --brand: #126949;
  --brand-dark: #0d4d36;
  --brand-soft: rgba(18, 105, 73, 0.12);
  --brand-glow: rgba(18, 105, 73, 0.18);
  --text-main: #101915;
  --text-soft: #5a6b63;
  --surface-0: #f4f6f3;
  --surface-1: #ffffff;
  --surface-2: #edf1ed;
  --surface-3: #dfe6e0;
  --border-soft: rgba(16, 25, 21, 0.08);
  --border-strong: rgba(18, 105, 73, 0.18);
  --shadow-soft: 0 18px 40px rgba(8, 17, 13, 0.08);
  --shadow-strong: 0 24px 60px rgba(8, 17, 13, 0.14);
  --hero-spot: radial-gradient(circle at 20% 20%, rgba(18, 105, 73, 0.24), transparent 32%);
  --hero-grid: linear-gradient(rgba(18, 105, 73, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 105, 73, 0.08) 1px, transparent 1px);
  --panel-gradient: linear-gradient(145deg, rgba(18, 105, 73, 0.14), rgba(255, 255, 255, 0.95));
  --footer-bg: #0d1511;
  --footer-text: #dbe7e0;
  --footer-muted: #9cb3a6;
  --hero-outline: rgba(18, 105, 73, 0.12);
  --success-bg: rgba(18, 105, 73, 0.14);
  --success-text: #0b4e37;
  --danger: #b43a3a;
  --selection: rgba(18, 105, 73, 0.22);
}

html[data-theme="dark"] {
  --brand: #2e9f75;
  --brand-dark: #5dd4a6;
  --brand-soft: rgba(46, 159, 117, 0.18);
  --brand-glow: rgba(46, 159, 117, 0.24);
  --text-main: #f4f8f5;
  --text-soft: #afc0b7;
  --surface-0: #09110e;
  --surface-1: #101916;
  --surface-2: #15211c;
  --surface-3: #1d2b25;
  --border-soft: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(93, 212, 166, 0.18);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.28);
  --shadow-strong: 0 24px 60px rgba(0, 0, 0, 0.34);
  --hero-spot: radial-gradient(circle at 20% 20%, rgba(46, 159, 117, 0.2), transparent 34%);
  --hero-grid: linear-gradient(rgba(93, 212, 166, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 212, 166, 0.06) 1px, transparent 1px);
  --panel-gradient: linear-gradient(145deg, rgba(46, 159, 117, 0.16), rgba(16, 25, 22, 0.92));
  --footer-bg: #050906;
  --footer-text: #edf4f0;
  --footer-muted: #91a69a;
  --hero-outline: rgba(93, 212, 166, 0.16);
  --success-bg: rgba(46, 159, 117, 0.18);
  --success-text: #d8f8ea;
  --danger: #ff8f8f;
  --selection: rgba(46, 159, 117, 0.26);
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top right, rgba(18, 105, 73, 0.08), transparent 28%),
    radial-gradient(circle at bottom left, rgba(204, 204, 204, 0.22), transparent 18%),
    var(--surface-0);
  color: var(--text-main);
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  transition: background-color 0.35s ease, color 0.35s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: var(--hero-grid);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.48), transparent 85%);
  z-index: -1;
}

::selection {
  background: var(--selection);
}

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

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

a:hover {
  color: inherit;
}

main {
  position: relative;
}

[id] {
  scroll-margin-top: 12rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: var(--surface-1);
  border-radius: 999px;
  z-index: 1200;
}

.section-shell {
  position: relative;
  padding: 6rem 0;
}

.section-shell.compact {
  padding: 4.5rem 0;
}

.section-shell.alt-surface {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
    var(--surface-2);
}

.section-shell.dark-panel {
  background:
    radial-gradient(circle at top left, var(--brand-glow), transparent 28%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), transparent),
    var(--surface-1);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(18, 105, 73, 0.12);
}

.section-title {
  margin-top: 1.35rem;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.section-subtitle {
  max-width: 46rem;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.hero-section,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero-section {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 12rem;
  padding-bottom: 6rem;
}

.page-hero {
  padding-top: 11.5rem;
  padding-bottom: 4.5rem;
}

.hero-section::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-spot);
  z-index: 0;
}

.hero-section::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 12% -10% auto auto;
  width: min(34rem, 46vw);
  height: min(34rem, 46vw);
  border-radius: 50%;
  border: 1px solid var(--hero-outline);
  filter: blur(0.5px);
  z-index: 0;
}

.hero-copy,
.hero-visual,
.page-hero-copy,
.page-hero-visual {
  position: relative;
  z-index: 1;
}

.hero-title {
  margin: 1.4rem 0 1.4rem;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.page-title {
  margin: 1.25rem 0 1rem;
  font-size: clamp(2.35rem, 5.3vw, 4.2rem);
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.05em;
}

.hero-lead,
.page-lead {
  max-width: 40rem;
  color: var(--text-soft);
  font-size: 1.08rem;
}

.hero-actions {
  margin-top: 2rem;
}

.hero-actions .btn,
.cta-cluster .btn {
  min-width: 12rem;
}

.hero-quicknav {
  margin-top: 1.5rem;
}

.hero-quicknav-link,
.home-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-soft);
  color: var(--text-main);
  font-weight: 700;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

html[data-theme="dark"] .hero-quicknav-link,
html[data-theme="dark"] .home-nav-link {
  background: rgba(16, 25, 22, 0.82);
}

.hero-quicknav-link:hover,
.hero-quicknav-link:focus,
.home-nav-link:hover,
.home-nav-link:focus {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  color: var(--brand-dark);
}

.hero-quicknav-link::after,
.home-nav-link::after {
  content: "↗";
  font-size: 0.95rem;
  line-height: 1;
}

.brand-btn {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 14px 30px rgba(18, 105, 73, 0.2);
}

.brand-btn:hover,
.brand-btn:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(18, 105, 73, 0.26);
}

.brand-btn-outline {
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-main);
}

.brand-btn-outline:hover,
.brand-btn-outline:focus {
  background: var(--surface-1);
  border-color: var(--brand);
  color: var(--brand-dark);
  transform: translateY(-2px);
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn:focus-visible,
.nav-link:focus-visible,
.theme-select:focus-visible,
.theme-icon-btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.form-check-input:focus-visible,
.footer-link:focus-visible,
#backToTop:focus-visible {
  outline: 3px solid rgba(18, 105, 73, 0.28);
  outline-offset: 3px;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--surface-1);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  color: var(--text-main);
  font-weight: 600;
}

.hero-chip-row {
  margin-top: 1.75rem;
}

.hero-visual {
  min-height: 32rem;
}

.visual-panel {
  position: relative;
  overflow: hidden;
  min-height: 32rem;
  border-radius: 2rem;
  border: 1px solid var(--border-soft);
  background: var(--panel-gradient);
  box-shadow: var(--shadow-strong);
}

.visual-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 24%, var(--brand-glow), transparent 22%),
    radial-gradient(circle at 78% 18%, rgba(204, 204, 204, 0.24), transparent 18%),
    linear-gradient(140deg, transparent 0%, rgba(255, 255, 255, 0.1) 42%, transparent 100%);
}

.hero-story-panel {
  background: #07100d;
}

.page-story-panel {
  min-height: 31rem;
}

.hero-story-panel::before {
  z-index: 2;
  background:
    linear-gradient(145deg, rgba(5, 10, 8, 0.18), rgba(5, 10, 8, 0.06)),
    linear-gradient(180deg, rgba(7, 16, 13, 0.1), rgba(7, 16, 13, 0.34));
}

.hero-story-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-story-image-about {
  object-position: center;
}

.page-story-image-contact {
  object-position: center;
}

.hero-story-overlay {
  position: absolute;
  inset: auto 1.25rem 1.25rem 1.25rem;
  z-index: 3;
  display: grid;
  gap: 0.85rem;
  justify-items: start;
}

.hero-story-badge {
  max-width: min(18rem, 100%);
  padding: 0.9rem 1rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 18, 15, 0.72);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.hero-story-badge small {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: #78dcb2;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.hero-story-badge strong {
  display: block;
  color: #f4f8f5;
  font-size: 1rem;
  line-height: 1.3;
}

.section-visual-stack {
  display: grid;
  gap: 1.25rem;
}

.section-visual-card,
.section-story-strip {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  border: 1px solid var(--border-soft);
  background: #07100d;
  box-shadow: var(--shadow-strong);
}

.section-visual-card {
  min-height: 22rem;
}

.section-story-strip {
  min-height: 23rem;
  margin-bottom: 2rem;
}

.section-visual-card::before,
.section-story-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(145deg, rgba(5, 10, 8, 0.12), rgba(5, 10, 8, 0.03)),
    linear-gradient(180deg, rgba(7, 16, 13, 0.06), rgba(7, 16, 13, 0.42));
}

.section-visual-image,
.section-story-strip-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.section-visual-caption,
.section-story-strip-caption {
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 3;
  display: grid;
  gap: 0.4rem;
  max-width: min(28rem, 100%);
  padding: 0.95rem 1rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 18, 15, 0.72);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.section-visual-caption small,
.section-story-strip-caption small {
  color: #78dcb2;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.section-visual-caption strong,
.section-story-strip-caption strong {
  color: #f4f8f5;
  font-size: 1rem;
  line-height: 1.35;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(3px);
  opacity: 0.78;
  animation: floatOrb 10s ease-in-out infinite;
}

.orb.orb-a {
  top: 12%;
  left: 10%;
  width: 7rem;
  height: 7rem;
  background: rgba(18, 105, 73, 0.24);
}

.orb.orb-b {
  right: 14%;
  top: 18%;
  width: 12rem;
  height: 12rem;
  background: rgba(204, 204, 204, 0.22);
  animation-delay: -3s;
}

.orb.orb-c {
  bottom: 8%;
  right: 18%;
  width: 9rem;
  height: 9rem;
  background: rgba(18, 105, 73, 0.14);
  animation-delay: -6s;
}

.line-grid {
  position: absolute;
  inset: 3rem;
  border-radius: 1.75rem;
  border: 1px solid var(--border-soft);
}

.line-grid::before,
.line-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-grid);
  background-size: 26px 26px;
  opacity: 0.45;
}

.line-grid::after {
  inset: 18% 14%;
  border-radius: 1.25rem;
  border: 1px solid var(--border-soft);
  background: transparent;
}

.floating-card,
.metric-card,
.service-card,
.insight-card,
.office-card,
.timeline-card,
.accordion-shell,
.form-panel,
.cta-panel,
.mini-panel {
  border-radius: 1.5rem;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

html[data-theme="dark"] .floating-card,
html[data-theme="dark"] .metric-card,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .insight-card,
html[data-theme="dark"] .office-card,
html[data-theme="dark"] .timeline-card,
html[data-theme="dark"] .accordion-shell,
html[data-theme="dark"] .form-panel,
html[data-theme="dark"] .cta-panel,
html[data-theme="dark"] .mini-panel {
  background: rgba(16, 25, 22, 0.82);
}

.floating-card {
  position: absolute;
  z-index: 2;
  padding: 1rem 1.1rem;
}

.floating-card.card-a {
  top: 11%;
  right: 8%;
  width: min(16rem, 40%);
}

.floating-card.card-b {
  bottom: 9%;
  left: 7%;
  width: min(18rem, 48%);
}

.floating-card.card-c {
  top: 44%;
  left: 8%;
  width: min(12rem, 34%);
}

.floating-card-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.floating-card-copy {
  margin: 0.45rem 0 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.abstract-svg {
  position: absolute;
  inset: 9% 10% 12%;
  z-index: 1;
}

.abstract-svg path,
.abstract-svg circle,
.abstract-svg rect {
  vector-effect: non-scaling-stroke;
}

.section-heading-row {
  margin-bottom: 3rem;
}

.service-card,
.insight-card,
.metric-card,
.office-card,
.timeline-card,
.mini-panel {
  height: 100%;
  padding: 1.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover,
.insight-card:hover,
.metric-card:hover,
.office-card:hover,
.timeline-card:hover,
.mini-panel:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-strong);
}

a.service-card,
a.insight-card,
a.metric-card,
a.timeline-card,
a.mini-panel,
a.office-card {
  display: block;
}

a.service-card:hover,
a.service-card:focus,
a.insight-card:hover,
a.insight-card:focus {
  color: inherit;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(18, 105, 73, 0.16), rgba(204, 204, 204, 0.18));
  color: var(--brand-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.icon-badge svg {
  width: 1.45rem;
  height: 1.45rem;
}

.communication-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.communication-logo-nav {
  width: 9rem;
  margin-top: 1rem;
}

.communication-logo-service {
  width: 8.75rem;
}

.communication-logo-panel {
  width: 10rem;
  margin-bottom: 1.1rem;
}

.card-title {
  margin-top: 1.15rem;
  margin-bottom: 0.75rem;
  font-size: 1.28rem;
  font-weight: 750;
}

.card-copy,
.list-copy,
.panel-copy,
.office-copy {
  color: var(--text-soft);
}

.detail-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.detail-list li::before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  margin-top: 0.35rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), rgba(204, 204, 204, 0.9));
  box-shadow: 0 0 0 5px rgba(18, 105, 73, 0.08);
}

.metric-value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 850;
  line-height: 1;
}

.metric-label {
  margin-top: 0.8rem;
  color: var(--text-soft);
  font-weight: 600;
}

.split-panel {
  padding: 2.2rem;
  border-radius: 2rem;
  border: 1px solid var(--border-soft);
  background:
    linear-gradient(135deg, rgba(18, 105, 73, 0.08), transparent 55%),
    var(--surface-1);
  box-shadow: var(--shadow-soft);
}

.process-grid {
  position: relative;
}

.process-step {
  position: relative;
  padding: 1.6rem 1.5rem 1.6rem 1.8rem;
  border-left: 1px solid var(--border-strong);
}

.process-step::before {
  content: attr(data-step);
  position: absolute;
  left: -1.15rem;
  top: 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(18, 105, 73, 0.22);
}

.process-step h3 {
  font-size: 1.08rem;
  font-weight: 750;
}

.process-step p {
  margin-bottom: 0;
  color: var(--text-soft);
}

.stat-strip {
  padding: 1.35rem 1.5rem;
  border-radius: 1.35rem;
  border: 1px solid var(--border-soft);
  background: var(--surface-1);
}

.stat-strip strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.1;
}

.timeline-card small,
.service-card small,
.office-card small,
.mini-panel small {
  display: inline-block;
  color: var(--brand-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.accordion-shell {
  overflow: hidden;
}

.accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-soft);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-button {
  background: transparent;
  color: var(--text-main);
  font-weight: 750;
  padding: 1.25rem 1.35rem;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--brand-dark);
  background: transparent;
}

.accordion-button::after {
  filter: grayscale(1) brightness(0.4);
}

html[data-theme="dark"] .accordion-button::after {
  filter: grayscale(1) brightness(5);
}

.accordion-body {
  padding: 0 1.35rem 1.35rem;
  color: var(--text-soft);
  line-height: 1.75;
}

.accordion-collapse[hidden] {
  display: none !important;
}

.table-like {
  display: grid;
  gap: 1rem;
}

.table-row {
  display: grid;
  gap: 0.85rem;
  padding: 1.1rem 1.2rem;
  border-radius: 1rem;
  background: var(--surface-1);
  border: 1px solid var(--border-soft);
}

.pill-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.theme-select {
  min-width: 8.25rem;
  padding: 0.55rem 2.3rem 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background-color: rgba(255, 255, 255, 0.72);
  color: var(--text-main);
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}

html[data-theme="dark"] .theme-select {
  background-color: rgba(16, 25, 22, 0.88);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

html[data-theme="dark"] .theme-toggle {
  background: rgba(16, 25, 22, 0.88);
}

.theme-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.theme-icon-btn:hover,
.theme-icon-btn:focus-visible {
  color: var(--text-main);
  background: var(--brand-soft);
}

.theme-icon-btn.is-active {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 10px 24px rgba(18, 105, 73, 0.22);
}

.theme-icon-btn svg {
  width: 1.15rem;
  height: 1.15rem;
}

.navbar-custom {
  padding: 1rem 0;
  background: rgba(244, 246, 243, 0.7);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

html[data-theme="dark"] .navbar-custom {
  background: rgba(9, 17, 14, 0.74);
}

.navbar-custom.is-scrolled {
  padding: 0.85rem 0;
  border-bottom-color: var(--border-soft);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.navbar-layout {
  width: 100%;
  position: relative;
}

.header-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: nowrap;
}

.desktop-mainnav {
  display: flex !important;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  margin: 0 0.75rem;
  justify-content: center;
  visibility: visible;
  opacity: 1;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  flex: 0 0 auto;
}

.header-theme {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.desktop-nav-list,
.mobile-nav-list {
  display: flex;
  gap: 0.25rem;
  margin: 0;
}

.desktop-nav-list {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.mobile-nav-list {
  flex-direction: column;
  align-items: stretch;
  gap: 0.3rem;
}

.desktop-nav-list .nav-item,
.mobile-nav-list .nav-item {
  width: auto;
}

@media (min-width: 992px) {
  .navbar-brand {
    flex: 0 0 auto;
  }

  .navbar-toggler {
    display: none;
  }
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.brand-logo {
  width: auto;
  height: 2rem;
  max-width: none;
  flex: 0 0 auto;
}

.footer-brand-logo {
  height: 2rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark::before {
  content: "";
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 0.25rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 0 0 6px rgba(18, 105, 73, 0.12);
  transform: rotate(45deg);
}

.nav-link {
  position: relative;
  font-weight: 600;
  color: var(--text-soft);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.35rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--text-main);
}

.nav-link:hover::after,
.nav-link:focus::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
  padding: 0.6rem 0.7rem;
  box-shadow: none !important;
}

.navbar-toggler-bars {
  display: grid;
  gap: 0.28rem;
}

.navbar-toggler-bars span {
  width: 1.35rem;
  height: 2px;
  border-radius: 999px;
  background: var(--text-main);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-bars span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.navbar-collapse {
  border-radius: 1.4rem;
}

.external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.external-link svg {
  width: 1rem;
  height: 1rem;
}

.cta-panel {
  padding: 2.5rem;
  background:
    radial-gradient(circle at top left, rgba(18, 105, 73, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(18, 105, 73, 0.08), rgba(255, 255, 255, 0.02)),
    var(--surface-1);
}

.cta-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.footer-shell {
  background:
    radial-gradient(circle at top left, rgba(46, 159, 117, 0.16), transparent 28%),
    var(--footer-bg);
  color: var(--footer-text);
  padding-top: 4.5rem;
}

.footer-copy,
.footer-link,
.footer-contact {
  color: var(--footer-muted);
}

.footer-title {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--footer-text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-link-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-link {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.7rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-button {
  padding: 0;
  border: none;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.footer-link:hover,
.footer-link:focus {
  color: #fff;
  transform: translateX(2px);
}

.footer-bottom {
  margin-top: 3rem;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-banner-shell {
  position: fixed;
  inset: auto 0 1rem;
  z-index: 1080;
  padding: 0 1rem;
}

.cookie-banner-shell[hidden] {
  display: none !important;
}

.cookie-banner {
  max-width: 78rem;
  margin: 0 auto;
  padding: 1.5rem;
  border-radius: 1.75rem;
  border: 1px solid var(--border-soft);
  background:
    radial-gradient(circle at top left, rgba(18, 105, 73, 0.18), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(237, 241, 237, 0.92));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-strong);
}

html[data-theme="dark"] .cookie-banner {
  background:
    radial-gradient(circle at top left, rgba(46, 159, 117, 0.2), transparent 38%),
    linear-gradient(145deg, rgba(16, 25, 22, 0.96), rgba(21, 33, 28, 0.96));
}

.cookie-banner-layout {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1.9fr) minmax(17rem, 1fr);
  align-items: end;
}

.cookie-banner-title,
.cookie-modal-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.cookie-banner-title {
  margin: 1rem 0 0.8rem;
}

.cookie-banner-text,
.cookie-banner-note,
.cookie-modal-copy,
.cookie-toggle-copy,
.cookie-toggle-note,
.cookie-modal-summary {
  color: var(--text-soft);
}

.cookie-banner-note {
  margin-top: 0.85rem;
  font-size: 0.98rem;
}

.cookie-banner-actions,
.cookie-modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.cookie-modal .modal-dialog {
  max-width: 58rem;
}

.cookie-modal-content {
  border: 1px solid var(--border-soft);
  border-radius: 1.75rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(237, 241, 237, 0.96)),
    var(--surface-1);
  color: var(--text-main);
  box-shadow: var(--shadow-strong);
}

html[data-theme="dark"] .cookie-modal-content {
  background:
    linear-gradient(145deg, rgba(16, 25, 22, 0.98), rgba(21, 33, 28, 0.98)),
    var(--surface-1);
}

.cookie-modal-header,
.cookie-modal-footer {
  padding: 1.5rem 1.5rem 0;
  border: none;
}

.cookie-modal .modal-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.cookie-settings-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.cookie-toggle-card {
  padding: 1.2rem 1.25rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.62);
}

html[data-theme="dark"] .cookie-toggle-card {
  background: rgba(9, 17, 14, 0.42);
}

.cookie-toggle-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-toggle-title {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
  font-weight: 760;
}

.cookie-toggle-note {
  margin-top: 0.8rem;
  font-size: 0.94rem;
}

.cookie-switch {
  flex: 0 0 auto;
  padding-left: 3rem;
  margin: 0;
}

.cookie-switch .form-check-input {
  width: 2.75rem;
  height: 1.5rem;
  margin-left: -3rem;
}

.cookie-modal-summary {
  margin-top: 1.4rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: var(--brand-soft);
}

html[data-theme="dark"] .cookie-modal .btn-close {
  filter: invert(1) grayscale(1);
}

.footer-note {
  color: var(--footer-muted);
}

.contact-link {
  color: var(--brand-dark);
  font-weight: 700;
}

.office-title {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 750;
}

.office-detail {
  margin-bottom: 0.55rem;
}

.form-panel {
  padding: 2rem;
}

.form-label {
  font-weight: 700;
}

.form-control,
.form-select {
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--border-soft);
  background-color: var(--surface-1);
  color: var(--text-main);
}

.form-control::placeholder {
  color: color-mix(in srgb, var(--text-soft) 70%, transparent);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 0.25rem rgba(18, 105, 73, 0.12);
  background-color: var(--surface-1);
  color: var(--text-main);
}

.form-check-input {
  border-color: var(--border-strong);
}

.form-check-input:checked {
  background-color: var(--brand);
  border-color: var(--brand);
}

.invalid-feedback {
  color: var(--danger);
}

.success-banner {
  display: none;
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  background: var(--success-bg);
  color: var(--success-text);
  font-weight: 600;
}

.success-banner.is-visible {
  display: block;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.reveal[data-delay="100"] {
  transition-delay: 0.1s;
}

.reveal[data-delay="200"] {
  transition-delay: 0.2s;
}

.reveal[data-delay="300"] {
  transition-delay: 0.3s;
}

.reveal[data-delay="400"] {
  transition-delay: 0.4s;
}

#backToTop {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1040;
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 18px 32px rgba(18, 105, 73, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

body.cookie-banner-active #backToTop {
  bottom: 12.5rem;
}

#backToTop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.micro-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  text-transform: uppercase;
}

.micro-tag::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--border-strong);
}

.feature-table .table-row {
  grid-template-columns: 1fr;
}

.hero-metrics {
  margin-top: 2rem;
}

.communication-panel {
  position: relative;
  overflow: hidden;
}

.communication-panel::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: rgba(18, 105, 73, 0.14);
  filter: blur(18px);
}

.quote-block {
  padding: 1.8rem;
  border-left: 3px solid var(--brand);
  border-radius: 1.25rem;
  background: var(--surface-1);
  box-shadow: var(--shadow-soft);
}

.quote-block p {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 1.02rem;
}

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

.utility-caption {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.home-nav-card {
  height: 100%;
  padding: 1.35rem 1.4rem;
  border-radius: 1.35rem;
  border: 1px solid var(--border-soft);
  background:
    linear-gradient(135deg, rgba(18, 105, 73, 0.06), transparent 55%),
    var(--surface-1);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.home-nav-card:hover,
.home-nav-card:focus-within {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-strong);
}

.home-nav-card-title {
  margin: 0.8rem 0 0.55rem;
  font-size: 1.1rem;
  font-weight: 760;
}

@media (max-width: 767.98px) {
  .communication-logo-nav {
    width: 8rem;
  }

  .communication-logo-service {
    width: 8rem;
  }

  .communication-logo-panel {
    width: 8.75rem;
  }
}

.hero-card-stack {
  position: absolute;
  inset: auto 10% 8% auto;
  width: 44%;
}

.hero-card-stack .mini-panel + .mini-panel {
  margin-top: 0.9rem;
}

.mini-panel {
  padding: 1rem 1.1rem;
}

.mini-panel strong {
  display: block;
  font-size: 1rem;
}

.mini-panel span {
  color: var(--text-soft);
  font-size: 0.93rem;
}

@keyframes floatOrb {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -18px, 0);
  }
}

@media (max-width: 1199.98px) {
  .desktop-nav-list {
    gap: 0.15rem;
  }
}

@media (max-width: 991.98px) {
  .header-topbar {
    flex-wrap: wrap;
  }

  .desktop-mainnav {
    display: none !important;
  }

  .header-topbar {
    gap: 0.8rem;
  }

  [id] {
    scroll-margin-top: 14rem;
  }

  .hero-section {
    padding-top: 8.75rem;
  }

  .page-hero {
    padding-top: 8.5rem;
  }

  .mobile-nav-shell {
    width: 100%;
    margin-top: 0.85rem;
    padding: 0.85rem;
    border: 1px solid var(--border-soft);
    border-radius: 1.3rem;
    background: rgba(244, 246, 243, 0.94);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
    overflow: visible;
    position: relative;
    z-index: 20;
  }

  html[data-theme="dark"] .mobile-nav-shell {
    background: rgba(16, 25, 22, 0.96);
  }

  .mobile-nav-shell[hidden] {
    display: none !important;
  }

  .mobile-nav-shell.is-open {
    display: block !important;
  }

  .mobile-nav-list {
    width: 100%;
  }

  .mobile-nav-list .nav-item {
    width: 100%;
  }

  .mobile-nav-shell .nav-link {
    color: var(--text-main);
    background: transparent;
  }

  .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.7rem 0.85rem !important;
    border-radius: 0.95rem;
  }

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

  .nav-link:hover,
  .nav-link:focus,
  .nav-link.active {
    background: var(--brand-soft);
    color: var(--brand-dark);
  }

  html[data-theme="dark"] .mobile-nav-shell .nav-link:hover,
  html[data-theme="dark"] .mobile-nav-shell .nav-link:focus,
  html[data-theme="dark"] .mobile-nav-shell .nav-link.active {
    color: var(--brand-dark);
  }

  .floating-card.card-a,
  .floating-card.card-b,
  .floating-card.card-c,
  .hero-card-stack {
    position: static;
    width: auto;
    margin-top: 1rem;
  }

  .visual-panel {
    min-height: 26rem;
    padding-bottom: 1rem;
  }

  .section-visual-card,
  .section-story-strip {
    min-height: 20rem;
  }

  .hero-story-overlay {
    inset: auto 1rem 1rem 1rem;
  }

  .abstract-svg {
    inset: 5rem 1rem auto;
  }

  .cookie-banner-layout {
    grid-template-columns: 1fr;
  }

  .cookie-banner-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .section-shell {
    padding: 4.5rem 0;
  }

  .header-controls {
    gap: 0.6rem;
  }

  .header-theme {
    flex: 1 1 auto;
  }

  .theme-toggle {
    margin-left: auto;
  }

  .mobile-nav-shell {
    margin-top: 0.75rem;
  }

  .hero-section {
    min-height: auto;
    padding-bottom: 4rem;
  }

  .page-hero {
    padding-bottom: 3rem;
  }

  .visual-panel {
    min-height: 24rem;
  }

  .section-visual-card,
  .section-story-strip {
    min-height: 18rem;
  }

  .hero-story-badge {
    max-width: 100%;
  }

  .section-visual-caption,
  .section-story-strip-caption {
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.9rem;
    max-width: 100%;
  }

  .form-panel,
  .cta-panel,
  .split-panel {
    padding: 1.5rem;
  }

  .cookie-banner-shell {
    inset: auto 0 0.75rem;
    padding: 0 0.75rem;
  }

  .cookie-banner {
    padding: 1.2rem;
    border-radius: 1.4rem;
  }

  .cookie-banner-actions,
  .cookie-modal-footer {
    justify-content: stretch;
  }

  .cookie-banner-actions .btn,
  .cookie-modal-footer .btn {
    width: 100%;
  }

  .cookie-toggle-head {
    flex-direction: column;
  }

  body.cookie-banner-active #backToTop {
    bottom: 18.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
