:root {
  --navy: #0B1324;
  --blue: #243B73;
  --royal: #4263E7;
  --gold: #DCB157;
  --bronze: #B9832D;
  --warm-white: #FAF8F3;
  --white: #FFFFFF;
  --soft-gray: #F1F3F6;
  --text: #1C1C1C;
  --muted: #5F6673;
  --border: #D8DCE3;
  --shadow: 0 18px 45px rgba(11, 19, 36, 0.11);
  --soft-shadow: 0 12px 28px rgba(11, 19, 36, 0.08);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(66, 99, 231, 0.35);
  outline-offset: 3px;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  max-width: 920px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h3 {
  font-size: 1.2rem;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 860px;
}

.section-pad {
  padding: 96px 0;
}

.section-pad.compact {
  padding: 72px 0;
}

.bg-soft {
  background: var(--soft-gray);
}

.bg-navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.84);
}

.bg-navy h2,
.bg-navy h3 {
  color: var(--white);
}

.photo-band,
.photo-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-size: cover;
  background-position: center;
}

.photo-band {
  color: rgba(255, 255, 255, 0.84);
}

.photo-band::before,
.photo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.photo-band > .container,
.photo-hero > .container {
  position: relative;
  z-index: 1;
}

.photo-band h2,
.photo-band h3,
.photo-hero h1 {
  color: var(--white);
}

.photo-band p,
.photo-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
}

.photo-band .eyebrow,
.photo-hero .eyebrow {
  color: var(--gold);
}

.photo-band .text-link {
  color: var(--white);
}

.photo-band-books {
  background-image: url("../images/bookkeping_taxservices2.jpg");
  background-position: center 58%;
}

.photo-band-books::before {
  background:
    linear-gradient(90deg, rgba(11, 19, 36, 0.94), rgba(11, 19, 36, 0.76) 48%, rgba(11, 19, 36, 0.54)),
    linear-gradient(180deg, rgba(11, 19, 36, 0.18), rgba(11, 19, 36, 0.66));
}

.photo-band-tech {
  background-image: url("../images/application_technology.jpg");
  background-position: center;
}

.photo-band-tech::before {
  background:
    linear-gradient(90deg, rgba(11, 19, 36, 0.72), rgba(11, 19, 36, 0.9) 52%, rgba(11, 19, 36, 0.96)),
    linear-gradient(180deg, rgba(11, 19, 36, 0.2), rgba(11, 19, 36, 0.62));
}

.photo-band .pill-grid span,
.photo-band .tech-board span {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(220, 177, 87, 0.68);
  box-shadow: 0 12px 28px rgba(11, 19, 36, 0.22);
  backdrop-filter: blur(4px);
}

.photo-band .tech-board span:nth-child(odd) {
  border-top-color: var(--royal);
}

.photo-band .tech-board span:nth-child(even) {
  border-top-color: var(--gold);
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  background: var(--gold);
  color: var(--navy);
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  font-weight: 700;
}

.skip-link:focus {
  top: 112px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(216, 220, 227, 0.82);
  backdrop-filter: blur(18px);
}

.site-header .container {
  width: min(100% - 32px, 1840px);
}

.header-inner {
  position: relative;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding-top: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: max-content;
  flex: 0 0 auto;
}

.brand-logo-frame {
  width: 86px;
  height: 86px;
  display: block;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand-logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.38rem;
  white-space: nowrap;
}

.brand-text strong {
  font-family: "Montserrat", "Inter", Arial, sans-serif;
  color: var(--navy);
  font-size: 1.24rem;
  line-height: 1;
  font-weight: 800;
}

.brand-text span {
  font-family: "Montserrat", "Inter", Arial, sans-serif;
  color: var(--navy);
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.08rem;
  margin-left: auto;
  padding-top: 0.9rem;
}

.primary-nav a,
.nav-dropdown > a {
  font-family: "Montserrat", "Inter", Arial, sans-serif;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.68rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background 180ms ease, color 180ms ease;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
}

