:root {
  --ink: #102027;
  --muted: #52636b;
  --line: #d8e0e3;
  --panel: #ffffff;
  --surface: #f5f8f8;
  --brand: #0f766e;
  --brand-dark: #0b4f4a;
  --accent: #c9862b;
  --accent-soft: #fff1dc;
  --shadow: 0 24px 70px rgba(16, 32, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 224, 227, 0.82);
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 64px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

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

.brand-mark {
  align-items: center;
  background: var(--brand);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 0.82rem;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: 24px;
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a {
  color: #263b43;
}

.nav-cta {
  background: var(--ink);
  border-radius: 8px;
  color: #fff !important;
  padding: 10px 16px;
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  padding: 8px;
  width: 42px;
}

.nav-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 6px 0;
  width: 24px;
}

.hero {
  min-height: 92vh;
  overflow: hidden;
  position: relative;
}

.slide {
  background-image: var(--slide-image);
  background-position: center;
  background-size: cover;
  inset: 0;
  position: absolute;
  transform: translateX(100%);
  transition: transform 720ms ease;
  visibility: visible;
  z-index: 1;
}

.slide.is-active {
  transform: translateX(0);
  z-index: 3;
}

.slide.is-leaving {
  transform: translateX(-100%);
  z-index: 2;
}

.hero-slider.is-reversing .slide {
  transform: translateX(-100%);
}

.hero-slider.is-reversing .slide.is-active {
  transform: translateX(0);
}

.hero-slider.is-reversing .slide.is-leaving {
  transform: translateX(100%);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(7, 22, 27, 0.9) 0%, rgba(7, 22, 27, 0.7) 42%, rgba(7, 22, 27, 0.24) 100%);
  inset: 0;
  position: absolute;
}

.hero-content {
  color: #fff;
  max-width: 780px;
  padding: 176px clamp(20px, 6vw, 76px) 96px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd184;
}

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

h1 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 24px;
  max-width: 900px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: 0;
  line-height: 1.05;
  margin-bottom: 20px;
}

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

.hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.24rem);
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.slider-control {
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  bottom: 92px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 2rem;
  height: 48px;
  justify-content: center;
  position: absolute;
  width: 48px;
  z-index: 5;
}

.slider-control.prev {
  right: 136px;
}

.slider-control.next {
  right: 76px;
}

.slider-dots {
  bottom: 54px;
  display: flex;
  gap: 10px;
  position: absolute;
  right: 76px;
  z-index: 5;
}

.slider-dots button {
  background: rgba(255, 255, 255, 0.42);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 10px;
  padding: 0;
  width: 10px;
}

.slider-dots button.is-active {
  background: #fff;
  width: 30px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 850;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
}

