:root {
  --orange: #f0781f;
  --orange-dark: #d96510;
  --navy: #1c2d4a;
  --navy-light: #2a3f63;
  --white: #ffffff;
  --gray-50: #f6f8fb;
  --gray-100: #e8edf4;
  --gray-600: #5c6b7d;
  --gray-900: #1a2332;
  --shadow: 0 12px 40px rgba(28, 45, 74, 0.12);
  --radius: 12px;
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--orange-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-100);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--navy), var(--navy-light));
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.logo-mark::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 6px;
  right: 6px;
  height: 6px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  border-bottom: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--navy);
}

.logo-text span {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--gray-600);
  text-transform: uppercase;
}

.nav-desktop {
  display: none;
  gap: 1.25rem;
  align-items: center;
}

.nav-desktop a {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-desktop a:not(.btn):hover {
  color: var(--orange);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

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

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: 1rem;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .nav-mobile {
    display: none !important;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, var(--orange) 0%, #e86a12 38%, #c45a18 52%, var(--navy-light) 68%, var(--navy) 100%);
  color: var(--white);
  padding: 3.5rem 0 4.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 78% 45%, rgba(255, 255, 255, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(28, 45, 74, 0.35) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-content {
  max-width: 38rem;
}

.hero-art {
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  opacity: 0.95;
}

.hero-art svg,
.hero-art img,
.hero-art object {
  width: 100%;
  height: auto;
  display: block;
  max-height: 340px;
}

.hero-diagram {
  overflow: visible;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
}

.hero-lead {
  font-size: 1.05rem;
  opacity: 0.95;
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.tag {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.hero-actions .btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}


.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-trust strong {
  display: block;
  font-size: 1.25rem;
}

.hero-trust span {
  font-size: 0.75rem;
  opacity: 0.9;
}

.page-hero {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  padding: 2.25rem 0 2.5rem;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  color: var(--navy);
}

.page-hero .lead {
  margin: 0;
  max-width: 42rem;
  color: var(--gray-600);
  font-size: 1.05rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 0.75rem;
}

.breadcrumb a {
  color: var(--navy);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--orange);
}

.nav-desktop a.active:not(.btn),
.nav-mobile a.active {
  color: var(--orange);
  font-weight: 600;
}

.nav-desktop a.btn-primary,
.nav-desktop a.btn-primary:hover,
.nav-desktop a.btn-primary.active {
  color: var(--white);
}

.nav-desktop a.btn-primary.active {
  background: var(--orange-dark);
  box-shadow: inset 0 0 0 2px var(--navy);
}

.prose {
  max-width: 46rem;
  color: var(--gray-600);
}

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

.prose h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.prose h3 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

.detail-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.detail-block {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.detail-block h2 {
  margin-top: 0;
  color: var(--navy);
  font-size: 1.2rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--gray-600);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

.process-steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  padding: 2.5rem 0;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
}

.cta-band p {
  margin: 0 0 1.25rem;
  opacity: 0.9;
}

.cta-band .btn-primary {
  margin: 0 0.35rem;
}

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.card-link:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.card-link:hover .service-card {
  border-color: var(--orange);
}

.card-link .more {
  color: var(--orange-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 0.75rem;
  display: inline-block;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
}

.market-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.market-card h3 {
  margin: 0 0 0.5rem;
  color: var(--navy);
  font-size: 1.05rem;
}

.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.data-table th,
.data-table td {
  border: 1px solid var(--gray-100);
  padding: 0.65rem 0.75rem;
  text-align: left;
}

.data-table th {
  background: var(--gray-50);
  color: var(--navy);
}

@media (max-width: 899px) {
  .hero-layout {
    grid-template-areas:
      "copy"
      "art";
  }

  .hero-content {
    grid-area: copy;
  }

  .hero-art {
    grid-area: art;
    max-width: 100%;
    opacity: 1;
    margin-top: -0.5rem;
  }

  .hero-art svg {
    max-height: 260px;
  }

  .hero-trust {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}

@media (min-width: 900px) {
  .hero {
    padding: 4rem 0 5rem;
  }

  .hero-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .hero-art {
    max-width: none;
    justify-self: end;
    align-self: center;
  }

  .hero-art svg {
    max-height: 380px;
  }
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--gray-50);
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
}

.section-head p {
  margin: 0;
  color: var(--gray-600);
}

/* Services */
.services-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}

.service-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.service-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.service-card li + li {
  margin-top: 0.35rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Training */
.training-layout {
  display: grid;
  gap: 2rem;
}

.training-highlights {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.stat {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--orange);
}

.stat span {
  font-size: 0.85rem;
  color: var(--gray-600);
}

.training-details {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.training-details h3 {
  margin-top: 0;
  color: var(--navy);
}

.training-details ol {
  padding-left: 1.2rem;
  color: var(--gray-600);
}

@media (min-width: 900px) {
  .training-layout {
    grid-template-columns: 1fr 1.4fr;
    align-items: start;
  }
}

/* Regions */
.regions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.region-pill {
  background: var(--white);
  border: 1px solid var(--gray-100);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 500;
}

/* Team */
.team-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.team-card h3 {
  margin: 0 0 0.25rem;
  color: var(--navy);
}

.team-card .role {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.form-card h3 {
  margin-top: 0;
  color: var(--navy);
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .form-row.two-col {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  font: inherit;
  background: var(--gray-50);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--orange);
  border-color: transparent;
  background: var(--white);
}

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

.field {
  margin-bottom: 1rem;
}

.form-note {
  font-size: 0.82rem;
  color: var(--gray-600);
  margin-top: 0.75rem;
}

.field-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-flash-section {
  padding: 0 0 1.5rem;
}

.contact-flash-section.is-success {
  background: linear-gradient(180deg, #e8f6ee 0%, var(--white) 100%);
}

.contact-flash-section.is-error {
  background: linear-gradient(180deg, #fef2f2 0%, var(--white) 100%);
}

.contact-flash {
  margin: 0;
  padding: 1.15rem 1.35rem;
  font-size: 1.05rem;
  line-height: 1.55;
  border-radius: var(--radius);
  border: 1px solid transparent;
  box-shadow: 0 4px 16px rgba(28, 45, 74, 0.06);
}

.contact-flash-section.is-success .contact-flash {
  background: #e8f6ee;
  color: #14532d;
  border-color: #86efac;
}

.contact-flash-section.is-error .contact-flash {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

.contact-flash-text {
  margin: 0;
  font-weight: 500;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-grid h4 {
  margin: 0 0 0.5rem;
  color: var(--white);
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1rem;
  font-size: 0.85rem;
  text-align: center;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.status-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.status-available {
  background: #e8f6ee;
  color: #1d6b40;
}

.status-building {
  background: #fff4e6;
  color: #9a5b10;
}

.status-future {
  background: var(--gray-100);
  color: var(--gray-600);
}

.notice-banner {
  background: #fff8f0;
  border: 1px solid #f0d4b0;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: var(--navy);
  margin: 0;
}

.integrated-grid {
  display: grid;
  gap: 1.5rem;
}

.integrated-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.integrated-card h2 {
  margin-top: 0;
  color: var(--navy);
  font-size: 1.25rem;
}

.integrated-card h3 {
  font-size: 0.95rem;
  color: var(--orange-dark);
  margin-bottom: 0.35rem;
}

.integrated-for {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.org-chart {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.org-chart li {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.org-chart strong {
  color: var(--navy);
}

@media (min-width: 900px) {
  .integrated-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.pillar-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .pillar-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  height: 100%;
}

.pillar-card h2 {
  margin-top: 0;
  color: var(--navy);
}

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