@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/jakarta-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

/* Raios: cartões e fotos 24px / campos 12px / botões e chips em pílula */
:root {
  --bg: #f4f5f6;
  --surface: #fcfcfd;
  --field: #f1f3f5;
  --ink: #15181c;
  --muted: #59616b;
  --soft: #7c858f;
  --line: #e1e4e8;
  --brand: #0098db;
  --brand-ink: #0070a6;
  --r: 24px;
  --r-field: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1280px;
  --pad: clamp(16px, 3.5vw, 40px);
  --shadow: 0 24px 60px -32px rgb(21 24 28 / .28);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 "Plus Jakarta Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.035em; line-height: 1.06; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 18ch; text-wrap: balance; }
h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -.02em; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.ic { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: var(--r-field); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* botões */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 54px; padding: 0 7px 0 24px;
  background: var(--ink); color: #f6f7f8; border: 1px solid var(--ink); border-radius: 999px;
  font: 600 1rem/1 "Plus Jakarta Sans", sans-serif; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .5s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.btn .bi {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: #fff; transition: transform .5s var(--ease);
}
.btn .bi .ic { width: 18px; height: 18px; }
.btn:hover .bi { transform: translate(2px, -1px) scale(1.06); }
.btn:active { transform: scale(.98); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); padding: 0 24px; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fcfcfd; color: var(--ink); border-color: #fcfcfd; }
.btn-glass { background: rgb(255 255 255 / .12); color: #fff; border-color: rgb(255 255 255 / .4); padding: 0 24px; }
.btn-glass:hover { background: rgb(255 255 255 / .22); }
.btn-sm { min-height: 44px; padding: 0 5px 0 18px; font-size: .92rem; gap: 10px; }
.btn-sm .bi { width: 34px; height: 34px; }

/* topo */
.top {
  position: sticky; top: 0; z-index: 30;
  background: rgb(244 245 246 / .86);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.brand img { height: 38px; width: auto; }
.nav-links { display: flex; gap: 34px; }
.nav-links a { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--muted); transition: color .3s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.menu-btn { display: none; }
.menu[hidden] { display: none; }

/* destaque */
.hero { padding: 6px 0 0; }
.hero-card {
  position: relative; overflow: hidden; border-radius: 32px;
  min-height: clamp(560px, 82vh, 780px); display: flex; align-items: flex-end;
  background: #2a2f35;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.hero-card::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgb(12 15 18 / .7) 0%, rgb(12 15 18 / .3) 45%, rgb(12 15 18 / 0) 70%),
    linear-gradient(0deg, rgb(12 15 18 / .6) 0%, rgb(12 15 18 / 0) 55%);
}
.hero-txt { position: relative; z-index: 1; padding: clamp(28px, 5vw, 64px); max-width: 720px; color: #fff; }
h1 { font-size: clamp(2.7rem, 5.8vw, 5.2rem); letter-spacing: -.045em; line-height: 1; text-wrap: balance; }
.lead { margin-top: 22px; font-size: 1.15rem; color: rgb(255 255 255 / .88); max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* seções */
.sec { padding: clamp(96px, 12vw, 160px) 0 0; }
.sec-head { display: grid; gap: 16px; }
.sub { color: var(--muted); font-size: 1.1rem; max-width: 54ch; }

/* serviços */
.escopo { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.escopo-media { position: sticky; top: 110px; aspect-ratio: 4 / 4.3; border-radius: var(--r); overflow: hidden; background: #dde1e5; }
.escopo-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04); transition: opacity .8s var(--ease), transform 1.2s var(--ease);
}
.escopo-media img.on { opacity: 1; transform: none; }
.escopo-list { list-style: none; margin: 0; padding: 0; }
.esc { padding: 34px 0 36px; border-top: 1px solid var(--line); display: grid; gap: 14px; outline: none; position: relative; }
.esc:last-child { border-bottom: 1px solid var(--line); }
.esc::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 100%; height: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease);
}
.esc.on::before { transform: none; }
.esc-img { display: none; }
.esc-head { display: flex; align-items: center; gap: 14px; }
.esc-head .ic { width: 30px; height: 30px; color: var(--soft); transition: color .5s var(--ease); }
.esc h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--soft); transition: color .5s var(--ease); }
.esc > p { color: var(--muted); max-width: 46ch; }
.esc.on h3 { color: var(--ink); }
.esc.on .esc-head .ic { color: var(--brand); }
.chips { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .84rem; font-weight: 500; color: var(--muted); padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }

/* obras */
.cats { margin-top: 48px; display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.cat { position: relative; display: grid; gap: 14px; text-decoration: none; color: var(--ink); }
.cat-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 20px; background: #dde1e5; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat:hover .cat-img img { transform: scale(1.05); }
.cat-txt { display: grid; gap: 2px; padding-right: 52px; }
.cat-txt b { font-size: 1.15rem; font-weight: 650; letter-spacing: -.02em; }
.cat-txt span { font-size: .9rem; color: var(--muted); }
.cat-go {
  position: absolute; right: 0; bottom: 4px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff; transition: transform .5s var(--ease), background-color .3s var(--ease);
}
.cat-go .ic { width: 18px; height: 18px; }
.cat:hover .cat-go { background: var(--brand); transform: translate(2px, -2px); }
.more { display: inline-flex; align-items: center; gap: 10px; margin-top: 34px; color: var(--brand-ink); text-decoration: none; font-weight: 600; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* como trabalhamos */
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.steps li { position: relative; border-top: 1px solid var(--line); padding-top: 26px; display: grid; gap: 10px; align-content: start; }
.steps li::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 100%; height: 2px; background: var(--brand);
  transform-origin: left; transition: transform 1.1s var(--ease);
}
.js .steps li:not(.in)::before { transform: scaleX(0); }
.steps li:nth-child(2)::before { transition-delay: .12s; }
.steps li:nth-child(3)::before { transition-delay: .24s; }
.steps li:nth-child(4)::before { transition-delay: .36s; }
.steps li:nth-child(5)::before { transition-delay: .48s; }
.steps .n { font-size: .9rem; font-weight: 700; color: var(--brand-ink); letter-spacing: .02em; }
.steps h3 { font-size: 1.35rem; }
.steps p { color: var(--muted); }

/* quem somos */
.about { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about-img { margin: 0; }
.about-img img { width: 100%; aspect-ratio: 4 / 4.8; object-fit: cover; border-radius: var(--r); }
.about-txt { display: grid; gap: 20px; }
.about-txt > p { color: var(--muted); max-width: 52ch; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.person { display: grid; gap: 4px; padding: 20px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.person b { font-weight: 650; letter-spacing: -.01em; }
.person span { color: var(--muted); font-size: .88rem; }
.person .crea { white-space: nowrap; color: var(--brand-ink); font-weight: 600; }
.slogan {
  margin: 18px 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--brand);
  font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.35; max-width: 30ch;
}

/* orçamento */
#orcamento { padding-bottom: clamp(96px, 12vw, 160px); }
.quote-box {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 32px;
  padding: clamp(24px, 5vw, 64px); box-shadow: var(--shadow);
}
.quote-box > *, .lead-form, .opt { min-width: 0; }
.quote-side { display: grid; gap: 18px; }
.quote-side > p { color: var(--muted); font-size: 1.08rem; max-width: 40ch; }
.side-h { font-size: .95rem; margin-top: 14px; }
.cities li { color: var(--ink); background: var(--bg); }
.phones { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.phones a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.phones a .ic { color: var(--brand); }
.phones a:hover { color: var(--brand-ink); }

.form-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.step-count { font-size: .85rem; font-weight: 500; color: var(--muted); }
.step-count b { color: var(--brand-ink); }
.progress { display: grid; grid-template-columns: repeat(3, 44px); gap: 6px; }
.progress i { height: 4px; border-radius: 4px; background: var(--line); transition: background-color .5s var(--ease); }
.progress i.on { background: var(--brand); }
.step { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 22px; }
.js .step:not(.cur) { display: none; }
legend { font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; padding: 0; margin-bottom: 4px; }
.field { display: grid; gap: 8px; }
.lbl { font-weight: 600; font-size: .95rem; }
.lbl em { font-weight: 400; color: var(--muted); font-style: normal; }
input[type=text], input[type=tel], select, textarea {
  width: 100%; min-height: 54px; padding: 12px 16px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--field); border: 1px solid var(--line); border-radius: var(--r-field);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
textarea { resize: vertical; min-height: 96px; }
input::placeholder { color: var(--soft); }
input:focus, select:focus, textarea:focus { outline: none; background-color: var(--surface); border-color: var(--brand); box-shadow: 0 0 0 4px rgb(0 152 219 / .14); }
.opts { display: grid; gap: 10px; }
.opts-2 { grid-template-columns: 1fr 1fr; }
.opts-3 { grid-template-columns: repeat(3, 1fr); }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span {
  display: flex; align-items: center; gap: 12px; height: 100%; min-height: 64px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--r-field); background: var(--field);
  font-weight: 600; line-height: 1.25; transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.opt-sm span { min-height: 52px; font-weight: 500; font-size: .95rem; }
.opt span .ic { width: 24px; height: 24px; color: var(--brand); }
.opt:hover span { border-color: var(--soft); }
.opt input:checked + span { border-color: var(--brand); background: rgb(0 152 219 / .08); }
.opt input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.err { display: none; color: #b42318; font-size: .9rem; font-weight: 500; }
.field.bad .err, .step.bad > .err { display: block; }
.field.bad input, .field.bad select { border-color: #b42318; }
.step-nav { display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; margin-top: 6px; }
.step-nav .btn:only-child { margin-left: auto; }
.fine { font-size: .85rem; color: var(--muted); }
.sent { display: flex; gap: 14px; align-items: flex-start; padding-top: 20px; }
.sent[hidden] { display: none; }
.sent .ic { width: 24px; height: 24px; color: var(--brand); }
.sent a { color: var(--brand-ink); font-weight: 600; }

/* rodapé */
.foot { border-top: 1px solid var(--line); padding: 56px 0 32px; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr 1.2fr; gap: 32px; }
.foot h3 { font-size: .9rem; margin-bottom: 10px; }
.foot p { color: var(--muted); font-size: .94rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--brand-ink); text-decoration: underline; }
.foot-brand img { height: 40px; width: auto; margin-bottom: 12px; }
.copy { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--soft); font-size: .84rem; }

.mbar { display: none; }

/* menu do celular */
.menu {
  position: fixed; inset: 0; z-index: 25; padding: 96px var(--pad) 32px;
  background: rgb(244 245 246 / .97); opacity: 0; transition: opacity .45s var(--ease);
}
.menu.open { opacity: 1; }
.menu-in { display: grid; gap: 4px; }
.menu-in a:not(.btn) {
  font-size: 2rem; font-weight: 650; letter-spacing: -.035em; text-decoration: none; padding: 10px 0;
  border-bottom: 1px solid var(--line);
  transform: translateY(24px); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease);
}
.menu-in .btn { margin-top: 28px; justify-self: start; transform: translateY(24px); opacity: 0; transition: transform .7s var(--ease) .25s, opacity .7s var(--ease) .25s; }
.menu.open .menu-in > * { transform: none; opacity: 1; }
.menu-in a:nth-child(2) { transition-delay: .05s; }
.menu-in a:nth-child(3) { transition-delay: .1s; }
.menu-in a:nth-child(4) { transition-delay: .15s; }

/* galeria por categoria: grade de fotos e foto ampliada */
.galeria {
  border: 0; padding: 0; margin: 0; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh;
  background: rgb(12 15 18 / .96); color: #fff;
}
.galeria::backdrop { background: rgb(12 15 18 / .6); }
.galeria[open] { display: flex; flex-direction: column; }
.gal-top {
  display: flex; align-items: center; gap: 16px; flex: none;
  padding: 16px clamp(16px, 3vw, 32px); border-bottom: 1px solid rgb(255 255 255 / .12);
}
.gal-top h2 { font-size: clamp(1.2rem, 2vw, 1.5rem); max-width: none; }
.gal-count { color: rgb(255 255 255 / .65); font-size: .92rem; margin-right: auto; }
.gal-back {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px 0 12px;
  border-radius: 999px; border: 1px solid rgb(255 255 255 / .25); background: transparent; color: #fff;
  font: 600 .9rem/1 "Plus Jakarta Sans", sans-serif; cursor: pointer;
}
.gal-back[hidden] { display: none; }
.gal-grid {
  flex: 1; overflow-y: auto; padding: clamp(16px, 3vw, 32px);
  display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); align-content: start;
}
.gal-grid[hidden] { display: none; }
.gal-grid button { padding: 0; border: 0; background: #22272d; border-radius: 14px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; }
.gal-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gal-grid button:hover img { transform: scale(1.05); }
.gal-view { flex: 1; min-height: 0; display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; padding: 16px 0; }
.gal-view[hidden] { display: none; }
.gal-view img { justify-self: center; max-height: calc(100dvh - 120px); max-width: 100%; width: auto; border-radius: 16px; }
.lb-nav, .gal-close {
  width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%;
  background: rgb(255 255 255 / .1); color: #fff; border: 1px solid rgb(255 255 255 / .25); cursor: pointer;
  transition: background-color .3s var(--ease);
}
.lb-nav:hover, .gal-close:hover { background: rgb(255 255 255 / .2); }
.lb-nav .ic, .gal-close .ic { width: 22px; height: 22px; }
.lb-nav { justify-self: center; }
.gal-close { flex: none; }

/* movimento: entradas só por deslocamento, o conteúdo nunca fica invisível */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { transform: translateY(26px); transition: transform 1s var(--ease); }
  .js .rv.in { transform: none; }
  .hero-img { animation: zoom 2.4s var(--ease) both; }
  .hero-txt > * { animation: up 1.1s var(--ease) both; }
  .hero-txt > :nth-child(2) { animation-delay: .1s; }
  .hero-txt > :nth-child(3) { animation-delay: .2s; }
  @keyframes up { from { transform: translateY(24px); } }
  @keyframes zoom { from { transform: scale(1.08); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .steps li::before, .esc::before, .escopo-media img, .menu, .menu-in > * { transition: none !important; }
}

/* tablet */
@media (max-width: 1080px) {
  .nav-links { gap: 22px; }
  .nav-links a:nth-child(3) { display: none; }
  .cats { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
  .quote-box { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}

/* celular */
@media (max-width: 820px) {
  body { font-size: 16px; }
  .top-in { height: 66px; }
  .brand img { height: 32px; }
  .nav-links, .nav-cta { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
    border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink);
    font: 700 .76rem/1 "Plus Jakarta Sans", sans-serif; letter-spacing: .12em; cursor: pointer;
  }
  .burger { position: relative; width: 16px; height: 10px; }
  .burger i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease), top .5s var(--ease); }
  .burger i:first-child { top: 0; }
  .burger i:last-child { top: 8px; }
  .menu-btn[aria-expanded="true"] .burger i:first-child { top: 4px; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .burger i:last-child { top: 4px; transform: rotate(-45deg); }

  .hero { padding-top: 2px; }
  .hero-card { min-height: min(80svh, 640px); border-radius: 24px; }
  .hero-card::after { background: linear-gradient(0deg, rgb(12 15 18 / .78) 0%, rgb(12 15 18 / .35) 55%, rgb(12 15 18 / .08) 100%); }
  .hero-img { object-position: 35% 50%; }
  .lead { font-size: 1.02rem; margin-top: 16px; }
  .cta-row { margin-top: 26px; }
  .cta-row .btn { flex: 1 1 auto; }

  .escopo { grid-template-columns: 1fr; margin-top: 36px; }
  .escopo-media { display: none; }
  .esc-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; margin-bottom: 6px; }
  .esc h3 { color: var(--ink); }
  .esc .esc-head .ic { color: var(--brand); }
  .esc::before { display: none; }

  .cats { gap: 22px 12px; margin-top: 36px; }
  .cat { gap: 10px; }
  .cat-img { border-radius: 16px; }
  .cat-txt { padding-right: 38px; }
  .cat-txt b { font-size: 1rem; line-height: 1.25; }
  .cat-txt span { font-size: .84rem; }
  .cat-go { width: 32px; height: 32px; bottom: 2px; }
  .cat-go .ic { width: 15px; height: 15px; }

  .steps { grid-template-columns: 1fr; gap: 32px; }
  .about { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; }
  .quote-box { border-radius: 24px; }
  .foot-in { grid-template-columns: 1fr; gap: 26px; }
  .foot { padding-bottom: 110px; }

  .mbar {
    display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 15;
    transition: transform .5s var(--ease);
  }
  .mbar .btn { width: 100%; box-shadow: 0 18px 40px -18px rgb(21 24 28 / .6); }
  .mbar.off { transform: translateY(calc(100% + 30px)); }

  .gal-top { gap: 12px; padding: 12px 16px; }
  .gal-top h2 { font-size: 1.1rem; }
  .galeria.vendo .gal-top h2 { display: none; }
  .gal-grid { grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
  .gal-grid button { border-radius: 10px; }
  .gal-view { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; gap: 16px; padding: 12px; }
  .gal-view img { grid-column: 1 / -1; grid-row: 1; max-height: calc(100dvh - 190px); }
  .lb-prev { grid-row: 2; justify-self: end; }
  .lb-next { grid-row: 2; justify-self: start; }
}

@media (max-width: 480px) {
  .step[data-step="1"] .opts-2 { grid-template-columns: 1fr; }
  .step[data-step="1"] .opt span { min-height: 58px; }
}
@media (max-width: 340px) {
  .opts-2, .opts-3 { grid-template-columns: 1fr; }
}
