:root {
  --ink: #08111f;
  --muted: #526174;
  --line: #d9e2ec;
  --surface: #ffffff;
  --soft: #f5f8fb;
  --brand: #0f6fa9;
  --brand-dark: #084f7c;
  --brand-soft: #e7f4fb;
  --accent: #1ab7d8;
  --gold: #f5ad22;
  --gold-soft: #fff3d7;
  --success: #16805b;
  --shadow: 0 24px 70px rgba(8, 17, 31, 0.11);
  --radius: 8px;
  font-family: Inter, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(217, 226, 236, 0.88);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 40px rgba(8, 17, 31, 0.09);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: clamp(178px, 19vw, 260px);
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a {
  color: #344154;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--brand-dark);
}

.nav-store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--ink);
}

.nav-store:hover,
.nav-store:focus-visible {
  color: #fff !important;
  background: var(--brand);
}

.nav-store svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button svg,
.back-top svg,
.social-links svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 680px;
  padding: 160px 0 88px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

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

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 17, 31, 0.94) 0%, rgba(8, 79, 124, 0.78) 46%, rgba(8, 79, 124, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 17, 31, 0.74), rgba(8, 17, 31, 0.08));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: end;
  gap: 50px;
}

.hero-copy {
  max-width: 780px;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #ffe7a3;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.button,
.nav-links a,
.hero-panel strong,
.stat strong {
  font-family: Inter, Arial, sans-serif;
}

.hero h1,
.history-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.45rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p,
.history-hero p {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.actions,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button:focus-visible {
  box-shadow: 0 0 0 4px rgba(26, 183, 216, 0.28);
}

.button-primary {
  background: var(--gold);
  color: #201301;
  box-shadow: 0 16px 30px rgba(245, 173, 34, 0.3);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.button-light {
  background: #fff;
  border-color: var(--line);
  color: var(--brand-dark);
}

.hero-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(16px);
  color: #fff;
}

.hero-panel div {
  padding: 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-panel strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.hero-panel span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
}

.section {
  padding: 96px 0;
}

.section-tight {
  padding: 88px 0 64px;
}

.section-heading {
  max-width: 790px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading .eyebrow {
  justify-content: center;
  color: var(--muted);
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p,
.mission-card p,
.values-grid p {
  color: var(--muted);
}

.section-heading p {
  margin: 18px 0 0;
  font-size: 1.05rem;
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 40px;
  max-width: none;
  text-align: left;
}

.section-heading-row .eyebrow {
  justify-content: flex-start;
}

.section-heading-row p {
  margin: 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(300px, 0.85fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}

.section-head h2,
.history-hero h1 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-head.compact {
  display: block;
  margin-bottom: 0;
}

.section-head.compact h2 {
  margin-bottom: 16px;
}

.section-head.compact p {
  margin-bottom: 24px;
}

.section-head.centered {
  display: block;
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head.centered .eyebrow {
  justify-content: center;
}

.section-head.centered h2 {
  margin-bottom: 16px;
}

.band-white {
  background: #fff;
}

.band-blue {
  background: #083b5c;
  color: #fff;
}

.band-blue .section-head p,
.band-blue .feature p,
.band-blue .split-copy p {
  color: #d7e8f0;
}

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

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

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

.mission-card,
.values-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 44px rgba(8, 17, 31, 0.06);
}

.mission-card {
  padding: 34px;
}

.values-grid article {
  padding: 28px;
}

.mission-card svg,
.values-grid svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.mission-card h3,
.values-grid h3 {
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 1.2rem;
}

.mission-card p,
.values-grid p {
  margin: 0;
}

.feature {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 17, 31, 0.05);
}

.band-blue .feature {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.icon-box {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: var(--radius);
  background: var(--gold-soft);
  color: #8b5600;
}

.band-blue .icon-box {
  background: rgba(26, 183, 216, 0.16);
  color: var(--accent);
}

.feature h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

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

.metrics-band {
  padding: 58px 0;
  background: var(--ink);
  color: #fff;
}

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

.metrics-grid div {
  container-type: inline-size;
  min-width: 0;
  min-height: 134px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.metrics-grid strong {
  display: block;
  max-width: 100%;
  color: var(--gold);
  font-size: clamp(1.85rem, 12cqw, 2.75rem);
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.metrics-grid span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 48px;
  align-items: center;
}

.split-media {
  overflow: hidden;
  border-radius: var(--radius);
  background: #e9eef4;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
}

.split-copy p {
  color: var(--muted);
}

.structure-note {
  align-self: stretch;
  display: grid;
  align-content: end;
  min-height: 320px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 20% 20%, rgba(245, 173, 34, 0.24), transparent 34%);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.18);
}

.structure-note span {
  margin-bottom: 12px;
  color: var(--gold);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.structure-note strong {
  max-width: 520px;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1.12;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 700;
}

.check-list svg {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--success);
}

.client-section {
  background: var(--soft);
}

.client-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.content-stack {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

.content-stack p {
  margin-bottom: 0;
}

.content-stack .button {
  justify-self: start;
  margin-top: 8px;
}

.mastter-map-section {
  background: #fff;
}

.map-image-frame {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.map-image-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.brand-grid a {
  display: grid;
  place-items: center;
  min-height: 132px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 44px rgba(8, 17, 31, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.brand-grid a:hover,
.brand-grid a:focus-visible {
  border-color: rgba(26, 183, 216, 0.7);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.brand-grid img {
  max-height: 76px;
  object-fit: contain;
}

.brand-grid.brand-carousel-root {
  display: block;
}

.brand-carousel-frame {
  min-height: 278px;
}

.brand-carousel-page {
  animation: brandPageFade 180ms ease;
}

.brand-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.brand-carousel-controls button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 12px 30px rgba(8, 17, 31, 0.08);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.brand-carousel-controls button:hover,
.brand-carousel-controls button:focus-visible {
  border-color: rgba(26, 183, 216, 0.7);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.brand-carousel-controls svg {
  width: 18px;
  height: 18px;
}

.brand-carousel-controls span {
  min-width: 58px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.brand-carousel-root.is-single-page .brand-carousel-controls {
  display: none;
}

@keyframes brandPageFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.brand-card img {
  max-height: 88px;
  object-fit: contain;
}

.work-cta {
  padding: 64px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 17, 31, 0.96), rgba(8, 79, 124, 0.76)),
    url("img/bg-cta.jpg") center/cover;
}

.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 58px;
}

.work-cta h2 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.1;
}

.work-cta p {
  max-width: 620px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.work-cta .eyebrow {
  margin-bottom: 14px;
  color: var(--gold);
}

.work-cta .button-light {
  color: var(--ink);
}

.contact-section {
  background: var(--soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 58px;
  align-items: center;
}

.contact-card {
  display: grid;
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 17, 31, 0.05);
}

.contact-card div {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 14px;
}

.contact-card svg {
  color: var(--brand-dark);
}

.contact-card span {
  color: var(--ink);
  font-weight: 800;
}

.contact-card p {
  grid-column: 2;
  margin-bottom: 0;
  color: var(--muted);
}

.contact-card a {
  color: var(--brand);
  font-weight: 700;
}

.map-embed {
  width: 100%;
  height: 390px;
  margin-top: 46px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label {
  color: #344154;
  font-size: 0.87rem;
  font-weight: 800;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdff;
}

.field textarea {
  min-height: 138px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: 3px solid rgba(26, 183, 216, 0.18);
  border-color: var(--accent);
}

.map-frame {
  width: 100%;
  height: 380px;
  margin-top: 32px;
  border: 0;
  border-radius: var(--radius);
  display: block;
  filter: saturate(0.9);
  box-shadow: var(--shadow);
}

.site-footer {
  padding: 62px 0;
  background: #07101d;
  color: #d9e2ec;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 46px;
}

.footer-logo {
  width: min(260px, 100%);
  margin-bottom: 22px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 1rem;
}

.site-footer a {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 0;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
}

.social-links a:hover,
.social-links a:focus-visible {
  color: #fff;
  background: rgba(26, 183, 216, 0.18);
}

.social-links svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.lgpd-seal {
  width: 150px;
  margin-top: 18px;
  border-radius: 6px;
}

.cookie {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 80;
  display: none;
}

.cookie.is-visible {
  display: block;
}

.cookie-inner {
  width: min(980px, 100%);
  margin-left: auto;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.cookie p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie a {
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: underline;
}

.history-hero {
  min-height: 560px;
  padding: 160px 0 88px;
  background:
    linear-gradient(135deg, rgba(8, 17, 31, 0.94), rgba(8, 79, 124, 0.88)),
    url("https://cms-api.chocosul.com.br/storage/images/mapas/image_mapa932033cd-8eb2-40c1-a2dd-5272a203c210.png") center / cover no-repeat;
  color: #fff;
}

.history-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 58px;
  align-items: center;
}

.history-hero p {
  max-width: 720px;
  margin: 26px 0 0;
  color: #d9edf5;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.history-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 16px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.history-summary strong {
  color: var(--gold);
  font-size: 1.6rem;
  line-height: 1;
}

.history-summary span {
  align-self: end;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.history-section {
  background: var(--soft);
}

.timeline {
  position: relative;
  display: grid;
  gap: 22px;
  max-width: 920px;
  margin-inline: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 178px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 169px;
  top: 28px;
  width: 20px;
  height: 20px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 1px var(--line);
}

.timeline-item time {
  padding-top: 20px;
  color: var(--brand);
  font-weight: 800;
}

.timeline-item div {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 44px rgba(8, 17, 31, 0.06);
}

.timeline-item h3 {
  margin-top: 0;
}

.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.history-page .footer-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 46px;
}

.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 10px 24px rgba(8, 17, 31, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(26, 183, 216, 0.42);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: 82px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-content: start;
    padding: 24px 20px;
    background: #fff;
    border-top: 1px solid var(--line);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    padding: 14px 12px;
    border-radius: var(--radius);
  }

  .nav-links .nav-store {
    justify-content: center;
    border-radius: 999px;
  }

  .hero-grid,
  .section-heading-row,
  .section-head,
  .split,
  .work-grid,
  .history-hero-grid,
  .client-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 128px 0 64px;
  }

  .metrics-grid,
  .feature-grid,
  .mission-grid,
  .values-grid,
  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .logo img {
    width: 178px;
  }

  .metrics-grid,
  .feature-grid,
  .mission-grid,
  .values-grid,
  .brand-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .content-stack .button {
    justify-self: stretch;
  }

  .metrics-grid strong {
    font-size: clamp(2rem, 14cqw, 2.85rem);
  }

  .brand-carousel-frame {
    min-height: 118px;
  }

  .section {
    padding: 70px 0;
  }

  .history-hero {
    min-height: auto;
    padding: 128px 0 64px;
  }

  .work-grid,
  .cookie-inner {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 34px;
  }

  .timeline-item::before {
    left: 0;
    top: 18px;
  }

  .timeline-item time {
    padding-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
