/* Irmãos Cleaners — site styles. Tokens follow brand/design-system/project/tokens.json */

@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Archivo Expanded"; src: url("../fonts/Archivo-ExpandedExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --brand-blue: #1D6FB8;
  --brand-orange: #E8651A;
  --steel-ink: #14202B;
  --on-orange: #14202B;

  --surface: #FFFFFF;
  --surface-alt: #EEF1F3;
  --text: #14202B;
  --text-muted: #5B6773;
  --link: #14518A;
  --accent-text: #B9480B;
  --border: #DDE2E6;
  --rule-strong: #A7B0B9;
  --grain-a: #D3D9DE; --grain-b: #E3E7EA; --grain-c: #DADFE3;
  --drawing: #14202B;
  --focus: #14518A;
  --logo-i: #1D6FB8; --logo-word: #14202B; --logo-sub: #1D6FB8;

  --font-display: "Archivo Expanded", "Archivo", "Arial Black", sans-serif;
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 64px);
  --max: 1320px;
  --skew: -18deg;           /* 72° brand slant */
  --radius-md: 6px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --surface: #14202B;
  --surface-alt: #1C2A36;
  --text: #F2F4F6;
  --text-muted: #A7B0B9;
  --link: #6AAAE3;
  --accent-text: #F08A4B;
  --border: #2C3B48;
  --rule-strong: #3A4B5A;
  --grain-a: #1B2833; --grain-b: #22313E; --grain-c: #1E2C38;
  --drawing: #F2F4F6;
  --focus: #6AAAE3;
  --logo-i: #FFFFFF; --logo-word: #FFFFFF; --logo-sub: #FFFFFF;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--surface); color: var(--text);
  font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.6;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  caret-color: var(--brand-orange);
  transition: background-color .3s ease, color .3s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--brand-orange); color: var(--on-orange); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
html { scrollbar-color: var(--rule-strong) var(--surface); }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 50; background: var(--brand-orange); color: var(--on-orange); padding: 10px 16px; border-radius: var(--radius-md); font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.02; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.9vw, 4.25rem); line-height: 0.98; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.1; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--text-muted); max-width: 36em; }
.label { font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-muted); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px;
  border-radius: var(--radius-md); font-weight: 600; font-size: 1.0625rem; text-decoration: none;
  border: 2px solid transparent; transition: transform .2s var(--ease-out), background-color .2s ease, border-color .2s ease;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand-orange); color: var(--on-orange); }
