/* ========== OverStudio — tokens ========== */
:root {
  --red: #e62628;
  --red-deep: #c62b2d;
  --black: #0a0a0a;
  --ink: #111112;
  --ink-2: #18181a;
  --line: rgba(236, 236, 234, .12);
  --paper: #ecebea;
  --muted: #9a9a98;

  --font: "Outfit", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--paper);
  font-family: var(--font);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--red); color: #fff; }

.thin { font-weight: 200; }
.bold { font-weight: 800; }
.dot { color: var(--red); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 20px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }

/* ========== Botões ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff;
  font-weight: 600; font-size: 15px; letter-spacing: .02em;
  transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); background: #ff3436; border-color: #ff3436; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--paper); }
.btn--ghost:hover { background: rgba(255,255,255,.06); border-color: var(--paper); }
.btn--small { padding: 10px 20px; font-size: 14px; }
.btn--full { width: 100%; }

/* ========== Header ========== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background .4s, padding .4s, backdrop-filter .4s;
}
.header.is-scrolled {
  background: rgba(10,10,10,.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.header__logo img { width: 168px; height: auto; }
.header.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-color: transparent; }
.nav { display: flex; align-items: center; gap: 34px; font-size: 15px; font-weight: 400; }
.nav a:not(.btn) { position: relative; opacity: .8; transition: opacity .2s; }
.nav a:not(.btn):hover { opacity: 1; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--paper); transition: transform .3s var(--ease), top .3s; }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px var(--gutter) 100px;
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 75% 45%, rgba(230,38,40,.16), transparent 70%),
    var(--black);
}
.hero::after { /* granulação de filme */
  content: ""; position: absolute; inset: -50%; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0,0); } 25% { transform: translate(-3%,2%); }
  50% { transform: translate(2%,-3%); } 75% { transform: translate(-2%,-1%); } 100% { transform: translate(0,0); }
}

.hero__mark {
  position: absolute; right: -8vw; top: 50%;
  width: min(68vw, 920px); aspect-ratio: 1220 / 1065;
  transform: translateY(-50%);
  pointer-events: none;
}
.mark { width: 100%; height: 100%; overflow: visible; }
.mark .arc { fill: var(--red); transform-box: view-box; transform-origin: 0 0; }
.mark--hero .arc { opacity: .9; }
.mark--hero .arc-top-big   { animation: arcIn 1.6s var(--ease) both .1s; }
.mark--hero .arc-top-small { animation: arcIn 1.6s var(--ease) both .3s; }
.mark--hero .arc-bot-big   { animation: arcInRev 1.6s var(--ease) both .2s; }
.mark--hero .arc-bot-dot   { animation: arcInRev 1.6s var(--ease) both .4s; }
@keyframes arcIn    { from { transform: rotate(-180deg); opacity: 0; } to { transform: rotate(0); opacity: .9; } }
@keyframes arcInRev { from { transform: rotate(180deg);  opacity: 0; } to { transform: rotate(0); opacity: .9; } }

.hero__content { position: relative; z-index: 2; max-width: 1000px; padding-top: 40px; }
.hero__title {
  margin: 0 0 28px;
  font-size: clamp(46px, 7.2vw, 116px);
  line-height: .95;
  letter-spacing: -.035em;
}
.hero__title > span { display: block; }
.hero__title .thin, .hero__title .bold { opacity: 0; transform: translateY(40px); animation: rise 1.1s var(--ease) forwards; }
.hero__title .bold { animation-delay: .15s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero__lead { max-width: 520px; color: #c8c8c6; font-size: clamp(17px, 1.6vw, 20px); margin: 0 0 40px; opacity: 0; animation: rise 1s var(--ease) .35s forwards; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; animation: rise 1s var(--ease) .5s forwards; }
.hero .eyebrow { opacity: 0; animation: rise 1s var(--ease) forwards; }

/* Viewfinder */
.viewfinder { position: absolute; inset: 96px var(--gutter) 36px; pointer-events: none; z-index: 1; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: rgba(236,235,234,.7); }
.vf { position: absolute; width: 28px; height: 28px; border-color: rgba(236,235,234,.45); border-style: solid; border-width: 0; }
.vf--tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.vf--tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.vf--bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.vf--br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.vf-rec { position: absolute; top: 14px; left: 44px; display: flex; align-items: center; gap: 8px; }
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.vf-tc { position: absolute; top: 14px; right: 44px; }
.vf-meta { position: absolute; bottom: 12px; right: 44px; }

.scroll-cue { position: absolute; left: 50%; bottom: 30px; width: 22px; height: 36px; border: 1px solid rgba(236,235,234,.4); border-radius: 12px; transform: translateX(-50%); z-index: 2; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; background: var(--paper); border-radius: 2px; transform: translateX(-50%); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%,0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,12px); } }

/* ========== Faixa do padrão ========== */
.pattern-band {
  height: 72px;
  background: var(--red) url("assets/ativo-2.png") repeat-x left center / auto 100%;
  animation: band 40s linear infinite;
}
.pattern-band--thin { height: 36px; animation-duration: 60s; }
@keyframes band { to { background-position-x: -1400px; } }

