:root {
  --ink: #172321;
  --muted: #5f6d67;
  --teal: #0d5b58;
  --teal-dark: #083c3a;
  --brass: #c49b57;
  --steel: #63716d;
  --paper: #f7f6f1;
  --white: #ffffff;
  --line: rgba(23, 35, 33, 0.12);
  --shadow: 0 24px 70px rgba(8, 60, 58, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

picture {
  display: block;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(240, 201, 121, 0.48);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 16px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: rgba(8, 31, 30, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.brand-name img {
  width: auto;
  height: 28px;
  max-width: min(42vw, 440px);
}

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

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

.site-nav a {
  opacity: 0.86;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: transparent;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

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

.hero-slider,
.hero-slider .swiper-wrapper,
.hero-slider .swiper-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slider picture,
.hero-slider img {
  width: 100%;
  height: 100%;
}

.hero-slider img {
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 28, 27, 0.92), rgba(5, 28, 27, 0.54) 45%, rgba(5, 28, 27, 0.2)),
    linear-gradient(0deg, rgba(5, 28, 27, 0.32), transparent 42%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
  padding-top: 74px;
}

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

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 5.4vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: 0;
}

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

h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.hero-copy {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

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

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.button.primary {
  color: #11201e;
  background: #f0c979;
}

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

.swiper-pagination-bullet {
  background: var(--white);
  opacity: 0.55;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--brass);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.metrics div {
  position: relative;
  overflow: hidden;
  background: var(--white);
  padding: clamp(24px, 4vw, 42px) clamp(20px, 4vw, 56px);
}

.metrics div::after {
  content: "";
  position: absolute;
  inset: auto 24px 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brass), var(--teal), var(--steel));
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 320ms ease;
}

.metrics div:hover::after {
  transform: scaleX(1);
}

.metrics strong {
  display: block;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1;
  margin-bottom: 8px;
}

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

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 6vw, 88px);
}

.about,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(38px, 7vw, 88px);
  align-items: start;
}

.section-copy p,
.contact-copy p {
  color: var(--muted);
  max-width: 680px;
}

.value-list {
  display: grid;
  gap: 18px;
}

.value-list article,
.service-grid article,
.method-timeline article,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.value-list article {
  padding: 26px;
}

.motion-card {
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.motion-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 18%) var(--my, 0%), rgba(13, 91, 88, 0.12), transparent 34%);
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.motion-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 56%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg);
  transition: left 520ms ease;
  pointer-events: none;
}

.motion-card:hover {
  transform: translateY(-8px);
  border-color: var(--line);
  outline: none;
  box-shadow: 0 28px 78px rgba(8, 60, 58, 0.18);
}

.motion-card:focus,
.motion-card:focus-within {
  outline: none;
  border-color: var(--line);
}

.motion-card:hover::before {
  opacity: 1;
}

.motion-card:hover::after {
  left: 128%;
}

.card-kicker,
.service-tag,
.method-timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(13, 91, 88, 0.1);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.value-list p,
.service-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.services {
  background: var(--teal-dark);
  color: var(--white);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

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

.service-grid article {
  color: var(--ink);
  padding: 30px;
  min-height: 220px;
}

.method {
  background:
    linear-gradient(180deg, #f7f6f1 0%, #ffffff 100%);
}

.method-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: steps;
}

.method-timeline article {
  min-height: 260px;
  padding: 30px;
}

.method-timeline h3 {
  font-size: 1.35rem;
}

.method-timeline p {
  color: var(--muted);
  margin-bottom: 0;
}

.contact {
  background: linear-gradient(180deg, #ffffff 0%, #f5f1e8 100%);
}

.contact-form {
  padding: clamp(24px, 4vw, 38px);
}

.contact-panel {
  transform-origin: center bottom;
  opacity: 0;
  transform: translate3d(0, 58px, 0) scale(0.96);
  filter: blur(8px);
  transition: opacity 760ms ease, transform 760ms cubic-bezier(0.16, 1, 0.3, 1), filter 760ms ease;
}

.contact-panel.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

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

.form-row.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  margin-bottom: 7px;
  font-weight: 800;
  font-size: 0.88rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(23, 35, 33, 0.18);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fbfaf6;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(196, 155, 87, 0.24);
  border-color: var(--brass);
}

textarea {
  resize: vertical;
}

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

.submit-button {
  width: 100%;
  border: 0;
}

.form-status {
  min-height: 24px;
  margin: 16px 0 0;
  font-weight: 700;
}

.form-status.error {
  color: #a33d2d;
}

.form-status.success {
  color: var(--teal);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 6vw, 88px);
  color: rgba(255, 255, 255, 0.8);
  background: #10201e;
}

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

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

  .site-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 20px 24px;
    background: rgba(8, 31, 30, 0.96);
  }

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

  .site-nav a {
    width: 100%;
    padding: 14px 0;
  }

  .metrics,
  .about,
  .contact,
  .service-grid,
  .method-timeline {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    margin: 0 auto;
  }
}

@media (max-width: 620px) {
  .brand-name img {
    height: 20px;
    max-width: 250px;
  }

  .hero-actions,
  .form-row.split,
  .site-footer {
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .motion-card:hover,
  .button:hover {
    transform: none;
  }
}
