:root {
  --ink: #12110f;
  --ink-2: #1c1a17;
  --paper: #ffffff;
  --paper-soft: #f6f4ef;
  --line: #ded6c7;
  --muted: #6f665a;
  --gold: #c89d48;
  --gold-strong: #d7ad55;
  --green: #0b6b4b;
  --shadow: 0 18px 42px rgba(18, 17, 15, 0.16);
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Tahoma, Arial, sans-serif;
  line-height: 1.8;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

svg {
  width: 1.2em;
  height: 1.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: rgba(18, 17, 15, 0.93);
  border-bottom: 1px solid rgba(200, 157, 72, 0.28);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  color: var(--gold-strong);
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: var(--gold-strong);
  border: 1px solid rgba(215, 173, 85, 0.55);
  border-radius: 8px;
}

.brand strong,
.brand span span {
  display: block;
  line-height: 1.2;
}

.brand strong {
  color: #fff;
  font-size: 19px;
}

.brand span span {
  margin-top: 2px;
  font-size: 18px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transition: width 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.header-action,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.header-action,
.btn-primary {
  color: #1b1710;
  background: linear-gradient(180deg, #e1bd6d, var(--gold));
  box-shadow: 0 12px 28px rgba(200, 157, 72, 0.25);
}

.header-call {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: none;
}

.btn-outline {
  color: #fff;
  background: rgba(18, 17, 15, 0.34);
  border-color: rgba(255, 255, 255, 0.52);
}

.header-action:hover,
.btn:hover,
.header-action:focus-visible,
.btn:focus-visible {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 760px;
  padding: 138px max(24px, calc((100vw - 1180px) / 2)) 86px;
  overflow: hidden;
  color: #fff;
  background: #15120f;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(270deg, rgba(18, 17, 15, 0.92) 0%, rgba(18, 17, 15, 0.72) 42%, rgba(18, 17, 15, 0.18) 100%),
    linear-gradient(0deg, rgba(18, 17, 15, 0.52), rgba(18, 17, 15, 0.06)),
    url("./assets/hero-office.jpg") center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(650px, 100%);
}

.hero h1 {
  margin: 0;
  max-width: 11ch;
  font-size: 74px;
  font-weight: 800;
  line-height: 1.12;
}

.hero-lead {
  margin: 24px 0 0;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 21px;
  font-weight: 700;
}

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

.section {
  padding: 78px 0;
}

.section-heading {
  width: var(--container);
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading p,
.about-copy > p:first-child,
.contact-info > p:first-child {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 16px;
  font-weight: 800;
}

.section-heading h2,
.about-copy h2,
.contact-info h2 {
  position: relative;
  margin: 0;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.32;
}

.section-heading h2::after,
.about-copy h2::after,
.contact-info h2::after {
  display: block;
  width: 58px;
  height: 2px;
  margin: 16px auto 0;
  background: var(--gold);
  content: "";
}

.about-copy h2::after,
.contact-info h2::after {
  margin-inline: 0 auto;
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  width: var(--container);
  margin: 0 auto;
}

.service-card {
  min-height: 254px;
  padding: 27px 18px 24px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  color: var(--gold);
}

.service-icon svg,
.why-grid svg {
  width: 42px;
  height: 42px;
  stroke-width: 1.5;
}

.service-card h3,
.why-grid h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.35;
}

.service-card p,
.why-grid p,
.about-copy p,
.contact-info p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 490px;
  background: var(--paper-soft);
}

.about-media {
  min-height: 490px;
}

.about-media img {
  height: 100%;
  object-fit: cover;
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px max(32px, calc((100vw - 1180px) / 2)) 56px 56px;
}

.about-copy p:not(:first-child) {
  margin-top: 22px;
  max-width: 660px;
  font-size: 18px;
}

.why-section {
  background: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: var(--container);
  margin: 0 auto;
}

.why-grid article {
  padding: 28px 38px;
  text-align: center;
  border-left: 1px solid var(--line);
}

.why-grid article:last-child {
  border-left: 0;
}

.why-grid span {
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--gold);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: 46px;
  padding: 74px max(24px, calc((100vw - 1180px) / 2));
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 17, 15, 0.97), rgba(31, 27, 21, 0.95)),
    radial-gradient(circle at 15% 20%, rgba(200, 157, 72, 0.22), transparent 32%);
}

.contact-info {
  align-self: center;
}

.contact-info h2 {
  max-width: 500px;
}

.contact-info h2::after {
  background: var(--gold);
}

.contact-info p:not(:first-child) {
  max-width: 580px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.contact-list svg {
  flex: 0 0 24px;
  color: var(--gold-strong);
}

.contact-call {
  width: fit-content;
  margin-top: 30px;
}

.booking-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(200, 157, 72, 0.38);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.booking-form h2 {
  margin: 0 0 2px;
  font-size: 26px;
  line-height: 1.35;
}

.booking-form label {
  display: grid;
  gap: 6px;
  color: #2b271f;
  font-size: 14px;
  font-weight: 800;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d7d0c2;
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
}

.booking-form textarea {
  resize: vertical;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--gold);
  outline: 3px solid rgba(200, 157, 72, 0.2);
}

.booking-form .btn {
  width: 100%;
  margin-top: 6px;
  border: 0;
  font-family: inherit;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 24px;
  color: #4a443c;
  text-align: center;
  background: #fff;
  border-top: 1px solid var(--line);
}

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

.footer-call {
  min-width: 190px;
}

.floating-call {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(11, 107, 75, 0.3);
}

.floating-call svg {
  width: 30px;
  height: 30px;
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .nav-links {
    display: none;
  }

  .header-action {
    justify-self: end;
  }

  .header-actions {
    justify-self: end;
  }

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

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

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

@media (max-width: 760px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 70px;
    padding: 10px 14px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
    gap: 9px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand span span {
    font-size: 15px;
  }

  .header-action {
    min-height: 42px;
    padding: 0 12px;
    font-size: 13px;
  }

  .header-booking {
    display: none;
  }

  .header-call {
    gap: 7px;
    min-width: 112px;
  }

  .hero {
    min-height: 690px;
    padding: 122px 18px 62px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(18, 17, 15, 0.58) 0%, rgba(18, 17, 15, 0.85) 52%, rgba(18, 17, 15, 0.96) 100%),
      url("./assets/hero-office.jpg") 58% center / cover no-repeat;
    transform: none;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 45px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading h2,
  .about-copy h2,
  .contact-info h2 {
    font-size: 30px;
  }

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

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

  .about-section {
    grid-template-columns: 1fr;
  }

  .about-media {
    min-height: 290px;
  }

  .about-copy {
    padding: 42px 18px;
  }

  .about-copy p:not(:first-child) {
    font-size: 16px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-grid article {
    padding: 26px 18px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .why-grid article:last-child {
    border-bottom: 0;
  }

  .contact-section {
    padding: 54px 18px;
  }

  .contact-call {
    width: 100%;
  }

  .booking-form {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
