:root {
  --ink: #101419;
  --muted: #5d6774;
  --line: #dbe1e8;
  --paper: #f7f9fb;
  --white: #ffffff;
  --teal: #0e8f9a;
  --teal-dark: #08616b;
  --gold: #c99b3b;
  --charcoal: #121820;
  --red: #a94545;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
  --shell: min(1480px, calc(100% - 64px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  padding: 0;
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.content-shell,
.nav-shell,
.footer-shell {
  width: var(--shell);
  margin-inline: auto;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 16px 50px rgba(13, 25, 38, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--charcoal);
  background: linear-gradient(135deg, #f4d27c, #b98a2f);
  border-radius: 8px;
  font-size: 0.8rem;
  box-shadow: 0 10px 30px rgba(201, 155, 59, 0.28);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav a {
  opacity: 0.84;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 68vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 92px 0 46px;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 13, 18, 0.91) 0%, rgba(10, 13, 18, 0.72) 42%, rgba(10, 13, 18, 0.14) 100%),
    linear-gradient(180deg, rgba(10, 13, 18, 0.35) 0%, rgba(10, 13, 18, 0.1) 54%, rgba(10, 13, 18, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content > * {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 5.4vw, 4.95rem);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 900px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.85rem, 3.4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  color: var(--charcoal);
  background: linear-gradient(135deg, #f3d27d, var(--gold));
  box-shadow: 0 18px 38px rgba(201, 155, 59, 0.25);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.intro-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.intro-shell {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.intro-item {
  min-height: 116px;
  padding: clamp(20px, 3vw, 30px);
  border-right: 1px solid var(--line);
}

.intro-item:last-child {
  border-right: 0;
}

.intro-item strong,
.intro-item span {
  display: block;
}

.intro-item strong {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.intro-item span {
  color: var(--muted);
}

.section,
.split-section,
.contact-section {
  padding: clamp(52px, 6vw, 86px) 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(26px, 3.5vw, 40px);
}

.section-heading p:not(.eyebrow),
.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.service-index {
  display: block;
  margin-bottom: 34px;
  color: var(--teal);
  font-weight: 800;
}

.service-card p,
.capability p,
.timeline-row p {
  color: var(--muted);
}

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

.split-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 72px);
}

.timeline {
  border-top: 1px solid var(--line);
}

.timeline-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-row span {
  color: var(--teal-dark);
  font-weight: 800;
}

.timeline-row p {
  margin-bottom: 0;
}

.dark-section {
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(14, 143, 154, 0.22), transparent 32%),
    linear-gradient(135deg, #101419, #1c232b 62%, #2a2419);
}

.dark-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.capability {
  min-height: 160px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.capability p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-section {
  background: var(--paper);
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: clamp(34px, 6vw, 72px);
  align-items: stretch;
}

.company-note {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.company-note strong,
.company-note span {
  display: block;
}

.company-note span {
  margin-top: 8px;
  color: var(--muted);
}

.company-note address {
  margin-top: 14px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.55;
}

.map-panel {
  min-height: 360px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  min-height: 312px;
  border: 0;
  border-radius: 6px;
}

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

.contact-form label {
  display: block;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #ccd4dd;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfcfd;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(14, 143, 154, 0.18);
  border-color: var(--teal);
}

.form-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--teal-dark);
  font-weight: 700;
}

.form-status.is-error {
  color: var(--red);
}

.site-footer {
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--charcoal);
  font-size: 0.92rem;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: start;
  column-gap: 24px;
  row-gap: 7px;
}

.site-footer strong,
.site-footer small {
  display: block;
}

.site-footer strong {
  color: var(--white);
  font-size: 1rem;
}

.footer-name {
  grid-column: 1;
  grid-row: 1;
}

.footer-phone {
  grid-column: 1;
  grid-row: 2;
}

.footer-phone,
.footer-privacy,
.footer-terms {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.footer-privacy,
.footer-terms {
  justify-self: end;
  color: var(--white);
}

.footer-privacy {
  grid-column: 3;
  grid-row: 1;
}

.footer-terms {
  grid-column: 3;
  grid-row: 2;
}

.copyright {
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
  align-self: baseline;
  color: var(--white);
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.site-footer a:hover {
  color: #f3d27d;
}

.legal-header {
  position: sticky;
}

.legal-page {
  padding: 54px 0 70px;
}

.legal-content {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.legal-content h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.legal-content h2 {
  margin-top: 30px;
  font-size: 1.28rem;
}

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

.legal-date {
  font-weight: 800;
}

@media (max-width: 1050px) {
  .service-grid,
  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 36px, 1120px);
  }

  .site-header {
    height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 80vh;
    padding: 94px 0 54px;
  }

  .hero-media {
    object-position: 64% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(10, 13, 18, 0.92) 0%, rgba(10, 13, 18, 0.78) 64%, rgba(10, 13, 18, 0.44) 100%),
      linear-gradient(180deg, rgba(10, 13, 18, 0.34) 0%, rgba(10, 13, 18, 0.28) 54%, rgba(10, 13, 18, 0.75) 100%);
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.1rem);
  }

  .intro-shell,
  .service-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .intro-item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .intro-item:last-child {
    border-bottom: 0;
  }

  .service-card {
    min-height: auto;
  }

  .service-index {
    margin-bottom: 36px;
  }

  .timeline-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-shell {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    row-gap: 8px;
  }

  .footer-name,
  .footer-phone,
  .footer-privacy,
  .footer-terms,
  .copyright {
    grid-column: auto;
    grid-row: auto;
  }

  .copyright {
    justify-self: start;
  }

  .footer-privacy,
  .footer-terms {
    justify-self: start;
  }

  .legal-content {
    padding: 28px;
  }
}
