/* 1. Identidade, escala fluida e elementos básicos. */
:root {
  --navy: #071a4b;
  --red: #dc0b16;
  --line: #d8dfeb;
  --muted: #56647b;
  --pale: #f2f5fa;
  --section-space: clamp(64px, 7vw, 108px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 116px;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--navy);
  background: #fff;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2 {
  font-weight: 500;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(40px, 4.45vw, 68px);
  line-height: 1.09;
}
h1 em {
  color: var(--red);
  font-style: normal;
}
h2 {
  font-size: clamp(32px, 3.1vw, 46px);
  line-height: 1.15;
}
h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.3;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
a,
button,
input,
textarea,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #de6020;
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}
.section {
  padding-block: var(--section-space);
}
.wrap > *,
.hero-grid > *,
.solution > *,
.journal-card > *,
.contact-grid > *,
.visit-grid > *,
.about-grid > * {
  min-width: 0;
}
.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 14px 18px;
  min-height: 44px;
  background: white;
}
.skip:focus {
  top: 12px;
}
.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 22px;
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  transition: background 0.2s;
}
.btn:hover {
  background: #b90812;
  color: #fff;
}
.btn span {
  font-size: 24px;
  font-weight: 400;
  flex-shrink: 0;
}
.btn.small {
  min-height: 48px;
  padding: 11px 18px;
}
.underlink {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-height: 44px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  line-height: 1.45;
}
.underlink span {
  font-size: 22px;
  flex-shrink: 0;
}
.underlink:hover {
  color: var(--red);
}
.eyebrow {
  font-size: 12px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 22px;
}
.fine {
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* 2. Cabeçalho: enquadramento original do logotipo preservado. */
.topline {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.topline .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.topline a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
.topline a:hover {
  color: var(--red);
}
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: block;
  flex-shrink: 0;
}
.logo-frame {
  display: block;
  position: relative;
  width: 190px;
  height: 78px;
  overflow: hidden;
  background: #f9f9f9;
}
.logo-frame img {
  position: absolute;
  max-width: none;
  width: 480px;
  height: 640px;
  left: -143px;
  top: -104px;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
nav > a:hover {
  color: var(--red);
}
.menu {
  display: none;
}

/* 3. Abertura: texto e gráfico em áreas distintas de uma folha de trabalho. */
.hero {
  background: linear-gradient(120deg, #fff 25%, #f2f5fa);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  column-gap: 44px;
  padding-top: clamp(44px, 5vw, 78px);
}
.hero-copy {
  grid-column: 1;
  grid-row: 1;
  padding-bottom: 48px;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}
.hero .eyebrow > span {
  width: 7px;
  height: 7px;
  background: var(--red);
  flex-shrink: 0;
}
.hero .lead {
  max-width: 490px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  margin: 26px 0 28px;
}
.hero-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-foot {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 28px;
  font-size: 13px;
  color: var(--muted);
}
.tiny-line {
  display: inline-block;
  height: 2px;
  width: 24px;
  background: var(--red);
  flex-shrink: 0;
}
.ledger-art {
  grid-column: 2;
  grid-row: 1;
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.85;
  align-self: center;
}
.document-tabs {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
}
.document-tabs span {
  padding: 20px 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: 1px solid var(--line);
  border-bottom: 0;
}
.document-tabs span + span {
  border-left: 0;
}
.document-tabs span:first-child {
  box-shadow: inset 0 3px var(--red);
}
.quickbar {
  background: var(--navy);
  color: #fff;
}
.quickbar .wrap {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 30px;
  padding-block: 15px;
}
.quickbar p {
  font-size: 14px;
}
.quickbar a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: #e1e8f5;
  font-size: 13px;
}
.quickbar a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 4. Soluções em linhas: títulos, explicações e próximo passo legíveis. */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 52px;
  margin-bottom: 40px;
}
.section-head > div {
  max-width: 760px;
}
.section-head > p {
  max-width: 300px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.section-head > .underlink {
  flex-shrink: 0;
}
.solutions-grid {
  border-top: 2px solid var(--navy);
}
.solution {
  display: grid;
  grid-template-columns: 35px 44px minmax(0, 1fr) minmax(0, 1.3fr) 158px;
  align-items: center;
  gap: 24px;
  padding: 28px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.solution:hover {
  background: #f2f5fa;
}
.solution-top {
  font-size: 13px;
  color: var(--muted);
}
.solution-top > span:last-child {
  display: none;
}
.service-icon {
  color: var(--red);
}
.service-icon svg {
  display: block;
}
.solution h3 {
  font-size: 21px;
  line-height: 1.3;
}
.solution p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.solution-link {
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
  font-weight: 700;
}

/* 5. Orientação, fotografia ilustrativa e etapas de atendimento. */
.about {
  background: var(--pale);
  border-block: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 80px;
}
.about-statement > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  margin: 26px 0 22px;
  max-width: 440px;
}
.big-word {
  font-size: clamp(76px, 8vw, 112px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.07em;
  color: #cbd5e9;
  margin-top: 60px;
}
.office-photo {
  margin-bottom: 18px;
}
.office-photo img {
  width: 100%;
  aspect-ratio: 1.8;
  height: auto;
  object-fit: cover;
}
.office-photo figcaption {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  padding-top: 10px;
}
.steps article {
  display: flex;
  gap: 20px;
  padding-block: 23px;
  border-bottom: 1px solid #cbd4e2;
}
.step-no {
  padding-top: 3px;
  font-size: 13px;
  color: var(--red);
  flex-shrink: 0;
}
.steps h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.steps p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

/* 6. Publicações oficiais inteiras, com legendas em tamanho de leitura. */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
}
.journal-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 25px;
  padding-top: 24px;
  border-top: 2px solid var(--navy);
  align-items: center;
}
.journal-image {
  background: var(--pale);
}
.journal-image img {
  width: 100%;
  height: auto;
  max-height: 340px;
  aspect-ratio: 3 / 4;
  object-fit: contain;
}
.journal-caption h3 {
  font-size: 25px;
  line-height: 1.2;
  font-weight: 500;
}
.journal-caption > span {
  display: block;
  color: var(--red);
  font-size: 28px;
  margin: 20px 0 12px;
}
.journal-caption p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.journal-card:hover .journal-caption h3 {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* 7. Contato: campos de 16 px e envio somente após escolha do visitante. */
.contact-section {
  background: var(--navy);
  color: #fff;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 90px;
  align-items: start;
}
.contact-intro .eyebrow,
.contact-hint {
  color: #c3cfe6;
}
.contact-intro > p:not(.eyebrow) {
  max-width: 390px;
  font-size: 16px;
  color: #d1dbed;
  margin: 26px 0;
  line-height: 1.8;
}
.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  min-height: 48px;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.035em;
  margin: 6px 0 12px;
}
.contact-phone > span {
  flex-shrink: 0;
}
.contact-phone:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.contact-hint {
  display: block;
  font-size: 13px;
  line-height: 1.7;
}
.contact-mark {
  font-size: clamp(90px, 10vw, 140px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.07em;
  color: #ffffff20;
  margin-top: 55px;
}
form {
  padding: clamp(26px, 3vw, 40px);
  background: white;
  border-top: 4px solid var(--red);
  color: var(--navy);
}
form h3 {
  font-size: 27px;
  font-weight: 500;
  margin-bottom: 26px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  margin: 22px 0 9px;
}
label span {
  color: var(--muted);
  font-weight: 400;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  font-size: 16px;
  line-height: 1.5;
  border: 1px solid #abb6ca;
  border-radius: 0;
  background: #fff;
  color: var(--navy);
}
input::placeholder,
textarea::placeholder {
  color: #657086;
  opacity: 1;
}
select {
  padding-right: 30px;
}
textarea {
  resize: vertical;
  min-height: 120px;
  max-height: 360px;
}
form .btn {
  width: 100%;
  margin-top: 24px;
}
.form-note {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  margin-top: 15px;
}
form .prepared {
  background: var(--navy);
  border-color: var(--navy);
  margin-top: 18px;
}
form .prepared:hover {
  background: #183268;
}

/* 8. Endereço, FAQ e rodapé: links com áreas de toque confortáveis. */
.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 42px;
}
.visit h2 {
  font-size: clamp(29px, 2.5vw, 36px);
}
.address {
  border-top: 2px solid var(--line);
  padding-top: 20px;
}
.address > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.85;
  margin: 20px 0 14px;
}
.phone-link,
.email {
  display: flex;
  align-items: center;
  min-height: 44px;
  overflow-wrap: anywhere;
  line-height: 1.65;
}
.phone-link {
  font-size: 22px;
  margin: 16px 0 6px;
}
.email {
  font-size: 14px;
  margin: 0 0 14px;
}
.phone-link:hover,
.email:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.address .fine {
  font-size: 13px;
}
.faq {
  padding-top: 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 80px;
}
details {
  border-top: 1px solid var(--line);
}
details:last-child {
  border-bottom: 1px solid var(--line);
}
summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  min-height: 64px;
  padding: 22px 0;
  font-size: 16px;
  list-style: none;
  line-height: 1.5;
}
summary::-webkit-details-marker {
  display: none;
}
summary span {
  font-size: 25px;
  color: var(--red);
  flex-shrink: 0;
}
details[open] summary span {
  transform: rotate(45deg);
}
details p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  padding: 0 32px 24px 0;
}
footer {
  background: var(--pale);
  border-top: 1px solid var(--line);
  padding: 35px 0 30px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding-bottom: 30px;
}
.footer-top > p {
  font-size: 15px;
  line-height: 1.8;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 13px 18px;
  background: var(--red);
  color: white;
  box-shadow: 0 5px 20px #071a4b26;
  font-size: 13px;
}
.floating-contact > span:first-child {
  font-size: 24px;
  line-height: 1;
}
.floating-contact:hover {
  background: #b90812;
}