.nav-submenu {
  position: absolute;
  left: 50%;
  top: calc(100% + 0.65rem);
  z-index: 120;
  display: grid;
  min-width: 220px;
  padding: 0.55rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.primary-nav > .nav-dropdown:last-child .nav-submenu {
  left: auto;
  right: 0;
  transform: translate(0, 8px);
}

.nav-submenu a {
  display: block;
  padding: 0.75rem 0.8rem;
  color: var(--navy);
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  text-align: center;
  white-space: normal;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.primary-nav > .nav-dropdown:last-child:hover .nav-submenu,
.primary-nav > .nav-dropdown:last-child:focus-within .nav-submenu {
  transform: translate(0, 0);
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a[aria-current="page"] {
  background: rgba(36, 59, 115, 0.09);
  color: var(--blue);
}

.language-toggle {
  position: absolute;
  right: 0;
  top: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  flex: 0 0 auto;
  color: var(--muted);
  font-family: "Montserrat", "Inter", Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.language-toggle a {
  color: var(--blue);
  border-radius: 999px;
  padding: 0.36rem 0.2rem;
}

.language-toggle a:hover,
.language-toggle a:focus-visible {
  color: var(--royal);
}

.language-toggle [aria-current="true"] {
  color: var(--navy);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  padding: 0;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(66, 99, 231, 0.1), transparent 30%),
    linear-gradient(180deg, var(--warm-white), var(--white) 70%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--border);
}

.hero-grid,
.split,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-copy {
  padding: 44px 0;
}

.hero-lead {
  max-width: 710px;
  color: var(--muted);
  font-size: 1.2rem;
}

.eyebrow {
  color: var(--bronze);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: rgba(220, 177, 87, 0.58);
  box-shadow: 0 12px 24px rgba(36, 59, 115, 0.2);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--navy);
}

.btn-secondary {
  background: var(--white);
  color: var(--blue);
  border-color: rgba(220, 177, 87, 0.68);
}

.visual-shell {
  position: relative;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(220, 177, 87, 0.38);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.visual-shell::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(220, 177, 87, 0.34);
  border-radius: 6px;
  pointer-events: none;
}

.visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.5rem 1rem;
}

.visual-header strong {
  color: var(--navy);
  font-size: 0.92rem;
  line-height: 1.2;
}

.visual-header span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.status-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.status-dots span:first-child {
  background: var(--gold);
}

.status-dots span:nth-child(2) {
  background: var(--blue);
}

.status-dots span:nth-child(3) {
  background: var(--royal);
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.metric-row div,
.report-card,
.task-list span,
.mini-card,
.tech-board span {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.metric-row div {
  padding: 1rem;
}

.metric-row small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.metric-row strong {
  color: var(--blue);
  font-size: 1.25rem;
}

.report-card {
  padding: 1rem;
}

.report-line {
  width: 64%;
  height: 10px;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  background: var(--soft-gray);
}

.report-line.wide {
  width: 86%;
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 0.6rem;
  height: 170px;
  padding-top: 1rem;
}

.bar-chart span {
  display: block;
  min-height: 28px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--royal), var(--blue));
}

.bar-chart span:nth-child(2),
.bar-chart span:nth-child(5) {
  background: linear-gradient(180deg, var(--gold), var(--bronze));
}

.task-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.task-list span {
  padding: 0.75rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 2.4rem;
}

.section-heading p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading.light p:last-child {
  color: rgba(255, 255, 255, 0.74);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.six {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  display: block;
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 1.35rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), rgba(220, 177, 87, 0.18));
}