.btn-primary:hover { background: #F07A33; }
.btn-ghost { border-color: var(--rule-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: block; width: 188px; flex: none; }
.brand svg { width: 100%; height: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.975rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--brand-orange); }
.tools { display: flex; align-items: center; gap: 10px; }
.icon-btn, .lang {
  display: inline-grid; place-items: center; height: 40px; min-width: 40px; padding: 0 10px; border-radius: var(--radius-md);
  border: 1px solid var(--border); background: transparent; color: var(--text); font: 600 0.8125rem/1 var(--font-sans);
  letter-spacing: 0.12em; text-decoration: none; cursor: pointer;
}
.icon-btn:hover, .lang:hover { border-color: var(--rule-strong); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn .moon { display: none; }
:root[data-theme="dark"] .icon-btn .sun { display: none; }
:root[data-theme="dark"] .icon-btn .moon { display: block; }
.header-call { min-height: 44px; padding: 0 16px; font-size: 0.975rem; }

/* ---------- hero (brand book: applications → website) ---------- */
.hero { position: relative; overflow: hidden; background: var(--steel-ink); color: #FFFFFF; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; min-height: min(calc(100vh - 77px), 820px); padding-block: clamp(64px, 9vw, 140px); }
.hero-copy { display: grid; gap: 22px; max-width: 640px; }
.hero-eyebrow { font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--brand-orange); }
.hero h1 { color: #FFFFFF; font-size: clamp(2.4rem, 4.8vw, 4.4rem); line-height: 0.98; }
.hero h1 span { display: block; }
.hero .lede { color: #A7B0B9; font-size: clamp(1.1rem, 1.5vw, 1.375rem); max-width: 560px; margin-top: 6px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; }
.hero .btn-ghost { color: #FFFFFF; border-color: #A7B0B9; }
.hero .btn-ghost:hover { border-color: #FFFFFF; }
.hero :focus-visible { outline-color: #6AAAE3; }
.hero-art { position: absolute; inset: 0; pointer-events: none; }
.hero .slab {
  position: absolute; top: -40px; bottom: -40px; left: 70%; right: -40%;
  background: repeating-linear-gradient(90deg, #2A3946 0 3px, #33434F 3px 7px, #2C3B48 7px 12px);
  transform: skewX(var(--skew)); transform-origin: bottom left;
}
.hero .bands { position: absolute; top: -40px; bottom: -40px; left: 57%; display: flex; gap: 26px; transform: skewX(var(--skew)); transform-origin: bottom left; }
.hero .bands i { display: block; height: 100%; }
.hero .bands .b { width: 80px; background: var(--brand-blue); }
.hero .bands .o { width: 24px; background: var(--brand-orange); }

@media (prefers-reduced-motion: no-preference) {
  .hero .bands { animation: band-in 1.1s var(--ease-out) both; }
  .hero .slab { animation: slab-in 1.3s var(--ease-out) both; }
  @keyframes band-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
  @keyframes slab-in { from { opacity: .3; transform: skewX(var(--skew)) translateX(80px); } }
}

/* ---------- sections ---------- */
section { padding-block: clamp(72px, 10vw, 128px); }
.hero { padding-block: 0; }
.atlas { padding-top: clamp(48px, 5vw, 72px); }
.atlas .section-head { margin-bottom: 36px; }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--text-muted); max-width: 34em; }

/* ---------- atlas ---------- */
.atlas { background: var(--surface-alt); }
.tabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--text); }
.tab {
  position: relative; display: grid; gap: 12px; align-content: start; padding: 20px 14px 18px; text-align: left; cursor: pointer;
  background: transparent; border: 0; border-right: 1px solid var(--border); color: var(--text-muted); font: inherit;
  transition: color .2s ease, background-color .2s ease;
}
.tab:last-child { border-right: 0; }
.tab img { width: 100%; max-width: 190px; height: auto; aspect-ratio: 3 / 2; object-fit: contain; opacity: .8; transition: opacity .2s ease, transform .3s var(--ease-out); }
.tab span { font-weight: 600; font-size: 0.9375rem; line-height: 1.25; color: var(--text); hyphens: auto; }
.tab:hover { color: var(--text); }
.tab:hover img { opacity: 1; transform: translateY(-2px); }
.tab[aria-selected="true"] { background: var(--surface); color: var(--text); }
.tab[aria-selected="true"] img { opacity: 1; }
.tab[aria-selected="true"]::before, .tab[aria-selected="true"]::after { content: ""; position: absolute; top: -16px; height: 14px; transform: skewX(var(--skew)); transform-origin: bottom left; }
.tab[aria-selected="true"]::before { left: 0; width: 64%; background: var(--brand-blue); }
.tab[aria-selected="true"]::after { left: calc(64% + 8px); width: 18%; background: var(--brand-orange); }
.seam { stroke: var(--brand-blue); }

.panels { background: var(--surface); }
.panel { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 64px); padding: clamp(28px, 4vw, 56px); border-top: 1px solid var(--border); }
.panel[hidden] { display: none; }
.panel-art { position: relative; display: grid; place-items: center; min-height: 300px; overflow: hidden; background: radial-gradient(ellipse at 50% 60%, var(--surface-alt) 0 55%, transparent 72%); }
.panel-art img { position: relative; width: 100%; max-width: 620px; height: auto; }
:root[data-theme="dark"] .panel-art { background: radial-gradient(ellipse at 50% 60%, #22313E 0 55%, transparent 72%); }
.panel-body { display: grid; gap: 22px; align-content: start; }
.panel-body > p { color: var(--text-muted); max-width: 36em; }
.lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lists h4 { margin: 0 0 10px; }
.lists ul { list-style: none; margin: 0; padding: 0; }
.problems li { padding: 9px 0; border-bottom: 1px solid var(--border); }
.treatments li { display: inline-block; margin: 0 6px 8px 0; padding: 6px 12px; border: 1px solid var(--rule-strong); border-radius: 0; font-weight: 600; font-size: 0.9375rem; }
.panel .btn { justify-self: start; }

@media (prefers-reduced-motion: no-preference) {
  .panel.is-entering .panel-art img { animation: wipe .7s var(--ease-out) both; }
  .panel.is-entering .panel-body { animation: rise .6s .08s var(--ease-out) both; }
  @keyframes wipe { from { clip-path: polygon(0 0, 0 0, -33% 100%, -33% 100%); } to { clip-path: polygon(0 0, 133% 0, 100% 100%, -33% 100%); } }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } }
}

/* ---------- problem guide ---------- */
.problem-table { border-top: 2px solid var(--text); }
.problem-row { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 2.6fr); gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--border); align-items: start; }
.problem-head { padding: 14px 0; }
.problem-row h3 { font-size: 1.125rem; line-height: 1.25; position: relative; padding-left: 20px; }
.problem-row h3::before { content: ""; position: absolute; left: 2px; top: 3px; width: 5px; height: 18px; background: var(--brand-blue); transform: skewX(var(--skew)); }
.problem-row p { color: var(--text-muted); font-size: 0.9688rem; line-height: 1.55; }
.problem-row .treatments { list-style: none; margin: 0; padding: 0; }
.problem-row:not(.problem-head):hover { background: linear-gradient(90deg, var(--surface-alt), transparent 80%); }

/* ---------- process ---------- */
/* problems and process share a white ground: one section gap between them, not two */
.problems + .process { padding-top: 0; }
.gallery + .about { padding-top: 0; }
.process-rule { height: 0; border-top: 2px solid var(--text); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); counter-reset: step; }
.steps li { position: relative; padding: 26px 20px 0 0; counter-increment: step; }
.steps li::before {
  content: counter(step); display: block; margin-bottom: 14px; font-family: var(--font-display); font-weight: 800; font-size: 0.95rem;
  color: var(--accent-text); font-variant-numeric: tabular-nums;
}
.steps li::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 18px; background: var(--rule-strong); }
.steps h3 { font-size: 1.125rem; margin-bottom: 8px; }
.steps p { color: var(--text-muted); font-size: 0.9688rem; line-height: 1.55; }
.process-note { margin-top: 40px; color: var(--text-muted); max-width: 46em; }
.more { margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 2px solid var(--text); }
.more-title { margin-bottom: 28px; }
.more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); }
.more-item { display: grid; gap: 14px; align-content: start; }
.more-item h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.more-item p { color: var(--text-muted); max-width: 36em; }
.more-item .treatments { list-style: none; margin: 4px 0 0; padding: 0; }