/* 9. Notebook e tablet: colunas flexíveis sem reduzir os textos. */
@media (min-width: 1700px) {
  .wrap {
    max-width: 1380px;
  }
  .hero-grid {
    column-gap: 80px;
  }
  h1 {
    font-size: 72px;
  }
}
@media (max-width: 1150px) {
  .wrap {
    width: calc(100% - 64px);
  }
  nav {
    gap: 22px;
    font-size: 13px;
  }
  .hero-grid {
    column-gap: 25px;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  }
  .hero h1 {
    font-size: clamp(42px, 4.65vw, 55px);
  }
  .hero-actions {
    gap: 18px;
  }
  .hero .lead {
    font-size: 15px;
  }
  .quickbar .wrap {
    grid-template-columns: 1fr auto;
    gap: 10px 28px;
  }
  .quickbar .wrap > a:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid #ffffff28;
    padding-top: 9px;
  }
  .solution {
    grid-template-columns: 30px 40px minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 20px;
  }
  .solution-link {
    grid-column: 3 / -1;
    text-align: left;
  }
  .section-head {
    gap: 36px;
  }
  .about-grid,
  .contact-grid {
    gap: 50px;
  }
  .journal-grid {
    gap: 28px;
  }
  .journal-card {
    display: block;
    padding-top: 20px;
  }
  .journal-image img {
    height: 340px;
    max-height: none;
    aspect-ratio: auto;
  }
  .journal-caption {
    padding-top: 24px;
  }
  .journal-caption > span {
    margin: 14px 0 10px;
  }
  .visit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
  }
  .visit-grid > div:first-child {
    grid-column: 1 / -1;
  }
  .visit h2 {
    max-width: 600px;
  }
  .contact-phone {
    font-size: 29px;
    gap: 16px;
  }
  .faq-grid {
    gap: 45px;
  }
}
@media (max-width: 850px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 45px;
    position: relative;
  }
  .hero-copy {
    grid-column: 1;
    grid-row: 1;
    padding-bottom: 40px;
    position: relative;
    z-index: 1;
  }
  .hero h1 {
    font-size: clamp(45px, 6.7vw, 58px);
    max-width: 680px;
  }
  .hero .lead {
    max-width: 520px;
    font-size: 16px;
  }
  .ledger-art {
    grid-column: 1;
    grid-row: 1;
    width: 54%;
    justify-self: end;
    align-self: end;
    opacity: 0.12;
  }
  .section-head {
    display: block;
  }
  .section-head > p {
    max-width: 580px;
    margin-top: 24px;
  }
  .section-head > .underlink {
    margin-top: 24px;
  }
  .section-head h2 br {
    display: none;
  }
  .about-grid {
    gap: 35px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-statement h2 {
    font-size: 34px;
  }
  .about-statement > p:not(.eyebrow) {
    font-size: 15px;
  }
  .big-word {
    font-size: 78px;
    margin-top: 40px;
  }
  .contact-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    gap: 30px;
  }
  .contact-intro h2 {
    font-size: 35px;
  }
  .contact-phone {
    font-size: 26px;
    gap: 10px;
  }
  form {
    padding: 26px;
  }
}