/* ========== Marquee ========== */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: 26px 0; }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-size: clamp(26px, 3.4vw, 46px); font-weight: 200; letter-spacing: -.02em; white-space: nowrap; }
.marquee span.b { font-weight: 800; }
.marquee i { width: 14px; height: 14px; border-radius: 50%; background: var(--red); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ========== Seções ========== */
.section { padding: clamp(80px, 12vw, 160px) var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.section--alt { max-width: none; background: var(--ink); }
.section--alt > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section__head { margin-bottom: clamp(40px, 6vw, 72px); }
.section__title { margin: 0; font-size: clamp(38px, 5.6vw, 80px); line-height: 1; letter-spacing: -.03em; }

/* ========== Trabalhos ========== */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: none; font-size: 14px; transition: all .25s; }
.filter:hover { border-color: var(--paper); }
.filter.is-active { background: var(--paper); color: var(--black); border-color: var(--paper); font-weight: 600; }

.work-group { margin-bottom: clamp(48px, 6vw, 80px); }
.work-group.is-hidden { display: none; }
.work-group__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.work-group__label { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 20px; color: var(--paper); }
.work-group__label span { color: var(--muted); margin-left: 8px; }
.rail-nav { display: flex; gap: 8px; margin-bottom: 20px; }
.rail-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: none; font-size: 18px; transition: all .25s; }
.rail-btn:hover { border-color: var(--red); background: var(--red); }

.works--h { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
.works--v {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 21vw, 300px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 0; padding-bottom: 12px;
  scrollbar-width: thin; scrollbar-color: var(--red) transparent;
}
.works--v .work { scroll-snap-align: start; }
.work { cursor: pointer; outline: none; }
.work.is-hidden { display: none; }
.work__media {
  position: relative; border-radius: 6px; overflow: hidden; background: #151517 var(--thumb, none) center / cover no-repeat;
}
.work--h .work__media { aspect-ratio: 16 / 9; }
.work--v .work__media { aspect-ratio: 9 / 16; }
.work__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.work__media video.is-playing { opacity: 1; }
.work__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.45)); transition: background .4s; pointer-events: none; }
.work__play {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(10,10,10,.45); border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(6px);
  transform: translate(-50%,-50%) scale(.9); transition: all .4s var(--ease);
}
.work__play::before { content: ""; position: absolute; left: 26px; top: 21px; border-left: 15px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.work:hover .work__play, .work:focus-visible .work__play { transform: translate(-50%,-50%) scale(1); background: var(--red); border-color: var(--red); }
.work:hover .work__media.has-preview .work__play { opacity: 0; }
.work:focus-visible .work__media { outline: 2px solid var(--red); outline-offset: 3px; }
.work__dur { position: absolute; right: 10px; bottom: 10px; z-index: 2; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; padding: 3px 7px; border-radius: 3px; background: rgba(0,0,0,.6); }
.work__info { padding: 14px 2px 4px; }
.work__tag { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.work__info h3 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.work--v .work__info h3 { font-size: 17px; }
.work__info p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }

/* ========== Fotografia ========== */
.gallery { columns: 4 240px; column-gap: 14px; }
.gallery__item { display: block; margin-bottom: 14px; break-inside: avoid; border-radius: 4px; overflow: hidden; position: relative; cursor: zoom-in; }
.gallery__item img { width: 100%; height: auto; transition: transform .8s var(--ease), filter .4s; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 var(--red); transition: box-shadow .3s; }
.gallery__item:hover::after { box-shadow: inset 0 0 0 3px var(--red); }

.lightbox { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; background: rgba(5,5,5,.96); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: calc(100vw - 140px); max-height: calc(100svh - 80px); object-fit: contain; border-radius: 4px; }
.lightbox__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: rgba(10,10,10,.6); font-size: 20px; }
.lightbox__btn:hover { background: var(--red); border-color: var(--red); }
.lightbox__btn--prev { left: 20px; }
.lightbox__btn--next { right: 20px; }
.lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .1em; }

/* ========== Serviços ========== */
.services { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service { position: relative; padding: 40px 36px 48px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; transition: background .4s; }
.service::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.service:hover { background: var(--ink-2); }
.service:hover::before { transform: scaleX(1); }
.service__num { font-family: var(--mono); font-size: 13px; color: var(--red); }
.service h3 { margin: 40px 0 12px; font-size: 26px; font-weight: 600; letter-spacing: -.015em; line-height: 1.15; }
/* 5 serviços: o último ocupa o espaço restante da linha */
.service:last-child:nth-child(3n+2) { grid-column: span 2; }
.service p { margin: 0; color: var(--muted); font-size: 16px; }

/* ========== Processo ========== */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 37px; height: 1px; background: var(--line); }
.process li { position: relative; padding-right: 24px; }
.process__tc { display: inline-block; font-family: var(--mono); font-size: 13px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--black); margin-bottom: 40px; }
.process li::after { content: ""; position: absolute; left: 0; top: 33px; width: 9px; height: 9px; border-radius: 50%; background: var(--red); transform: translateX(-50%); display: none; }
.process h3 { margin: 0 0 10px; font-size: 24px; font-weight: 600; }
.process p { margin: 0; color: var(--muted); font-size: 16px; }
.process li:hover .process__tc { border-color: var(--red); color: var(--red); }

