/* =========================================================
   Rocha Engenharia — consultoria de engenharia aeronáutica
   ========================================================= */

:root {
  --ink: #0a0f14;
  --ink-2: #0e151c;
  --ink-3: #131d26;
  --paper: #f4f4f1;
  --paper-2: #e9e9e3;
  --brass: #c79a4e;
  --brass-lt: #e0b872;
  --steel: #90a6b6;
  --text: #1a2229;
  --text-mut: #5d6973;
  --white: #f7f9fa;
  --white-mut: #a4b1bb;
  --line: rgba(255, 255, 255, 0.11);
  --line-dark: rgba(12, 20, 27, 0.12);
  --radius: 3px;
  --wrap: 1180px;
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; letter-spacing: -0.022em; line-height: 1.08; margin: 0; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- shared bits ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-lt);
  margin-bottom: 26px;
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(199, 154, 78, 0.14);
}

.eyebrow--dark { color: #a1762c; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn--brass {
  background: var(--brass);
  color: #17120a;
}
.btn--brass:hover { background: var(--brass-lt); transform: translateY(-1px); }

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
}
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }

.btn--sm { padding: 11px 18px; font-size: 13px; }

/* ---------- header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  padding: 22px 0;
  transition: padding 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.header--scrolled {
  padding: 13px 0;
  background: rgba(8, 13, 18, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.brand img {
  height: 42px;
  width: auto;
  transition: height 0.3s var(--ease);
}
.header--scrolled .brand img { height: 34px; }

.brand__word {
  font-family: var(--font-head);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #93a4af;
  border-left: 1px solid var(--line);
  padding-left: 15px;
  line-height: 1.3;
}

.nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 13.5px;
  color: var(--white-mut);
}
.nav a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--brass);
  transition: width 0.3s var(--ease);
}
.nav a:hover { color: var(--white); }
.nav a:hover::after { width: 100%; }

.menu-btn {
  display: none;
  width: 42px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  padding: 0 11px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--white);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
body.nav-open .menu-btn span:first-child { transform: translateY(3.75px) rotate(45deg); }
body.nav-open .menu-btn span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 190px 0 96px;
  background:
    radial-gradient(1100px 640px at 78% 8%, rgba(199, 154, 78, 0.13), transparent 62%),
    radial-gradient(900px 700px at 6% 92%, rgba(59, 104, 138, 0.2), transparent 65%),
    var(--ink);
  border-bottom: 1px solid var(--line);
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: radial-gradient(120% 90% at 30% 20%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 30% 20%, #000 30%, transparent 78%);
  pointer-events: none;
}

.hero__mark {
  position: absolute;
  right: -60px;
  bottom: -6%;
  width: min(800px, 58vw);
  opacity: 0.042;
  pointer-events: none;
  user-select: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
  gap: 74px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.55rem, 5.1vw, 4.35rem);
  max-width: 17ch;
  margin-bottom: 26px;
}

.lead {
  font-size: 1.075rem;
  line-height: 1.72;
  color: #b9c5cd;
  max-width: 54ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 36px 0 42px;
}

.hero__marks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--white-mut);
}
.hero__marks li {
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero__marks li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--brass);
  transform: rotate(45deg);
  flex: none;
}

/* spec panel */
.spec {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(6px);
  padding: 22px 22px 0;
}

.spec__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.spec__label {
  font-family: var(--font-head);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-lt);
}
.spec__code {
  font-family: var(--font-head);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--white-mut);
}

.spec__list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 14px;
  color: #d6dee4;
  line-height: 1.35;
}
.spec__list span {
  font-family: var(--font-head);
  font-size: 10.5px;
  color: var(--brass);
  letter-spacing: 0.1em;
  flex: none;
  padding-top: 2px;
}

.spec__foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 0 18px;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--white-mut);
}
.spec__foot b { color: var(--brass-lt); font-weight: 500; }

.spec__foot--stack {
  display: grid;
  gap: 7px;
  font-size: 10.5px;
  line-height: 1.5;
}
.spec__foot--stack b { margin-right: 6px; }

/* ---------- sections ---------- */

section[id] { scroll-margin-top: 88px; }

.section { padding: 108px 0; }

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

.section__head { max-width: 720px; margin-bottom: 54px; }

.section__head h2 {
  font-size: clamp(1.95rem, 3.4vw, 2.85rem);
  margin-bottom: 18px;
}

.section__intro {
  color: var(--text-mut);
  max-width: 58ch;
  font-size: 1.02rem;
}

.section--paper .section__intro { color: var(--text-mut); }

.section__head--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  max-width: none;
  margin-bottom: 50px;
}
.section__head--split h2 { margin-bottom: 0; }