/* 10. Menu móvel e telas estreitas, a partir de 320 px. */
@media (max-width: 760px) {
  html {
    scroll-padding-top: 100px;
  }
  .header-inner {
    min-height: 86px;
  }
  .logo-frame {
    width: 160px;
    height: 70px;
  }
  .logo-frame img {
    width: 420px;
    height: 560px;
    left: -127px;
    top: -90px;
  }
  .menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 48px;
    height: 48px;
    padding: 10px;
    background: white;
    border: 1px solid #b8c3d7;
  }
  .menu span {
    display: block;
    width: 23px;
    height: 2px;
    background: var(--navy);
  }
  .menu[aria-expanded="true"] span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }
  .menu[aria-expanded="true"] span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 14px 24px 22px;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 20px #071a4b12;
  }
  nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
  }
  nav > a {
    min-height: 48px;
    font-size: 16px;
    padding-block: 10px;
  }
  nav .btn {
    margin-top: 8px;
  }
  .topline .wrap {
    gap: 16px;
  }
  .topline a {
    gap: 7px;
    font-size: 12px;
  }
  .document-tabs span {
    font-size: 11px;
    padding: 18px 14px;
    letter-spacing: 0.07em;
  }
  .solution {
    grid-template-columns: 28px 40px minmax(0, 1fr);
    gap: 12px 18px;
    padding: 25px 0;
  }
  .solution h3 {
    font-size: 23px;
  }
  .solution p {
    grid-column: 3;
    font-size: 15px;
  }
  .solution-link {
    grid-column: 3;
    font-size: 13px;
  }
  .about-grid,
  .contact-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .about-statement h2 {
    font-size: 39px;
  }
  .about-statement > p:not(.eyebrow) {
    font-size: 16px;
    max-width: 600px;
  }
  .big-word {
    display: none;
  }
  .office-photo img {
    aspect-ratio: 1.85;
  }
  .contact-intro h2 {
    font-size: 42px;
  }
  .contact-phone {
    font-size: 32px;
    gap: 24px;
  }
  .contact-mark {
    display: none;
  }
  form {
    padding: 32px;
  }
  .faq h2 br {
    display: none;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 28px;
  }
  .footer-top > p {
    order: 3;
    width: 100%;
  }
  .footer-top > .underlink {
    margin-left: auto;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    padding-bottom: 50px;
  }
  .floating-contact {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
    padding: 0;
    justify-content: center;
  }
  .floating-contact > span:last-child {
    display: none;
  }
}
@media (max-width: 540px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .topline .wrap {
    align-items: center;
    gap: 10px;
  }
  .topline .wrap > span {
    max-width: 125px;
    font-size: 11px;
    line-height: 1.5;
    padding-block: 8px;
  }
  .topline a {
    max-width: 170px;
    font-size: 12px;
    line-height: 1.5;
  }
  .hero-grid {
    padding-top: 36px;
  }
  .hero h1 {
    font-size: clamp(34px, 8.3vw, 44px);
    line-height: 1.14;
    letter-spacing: -0.045em;
  }
  .hero .eyebrow {
    font-size: 11px;
    letter-spacing: 0.065em;
    margin-bottom: 20px;
  }
  .hero .lead {
    margin: 23px 0 25px;
    font-size: 16px;
    line-height: 1.8;
  }
  .hero-actions {
    gap: 16px 24px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-actions .underlink {
    font-size: 14px;
  }
  .hero-foot {
    margin-top: 25px;
    font-size: 13px;
  }
  .ledger-art {
    width: 75%;
    opacity: 0.08;
  }
  .document-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .document-tabs span {
    font-size: 12px;
    padding: 17px;
  }
  .document-tabs span:nth-child(3) {
    border-left: 1px solid var(--line);
  }
  .document-tabs span:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .quickbar .wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 18px;
  }
  .quickbar p {
    margin-bottom: 10px;
    font-size: 15px;
  }
  .quickbar a {
    min-height: 48px;
    font-size: 14px;
    justify-content: space-between;
    line-height: 1.65;
  }
  .quickbar .wrap > a:last-child {
    padding-top: 12px;
    margin-top: 8px;
  }
  .section-head {
    margin-bottom: 31px;
  }
  h2 {
    font-size: clamp(31px, 7.5vw, 39px);
    line-height: 1.18;
  }
  .eyebrow {
    font-size: 12px;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
  }
  .section-head > p {
    font-size: 16px;
    line-height: 1.8;
  }
  .solution {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px 16px;
  }
  .solution-top {
    grid-column: 1;
    grid-row: 1;
    padding-top: 5px;
    align-self: start;
  }
  .service-icon {
    display: none;
  }
  .solution h3 {
    grid-column: 2;
    font-size: 23px;
  }
  .solution p,
  .solution-link {
    grid-column: 2;
  }
  .solution p {
    font-size: 15px;
  }
  .solution-link {
    font-size: 14px;
  }
  .about-statement h2 {
    font-size: 36px;
  }
  .steps {
    margin-top: 5px;
  }
  .steps article {
    gap: 16px;
    padding-block: 24px;
  }
  .steps h3 {
    font-size: 21px;
  }
  .steps p {
    font-size: 15px;
  }
  .journal-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }
  .journal-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .journal-image img {
    height: auto;
    max-height: 490px;
    aspect-ratio: 3 / 4;
  }
  .journal-caption {
    padding-top: 0;
  }
  .journal-caption h3 {
    font-size: 28px;
  }
  .journal-caption > span {
    float: right;
    margin: -30px 0 0 15px;
  }
  .journal-caption p {
    font-size: 15px;
    margin-top: 10px;
    padding-right: 20px;
  }
  .contact-intro h2 {
    font-size: 38px;
  }
  .contact-phone {
    font-size: 31px;
    gap: 18px;
  }
  .contact-hint {
    font-size: 13px;
  }
  form {
    padding: 28px 22px;
  }
  form h3 {
    font-size: 26px;
    line-height: 1.25;
  }
  label {
    font-size: 14px;
  }
  input,
  select,
  textarea {
    font-size: 16px;
    padding: 13px 12px;
  }
  form .btn {
    padding-inline: 16px;
    gap: 16px;
  }
  .visit-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .visit-grid > div:first-child {
    grid-column: auto;
  }
  .visit h2 {
    font-size: 34px;
  }
  address {
    font-size: 16px;
  }
  .address > span {
    font-size: 12px;
  }
  .phone-link {
    font-size: 25px;
  }
  .email {
    font-size: 15px;
  }
  .faq-grid {
    gap: 28px;
  }
  summary {
    font-size: 16px;
    gap: 20px;
  }
  details p {
    padding-right: 8px;
    font-size: 15px;
  }
  .footer-top {
    gap: 22px;
  }
  .footer-top > .underlink {
    font-size: 13px;
  }
  .footer-top > p {
    font-size: 15px;
  }
  .footer-bottom {
    font-size: 12px;
  }
}
@media (max-width: 359px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .hero h1 {
    font-size: 32px;
  }
  .topline .wrap > span {
    max-width: 112px;
  }
  .topline a {
    max-width: 145px;
  }
  .contact-phone {
    font-size: 28px;
    gap: 15px;
  }
  form {
    padding-inline: 19px;
  }
  .footer-top > .underlink {
    margin-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