/* ========== Sobre ========== */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.about__mark { aspect-ratio: 1220 / 1065; max-width: 480px; width: 100%; }
.mark--about .arc { fill: none; stroke: var(--red); stroke-width: 6; }
.mark--about .arc-top-big, .mark--about .arc-top-small { transform: rotate(var(--rot-a, 0deg)); transition: transform .1s linear; }
.mark--about .arc-bot-big, .mark--about .arc-bot-dot { transform: rotate(var(--rot-b, 0deg)); transition: transform .1s linear; }
.mark--about .arc-bot-dot { fill: var(--red); }
.about__text .section__title { margin-bottom: 32px; }
.about__text p:not(.eyebrow) { color: #c8c8c6; max-width: 560px; }

/* ========== Contato ========== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); }
.contact__title { margin: 0 0 48px; font-size: clamp(44px, 6.4vw, 96px); line-height: .98; letter-spacing: -.035em; }
.contact__title > span { display: block; }
.contact__list { list-style: none; padding: 0; margin: 0; }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; padding: 18px 0; border-top: 1px solid var(--line); }
.contact__list li:last-child { border-bottom: 1px solid var(--line); }
.contact__list span { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.contact__list a { font-size: 19px; font-weight: 400; transition: color .2s; word-break: break-word; }
.contact__list a:hover { color: var(--red); }

.form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-content: start; background: var(--ink); padding: clamp(24px, 4vw, 44px); border-radius: 8px; border: 1px solid var(--line); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field input::placeholder { color: #55555a; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent;
  color: var(--paper); font: 400 17px var(--font); outline: none; transition: border-color .25s; border-radius: 0;
}
.field select { appearance: none; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%23ecebea' fill='none'/></svg>") no-repeat right center; }
.field select option { background: var(--ink); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--red); }
.form .btn { grid-column: 1 / -1; margin-top: 12px; }
.form__note { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--muted); min-height: 1em; }

/* ========== Footer ========== */
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 40px var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.footer__inner img { width: 160px; height: auto; }
.footer__inner p { margin: 0; font-size: 14px; color: var(--muted); }
.footer__top { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.footer__top:hover { color: var(--red); }

/* ========== Modal ========== */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: var(--gutter); background: rgba(5,5,5,.94); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__frame { width: min(1200px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 6px; overflow: hidden; display: grid; place-items: center; text-align: center; color: var(--muted); font-family: var(--mono); font-size: 14px; padding: 20px; }
.modal__frame iframe, .modal__frame video { width: 100%; height: 100%; border: 0; background: #000; }
.modal__frame.is-vertical { width: auto; height: min(86svh, 960px); aspect-ratio: 9 / 16; max-width: 100%; padding: 0; }
.modal__frame:has(video), .modal__frame:has(iframe) { padding: 0; }
.modal__close { position: absolute; top: 18px; right: 24px; background: none; border: 0; font-size: 44px; line-height: 1; font-weight: 200; }
.modal__close:hover { color: var(--red); }

/* ========== Revelar ao rolar ========== */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ========== Responsivo ========== */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .service:last-child:nth-child(3n+2) { grid-column: auto; }
  .service:last-child:nth-child(2n+1) { grid-column: span 2; }
  .process { grid-template-columns: 1fr; gap: 36px; padding-left: 28px; }
  .process::before { left: 0; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .process li::after { display: block; left: -28px; top: 12px; }
  .process__tc { margin-bottom: 14px; }
}

@media (max-width: 820px) {
  body { font-size: 17px; }
  .burger { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 28px;
    background: var(--black); font-size: 30px; font-weight: 200;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav .btn { font-size: 18px; margin-top: 10px; }
  .header__logo { z-index: 2; }
  .header__logo img { width: 140px; }

  .hero { align-items: flex-end; padding-bottom: 110px; }
  .hero__mark { right: -30vw; top: 32%; width: 120vw; opacity: .55; }
  .viewfinder { inset: 84px 16px 24px; }
  .vf-meta { display: none; }

  .pattern-band { height: 48px; }
  .works--h { grid-template-columns: 1fr; }
  .works--v { grid-auto-columns: 62vw; margin-right: calc(-1 * var(--gutter)); }
  .rail-nav { display: none; }
  .gallery { columns: 2; column-gap: 8px; }
  .gallery__item { margin-bottom: 8px; }
  .lightbox img { max-width: 100vw; max-height: 80svh; }
  .lightbox__btn { top: auto; bottom: 20px; transform: none; }
  .services { grid-template-columns: 1fr; }
  .service:last-child:nth-child(2n+1) { grid-column: auto; }
  .service { padding: 32px 24px 36px; }
  .service h3 { margin-top: 24px; }
  .about, .contact { grid-template-columns: 1fr; }
  .about__mark { max-width: 280px; }
  .form { grid-template-columns: 1fr; }
  .contact__list li { grid-template-columns: 1fr; gap: 4px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

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