:root {
  --color-bg:        #0c0e11;
  --color-bg-soft:   #12161d;
  --color-panel:     #161b24;
  --color-line:      #242b37;
  --color-text:      #e9edf3;
  --color-text-dim:  #8b95a6;
  --color-heading:   #ffffff;
  --color-accent:    #ff6a00;
  --color-accent-2:  #ffa040;
  --color-ink:       #14181f;
  --color-ink-soft:  #3d4552;
  --color-ink-mute:  #69727f;
  --color-line-light:#e6e9ee;
  --container:       1240px;
  --radius:          16px;
  --radius-lg:       22px;
  --font-display:    'Oswald', system-ui, sans-serif;
  --font-body:       'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease:            cubic-bezier(.25,.8,.35,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }

button { font: inherit; color: inherit; border: none; background: none; cursor: pointer; }

input, textarea { font: inherit; color: inherit; }

ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--color-heading);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 60px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s var(--ease), background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
}

.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff8a2b 100%);
  color: #141414;
  box-shadow: 0 10px 30px -10px rgba(255, 106, 0, .7);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px rgba(255, 106, 0, .95);
}

.btn--ghost {
  background: rgba(255, 255, 255, .02);
  border-color: var(--color-line);
  color: var(--color-text);
}

.btn--ghost:hover { border-color: var(--color-accent); color: var(--color-accent-2); }

.btn--sm { padding: 11px 22px; font-size: 14px; }
.btn--lg { padding: 18px 40px; font-size: 16px; }
.btn--block { display: flex; width: 100%; margin-top: 6px; }

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease), border-color .35s var(--ease);
}

.header.is-scrolled {
  background: rgba(10, 12, 16, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--color-line);
}

.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }

.logo__badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-accent), #ff8a2b);
  color: #141414;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .03em;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-heading);
}

.nav { display: flex; gap: 30px; margin-left: auto; font-size: 15px; font-weight: 500; }

.nav__link { position: relative; color: #c3cbd8; }

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width .25s var(--ease);
}

.nav__link:hover { color: #fff; }
.nav__link:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 22px; }

.header__phone {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--color-text);
}

.header__phone:hover { color: var(--color-accent-2); }

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #080a0d;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 9, 12, .94) 0%, rgba(7, 9, 12, .78) 42%, rgba(7, 9, 12, .45) 100%),
    linear-gradient(0deg, rgba(7, 9, 12, .92) 0%, rgba(7, 9, 12, 0) 45%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 140px 24px 100px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(52px, 10vw, 140px);
  font-weight: 700;
  line-height: .92;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin-bottom: 8px;
  text-shadow: 0 20px 60px rgba(0, 0, 0, .6);
}

.hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(18px, 3.1vw, 40px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #c9d2e0;
  margin-bottom: 24px;
}

.hero__tagline {
  max-width: 560px;
  margin-bottom: 40px;
  font-size: 17px;
  color: #98a3b4;
}

.hero__bottom {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: start;
  gap: 36px;
}

.hero__address {
  font-style: normal;
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .5);
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, .14);
}

.about { padding: 110px 0; background: #ffffff; color: var(--color-ink); }

.about__grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.about__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding-top: 12px;
}

.about__label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.about__label::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 16px;
  background: var(--color-accent);
  border-radius: 2px;
}

.about__title {
  font-size: clamp(30px, 4.2vw, 50px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--color-ink);
  margin-bottom: 28px;
}

.about__text {
  max-width: 70ch;
  margin-bottom: 18px;
  font-size: 17px;
  color: var(--color-ink-soft);
}

.about__text strong { color: var(--color-ink); font-weight: 700; }
.about__text:last-of-type { margin-bottom: 0; }

.about__logo {
  display: block;
  height: 220px;
  width: auto;
  max-width: 100%;
  border-radius: 14px;
  object-fit: contain;
}

.services {
  padding: 110px 0 120px;
  background: radial-gradient(80% 60% at 85% 0%, rgba(255, 106, 0, .07) 0%, transparent 60%), var(--color-bg);
}

