:root {
  --bg: #ffffff;
  --bg-soft: #f4f7f5;
  --bg-tint: #edf4f0;
  --text: #12201b;
  --text-soft: #4f5f58;
  --muted: #78847f;
  --line: #dbe4df;
  --accent: #245b47;
  --accent-dark: #14372b;
  --accent-soft: #dcece5;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(18, 32, 27, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

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

.section-shell {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 76px;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(219, 228, 223, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--accent-dark);
  color: var(--white);
  font-size: 20px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-copy {
  display: grid;
  gap: 1px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
}

.brand-copy small {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 680;
  text-decoration: none;
  border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: var(--bg-soft);
  outline: none;
}

.site-nav .nav-cta {
  color: var(--white);
  background: var(--accent);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: var(--white);
  background: var(--accent-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  gap: 64px;
  align-items: center;
  padding: 54px 0 62px;
}

.hero-content {
  min-width: 0;
  max-width: 670px;
}

.hero h1,
.intro-grid h2,
.section-heading h2,
.split-copy h2,
.about-copy h2,
.contact-copy h2 {
  margin: 0;
  color: var(--text);
  font-weight: 780;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  font-size: 64px;
  max-width: 650px;
}

.hero-lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--text-soft);
  font-size: 19px;
  line-height: 1.72;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 740;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-primary {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  outline: none;
}

.button-secondary {
  color: var(--text);
  background: var(--white);
  border-color: var(--line);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: #bdcbc4;
  background: var(--bg-soft);
  outline: none;
}

.quick-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.quick-contact a,
.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.quick-contact a:hover,
.contact-list a:hover {
  color: var(--accent-dark);
}

.quick-contact svg,
.contact-list svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.hero-media {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 48% center;
}

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

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  padding: 86px 0;
}

.section-index {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 780;
}

.intro-grid h2,
.section-heading h2,
.split-copy h2,
.about-copy h2,
.contact-copy h2 {
  font-size: 44px;
}

.intro-copy {
  display: grid;
  gap: 18px;
  max-width: 640px;
}

.intro-copy p,
.split-copy p,
.about-copy p,
.about-note p,
.contact-copy p,
.principle p {
  margin: 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.75;
}

.service-section {
  padding: 98px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 44px;
}

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

.principle {
  min-height: 240px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}

.principle-number {
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
}

.principle h3 {
  margin: 26px 0 12px;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0;
}

.split-section {
  padding: 96px 0;
  background: var(--accent-dark);
  color: var(--white);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.image-panel {
  height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0b1713;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% center;
  opacity: 1;
  filter: none;
}

.split-copy h2,
.split-copy p,
.split-copy .section-index {
  color: var(--white);
}

.split-copy p {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.fact-list {
  display: grid;
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.fact-list div {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.fact-list span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 720;
}

.fact-list strong {
  color: var(--white);
  font-size: 16px;
  font-weight: 720;
}

.about-section {
  display: grid;
  grid-template-columns: 1.05fr 0.75fr;
  gap: 76px;
  align-items: end;
  padding: 108px 0;
}

.about-copy {
  max-width: 720px;
}

.about-copy p {
  margin-top: 26px;
  font-size: 19px;
}

.about-note {
  padding: 30px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-section {
  padding: 96px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.72fr);
  gap: 72px;
  align-items: start;
}

.contact-copy p {
  max-width: 560px;
  margin-top: 24px;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 36px;
  font-style: normal;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 45px rgba(18, 32, 27, 0.08);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfdad4;
  border-radius: var(--radius);
  background: #fbfcfb;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}

.contact-form input {
  height: 46px;
  padding: 0 13px;
}

.contact-form textarea {
  min-height: 130px;
  padding: 12px 13px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  outline: 3px solid var(--accent-soft);
}

.contact-form .button {
  width: 100%;
}

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

.site-footer {
  padding: 26px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #0b1713;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.site-footer a {
  color: var(--white);
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}

@media (max-width: 960px) {
  .site-header {
    min-height: 70px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 70px;
    right: 18px;
    left: 18px;
    display: grid;
    gap: 4px;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    min-height: 46px;
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
    min-height: 0;
    padding: 48px 0 58px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-media,
  .hero-media img {
    min-height: 360px;
  }

  .intro-grid,
  .split-grid,
  .about-section,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .principle {
    min-height: 0;
  }

  .image-panel {
    height: 420px;
    order: 2;
  }

  .split-copy {
    order: 1;
  }

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

@media (max-width: 640px) {
  .section-shell {
    width: min(100% - 32px, var(--max));
  }

  .site-header {
    padding-right: 16px;
    padding-left: 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .brand-copy small {
    font-size: 11px;
  }

  .hero {
    gap: 24px;
    padding: 18px 0 28px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 15.5px;
    line-height: 1.58;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .quick-contact {
    display: none;
  }

  .hero-media {
    aspect-ratio: 2.25 / 1;
  }

  .button {
    width: 100%;
    min-height: 44px;
    padding: 0 10px;
    font-size: 13px;
  }

  .quick-contact a {
    min-height: 28px;
  }

  .intro-grid {
    padding: 62px 0;
  }

  .intro-grid h2,
  .section-heading h2,
  .split-copy h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: 32px;
    line-height: 1.08;
  }

  .service-section,
  .split-section,
  .about-section,
  .contact-section {
    padding: 68px 0;
  }

  .image-panel {
    height: 330px;
  }

  .fact-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .about-note,
  .contact-form {
    padding: 22px;
  }
}

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