/* Argumento Advogados. Typographic, left-aligned: one margin column for notes, one axis for everything else.
   Parchment, ink and a single colour (oxblood). Newsreader for headings and reading text, IBM Plex Sans for interface and data. */
:root {
  --paper: #FBFAF7;
  --ink: #14171A;
  --ox: #5E1A24;
  --ox-deep: #47121A;
  --grey: #7A746B;
  --grey-ink: #5F5951;
  --stone: #EDEAE3;
  --line: #D9D3C8;
  --on-ox: #F7F0EA;
  --on-ox-soft: #DFC9C5;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --margin: 220px;
  --gap: 40px;
  --row-pad: clamp(36px, 5vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--sans); overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, dl, dd, dt, figure, table, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--ox); color: var(--paper); }
[id] { scroll-margin-top: 24px; }
h1, h2 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 4.7vw, 3.7rem); line-height: 1.06; letter-spacing: -.022em; }
h2 { font-size: clamp(1.8rem, 3.1vw, 2.55rem); line-height: 1.1; letter-spacing: -.018em; }
h3 { font: 600 .9rem/1.4 var(--sans); }
:focus-visible { outline: 2px solid var(--ox); outline-offset: 3px; border-radius: 1px; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }

main a, .ftr a { color: var(--ox); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
main a:hover, .ftr a:hover { text-decoration-thickness: 2px; }

/* studio demo bar (same as every demo site) */
.demobar { background: #000; color: #fff; font: 500 .86rem/1.3 system-ui, sans-serif; }
.demobar__in { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; padding-block: 7px; }
.demobar a { color: #fff; }
.demobar__back:hover { text-decoration: underline; }
.demobar__txt { flex: 1 1 14em; opacity: .75; }
.demobar__cta { padding: 6px 14px; border-radius: 999px; background: #17D878; color: #000 !important; font-weight: 700; white-space: nowrap; }
html.embedded .demobar { display: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 24px; border: 1px solid var(--ox); border-radius: 2px; background: var(--ox); color: var(--paper); font: 500 1rem/1.25 var(--sans); text-align: center; text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.btn:hover { background: var(--ox-deep); border-color: var(--ox-deep); }
.btn--sm { min-height: 44px; padding: 9px 18px; font-size: .95rem; }
.btn--line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--paper { background: var(--paper); border-color: var(--paper); color: var(--ox); }
.btn--paper:hover { background: var(--stone); border-color: var(--stone); }

/* the axis: notes in the left margin, content on one vertical line */
.axis { display: grid; grid-template-columns: var(--margin) minmax(0, 1fr); column-gap: var(--gap); }
.axis__body { grid-column: 2; grid-row: 1; min-width: 0; }
.axis > .note { grid-column: 1; grid-row: 1; padding-top: .55rem; }
.note { font-size: .875rem; line-height: 1.5; color: var(--grey-ink); }
.note p + p { margin-top: .75em; }
.note__h { font-weight: 600; color: var(--ink); }
.only-narrow { display: none; }

/* header */
.hdr { position: relative; z-index: 10; border-bottom: 1px solid var(--line); background: var(--paper); }
.hdr__in { display: grid; grid-template-columns: var(--margin) minmax(0, 1fr); column-gap: var(--gap); align-items: center; min-height: 78px; }
.logo { display: inline-flex; align-items: baseline; gap: 9px; justify-self: start; padding: 2px 0 2px 12px; border-left: 3px solid var(--ox); color: var(--ink); white-space: nowrap; text-decoration: none; }
.logo__w { font: 500 1.6rem/1.1 var(--serif); letter-spacing: -.02em; }
.logo__s { font: 500 .78rem/1 var(--sans); color: var(--grey-ink); }
.hdr__r { display: flex; align-items: center; gap: 24px; min-width: 0; }
.nav { display: flex; gap: 26px; margin-right: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; border-block: 2px solid transparent; font: 500 .95rem/1.2 var(--sans); white-space: nowrap; }
.nav a:hover { color: var(--ox); }
.nav a[aria-current="page"] { border-bottom-color: var(--ox); color: var(--ox); }
.hdr__tel { font: 500 .95rem/1.2 var(--sans); white-space: nowrap; }
.hdr__tel:hover { color: var(--ox); }
.lang { display: flex; }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font: 500 .85rem/1 var(--sans); color: var(--grey-ink); }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ox); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.burger { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; margin-right: -10px; padding: 0; border: 0; background: none; cursor: pointer; }

/* home: opening statement */
.intro { padding: clamp(34px, 5.4vw, 72px) 0 clamp(30px, 4vw, 50px); }
.intro .note { padding-top: .9rem; }
.intro .note a { font-weight: 500; }
.intro .note .ln { display: block; }
.intro h1 { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.intro .note { animation: rise .7s .1s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* sections */
.sec { padding-block: clamp(56px, 8vw, 104px); }
.sec--join { padding-top: 0; }
.sec--stone { background: var(--stone); --line: #CFC8BB; }
.phead { padding: clamp(38px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); }
.lead { max-width: 36em; margin-top: 18px; font: 400 clamp(1.2rem, 1.75vw, 1.42rem)/1.42 var(--serif); font-variant-numeric: oldstyle-nums; }
.more { margin-top: 28px; }
.more a:not(.btn) { font-weight: 500; }
.prose { max-width: 38em; font: 400 1.19rem/1.62 var(--serif); font-variant-numeric: oldstyle-nums; }
.prose p + p, .prose ul, .prose ul + p { margin-top: .9em; }
.prose li { position: relative; padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::before, .plain li::before { content: "–"; position: absolute; left: 0; color: var(--grey); }
.plain li { position: relative; padding-left: 1.3em; }
.plain li + li { margin-top: .55em; }
.steps { counter-reset: st; }
.steps li { counter-increment: st; position: relative; padding-left: 2rem; }
.steps li + li { margin-top: .7em; }
.steps li::before, .sit__next li::before { position: absolute; left: 0; top: -.14em; font: 500 1.25rem/1.5 var(--serif); font-variant-numeric: oldstyle-nums; color: var(--ox); }
.steps li::before { content: counter(st); }

/* the situation selector */
.sit { margin-top: 26px; border-top: 1px solid var(--ink); animation: rise .7s .2s cubic-bezier(.2, .7, .2, 1) both; }
.sit__sub { max-width: 34em; margin-top: 12px; color: var(--grey-ink); }
.sit__tab { display: flex; align-items: baseline; gap: 12px; width: 100%; min-height: 54px; padding: 13px 14px 13px 13px; border: 0; border-left: 3px solid transparent; border-bottom: 1px solid var(--line); border-radius: 0; background: none; color: var(--ink); font: 400 1.28rem/1.25 var(--serif); letter-spacing: -.008em; text-align: left; cursor: pointer; }
.sit__name { flex: 1; min-width: 0; }
.sit__when { font: 500 .8rem/1.2 var(--sans); letter-spacing: 0; color: var(--ox); white-space: nowrap; }
.sit__tab:hover .sit__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.sit__tab[aria-expanded="true"] { border-left-color: var(--ox); background: var(--stone); }
.sit__tab:focus-visible { outline-offset: -2px; }
.sit__ico { position: relative; flex: none; align-self: center; width: 14px; height: 14px; }
.sit__ico::before, .sit__ico::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: var(--ink); transition: transform .2s ease; }
.sit__ico::after { transform: rotate(90deg); }
.sit__tab[aria-expanded="true"] .sit__ico::after { transform: none; }
.sit__panel { padding: 24px 18px 28px 16px; border-bottom: 1px solid var(--line); background: var(--stone); }
html.js .sit__panel > * { animation: panel-in .3s ease both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
html:not(.js) .sit__panel[hidden] { display: block !important; }
.sit__h { max-width: 24em; font: 400 clamp(1.4rem, 2.1vw, 1.75rem)/1.2 var(--serif); letter-spacing: -.012em; text-wrap: balance; }
.sit__main { display: grid; gap: 24px 34px; margin-top: 24px; }
.sit__label, .sit__facts dt { margin-bottom: 8px; font: 500 .8rem/1.3 var(--sans); color: var(--grey-ink); }
.sit__fig { font: 400 3.3rem/1 var(--serif); letter-spacing: -.03em; font-variant-numeric: oldstyle-nums; color: var(--ox); }
.sit__deadline.is-none .sit__fig { font-size: 1.75rem; line-height: 1.1; letter-spacing: -.015em; color: var(--ink); }
.sit__figtxt { margin-top: 10px; font-size: .9rem; line-height: 1.5; }
.sit__next ol { counter-reset: s; display: grid; gap: 10px; }
.sit__next li { counter-increment: s; position: relative; padding-left: 1.9rem; font-size: .95rem; line-height: 1.5; }
.sit__next li::before { content: counter(s); }
.sit__facts { display: grid; gap: 18px 34px; margin-top: 26px; padding-top: 20px; border-top: 1px solid #CFC8BB; }
.sit__facts dd { font-size: .95rem; line-height: 1.5; }
.who { display: flex; align-items: center; gap: 12px; }
.who img { flex: none; width: 48px; height: 58px; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.who a { display: block; font-weight: 500; }
.who small { display: block; font-size: .85rem; color: var(--grey-ink); }
.sit__act { margin-top: 26px; }
.sit__disc { margin-top: 14px; font-size: .8rem; line-height: 1.45; color: var(--grey-ink); }

@media (min-width: 860px) {
  html.js .sit { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); grid-template-rows: repeat(8, auto) 1fr; border-top: 0; }
  html.js .sit__tab { grid-column: 1; grid-row: var(--r); }
  html.js .sit__panel { grid-column: 2; grid-row: 1 / -1; min-height: 660px; padding: 34px 40px 30px; border-bottom: 0; }
  html.js .sit__ico { display: none; }
}
@media (min-width: 1100px) {
  .sit__main, .sit__facts { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); }
}

/* home: practice areas as an index */
.arealist { margin-top: 36px; border-bottom: 1px solid var(--line); }
.arealist li { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr) minmax(0, 13rem); gap: 6px 32px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line); }
.arealist__n { font: 400 1.6rem/1.15 var(--serif); letter-spacing: -.015em; color: var(--ink); text-decoration: none; }
.arealist__n:hover { color: var(--ox); }
.arealist p { font-size: .95rem; line-height: 1.5; }
.arealist__l { font-size: .875rem !important; color: var(--grey-ink); }

/* the one dark band */
.band { padding-block: clamp(52px, 7.5vw, 96px); background: var(--ox); color: var(--on-ox); }
.band .note { padding-top: 0; color: var(--on-ox-soft); }
.band a:not(.btn) { color: var(--on-ox); }
.band :focus-visible { outline-color: var(--on-ox); }
.band__fig { margin-bottom: 14px; font: 400 clamp(4rem, 6.5vw, 5.4rem)/.9 var(--serif); letter-spacing: -.04em; font-variant-numeric: oldstyle-nums; color: var(--on-ox); white-space: nowrap; }
.band__steps { counter-reset: b; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.band__steps li { counter-increment: b; padding-top: 16px; border-top: 1px solid rgba(247, 240, 234, .35); }
.band__steps li::before { content: counter(b); display: block; margin-bottom: 14px; font: 400 1.5rem/1 var(--serif); font-variant-numeric: oldstyle-nums; color: var(--on-ox-soft); }
.band__steps h3 { font: 500 1.35rem/1.2 var(--serif); letter-spacing: -.01em; }
.band__steps p { margin-top: 8px; font-size: .95rem; color: #ECDDD9; }
.band__act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 40px; }
.band__link { font-weight: 500; }
.band__p { max-width: 36em; margin-top: 20px; font: 400 1.2rem/1.45 var(--serif); font-variant-numeric: oldstyle-nums; }
.band__sub { margin-top: 30px; font: 500 .85rem/1.4 var(--sans); color: var(--on-ox-soft); }
.band__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; max-width: 52rem; margin-top: 10px; }
.band__list li { padding: 13px 0; border-top: 1px solid rgba(247, 240, 234, .3); }
.band--cta .band__act { margin-top: 30px; }

/* people */
.people { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 20px; margin-top: 40px; }
.people a { display: block; color: var(--ink); text-decoration: none; }
.people img, .person__ph img, .lead-card img, .where__ph img { width: 100%; background: var(--stone); filter: grayscale(1) contrast(1.05); }
.people__n { display: block; margin-top: 12px; font: 500 1.12rem/1.25 var(--serif); }
.people a:hover .people__n { color: var(--ox); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.people__a { display: block; margin-top: 3px; font-size: .85rem; line-height: 1.4; color: var(--grey-ink); }

/* guides */
.guides { margin-top: 36px; border-top: 1px solid var(--ink); }
.guide { border-bottom: 1px solid var(--line); }
.guide summary { display: flex; align-items: baseline; gap: 6px 20px; min-height: 60px; padding: 17px 0; list-style: none; cursor: pointer; }
.guide summary::-webkit-details-marker { display: none; }
.guide__t { flex: 1; min-width: 0; font: 400 clamp(1.25rem, 1.9vw, 1.5rem)/1.25 var(--serif); letter-spacing: -.01em; }
.guide summary:hover .guide__t { color: var(--ox); }
.guide__m { font-size: .82rem; color: var(--grey-ink); white-space: nowrap; }
.guide__ico { position: relative; flex: none; align-self: center; width: 14px; height: 14px; }
.guide__ico::before, .guide__ico::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: var(--ink); transition: transform .2s ease; }
.guide__ico::after { transform: rotate(90deg); }
.guide[open] .guide__ico::after { transform: none; }
.guide .prose { padding: 2px 0 30px; }

/* where / hours */
.where { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px 48px; align-items: start; }
.where__addr { margin: 22px 0 14px; font: 400 1.4rem/1.35 var(--serif); font-variant-numeric: oldstyle-nums; }
.place .where__addr { margin-top: 0; }
.where__ph figcaption { margin-top: 10px; font-size: .82rem; color: var(--grey-ink); }
.where__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hours { width: 100%; max-width: 26rem; margin-top: 20px; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { padding: 9px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; }
.hours th { padding-right: 16px; color: var(--grey-ink); }

/* areas page */
.area .axis, .person .axis { background: linear-gradient(var(--line), var(--line)) no-repeat; background-size: 100% 1px; background-origin: content-box; background-clip: content-box; }
.area .axis__body, .person .axis__body { padding-top: var(--row-pad); }
.area .axis > .note, .person .axis > .note { padding-top: calc(var(--row-pad) + 6px); }
.area__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; margin-top: 36px; }
.area__cols h3, .area__foot h3 { margin-bottom: 12px; }
.area__cols h3:not(:first-child) { margin-top: 30px; }
.area__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px 32px; margin-top: 38px; }
.inline { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.lead-card img { width: 120px; margin-bottom: 14px; }
.toc { margin-top: 6px; }
.toc a { display: inline-block; padding: 4px 0; }

/* team page */
.person h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.person__role { margin-top: 6px; color: var(--grey-ink); }
.person__bio { margin-top: 20px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 40px; max-width: 46rem; margin-top: 28px; }
.facts dt, .contacts dt { margin-bottom: 4px; font: 500 .8rem/1.3 var(--sans); color: var(--grey-ink); }
.facts dd { font-size: .95rem; line-height: 1.55; }
.person__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* fees page */
.fees { width: 100%; margin-top: 36px; border-collapse: collapse; }
.fees thead th { padding: 0 24px 10px 0; border-bottom: 1px solid var(--ink); font: 500 .8rem/1.3 var(--sans); color: var(--grey-ink); text-align: left; }
.fees tbody tr { border-bottom: 1px solid var(--line); }
.fees tbody th { width: 38%; padding: 15px 24px 15px 0; font: 400 1.22rem/1.3 var(--serif); text-align: left; vertical-align: baseline; }
.fees td { padding: 15px 24px 15px 0; font-size: .95rem; line-height: 1.5; vertical-align: baseline; }
.fees .fees__v { padding-right: 0; text-align: right; white-space: nowrap; }
.fees td.fees__v { font: 500 1.05rem/1.3 var(--sans); font-variant-numeric: tabular-nums; color: var(--ox); }
.hour__fig { margin-top: 30px; color: var(--grey-ink); }
.hour__fig span { display: block; margin-bottom: 6px; font: 400 clamp(2.7rem, 5vw, 4rem)/1 var(--serif); letter-spacing: -.03em; font-variant-numeric: oldstyle-nums; color: var(--ox); }
.rates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px; max-width: 44rem; margin-top: 30px; }
.rates div { padding-top: 12px; border-top: 1px solid var(--ink); }
.rates dt { font-size: .9rem; }
.rates dd { font: 400 1.6rem/1.3 var(--serif); font-variant-numeric: oldstyle-nums; }
.rates + .plain { margin-top: 30px; }
.sec .prose { margin-top: 24px; }
.guide .prose { margin-top: 0; }
.deflist { margin-top: 32px; border-bottom: 1px solid var(--line); }
.deflist div { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: 4px 32px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); }
.deflist dt { font: 400 1.22rem/1.3 var(--serif); }
.deflist dd { font-size: .95rem; line-height: 1.5; }

/* contact page */
.form { display: grid; gap: 26px; max-width: 44rem; margin-top: 30px; }
.f { min-width: 0; padding: 0; border: 0; }
.f > label:not(.check), .f > legend { display: block; margin-bottom: 8px; padding: 0; font: 500 .92rem/1.4 var(--sans); }
.f__opt { font-weight: 400; color: var(--grey-ink); }
.f input[type="text"], .f input[type="tel"], .f select, .f textarea { display: block; width: 100%; min-height: 52px; padding: 13px 14px; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 2px 2px 0 0; background-color: var(--stone); color: var(--ink); font: 400 1rem/1.4 var(--sans); }
.f textarea { min-height: 132px; resize: vertical; }
.f select { padding-right: 44px; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%2314171A' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.f [aria-invalid="true"] { border-bottom-color: var(--ox); box-shadow: inset 0 -2px 0 var(--ox); }
.f__hint { margin-top: 8px; font-size: .85rem; line-height: 1.45; color: var(--grey-ink); }
.err { margin-top: 8px; font: 500 .88rem/1.4 var(--sans); color: var(--ox); }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span { display: flex; flex-direction: column; justify-content: center; min-height: 60px; padding: 9px 14px; border: 1.5px solid transparent; border-radius: 2px; background: var(--stone); font-size: .88rem; line-height: 1.35; color: var(--grey-ink); }
.choice b { font-size: .97rem; font-weight: 500; color: var(--ink); }
.choice input:checked + span { border-color: var(--ox); background: var(--paper); }
.choice input:checked + span b { color: var(--ox); }
.choice input:focus-visible + span { outline: 2px solid var(--ox); outline-offset: 3px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: .95rem; line-height: 1.45; cursor: pointer; }
.check input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--ox); }
.form__end { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.form__end .f__hint { flex: 1 1 16rem; margin: 0; }
.place { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px 48px; margin-top: 30px; }
.place > div > p { max-width: 30em; }
.contacts { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 16px 24px; }
.map { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; background: #DDD8CE; filter: grayscale(1) contrast(1.05); }

/* footer */
.ftr { padding: 60px 0 40px; border-top: 1px solid var(--line); background: var(--stone); --line: #CFC8BB; font-size: .92rem; }
.ftr .axis > .note { padding-top: 0; }
.ftr__brand p { margin-top: 14px; }
.ftr__cols { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.35fr); gap: 32px 40px; }
.ftr h2 { margin-bottom: 8px; font: 600 .9rem/1.4 var(--sans); letter-spacing: 0; }
.ftr a { color: var(--ink); text-decoration-color: var(--grey); }
.ftr a:hover { color: var(--ox); text-decoration-color: var(--ox); }
.ftr a.logo { text-decoration: none; }
.ftr__cols li { padding: 5px 0; }
.ftr .hours { margin-top: 0; font-size: .9rem; }
.ftr .hours tr:first-child th, .ftr .hours tr:first-child td { border-top: 0; padding-top: 5px; }
.ftr__legal { max-width: 54rem; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--grey-ink); }
.ftr__legal p + p { margin-top: 6px; }
.ftr__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; margin-top: 26px; font-size: .84rem; }
.ftr__bot ul { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.ftr__demo { margin-top: 14px; font-size: .8rem; color: var(--grey-ink); }

html.embedded *, html.embedded *::before, html.embedded *::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 1020px) {
  .demobar__txt { display: none; }
  .demobar__cta { margin-left: auto; }
}
/* below 1100 px the margin column folds under the content and the menu collapses */
@media (max-width: 1099px) {
  .axis { display: block; }
  .axis > .note { max-width: 34rem; margin-top: 22px; padding-top: 0; }
  .only-narrow { display: block; }
  .only-wide { display: none; }
  .hdr__in { display: flex; justify-content: space-between; min-height: 68px; }
  .hdr__r { gap: 6px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0; padding: 4px clamp(18px, 4vw, 40px) 20px; border-bottom: 1px solid var(--ink); background: var(--paper); box-shadow: 0 22px 30px -24px rgba(20, 23, 26, .55); }
  .nav.is-open { display: flex; }
  .nav a { min-height: 54px; border: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .burger { display: inline-flex; }
  .hdr__tel { display: none; }
  .hdr__cta { margin: 0 6px; }
  .intro .note { display: flex; flex-wrap: wrap; gap: 2px 22px; }
  .intro .note p + p { margin-top: 0; }
  .intro .note .ln { display: inline; }
  .band .axis, .person .axis { display: flex; flex-direction: column; }
  .band .axis > .note, .person .axis > .note { order: -1; margin: 0 0 26px; }
  .person .axis > .note { padding-top: var(--row-pad); margin-bottom: 0; }
  .person .axis__body { padding-top: 22px; }
  .person__ph img { max-width: 220px; }
  .area .axis > .note { padding-top: 0; margin-top: 30px; }
  .lead-card { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 0 16px; align-items: center; }
  .lead-card img { grid-row: 1 / 3; width: 84px; margin: 0; }
  .lead-card .note__h { align-self: end; }
  .lead-card p + p { align-self: start; margin-top: 2px; }
  .toc { display: flex; flex-wrap: wrap; gap: 0 22px; }
  .toc a { padding: 11px 0; }
  .ftr .axis { display: flex; flex-direction: column; }
  .ftr .axis > .note { order: -1; margin: 0 0 34px; }
}
@media (max-width: 1239px) and (min-width: 1100px) {
  .hdr__tel { display: none; }
}
@media (max-width: 859px) {
  .sit__panel { padding-left: 16px; }
  .sit__act .btn { width: 100%; }
  .arealist li { grid-template-columns: minmax(0, 1fr); padding: 18px 0; }
  .band__steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .where, .place { grid-template-columns: minmax(0, 1fr); }
  .map { height: 340px; min-height: 0; }
  .deflist div { grid-template-columns: minmax(0, 1fr); }
  .ftr__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__cols > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 699px) {
  .hdr__cta { display: none; }
  .logo { flex-direction: column; align-items: flex-start; gap: 3px; }
  .logo__w { font-size: 1.45rem; line-height: 1; }
  .guide summary { flex-wrap: wrap; }
  .guide__t { flex: 1 1 calc(100% - 40px); }
  .guide__m { order: 3; flex-basis: 100%; }
  .area__cols, .band__list, .facts, .form__row { grid-template-columns: minmax(0, 1fr); }
  .area__foot .btn, .person__act .btn, .where__act .btn, .form__end .btn, .band__act .btn { width: 100%; }
  .rates { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .rates div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; }
  .rates div + div { border-top-color: var(--line); }
  .rates dd { font-size: 1.35rem; }
  .choices { grid-template-columns: minmax(0, 1fr); }
  .choice span { flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 8px; min-height: 50px; }
  .fees thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .fees, .fees tbody { display: block; }
  .fees tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 0; }
  .fees tbody th, .fees td { width: auto; padding: 0; }
  .fees tbody th { grid-column: 1; grid-row: 1; }
  .fees td.fees__v { grid-column: 2; grid-row: 1; }
  .fees td:not(.fees__v) { grid-column: 1 / -1; grid-row: 2; color: var(--grey-ink); }
  .ftr__cols li a, .ftr__bot li a, .inline a { display: inline-flex; align-items: center; min-height: 44px; }
  .ftr__cols li { padding: 0; }
  .ftr__cols li:first-child:not(:has(a)) { padding-bottom: 8px; }
  .ftr__bot { flex-direction: column; }
  .ftr__bot ul { gap: 0 22px; }
}
@media (max-width: 519px) {
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sit__tab { font-size: 1.2rem; }
  .sit__fig { font-size: 3rem; }
}

/* ---- узкие телефоны: длинное слово переносится, а не вылезает из блока ---- */
h1, h2, h3, h4, p, li, dt, dd, td, th, label, b, strong, small, a { overflow-wrap: break-word; }

/* ---- телефоны: по ссылкам и кнопкам легче попасть пальцем ---- */
@media (max-width: 700px) {
  .demobar__back, .demobar__cta { display: inline-flex; align-items: center; min-height: 40px; }
  footer a:not([class*="btn"]):not([class*="logo"]):not([class*="brand"]):not([class*="marca"]) { display: inline-block; padding-block: 7px; }
  .link, .tl, .more, .tlink, .lnk, .band__link { display: inline-block; padding-block: 9px; }
}