/* ---------- services cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.card {
  position: relative;
  padding: 38px 34px 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent 60%);
  transition: background 0.35s var(--ease);
}
.card:hover { background: rgba(255, 255, 255, 0.045); }

.card--wide { grid-column: span 2; }

.card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 26px;
}

/* wide card: title left, description right */
.card--wide {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  column-gap: 56px;
  align-items: start;
}
.card--wide .card__top { grid-column: 1 / -1; }
.card--wide h3 { grid-column: 1; grid-row: 2; }
.card--wide p { grid-column: 2; grid-row: 2; }
.card--wide .tags { grid-column: 2; grid-row: 3; margin-top: 18px; }

.card__ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(199, 154, 78, 0.4);
  color: var(--brass-lt);
  border-radius: var(--radius);
}
.card__ico svg { width: 24px; height: 24px; }

.card__num {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #6d7c87;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.card p {
  color: #a9b6c0;
  font-size: 0.965rem;
  max-width: 62ch;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.tags li {
  font-family: var(--font-head);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  padding: 6px 11px;
  border: 1px solid rgba(199, 154, 78, 0.28);
  color: #dcc39a;
  border-radius: 2px;
}

/* ---------- segments ---------- */

.segments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.segment {
  padding: 27px 26px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent 60%);
  transition: background 0.35s var(--ease);
}
.segment:hover { background: rgba(255, 255, 255, 0.045); }

.segment__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.segment h3 {
  font-size: 1.03rem;
  line-height: 1.28;
}

.segment__norm {
  flex: none;
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--brass-lt);
  border: 1px solid rgba(199, 154, 78, 0.3);
  border-radius: 2px;
  padding: 4px 7px;
  white-space: nowrap;
}

.segment p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #a9b6c0;
}

/* ---------- projects ---------- */

.projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.project {
  background: var(--paper);
  padding: 34px 30px 36px;
  display: flex;
  flex-direction: column;
  transition: background 0.3s var(--ease);
}
.project:hover { background: #fbfbf9; }

.project__index {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #a1762c;
  margin-bottom: 26px;
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(161, 118, 44, 0.35);
  width: fit-content;
}

.project h3 {
  font-size: 1.34rem;
  margin-bottom: 12px;
}

.project p {
  color: var(--text-mut);
  font-size: 0.94rem;
}

.checks {
  margin-top: auto;
  padding-top: 24px;
  display: grid;
  gap: 9px;
  font-size: 0.875rem;
  color: #34414b;
}
.checks li {
  position: relative;
  padding-left: 20px;
  line-height: 1.5;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 4px;
  border-left: 1.4px solid #a1762c;
  border-bottom: 1.4px solid #a1762c;
  transform: rotate(-45deg);
}
.checks--light { color: #c3cfd7; }
.checks--light li::before { border-color: var(--brass); }

/* ---------- about ---------- */

.about { background: var(--ink-2); }

.about__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 78px;
  align-items: start;
}

.about h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  margin-bottom: 24px;
  max-width: 20ch;
}

.about__copy > p {
  color: #a9b6c0;
  margin-bottom: 18px;
  max-width: 58ch;
}

.about__facts {
  margin-top: 38px;
  border-top: 1px solid var(--line);
}
.about__facts > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.about__facts dt {
  font-family: var(--font-head);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-lt);
  padding-top: 4px;
}
.about__facts dd { margin: 0; font-size: 0.94rem; color: #d3dde4; }

.about__panel {
  border: 1px solid var(--line);
  padding: 30px;
  background: linear-gradient(165deg, rgba(199, 154, 78, 0.09), transparent 55%);
}

.stamp {
  border: 1px solid rgba(199, 154, 78, 0.4);
  padding: 26px 24px;
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}
.stamp span {
  font-family: var(--font-head);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-lt);
}
.stamp strong {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.14;
  letter-spacing: -0.02em;
}
.stamp__fine { color: #7d8c97 !important; letter-spacing: 0.24em !important; }

.about__panel blockquote {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.02rem;
  line-height: 1.55;
  color: #bcc9d2;
  border-left: 1px solid var(--brass);
  padding-left: 18px;
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-dark);
}

.steps li {
  position: relative;
  padding: 30px 26px 8px 0;
  border-right: 1px solid var(--line-dark);
}
.steps li:last-child { border-right: 0; padding-right: 0; }
.steps li + li { padding-left: 26px; }

.steps__num {
  display: block;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #a1762c;
  margin-bottom: 34px;
}

.steps h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.steps p {
  font-size: 0.9rem;
  color: var(--text-mut);
}

/* ---------- contact ---------- */

.contact {
  background:
    radial-gradient(800px 500px at 88% 10%, rgba(199, 154, 78, 0.12), transparent 60%),
    var(--ink);
  border-top: 1px solid var(--line);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 76px;
  align-items: start;
}

.contact h2 {
  font-size: clamp(2rem, 3.6vw, 2.95rem);
  max-width: 18ch;
  margin-bottom: 22px;
}