.section-head { max-width: 760px; margin-bottom: 56px; }

.section-head__label {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.section-head__title {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.section-head__text { font-size: 17px; color: var(--color-text-dim); }

.services__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.services__carousel { min-width: 0; }

.carousel { overflow: hidden; padding: 6px 0 10px; margin: -6px 0 -10px; }

.track {
  display: flex;
  gap: 16px;
  will-change: transform;
  transition: transform .7s cubic-bezier(.65, .05, .36, 1);
}

.track.no-anim { transition: none; }

.card {
  flex: 0 0 calc((100% - 32px) / 3);
  cursor: default;
  opacity: .42;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.card.is-active { opacity: 1; }

.card__img {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #39424f;
  background: linear-gradient(145deg, #1b2130 0%, #0f131a 100%);
  border: 1px solid var(--color-line);
  transition: border-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease);
}

.card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 26px 26px;
}

.card__img svg { position: relative; z-index: 1; width: 58px; height: 58px; }

.card__img img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__video {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.card.is-active .card__img {
  border-color: rgba(255, 106, 0, .55);
  color: var(--color-accent);
  box-shadow: 0 18px 50px -22px rgba(255, 106, 0, .7);
}

.card__title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #c3cbd8;
  transition: color .4s var(--ease);
}

.card.is-active .card__title { color: #fff; }

.card__tag { display: block; margin-top: 4px; font-size: 13px; color: var(--color-text-dim); }

.services__info {
  position: sticky;
  top: 110px;
  padding-top: 34px;
  transition: opacity .25s ease, transform .25s ease;
}

.services__info.is-fading { opacity: 0; transform: translateY(10px); }

.info__num {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--color-text-dim);
}

.info__num b { color: var(--color-accent); }

.info__title {
  margin-bottom: 10px;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.info__tag {
  display: inline-block;
  margin-bottom: 22px;
  padding: 5px 14px;
  border-radius: 40px;
  border: 1px solid rgba(255, 106, 0, .35);
  background: rgba(255, 106, 0, .08);
  color: var(--color-accent-2);
  font-size: 13px;
  font-weight: 600;
}

.info__text { margin-bottom: 24px; font-size: 16px; color: #a9b3c2; }

.info__list { margin-bottom: 32px; }

.info__list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 15px;
  color: #cdd5e0;
}

.info__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--color-accent), #ff9a3d);
}

.works {
  padding: 110px 0;
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-line);
}

.works__carousel { min-width: 0; }

.works__carousel .card { flex: 0 0 calc((100% - 48px) / 4); }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal.is-open { display: flex; }

.modal__backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(4, 6, 9, .82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: modalFadeIn .25s ease;
}

.modal__box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  margin: auto;
  padding: 56px 52px 48px;
  background: linear-gradient(160deg, #1a2029 0%, #0f131a 100%);
  clip-path: polygon(44px 0, calc(100% - 44px) 0, 100% 44px, 100% calc(100% - 44px), calc(100% - 44px) 100%, 44px 100%, 0 calc(100% - 44px), 0 44px);
  filter:
    drop-shadow(0 0 1px rgba(255, 106, 0, .6))
    drop-shadow(0 0 20px rgba(255, 106, 0, .12))
    drop-shadow(0 30px 60px rgba(0, 0, 0, .85));
  animation: modalPopIn .3s cubic-bezier(.2, .9, .3, 1.2);
}

.modal__box::after {
  content: '';
  position: absolute;
  inset: 1px;
  z-index: 0;
  pointer-events: none;
  clip-path: polygon(43px 0, calc(100% - 43px) 0, 100% 43px, 100% calc(100% - 43px), calc(100% - 43px) 100%, 43px 100%, 0 calc(100% - 43px), 0 43px);
  background:
    linear-gradient(135deg, rgba(255, 106, 0, .45) 0%, transparent 40%) top left / 100% 100% no-repeat,
    linear-gradient(315deg, rgba(255, 106, 0, .25) 0%, transparent 40%) bottom right / 100% 100% no-repeat;
}

