:root {
  --ink: #15242f;
  --navy: #173142;
  --teal: #167a72;
  --gold: #d6a83b;
  --paper: #ffffff;
  --mist: #f4f7f6;
  --line: #dbe4e2;
  --muted: #5f6f76;
  --focus: #f0c75e;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--teal);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 10px 28px rgba(15, 36, 48, 0.13);
}

.site-nav {
  background: var(--navy);
  padding: 0.75rem 0;
}

.brand-stack {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  max-width: min(340px, 62vw);
  white-space: normal;
}

.site-brand-logo-frame {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(7, 20, 30, 0.18);
  display: inline-flex;
  flex: 0 0 58px;
  height: 58px;
  justify-content: center;
  overflow: hidden;
  width: 58px;
}

.site-brand-logo {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.site-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.04rem;
  min-width: 0;
}

.brand-stack .site-brand-title {
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.15;
}

.brand-stack .site-brand-subtitle {
  color: #dce9e7;
  display: block;
  font-size: 0.78rem;
  line-height: 1.2;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 650;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: #fff;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.5rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 800;
}

.language-switch a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.language-switch a.active {
  color: var(--gold);
}

.nav-cta {
  margin-left: 0.5rem;
}

.btn {
  border-radius: 8px;
  font-weight: 800;
  padding: 0.75rem 1rem;
}

.btn-sm {
  padding: 0.52rem 0.75rem;
}

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #1c2327;
}

.btn-gold:hover,
.btn-gold:focus {
  background: #c5962d;
  border-color: #c5962d;
  color: #0e171b;
}

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

.btn-outline-dark {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
  background: var(--navy);
  border-color: var(--navy);
}

.hero-section,
.page-hero {
  color: #fff;
  background-image: linear-gradient(90deg, rgba(21, 36, 47, 0.9), rgba(21, 36, 47, 0.7), rgba(22, 122, 114, 0.32)), url("/images/field-service-preview.png");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 7rem 0 8rem;
}

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

.hero-logo {
  display: block;
  width: min(180px, 46vw);
  max-height: 92px;
  object-fit: contain;
  margin-bottom: 1rem;
  padding: 0.45rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.hero-section h1,
.page-hero h1 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  line-height: 1.02;
  font-weight: 850;
}

.hero-subtitle,
.page-hero p {
  max-width: 760px;
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.17rem;
}

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
}

.hero-actions,
.button-row,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.6rem;
}

.compact-hero,
.software-hero,
.form-hero,
.service-detail-hero {
  padding: 6rem 0 4.5rem;
}

.eyebrow {
  margin-bottom: 0.7rem;
  color: var(--gold);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.82rem;
}

.section-band {
  padding: 4.5rem 0;
}

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

.section-dark {
  background: var(--navy);
  color: #fff;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 1.5rem;
}

.section-heading h2,
.split-section h2,
.cta-panel h2,
.note-grid h2,
.legal-content h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
  font-size: clamp(1.8rem, 3.8vw, 3rem);
}

.section-dark h2 {
  color: #fff;
}

.card-grid,
.feature-grid,
.plan-grid,
.workflow-grid,
.access-grid,
.audience-grid {
  display: grid;
  gap: 1rem;
}

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

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

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

.service-card,
.feature-card,
.plan-card,
.access-card,
.contact-panel,
.form-shell,
.software-panel,
.cta-panel,
.note-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.35rem;
  box-shadow: 0 15px 35px rgba(18, 44, 55, 0.08);
}

.service-card h2,
.service-card h3,
.feature-card h3,
.plan-card h2,
.access-card h2 {
  margin: 0.4rem 0 0.55rem;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 850;
}

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

.service-category,
.plan-audience {
  display: inline-flex;
  color: var(--teal);
  font-weight: 850;
  font-size: 0.86rem;
}

.section-action {
  margin-top: 1.5rem;
}

.split-section,
.detail-grid,
.note-grid,
.contact-grid,
.trust-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: center;
}

.software-panel {
  min-height: 320px;
  background: #112b38;
  color: #fff;
}

.panel-bar {
  width: 100%;
  height: 12px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  margin-bottom: 1.5rem;
}

.panel-list {
  display: grid;
  gap: 0.7rem;
}

.panel-list span {
  padding: 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-weight: 750;
}

.workflow-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
}

.workflow-step span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 850;
  margin-bottom: 0.7rem;
}

.trust-badges,
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.trust-badges span,
.category-strip span,
.audience-grid span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  background: #fff;
  color: var(--ink);
  font-weight: 750;
}

.section-dark .trust-badges span {
  border-color: rgba(255, 255, 255, 0.2);
}

.feature-card span {
  display: inline-flex;
  width: 2.4rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(22, 122, 114, 0.12);
  color: var(--teal);
  font-weight: 900;
}

.check-list {
  padding-left: 1.2rem;
  margin: 1rem 0 0;
}

.check-list li {
  margin-bottom: 0.55rem;
}

.form-shell {
  max-width: 960px;
}

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

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

.public-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 750;
}

.public-form .form-control,
.public-form .form-select {
  border-radius: 8px;
  border-color: #cbd8d5;
  min-height: 2.8rem;
}

.honeypot {
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

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

.contact-panel {
  display: grid;
  gap: 1rem;
}

.contact-details {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
}

.cta-panel {
  text-align: center;
}

.legal-content {
  max-width: 900px;
}

.legal-content h2 {
  margin-top: 2rem;
  font-size: 1.45rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.site-footer {
  background: #101d26;
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 1.4rem;
}

.footer-grid strong,
.footer-grid span {
  display: block;
  color: #fff;
  font-weight: 850;
  margin-bottom: 0.65rem;
}

.footer-grid a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  margin-bottom: 0.35rem;
}

.footer-grid a:hover,
.footer-grid a:focus {
  color: #fff;
}

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

@media (max-width: 992px) {
  .card-grid,
  .feature-grid,
  .plan-grid,
  .workflow-grid,
  .access-grid,
  .audience-grid,
  .footer-grid,
  .split-section,
  .detail-grid,
  .note-grid,
  .contact-grid,
  .trust-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.75rem;
  }

  .brand-stack {
    max-width: calc(100% - 4rem);
  }
}

@media (max-width: 640px) {
  .site-nav {
    padding: 0.58rem 0;
  }

  .brand-stack {
    gap: 0.58rem;
    max-width: calc(100% - 4.2rem);
  }

  .site-brand-logo-frame {
    flex-basis: 46px;
    height: 46px;
    width: 46px;
  }

  .brand-stack .site-brand-title {
    font-size: 0.92rem;
  }

  .brand-stack .site-brand-subtitle {
    font-size: 0.7rem;
  }

  .hero-overlay {
    min-height: 760px;
    padding: 5rem 0 5.5rem;
  }

  .hero-section h1,
  .page-hero h1 {
    font-size: 2.45rem;
  }

  .card-grid,
  .feature-grid,
  .plan-grid,
  .workflow-grid,
  .access-grid,
  .audience-grid,
  .footer-grid,
  .split-section,
  .detail-grid,
  .note-grid,
  .contact-grid,
  .trust-section,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section-band {
    padding: 3rem 0;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
