:root {
  --bg: #0d0f10;
  --panel: #15181a;
  --text: #f5f3ec;
  --muted: #b9b2a5;
  --line: rgba(245, 243, 236, 0.16);
  --accent: #d5a64b;
  --accent-dark: #7f5c1c;
  --white: #ffffff;
  --black: #090a0b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.55;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(9, 10, 11, 0.88) 0%, rgba(9, 10, 11, 0.58) 44%, rgba(9, 10, 11, 0.78) 100%),
    linear-gradient(0deg, rgba(9, 10, 11, 0.9) 0%, rgba(9, 10, 11, 0.12) 42%),
    url("../content/assets/rotator/main.jpg") center / cover no-repeat;
}

.site-header {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  width: 148px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(245, 243, 236, 0.78);
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  transition: color 180ms ease;
}

.nav a:hover {
  color: var(--white);
}

.hero__content {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 13vh;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

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

.lead {
  max-width: 690px;
  margin-bottom: 30px;
  color: rgba(245, 243, 236, 0.82);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.lead--small {
  max-width: 520px;
  margin-bottom: 0;
  font-size: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(245, 243, 236, 0.32);
  border-radius: 4px;
  color: var(--text);
  background: rgba(245, 243, 236, 0.08);
  font-size: 14px;
  font-weight: 800;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--black);
}

.button--light {
  border-color: var(--accent);
  color: var(--black);
  background: var(--accent);
}

.button--light:hover {
  border-color: var(--text);
  background: var(--text);
}

.section {
  padding: 92px 0;
  background: var(--text);
  color: var(--black);
}

.section--dark {
  background: var(--bg);
  color: var(--text);
}

.split {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.copy {
  color: rgba(245, 243, 236, 0.78);
  font-size: 17px;
}

.copy p:last-child,
.services p:last-child,
.contact p:last-child,
.footer p {
  margin-bottom: 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

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

.services article {
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(9, 10, 11, 0.14);
  border-radius: 6px;
  background: var(--white);
}

.services p {
  color: #54514b;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 44px;
  align-items: center;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.footer {
  padding: 28px 0;
  color: #4b4a45;
  background: var(--text);
  font-size: 13px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer__logo {
  width: 112px;
}

@media (max-width: 780px) {
  .container,
  .hero__content,
  .site-header {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    min-height: 760px;
    background-position: 58% center;
  }

  .site-header {
    padding: 24px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
  }

  .hero__content {
    padding-bottom: 72px;
  }

  .section {
    padding: 64px 0;
  }

  .split,
  .services,
  .contact {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .services article {
    min-height: 0;
  }

  .contact__actions {
    justify-content: flex-start;
  }

  .button {
    width: 100%;
  }

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