.modal__box > * { position: relative; z-index: 1; }

.modal__close {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 5;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  color: var(--color-text-dim);
  font-size: 22px;
  line-height: 1;
  transition: background .2s var(--ease), color .2s var(--ease);
}

.modal__close:hover { background: rgba(255, 106, 0, .15); color: var(--color-accent); }

.modal__title {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.1;
}

.modal__subtitle { margin-bottom: 30px; font-size: 15px; color: var(--color-text-dim); }

.field { display: block; width: 100%; margin-bottom: 20px; }

.field__label {
  display: block;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8f9aab;
}

.field__input {
  display: block;
  width: 100%;
  padding: 15px 18px;
  border-radius: 12px;
  border: 1px solid var(--color-line);
  background: #0c1015;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
  outline: none;
  resize: vertical;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.field__input::placeholder { color: #4d5766; }

.field__input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, .14);
}

.field__input--area { min-height: 130px; padding-top: 14px; }

.form__msg {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 14.5px;
  line-height: 1.5;
}

.form__msg.is-ok {
  display: block;
  background: rgba(46, 204, 113, .1);
  border: 1px solid rgba(46, 204, 113, .35);
  color: #5fd98a;
}

.form__msg.is-err {
  display: block;
  background: rgba(255, 80, 80, .1);
  border: 1px solid rgba(255, 80, 80, .35);
  color: #ff8a8a;
}

.form__fine {
  margin-top: 18px;
  font-size: 12.5px;
  color: #5f6a7b;
  line-height: 1.5;
}

.form__fine a {
  color: var(--color-accent-2);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(255, 160, 64, .4);
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease);
}

.form__fine a:hover { color: var(--color-accent); text-decoration-color: var(--color-accent); }

.author { margin-top: 6px; }

.author__row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-line);
}

.author__row:first-child { border-top: 1px solid var(--color-line); }

.author__label {
  flex-shrink: 0;
  min-width: 90px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

.author__value { font-size: 16px; font-weight: 600; color: var(--color-heading); }

a.author__value { transition: color .2s var(--ease); }
a.author__value:hover { color: var(--color-accent-2); }

.author__note { margin-top: 18px; font-size: 14px; color: var(--color-text-dim); }

@keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalPopIn { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }

.contacts {
  padding: 110px 0;
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-line);
}

.contacts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.contact-card {
  position: relative;
  padding: 38px 32px 34px;
  border-radius: var(--radius);
  background: var(--color-panel);
  border: 1px solid var(--color-line);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}

.contact-card:hover { border-color: rgba(255, 106, 0, .45); transform: translateY(-3px); }

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: rgba(255, 106, 0, .1);
  border: 1px solid rgba(255, 106, 0, .3);
  color: var(--color-accent);
  overflow: hidden;
}

.contact-card__icon svg,
.contact-card__icon img { display: block; width: 22px; height: 22px; max-width: 22px; max-height: 22px; }

.contact-card__label {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.contact-card__value {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-heading);
}

.contact-card__value a { display: block; transition: color .2s var(--ease); }
.contact-card__value a + a { margin-top: 4px; }
.contact-card__value a:hover { color: var(--color-accent-2); }

.contact-card__value--address { font-style: normal; font-weight: 500; font-size: 16px; color: #cdd5e0; }

.contact-card__note { font-size: 14px; line-height: 1.5; color: var(--color-text-dim); }

.contact-card__badge {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 9px;
  border-radius: 40px;
  background: rgba(255, 106, 0, .12);
  border: 1px solid rgba(255, 106, 0, .35);
  color: var(--color-accent-2);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  vertical-align: middle;
}

.contact-card--cta {
  background: linear-gradient(160deg, rgba(255, 106, 0, .08) 0%, transparent 55%), var(--color-panel);
}

.contacts__map-btn {
  margin-top: 48px;
  text-align: center;
}

.modal__box--map {
  max-width: 900px;
  padding: 42px 42px 42px;
  clip-path: none;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .85));
}

