﻿:root {
  --ink: #182321;
  --ink-soft: #33403d;
  --paper: #f7f4ef;
  --white: #ffffff;
  --teal: #0c6157;
  --teal-dark: #083e39;
  --coral: #cf6b4d;
  --sage: #d9e0d2;
  --steel: #eef2ed;
  --line: rgba(24, 35, 33, 0.14);
  --shadow: 0 22px 60px rgba(15, 27, 25, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

img {
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 5vw, 64px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(247, 244, 239, 0.97);
  box-shadow: 0 12px 34px rgba(24, 35, 33, 0.12);
  backdrop-filter: blur(14px);
}

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

.brand img {
  display: block;
  width: 367px;
  max-width: 42vw;
  height: 112px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 180ms ease;
}

.site-header.is-scrolled .brand img,
.site-header.is-open .brand img {
  filter: none;
}

.nav {
  justify-self: center;
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  font-size: 14px;
  font-weight: 700;
}

.header-contacts {
  display: grid;
  gap: 2px;
  justify-items: end;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.header-contacts a:last-child {
  font-size: 12px;
  opacity: 0.78;
}

.messenger-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.messenger-link {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.messenger-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.82);
}


.request-bot-link {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(12, 97, 87, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.request-bot-link:hover {
  background: var(--teal-dark);
  border-color: rgba(255, 255, 255, 0.82);
  transform: translateY(-2px);
}

.telegram-bot-link {
  color: var(--teal-dark);
  font-weight: 800;
}

.request-bot-link svg,
.messenger-link svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.messenger-telegram {
  background: #249bd7;
}

.messenger-whatsapp {
  background: #1fb45a;
}

.site-header.is-scrolled .messenger-link,
.site-header.is-open .messenger-link {
  color: var(--white);
  box-shadow: 0 8px 18px rgba(24, 35, 33, 0.16);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 6px;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 86svh;
  display: flex;
  align-items: center;
  padding: 118px clamp(20px, 5vw, 64px) 64px;
  color: var(--white);
  background: url("assets/hero-barriers.png") center / cover no-repeat;
  overflow: hidden;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 21, 19, 0.86) 0%, rgba(7, 21, 19, 0.68) 42%, rgba(7, 21, 19, 0.14) 82%),
    linear-gradient(0deg, rgba(7, 21, 19, 0.5), rgba(7, 21, 19, 0.05));
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 790px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 14px 34px rgba(12, 97, 87, 0.28);
}

.button-primary:hover {
  background: var(--teal-dark);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-stats {
  display: grid;
  width: min(680px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 42px 0 0;
}

.hero-stats div {
  padding: 18px;
  border-left: 2px solid var(--coral);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-stats dt {
  font-size: 26px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(24, 35, 33, 0.1);
}

.trust-item {
  display: flex;
  min-height: 112px;
  align-items: center;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 64px);
  background: var(--sage);
}

.trust-number {
  color: var(--teal);
  font-weight: 900;
}

.trust-item p {
  margin: 0;
  font-weight: 800;
}

.section {
  padding: clamp(72px, 9vw, 116px) clamp(20px, 5vw, 64px);
}

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

.section-ink {
  color: var(--white);
  background: var(--ink);
}

.section-gallery {
  background: var(--steel);
}

.section-accent {
  background: var(--coral);
}

.section-heading {
  width: min(820px, 100%);
  margin-bottom: 36px;
}

.section-heading h2,
.request-copy h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.request-copy p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.section-ink .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
}

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

.service-card {
  min-height: 292px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(24, 35, 33, 0.06);
}

.card-index {
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-card h3 {
  margin: 36px 0 12px;
  font-size: 24px;
  line-height: 1.12;
}

.service-card p {
  margin: 0;
  color: var(--ink-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(2, minmax(0, 0.7fr));
  gap: 18px;
}

.gallery-grid figure {
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(24, 35, 33, 0.08);
}

.gallery-grid img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.gallery-main {
  grid-row: span 2;
}

.gallery-main img {
  height: 100%;
  min-height: 514px;
}

.gallery-grid figcaption {
  padding: 13px 14px 16px;
  color: var(--ink-soft);
  font-size: 13px;
}

.source-note {
  max-width: 980px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.timeline {
  display: grid;
  width: min(1040px, 100%);
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.timeline span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--ink);
  background: var(--sage);
  border-radius: 50%;
  font-weight: 900;
}

.timeline h3 {
  margin: 0 0 8px;
  font-size: 25px;
}

.timeline p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

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

.use-grid article {
  min-height: 210px;
  padding: 26px;
  border-left: 4px solid var(--teal);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(24, 35, 33, 0.06);
}

.use-grid h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.use-grid p {
  margin: 0;
  color: var(--ink-soft);
}

.quote-block {
  width: min(980px, 100%);
  margin: 0 auto;
  color: var(--white);
  text-align: center;
}

.quote-block blockquote {
  margin: 0;
  font-size: clamp(27px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.08;
}

.quote-block p {
  margin: 22px 0 0;
  font-weight: 800;
}

.section-request {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.6fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
  background: var(--paper);
}

.contact-panel {
  display: grid;
  gap: 10px;
  width: min(430px, 100%);
  margin-top: 28px;
  padding: 20px;
  border-left: 4px solid var(--coral);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(24, 35, 33, 0.06);
  font-weight: 900;
}

.request-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.request-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
}

.request-form input,
.request-form select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfaf7;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 64px);
  color: var(--white);
  background: var(--ink);
}

.footer p {
  margin: 0;
  font-weight: 900;
}

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

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px 20px 20px;
    color: var(--ink);
    background: rgba(247, 244, 239, 0.98);
  }

  .site-header.is-open .nav {
    display: grid;
  }

  .nav a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .menu-button {
    display: grid;
  }

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

  .gallery-grid,
  .section-request {
    grid-template-columns: 1fr;
  }

  .gallery-main {
    grid-row: auto;
  }

  .gallery-main img,
  .gallery-grid img {
    height: 300px;
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: auto 1fr auto auto;
    gap: 12px;
    padding: 12px 16px;
  }

  .brand img {
    width: 205px;
    max-width: none;
    height: 86px;
    object-position: left center;
  }

  .header-contacts {
    display: none;
  }

  .request-bot-link,
  .messenger-link {
    width: 40px;
    height: 40px;
  }

  .menu-button {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 88svh;
    padding: 100px 16px 46px;
    background-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 21, 19, 0.9) 0%, rgba(7, 21, 19, 0.72) 56%, rgba(7, 21, 19, 0.22) 100%),
      linear-gradient(0deg, rgba(7, 21, 19, 0.58), rgba(7, 21, 19, 0.08));
  }

  h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions .button,
  .request-form .button {
    width: 100%;
  }

  .hero-stats,
  .trust-strip,
  .service-grid,
  .use-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 10px;
    margin-top: 28px;
  }

  .hero-stats div,
  .trust-item {
    padding: 14px 16px;
  }

  .section {
    padding: 62px 16px;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .section-heading h2,
  .request-copy h2 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .service-card,
  .use-grid article {
    min-height: auto;
    padding: 22px;
  }

  .gallery-main img,
  .gallery-grid img {
    height: 220px;
  }

  .timeline li {
    grid-template-columns: 42px 1fr;
    gap: 14px;
  }

  .timeline span {
    width: 38px;
    height: 38px;
  }

  .contact-panel {
    padding: 16px;
  }

  .request-form {
    padding: 20px;
  }

  .footer {
    display: grid;
  }
}

@media (max-width: 430px) {
  .brand img {
    width: 176px;
    height: 74px;
  }
}




