:root {
  --orange: #e45a12;
  --orange-dark: #c44a0c;
  --steel: #2c333b;
  --ink: #16191d;
  --muted: #5c6570;
  --paper: #f4f1ec;
  --white: #fff;
  --line: #d8d4cc;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  color: var(--white);
  border-bottom: 3px solid var(--orange);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 96px;
  padding: 12px 0;
}

.brand {
  font-family: Oswald, Impact, sans-serif;
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-contacts {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
  min-width: 0;
}

.header-mail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.header-mail span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffd2b8;
}

.header-mail-link {
  color: var(--white);
  text-decoration: none;
  font-family: Oswald, Impact, sans-serif;
  font-size: clamp(26px, 4.2vw, 46px);
  line-height: 1;
  letter-spacing: 0.02em;
  border-bottom: 3px solid rgba(255, 210, 184, 0.65);
  word-break: break-all;
}

.header-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.header-phone {
  color: #ffd2b8;
  text-decoration: none;
  font-family: Oswald, Impact, sans-serif;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.header-phone:hover,
.header-mail-link:hover {
  color: #ffd2b8;
}

.header-mail-link:hover {
  color: #ffe6d6;
}

.header-address {
  margin: 0;
  font-size: 13px;
  opacity: 0.88;
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.nav a {
  text-decoration: none;
  opacity: 0.86;
}

.nav a:hover {
  opacity: 1;
  color: #ffd2b8;
}

.header-nav-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.header-delivery {
  margin: 0;
  font-family: Oswald, Impact, sans-serif;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffd2b8;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  color: var(--white);
  background: #111 url("../images/IMG_6712.png") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 18, 22, 0.35) 0%, rgba(16, 18, 22, 0.82) 100%);
}

.hero-inner {
  position: relative;
  padding: 80px 0 72px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 12px;
  background: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 18px;
  max-width: 16ch;
  font-family: Oswald, Impact, sans-serif;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.05;
  font-weight: 600;
  text-transform: uppercase;
}

.hero p {
  margin: 0 0 18px;
  max-width: 52ch;
  font-size: 18px;
  color: #ece8e2;
}

.hero-contacts {
  margin: 0 0 28px !important;
  font-weight: 600;
}

.hero-contacts a {
  color: #ffd2b8;
  text-decoration: none;
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  font-size: 16px;
}

.btn:hover {
  background: var(--orange-dark);
}

.btn-ghost {
  background: transparent;
  border: 1px solid #fff;
  margin-left: 10px;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.section {
  padding: 84px 0;
}

.section h2 {
  margin: 0 0 12px;
  font-family: Oswald, Impact, sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.lead {
  margin: 0 0 40px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 18px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.split img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.photo-pair img {
  height: 204px;
}

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

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

.card {
  background: var(--white);
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 22px;
}

.card h3 {
  margin: 0 0 10px;
  font-family: Oswald, Impact, sans-serif;
  font-size: 24px;
  text-transform: uppercase;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.advantages {
  background: var(--steel);
  color: var(--white);
}

.advantages .lead {
  color: #c9d0d6;
}

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

.adv {
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border-top: 4px solid var(--orange);
}

.adv strong {
  display: block;
  margin-bottom: 10px;
  font-family: Oswald, Impact, sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.adv p {
  margin: 0;
  color: #d5dbe0;
  font-size: 15px;
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 210px;
  gap: 10px;
}

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

.gallery img:first-child {
  grid-row: span 2;
  height: 100%;
}

.mail-block {
  background: var(--orange);
  color: var(--white);
}

.mail-block .wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.mail-block h2 {
  margin-bottom: 14px;
}

.mail-block p {
  margin: 0 0 18px;
  font-size: 18px;
}

.big-mail {
  font-family: Oswald, Impact, sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: 0.02em;
  color: var(--white);
  text-decoration: none;
  word-break: break-all;
}

.big-mail:hover {
  text-decoration: underline;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

form {
  display: grid;
  gap: 12px;
}

label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

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

.site-footer {
  background: var(--ink);
  color: #b8c0c8;
  padding: 28px 0;
  font-size: 14px;
}

.split p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 17px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 24px 20px 20px;
  background: var(--paper);
  border-top: 4px solid var(--orange);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 12px;
  font-family: Oswald, Impact, sans-serif;
  font-size: 28px;
  color: var(--orange);
}

.steps strong {
  display: block;
  margin-bottom: 8px;
  font-family: Oswald, Impact, sans-serif;
  font-size: 18px;
  text-transform: uppercase;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.docs {
  background: var(--paper);
}

.plain-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.plain-list li {
  margin-bottom: 8px;
}

.trust-aside {
  display: grid;
  gap: 12px;
}

.trust-aside article {
  padding: 22px;
  background: var(--white);
  border-left: 4px solid var(--orange);
}

.trust-aside h3 {
  margin: 0 0 8px;
  font-family: Oswald, Impact, sans-serif;
  font-size: 20px;
  text-transform: uppercase;
}

.trust-aside p {
  margin: 0;
  color: var(--muted);
}

.contacts-block {
  background: var(--paper);
}

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

.contact-cards article {
  padding: 24px;
  background: var(--white);
}

.contact-cards span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

.contact-cards p {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.contact-cards a {
  color: var(--ink);
  text-decoration: none;
}

.contact-cards a:hover {
  color: var(--orange);
}

.contacts-note {
  margin: 22px 0 0;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.footer-grid span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-grid strong {
  font-family: Oswald, Impact, sans-serif;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-grid p {
  margin: 8px 0 0;
}

.site-footer a {
  color: #ffd2b8;
}

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

  .header-nav-block {
    order: 3;
    flex-basis: 100%;
    align-items: flex-start;
  }

  .header-delivery {
    white-space: normal;
  }

  .header-inner {
    flex-wrap: wrap;
    min-height: auto;
    padding: 12px 0;
  }

  .header-contacts {
    order: -1;
    flex-basis: 100%;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .header-mail-link {
    font-size: clamp(24px, 7.5vw, 40px);
  }

  .header-phone {
    font-size: 18px;
  }

  .split,
  .cards,
  .adv-grid,
  .steps,
  .mail-block .wrap,
  .contact,
  .contact-cards,
  .footer-grid,
  .photo-pair {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }

  .gallery img:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

  .hero {
    min-height: 70vh;
  }

  .btn-ghost {
    margin: 10px 0 0;
    display: inline-block;
  }

  .split img,
  .photo-pair img {
    height: 240px;
  }
}