.contact__links {
  display: grid;
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid var(--line);
  max-width: 460px;
}
.contact__links a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 1.05rem;
  transition: color 0.25s var(--ease);
}
.contact__links a:hover { color: var(--brass-lt); }
.contact__links span {
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7f8f9a;
}

.briefing {
  border: 1px solid var(--line);
  padding: 34px;
  background: rgba(255, 255, 255, 0.028);
}
.briefing h3 {
  font-size: 1.18rem;
  margin-bottom: 22px;
}
.briefing .checks { margin: 0 0 28px; padding-top: 0; }
.briefing .btn { width: 100%; }

/* ---------- footer ---------- */

.footer {
  background: #070b0f;
  border-top: 1px solid var(--line);
  padding: 34px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.footer img { height: 34px; width: auto; opacity: 0.9; }
.footer p { font-size: 12.5px; color: #7c8b96; margin-left: auto; }
.footer > .wrap > span,
.footer__inner > span {
  font-family: var(--font-head);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: #5d6b75;
}

.footer__legal {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 8px 48px;
  font-size: 12px;
  line-height: 1.62;
  color: #6f7e89;
}
.footer__legal p { margin: 0; }
.footer__legal p + p { text-align: right; }

/* ---------- entrance ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero__copy > *,
.spec {
  animation: rise 0.85s var(--ease) both;
}
.hero__copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero__copy > *:nth-child(2) { animation-delay: 0.13s; }
.hero__copy > *:nth-child(3) { animation-delay: 0.22s; }
.hero__copy > *:nth-child(4) { animation-delay: 0.3s; }
.hero__copy > *:nth-child(5) { animation-delay: 0.38s; }
.spec { animation-delay: 0.34s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__copy > *,
  .spec { animation: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1150px) {
  .brand__word { display: none; }
}

@media (max-width: 1100px) {
  .header__cta { display: none; }
  .menu-btn { display: flex; margin-left: auto; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(84vw, 340px);
    margin: 0;
    padding: 104px 32px 32px;
    flex-direction: column;
    gap: 4px;
    background: #0a0f14;
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    font-size: 1.1rem;
    visibility: hidden;
  }
  body.nav-open .nav { transform: none; visibility: visible; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }

  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(4, 7, 10, 0.62);
    z-index: 55;
  }

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

@media (max-width: 1020px) {
  .hero__inner { grid-template-columns: 1fr; gap: 46px; align-items: start; }
  .spec { max-width: 460px; }
  .hero__mark { opacity: 0.04; }

  .about__inner { grid-template-columns: 1fr; gap: 42px; }
  .contact__inner { grid-template-columns: 1fr; gap: 44px; }
  .section__head--split { grid-template-columns: 1fr; gap: 18px; }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(2) { border-right: 0; }
  .steps li:nth-child(1),
  .steps li:nth-child(2) { padding-bottom: 30px; border-bottom: 1px solid var(--line-dark); }
  .steps li:nth-child(3) { padding-left: 0; }
  .steps li:nth-child(3) { padding-top: 30px; }

  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project:last-child { grid-column: span 2; }
}

@media (max-width: 780px) {
  body { font-size: 16px; }
  .wrap { padding: 0 22px; }

  .header { padding: 16px 0; }
  .brand { gap: 12px; }
  .brand img { height: 36px; }
  .header--scrolled .brand img { height: 31px; }

  .hero { padding: 140px 0 70px; }
  .hero__grid-lines { background-size: 64px 64px; }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 3rem); max-width: none; }
  .lead { font-size: 1rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__marks { flex-direction: column; gap: 10px; }
  .spec { padding: 18px 18px 0; }
  .spec__foot { font-size: 10px; }

  .section { padding: 72px 0; }
  .section__head { margin-bottom: 38px; }

  .cards { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
  .card { padding: 30px 24px; }

  .projects { grid-template-columns: 1fr; }
  .project:last-child { grid-column: auto; }
  .project { padding: 28px 24px 30px; }

  .segments { grid-template-columns: 1fr; }
  .segment { padding: 24px 22px 26px; }

  .about__facts > div { grid-template-columns: 1fr; gap: 4px; }

  .steps { grid-template-columns: 1fr; }
  .steps li,
  .steps li + li {
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }
  .steps li:last-child { border-bottom: 0; }
  .steps__num { margin-bottom: 14px; }

  .card--wide {
    display: block;
  }
  .card--wide .tags { margin-top: 24px; }

  .briefing { padding: 26px 24px; }
  .contact__inner { gap: 36px; }

  .footer__inner { gap: 16px; }
  .footer p { margin-left: 0; flex: 1 1 100%; order: 3; }
  .footer__inner > span { margin-left: auto; }

  .footer__legal {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 22px;
  }
  .footer__legal p + p { text-align: left; }
}

@media (max-width: 520px) {
  .brand__word { display: none; }
  .brand img { height: 34px; }
}