.button.primary {
  background: var(--brand);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

section {
  padding: 88px clamp(20px, 6vw, 76px);
}

.intro-section,
.why-section,
.next-pages-section,
.article-section {
  background: #fff;
}

.section-grid {
  display: grid;
  gap: clamp(28px, 6vw, 88px);
  grid-template-columns: minmax(240px, 0.78fr) minmax(280px, 1.22fr);
  margin: 0 auto;
  max-width: 1180px;
}

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

.prose p:last-child {
  margin-bottom: 0;
}

.services-section {
  background:
    linear-gradient(180deg, rgba(15, 118, 110, 0.08), rgba(245, 248, 248, 0)),
    var(--surface);
}

.section-heading {
  margin: 0 auto 36px;
  max-width: 900px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  margin-left: auto;
  margin-right: auto;
  max-width: 680px;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.service-preview-list {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.service-preview {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(16, 32, 39, 0.05);
  min-height: 188px;
  padding: 22px;
}

.service-preview strong,
.service-preview span {
  display: block;
}

.service-preview strong {
  font-size: 1.02rem;
  line-height: 1.25;
  margin-bottom: 12px;
}

.service-preview span {
  color: var(--muted);
  font-size: 0.94rem;
}

.service-list {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(16, 32, 39, 0.06);
  grid-column: span 2;
  padding: 28px;
}

.service-card.wide {
  grid-column: 2 / span 2;
}

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

.service-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.service-icon {
  align-items: center;
  background: var(--accent-soft);
  border-radius: 8px;
  color: var(--brand-dark);
  display: inline-flex;
  height: 48px;
  justify-content: center;
  margin-bottom: 20px;
  width: 48px;
}

.service-icon svg {
  fill: none;
  height: 26px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 26px;
}

.proof-row {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin: 56px auto 0;
  max-width: 1180px;
  overflow: hidden;
}

.proof-row div {
  background: var(--brand-dark);
  color: #fff;
  min-height: 150px;
  padding: 28px;
}

.proof-row strong,
.proof-row span {
  display: block;
}

.proof-row strong {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.proof-row span {
  color: rgba(255, 255, 255, 0.76);
}

.split-links {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.split-link {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 240px;
  overflow: hidden;
  padding: 30px;
  position: relative;
}

.split-link::before {
  background-position: center;
  background-size: cover;
  content: "";
  inset: 0;
  opacity: 0.14;
  position: absolute;
}

.why-link::before {
  background-image: url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1200&q=80");
}

.contact-link::before {
  background-image: url("https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=1200&q=80");
}

.split-link > * {
  display: block;
  position: relative;
}

.split-link strong {
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 14px;
  max-width: 540px;
}

.split-link span:last-child {
  color: var(--muted);
  max-width: 560px;
}

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

.contact-panel {
  align-items: start;
  display: grid;
  gap: clamp(32px, 6vw, 72px);
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
  margin: 0 auto;
  max-width: 1180px;
}

.contact-copy {
  color: #fff;
  padding-top: 12px;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.04rem;
}

.contact-form {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

label {
  color: #263b43;
  display: grid;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 7px;
}

input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 11px 12px;
  width: 100%;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.16);
  outline: 0;
}

.form-note {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0;
}

.site-footer {
  align-items: center;
  background: #07161b;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  justify-content: space-between;
  padding: 22px clamp(20px, 6vw, 76px);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
}

.page-hero {
  background-position: center;
  background-size: cover;
  min-height: 58vh;
  overflow: hidden;
  padding-bottom: 88px;
  padding-top: 160px;
  position: relative;
}

.services-hero {
  background-image: url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=2200&q=80");
}

.why-hero {
  background-image: url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=2200&q=80");
}

.contact-hero {
  background-image: url("https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=2200&q=80");
}

.page-hero-overlay {
  background: linear-gradient(90deg, rgba(7, 22, 27, 0.9), rgba(7, 22, 27, 0.52));
  inset: 0;
  position: absolute;
}

.page-hero-content {
  color: #fff;
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.page-hero-content .eyebrow {
  color: #ffd184;
}

.page-hero-content p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.14rem;
  max-width: 720px;
}

.service-detail-section {
  background: #fff;
}

.service-detail-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 auto 42px;
  max-width: 1180px;
}

.service-detail-nav a {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #263b43;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 10px 14px;
}

.service-detail {
  border-top: 1px solid var(--line);
  display: grid;
  gap: clamp(24px, 6vw, 76px);
  grid-template-columns: minmax(240px, 0.78fr) minmax(280px, 1.22fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: 52px 0;
  scroll-margin-top: 92px;
}

.service-detail:last-child {
  border-bottom: 1px solid var(--line);
}

.service-detail-heading {
  position: sticky;
  top: 104px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin-bottom: 0;
  padding-left: 22px;
}

.service-cta {
  align-items: center;
  background: var(--brand-dark);
  color: #fff;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.service-cta h2 {
  margin-bottom: 0;
  max-width: 780px;
}

.service-cta .eyebrow {
  color: #ffd184;
}

.article-body {
  color: var(--muted);
  column-gap: 48px;
  columns: 2 360px;
  font-size: 1.04rem;
  margin: 0 auto;
  max-width: 1180px;
}

.article-body p {
  break-inside: avoid;
}

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

  .main-nav {
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 10px 20px 22px;
    position: absolute;
    right: 0;
    top: 72px;
  }

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

  .main-nav a {
    padding: 12px 0;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .section-grid,
  .contact-panel,
  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail-heading {
    position: static;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

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

  .service-card,
  .service-card.wide {
    grid-column: auto;
  }

  .proof-row {
    grid-template-columns: 1fr;
  }

  .split-links {
    grid-template-columns: 1fr;
  }

  .service-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .brand span:last-child {
    max-width: 180px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(7, 22, 27, 0.88), rgba(7, 22, 27, 0.74));
  }

  .hero-content {
    padding: 132px 20px 64px;
  }

  .slider-control {
    bottom: 72px;
    height: 42px;
    width: 42px;
  }

  .slider-control.prev {
    left: 20px;
    right: auto;
  }

  .slider-control.next {
    left: 72px;
    right: auto;
  }

  .slider-dots {
    bottom: 34px;
    left: 20px;
    right: auto;
  }

  section {
    padding: 64px 20px;
  }

  .button {
    width: 100%;
  }

  .service-preview-list {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 52vh;
    padding-bottom: 64px;
    padding-top: 132px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