.service-card:hover,
.service-card:focus-visible {
  border-color: rgba(66, 99, 231, 0.42);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service-card h2,
.service-card h3 {
  font-size: 1.22rem;
}

.service-card p {
  color: var(--muted);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 1.2rem;
  border-radius: 7px;
  background: rgba(220, 177, 87, 0.16);
  color: var(--bronze);
  position: relative;
}

.card-icon::before,
.card-icon::after {
  content: "";
  position: absolute;
  border-color: currentColor;
}

.icon-books::before {
  width: 17px;
  height: 21px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.icon-books::after {
  width: 10px;
  height: 2px;
  background: currentColor;
  top: 15px;
}

.icon-tax::before {
  width: 18px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.icon-tax::after {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  top: 10px;
}

.icon-business::before {
  width: 22px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 3px;
  bottom: 8px;
}

.icon-business::after {
  width: 10px;
  height: 5px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  top: 8px;
}

.icon-payroll::before {
  width: 22px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.icon-payroll::after {
  width: 11px;
  height: 2px;
  background: currentColor;
  bottom: 12px;
  box-shadow: 0 5px 0 currentColor;
}

.icon-shield::before {
  width: 19px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 11px 11px 8px 8px;
  transform: rotate(45deg);
}

.icon-tools::before {
  width: 21px;
  height: 21px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-tools::after {
  width: 12px;
  height: 2px;
  right: 7px;
  bottom: 9px;
  background: currentColor;
  transform: rotate(45deg);
}

.reverse {
  direction: rtl;
}

.reverse > * {
  direction: ltr;
}

.split p {
  color: var(--muted);
  font-size: 1.04rem;
}

.photo-band .split p,
.photo-band .section-heading p:last-child {
  color: rgba(255, 255, 255, 0.82);
}

.feature-panel {
  padding: clamp(1.2rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid rgba(220, 177, 87, 0.72);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.contact-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.contact-list div {
  display: grid;
  grid-template-columns: 5.35rem minmax(0, 1fr);
  gap: 0.6rem;
  align-items: start;
}

.contact-list dt {
  color: var(--navy);
  font-weight: 800;
}

.contact-list dd {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.contact-list a {
  color: inherit;
}

.check-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.44rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(220, 177, 87, 0.14);
}

.text-link {
  display: inline-flex;
  margin-top: 0.4rem;
  color: var(--blue);
  font-weight: 800;
  border-bottom: 2px solid rgba(220, 177, 87, 0.75);
}

.inline-link {
  color: var(--blue);
  font-weight: 800;
  border-bottom: 2px solid rgba(220, 177, 87, 0.75);
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.pill-grid span {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-weight: 800;
}

.mini-card-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.mini-card {
  padding: 1.1rem;
  color: var(--blue);
  font-weight: 800;
  border-left: 4px solid rgba(220, 177, 87, 0.72);
  box-shadow: var(--soft-shadow);
}

.tech-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.tech-board span {
  min-height: 96px;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  color: var(--navy);
  font-weight: 800;
  box-shadow: var(--soft-shadow);
}

.tech-board span:nth-child(odd) {
  border-top: 4px solid var(--blue);
}

.tech-board span:nth-child(even) {
  border-top: 4px solid var(--gold);
}

.cta-section {
  padding: 40px 0 96px;
  background: var(--white);
}

.cta-box {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--navy);
  border: 1px solid rgba(220, 177, 87, 0.32);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta-box h2 {
  max-width: 720px;
  color: var(--white);
}

.cta-note {
  max-width: 700px;
  margin: 0.7rem 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta-box .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(220, 177, 87, 0.72);
}

.page-hero {
  padding: 58px 0 48px;
  background:
    linear-gradient(180deg, var(--warm-white), var(--white));
  border-bottom: 1px solid var(--border);
}

.hero.section-pad {
  padding-top: 58px;
}

.page-hero + .section-pad {
  padding-top: 46px;
}

.page-hero h1 {
  font-size: clamp(2.35rem, 5vw, 4.25rem);
}

.page-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.16rem;
}

.photo-hero h1,
.photo-hero p:not(.eyebrow) {
  color: var(--white);
}

.coming-soon-note {
  max-width: 760px;
  margin-top: 1.1rem;
  padding: 0.9rem 1rem;
  color: var(--navy);
  background: rgba(220, 177, 87, 0.18);
  border: 1px solid rgba(185, 131, 45, 0.28);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
}

.coming-soon-note a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.tech-hero {
  background:
    radial-gradient(circle at 70% 18%, rgba(66, 99, 231, 0.11), transparent 33%),
    linear-gradient(180deg, var(--warm-white), var(--white));
}

.photo-hero {
  min-height: 430px;
  display: flex;
  align-items: center;
  border-bottom: 4px solid rgba(220, 177, 87, 0.72);
}

.tech-photo-hero {
  background-image: url("../images/application_technology.jpg");
  background-position: center;
  background-size: cover;
}

.tech-photo-hero::before {
  background:
    linear-gradient(90deg, rgba(11, 19, 36, 0.9), rgba(11, 19, 36, 0.78) 52%, rgba(11, 19, 36, 0.42)),
    linear-gradient(180deg, rgba(11, 19, 36, 0.22), rgba(11, 19, 36, 0.72));
}

.photo-hero .coming-soon-note {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(220, 177, 87, 0.46);
  box-shadow: var(--soft-shadow);
}

.photo-hero p.coming-soon-note,
.photo-hero .coming-soon-note strong,
.photo-hero .coming-soon-note a {
  color: var(--navy);
}

.photo-hero .coming-soon-note a {
  text-decoration-color: rgba(220, 177, 87, 0.9);
}

.contact-grid {
  align-items: start;
}

.contact-aside {
  display: grid;
  gap: 1.25rem;
}

.contact-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  background: var(--white);
}

.contact-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
}

.about-copy {
  color: var(--muted);
}

.about-copy h2 {
  color: var(--navy);
}

.about-copy p:not(.eyebrow) {
  font-size: 1.06rem;
}

.contact-form {
  display: grid;
  gap: 0.7rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  background:
    linear-gradient(180deg, rgba(66, 99, 231, 0.045), rgba(255, 255, 255, 0) 44%),
    var(--white);
  border: 1px solid rgba(66, 99, 231, 0.18);
  border-top: 4px solid var(--royal);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.contact-form label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--navy);
  font-weight: 800;
}

.required-marker {
  color: var(--bronze);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  color: var(--text);
  font: inherit;
  background: rgba(255, 255, 255, 0.92);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(66, 99, 231, 0.18);
  border-color: var(--royal);
}

.form-note {
  margin: 0;
  padding: 0.85rem 1rem;
  color: var(--navy);
  background: rgba(220, 177, 87, 0.16);
  border: 1px solid rgba(185, 131, 45, 0.28);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.policy-content {
  max-width: 850px;
}

.policy-content h2 {
  margin-top: 2rem;
  font-size: 1.55rem;
}

.policy-content p {
  color: var(--muted);
}

.site-footer {
  padding: 48px 0 24px;
  color: rgba(255, 255, 255, 0.74);
  background: var(--navy);
  line-height: 1.42;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand .brand-text strong,
.site-footer h2 {
  color: var(--white);
}

.footer-brand .brand-text strong {
  font-size: 0.9rem;
}

.footer-brand .brand-text span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
}

.footer-brand .brand-logo-frame {
  width: 58px;
  height: 58px;
}

.footer-brand .brand-logo {
  object-position: center;
  transform: none;
}

.site-footer h2 {
  margin-bottom: 0.65rem;
  font-size: 0.86rem;
}

.site-footer p {
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
}

.footer-links {
  display: grid;
  gap: 0.25rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold);
}

.site-footer .contact-list dt {
  color: var(--white);
  font-size: 0.86rem;
}

.site-footer .contact-list dd {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
}

.site-footer .contact-list a:hover,
.site-footer .contact-list a:focus-visible {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
}

.footer-bottom p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@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;
  }

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

@media (max-width: 1180px) {
  .nav-toggle {
    display: block;
    order: 3;
  }

  .language-toggle {
    position: static;
    order: 2;
    margin-left: auto;
  }

  .primary-nav {
    order: 4;
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    padding: 0.75rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-left: 0;
    padding-top: 0.75rem;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a,
  .nav-dropdown > a {
    border-radius: 6px;
  }

  .nav-dropdown {
    display: grid;
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    margin: 0.2rem 0 0.35rem 0.75rem;
    padding: 0.25rem 0 0.25rem 0.7rem;
    border: 0;
    border-left: 3px solid var(--gold);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-submenu a {
    padding: 0.48rem 0.6rem;
    text-align: left;
  }
}

@media (max-width: 900px) {
  .section-pad {
    padding: 72px 0;
  }

  .page-hero {
    padding: 44px 0 40px;
  }

  .hero.section-pad {
    padding-top: 44px;
  }

  .page-hero + .section-pad {
    padding-top: 36px;
  }

  .hero-grid,
  .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 10px 0 0;
  }

  .card-grid.three,
  .card-grid.six,
  .pill-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-box,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    min-height: 92px;
    gap: 0.55rem;
  }

  .brand-logo-frame {
    width: 74px;
    height: 74px;
  }

  .brand-text strong {
    font-size: 0.98rem;
  }

  .brand-text span {
    font-size: 0.84rem;
  }

  .language-toggle {
    font-size: 0.68rem;
    gap: 0.18rem;
  }

  .language-toggle a {
    padding-inline: 0.08rem;
  }

  .hero,
  .page-hero {
    text-align: left;
  }

  .hero-lead,
  .page-hero p:not(.eyebrow) {
    font-size: 1.02rem;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .contact-list div {
    grid-template-columns: 4.8rem minmax(0, 1fr);
  }

  .card-grid.three,
  .card-grid.six,
  .pill-grid,
  .mini-card-row,
  .tech-board,
  .metric-row,
  .task-list {
    grid-template-columns: 1fr;
  }

  .bar-chart {
    height: 130px;
  }

  .cta-section {
    padding-bottom: 72px;
  }
}

@media (max-width: 380px) {
  .brand-logo-frame {
    width: 62px;
    height: 62px;
  }

  .brand {
    gap: 0.55rem;
  }

  .brand-text {
    gap: 0.25rem;
  }

  .brand-text strong {
    font-size: 0.78rem;
  }

  .brand-text span {
    font-size: 0.64rem;
  }

  .language-toggle {
    font-size: 0.6rem;
  }
}
