:root {
  --navy: #0f2a36;
  --navy-2: #17313c;
  --teal: #4c8ba0;
  --gold: #bf9140;
  --gold-2: #f1d79d;
  --cream: #fbfaf6;
  --mist: #eef3f2;
  --white: #ffffff;
  --gray: #60737b;
  --line: rgba(15, 42, 54, 0.12);
  --shadow: 0 18px 50px rgba(15, 42, 54, 0.12);
  --radius: 8px;
  --focus: 0 0 0 4px rgba(191, 145, 64, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--navy-2);
  background: var(--cream);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

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

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 999;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

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

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

.top-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 2px solid var(--gold);
  font-size: 0.88rem;
}

.top-bar .container {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-bar a {
  color: var(--gold-2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 246, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 42, 54, 0.08);
}

.nav-row {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 158px;
  max-height: 76px;
  object-fit: contain;
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  border-radius: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 650;
  color: var(--navy);
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--mist);
  color: var(--gold);
}

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding-inline: 20px !important;
}

.nav-cta:hover,
.nav-cta.active {
  background: var(--gold) !important;
  color: var(--navy) !important;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(15, 42, 54, 0.94), rgba(23, 49, 60, 0.78)),
    url("../images/logo-transparent.png") right 8% center / min(46vw, 520px) no-repeat,
    var(--navy);
  color: var(--white);
}

.hero-inner {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr);
  gap: 44px;
  align-items: center;
  padding: 80px 0;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
.page-title {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.page-title {
  font-size: clamp(2.3rem, 4.6vw, 4.2rem);
}

.section-title {
  margin: 10px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.gold {
  color: var(--gold);
}

.lead {
  max-width: 720px;
  color: var(--gray);
  font-size: 1.08rem;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.18rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 10px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 12px 28px rgba(191, 145, 64, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.hero-card,
.panel,
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 32px;
  color: var(--navy);
}

.hero-card img {
  width: 230px;
  margin: 0 auto 18px;
}

.trust-list,
.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.trust-list li,
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--gray);
}

.trust-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
}

.section {
  padding: 84px 0;
}

.section.soft {
  background: var(--mist);
}

.section.white {
  background: var(--white);
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

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

.card {
  padding: 26px;
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  color: var(--navy);
}

.card p {
  margin-bottom: 0;
  color: var(--gray);
}

.stat {
  padding: 24px;
  border-left: 3px solid var(--gold);
  background: var(--white);
  border-radius: var(--radius);
}

.stat strong {
  display: block;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--navy);
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
}

.page-hero {
  padding: 74px 0;
  background: linear-gradient(120deg, var(--navy), #244d5c);
  color: var(--white);
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

.crumbs {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.crumbs a {
  color: var(--gold-2);
}

.service-list {
  display: grid;
  gap: 20px;
}

.service-detail {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 20px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.portfolio-media {
  min-height: 170px;
  background: linear-gradient(135deg, rgba(76, 139, 160, 0.22), rgba(191, 145, 64, 0.22)), var(--mist);
  display: grid;
  place-items: center;
  color: var(--navy);
  font-weight: 850;
}

.portfolio-card .card-body {
  padding: 24px;
}

.form-card {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.form-group {
  margin-bottom: 18px;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--navy);
  padding: 12px 14px;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: var(--focus);
}

.field-error {
  display: block;
  min-height: 18px;
  margin-top: 4px;
  color: #9f2626;
  font-size: 0.8rem;
}

.form-status {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--navy);
}

.form-status:empty {
  display: none;
}

.career-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.career-tab {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
}

.career-tab.active {
  background: var(--navy);
  color: var(--white);
}

.career-panel {
  display: none;
}

.career-panel.active {
  display: block;
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-item {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
}

.map-panel {
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, rgba(15, 42, 54, 0.88), rgba(76, 139, 160, 0.72)), var(--navy);
  color: var(--white);
  border-radius: var(--radius);
}

.site-footer {
  background: #0b202a;
  color: rgba(255, 255, 255, 0.7);
  border-top: 2px solid var(--gold);
  padding: 42px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 30px;
}

.footer-logo {
  width: 156px;
  margin-bottom: 10px;
  filter: brightness(0) invert(1) opacity(0.92);
}

.footer-title {
  color: var(--white);
  margin-bottom: 10px;
  font-weight: 850;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--gold-2);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.45);
}

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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

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