.modal__box--map::after { display: none; }

.map-frame {
  position: relative;
  margin-top: 8px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: var(--color-panel);
  aspect-ratio: 16 / 10;
  line-height: 0;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.footer {
  padding: 60px 0 34px;
  background: #080a0d;
  border-top: 1px solid var(--color-line);
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--color-line);
}

.footer__brand { display: flex; align-items: center; gap: 14px; }

.footer__sub { display: block; margin-top: 2px; font-size: 13px; color: var(--color-text-dim); letter-spacing: .05em; }

.footer__nav { display: flex; flex-wrap: wrap; gap: 26px; font-size: 15px; font-weight: 500; }

.footer__nav a { color: #c3cbd8; transition: color .2s var(--ease); }
.footer__nav a:hover { color: var(--color-accent-2); }

.footer__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 13.5px;
  color: #5f6a7b;
}

.footer__address { text-align: right; }

.footer__author {
  padding: 4px 0;
  font-size: 13.5px;
  color: #5f6a7b;
  cursor: pointer;
  transition: color .2s var(--ease);
}

.footer__author:hover { color: var(--color-accent-2); }

@media (max-width: 1180px) {
  .nav { display: none; }
  .services__grid { grid-template-columns: 1fr; gap: 44px; }
  .services__info { position: static; padding-top: 0; }
}

@media (max-width: 1100px) {
  .about__grid { grid-template-columns: 1fr; gap: 36px; }
  .about__left { padding-top: 0; gap: 20px; }
  .contacts__grid { grid-template-columns: 1fr 1fr; }
  .card { flex: 0 0 calc((100% - 16px) / 2); }
  .works__carousel .card { flex: 0 0 calc((100% - 16px) / 2); }
}

@media (max-width: 900px) {
  .hero__content { padding: 130px 24px 90px; }
  .about__logo { height: 180px; }
}

@media (max-width: 760px) {
  .header__phone { display: none; }
  .about { padding: 76px 0; }
  .about__logo { height: 150px; border-radius: 10px; }
  .services { padding: 76px 0 86px; }
  .works { padding: 76px 0; }
  .contacts { padding: 76px 0; }
  .contacts__grid { grid-template-columns: 1fr; }
  .contact-card { padding: 32px 24px 28px; }
  .contacts__map-btn { margin-top: 32px; }
  .hero__content { padding: 120px 24px 80px; }
  .btn { padding: 14px 26px; }
  .btn--lg { padding: 16px 30px; font-size: 15px; }
  .hero__bottom { grid-template-columns: 1fr; gap: 22px; }
  .hero__address {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, .14);
    padding-top: 14px;
    font-size: 12px;
  }
  .card { flex: 0 0 100%; }
  .works__carousel .card { flex: 0 0 100%; }
  .modal { padding: 12px; }
  .modal__box {
    padding: 46px 24px 34px;
    clip-path: polygon(28px 0, calc(100% - 28px) 0, 100% 28px, 100% calc(100% - 28px), calc(100% - 28px) 100%, 28px 100%, 0 calc(100% - 28px), 0 28px);
  }
  .modal__box::after {
    clip-path: polygon(27px 0, calc(100% - 27px) 0, 100% 27px, 100% calc(100% - 27px), calc(100% - 27px) 100%, 27px 100%, 0 calc(100% - 27px), 0 27px);
  }
  .modal__box--map { padding: 40px 20px 20px; }
  .map-frame { aspect-ratio: 3 / 4; }
  .modal__close { top: 22px; right: 22px; }
  .modal__title { font-size: 22px; }
  .footer__top { flex-direction: column; align-items: flex-start; gap: 26px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer__address { text-align: left; }
  .footer__author { margin-top: 4px; }
}

@media (max-width: 420px) {
  .header__inner { gap: 16px; padding: 12px 16px; }
  .logo__name { font-size: 17px; }
  .logo__badge { width: 40px; height: 40px; font-size: 15px; }
  .container { padding: 0 18px; }
  .about__logo { height: 120px; border-radius: 8px; }
}