/* ---------- proof ---------- */
.proof { background: var(--surface-alt); }
.proof-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
figure { margin: 0; }
.photo { position: relative; overflow: hidden; background: var(--steel-ink); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.pair .photo { aspect-ratio: 4 / 5; }
.photo-tag {
  position: absolute; left: 0; bottom: 0; padding: 8px 14px 8px 12px; background: var(--steel-ink); color: #fff;
  font-weight: 600; font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase;
}
.photo-tag.after { background: var(--brand-blue); }
figcaption { margin-top: 12px; color: var(--text-muted); font-size: 0.9375rem; }
.test-card { display: grid; gap: 18px; }
.test-card .photo { aspect-ratio: 16 / 9; }
.test-card h3 { margin-top: 8px; }
.test-card p { color: var(--text-muted); }

/* ---------- photo slots (gallery, portrait) ---------- */
.slot { position: relative; overflow: hidden; background: var(--steel-ink); }
.slot img { width: 100%; height: 100%; object-fit: cover; }
.slot.is-empty {
  display: grid; place-items: center; background:
    repeating-linear-gradient(90deg, var(--grain-a) 0 2px, var(--grain-b) 2px 5px, var(--grain-c) 5px 9px);
}
.slot.is-empty::before { content: ""; position: absolute; top: -10%; bottom: -10%; right: 14%; width: 14px; background: var(--brand-blue); transform: skewX(var(--skew)); box-shadow: 22px 0 0 -4px var(--brand-orange); }
.slot.is-empty span { position: relative; padding: 8px 14px; background: var(--surface); color: var(--text-muted); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; }
.gallery-grid figure { grid-column: span 4; }
.gallery-grid .g0 { grid-column: span 8; grid-row: span 2; }
.gallery-grid .g0 .slot { aspect-ratio: auto !important; height: calc(100% - 38px); min-height: 320px; }
.gallery-grid figcaption { margin-top: 10px; margin-bottom: 8px; }

/* ---------- about ---------- */
.about { overflow-x: clip; }
.about-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.about-copy { display: grid; gap: 20px; }
.about-copy p { max-width: 36em; }
.about-copy .about-lead { font-size: clamp(1.15rem, 1.6vw, 1.375rem); line-height: 1.5; font-weight: 600; }
.about-copy .muted { color: var(--text-muted); }
.about-media { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 6px; align-items: end; padding-top: 12px; }
.about-photo { position: relative; grid-column: 1 / -1; }
.about-photo .photo { aspect-ratio: 850 / 451; }
.about-photo .bands-mini { position: absolute; top: -14px; bottom: -14px; right: -26px; display: flex; gap: 8px; transform: skewX(var(--skew)); }
.about-photo .bands-mini i { display: block; height: 100%; }
.bands-mini .b { width: 22px; background: var(--brand-blue); }
.bands-mini .o { width: 8px; background: var(--brand-orange); }
.portrait { grid-column: 2; margin-top: 0; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 36px; margin-top: 6px; padding-top: 22px; border-top: 1px solid var(--border); }
.facts dt { font-weight: 600; font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-muted); }
.facts dd { margin: 4px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.principles { margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 2px solid var(--text); }
.principles h3 { margin-bottom: 28px; }
.principles ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.principles li { position: relative; display: grid; gap: 8px; padding-left: 22px; }
.principles li::before { content: ""; position: absolute; left: 4px; top: 4px; width: 5px; height: 20px; background: var(--brand-blue); transform: skewX(var(--skew)); }
.principles li::after { content: ""; position: absolute; left: 12px; top: 4px; width: 2px; height: 20px; background: var(--brand-orange); transform: skewX(var(--skew)); }
.principles strong { font-weight: 600; font-size: 1.0625rem; }
.principles span { color: var(--text-muted); font-size: 0.9688rem; }

/* ---------- contact ---------- */
.contact { position: relative; overflow: hidden; background: var(--steel-ink); color: #F2F4F6; }
:root[data-theme="dark"] .contact { background: var(--surface-alt); }
.contact .slab, .contact .bands { position: absolute; transform: skewX(var(--skew)); transform-origin: bottom left; }
.contact .bands { inset: -10% auto -10% 62%; display: flex; gap: 18px; }
.contact .bands i { display: block; height: 100%; }
.contact .bands .b { width: 72px; background: var(--brand-blue); }
.contact .bands .o { width: 24px; background: var(--brand-orange); }
.contact .slab { inset: -10% -20% -10% 70%; background: repeating-linear-gradient(90deg, #1B2833 0 2px, #22313E 2px 5px, #1E2C38 5px 9px); }
.contact .wrap { position: relative; z-index: 2; display: grid; gap: 28px; }
.contact h2 { color: #fff; max-width: 14em; }
.contact .lede { color: #A7B0B9; }
.phone { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 7.8vw, 6rem); line-height: 1; color: #fff; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; width: fit-content; }
.phone:hover { color: var(--brand-orange); text-decoration: none; }
.contact .btn-ghost { color: #fff; border-color: #3A4B5A; }
.contact .btn-ghost:hover { border-color: #fff; }
.contact a:not(.btn):not(.phone) { color: #6AAAE3; }
.contact :focus-visible { outline-color: #6AAAE3; }
.contact-list { display: flex; flex-wrap: wrap; gap: 12px; }
.checklist { max-width: 760px; padding: 24px 0 8px; border-top: 1px solid #3A4B5A; }
.checklist h3 { color: #FFFFFF; font-size: 1.125rem; margin-bottom: 14px; }
.checklist ol { margin: 0; padding: 0; list-style: none; counter-reset: c; display: grid; gap: 8px; }
.checklist li { counter-increment: c; display: grid; grid-template-columns: 28px 1fr; color: #C9D0D6; }
.checklist li::before { content: counter(c); color: var(--brand-orange); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- footer ---------- */
.site-footer { padding-block: 40px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.9375rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.site-footer .brand { width: 150px; }
.site-footer a { color: var(--text-muted); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .tools { margin-left: auto; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-top: 16px; border-top: 0; }
  .tab { flex: 0 0 22%; scroll-snap-align: start; border-top: 2px solid var(--text); }
  .problem-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 24px; }
  .problem-row h3 { grid-column: 1 / -1; }
  .problem-head { display: none; }
  .problem-row p::before { content: attr(data-label); display: block; margin-bottom: 4px; font-weight: 600; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text); }
  .problem-row .treatments { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-block: 56px 200px; }
  .hero .bands { left: 46%; top: auto; height: 220px; bottom: -20px; gap: 14px; }
  .hero .bands .b { width: 48px; }
  .hero .bands .o { width: 16px; }
  .hero .slab { left: 68%; top: auto; height: 220px; bottom: -20px; }
  .gallery-grid figure, .gallery-grid .g0 { grid-column: span 6; grid-row: auto; }
  .gallery-grid .g0 .slot { height: auto; min-height: 0; aspect-ratio: 4 / 3 !important; }
  .principles ul { grid-template-columns: 1fr 1fr; }
  
  
  
  
  .section-head, .proof-grid, .about-grid, .panel { grid-template-columns: 1fr; }
  .about-media { grid-template-columns: 1fr 1fr; }
  .tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-top: 16px; border-top: 0; }
  .tab { border-top: 2px solid var(--text); }
  .tab { flex: 0 0 44%; scroll-snap-align: start; }
  .panel-art { min-height: 220px; }
  .about-photo .bands-mini { right: -12px; }
}
@media (max-width: 560px) {
  .brand { width: 150px; }
  .header-call .num { display: none; }
  .header-call { padding: 0 12px; }
  .lists { grid-template-columns: 1fr; }
  .problem-row { grid-template-columns: 1fr; }
  .more-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .tab { flex-basis: 62%; }
  .btn { width: 100%; justify-content: center; }
  .hero-actions .btn, .contact-list .btn { width: 100%; }
  .facts { grid-template-columns: 1fr 1fr; }
  .gallery-grid figure, .gallery-grid .g0 { grid-column: 1 / -1; }
  .principles ul { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
