@import url('fonts.css');

.inner-page {
  margin: 0;
  color: #171717;
  background: #f5f5f5;
  font: 400 1rem/1.6 'Golos Text', Arial, sans-serif;
}
.inner-page *, .inner-page *::before, .inner-page *::after { box-sizing: border-box; }
.inner-page a { color: inherit; text-underline-offset: .22em; }
.inner-page a:hover { text-decoration: underline; }
.inner-page a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.inner-wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.inner-header { background: #101010; color: white; }
.inner-header > .inner-wrap, .inner-footer > .inner-wrap {
  display: flex; align-items: center; flex-wrap: wrap; gap: 16px 32px; padding-block: 18px;
}
.inner-brand { font-size: 1.65rem; font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.inner-brand, .inner-header nav a, .inner-phone { text-decoration: none; }
.inner-header nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.inner-header nav a { padding-block: 4px; }
.inner-phone { margin-left: auto; white-space: nowrap; font-weight: 600; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-block: 24px; font-size: .87rem; color: #595959; }
.inner-page h1, .inner-page h2, .inner-page h3 { line-height: 1.08; text-wrap: balance; }
.inner-page h1 { margin: 0; font-size: clamp(2.1rem,5.35vw,4.8rem); letter-spacing: -.055em; font-weight: 600; }
.inner-page h2 { margin: 0 0 22px; font-size: clamp(1.65rem,3.1vw,3rem); letter-spacing: -.045em; font-weight: 600; }
.inner-lead { max-width: 65ch; font-size: clamp(1.05rem,1.6vw,1.35rem); color: #454545; }
.inner-page .inner-button { display: inline-block; padding: 13px 22px; background: #af2b23; color: white; border-radius: 99px; text-decoration: none; font-weight: 600; }
.inner-page .inner-button:hover { background: #8f2019; }
.inner-section { margin-block: clamp(44px,7vw,96px); }
.inner-footer { background: #101010; color: white; font-size: .94rem; }
.inner-header a, .inner-footer a { min-height: 24px; }
.inner-skip { position:absolute; left:12px; top:-8rem; background:white; padding:12px; z-index:10; }
.inner-skip:focus { top:8px; }
.service-intro { display:grid; grid-template-columns:1.25fr .8fr; gap:clamp(24px,6vw,100px); align-items:center; margin:16px 0 0; }
.service-intro figure { margin:0; text-align:center; }
.service-intro img { width:100%; height:clamp(270px,35vw,440px); object-fit:contain; display:block; background:#eae9e6; border-radius:18px; }
.service-intro figcaption { margin-top:8px; color:#555; font-size:.9rem; }
.service-actions { display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin-top:26px; }
.service-content { max-width:840px; }
.service-content p { max-width:67ch; }
.service-prices { margin:0 0 20px; }
.service-prices > div { border-bottom:1px solid #ccc; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:16px; padding:13px 0; }
.service-prices dd { margin:0; font-weight:600; }
.service-links { list-style:none; padding:0; border-top:1px solid #ccc; }
.service-links li { border-bottom:1px solid #ccc; }
.service-links a { display:grid; grid-template-columns:1.15fr 1fr auto; align-items:center; gap:18px; padding:20px 0; text-decoration:none; }
.service-links a strong { font-weight:600; font-size:clamp(1.12rem,2.2vw,1.7rem); line-height:1.25; }
.service-links small { color:#555; font-size:.95rem; }
.service-links .link-arrow { color:#ae3026; font-size:1.5rem; }
@media(max-width:720px){
  .inner-wrap { width:calc(100% - 36px); }
  .inner-header > .inner-wrap { gap:12px; }
  .inner-header nav { order:3; width:100%; gap:4px 16px; font-size:.94rem; }
  .inner-header .inner-phone { font-size:.94rem; }
  .service-intro { grid-template-columns:1fr; margin-top:8px; }
  .service-intro img { height:300px; }
  .service-links a { grid-template-columns:1fr auto; gap:4px 12px; }
  .service-links small { grid-row:2; }
  .service-links .link-arrow { grid-column:2; grid-row:1 / 3; }
  .inner-footer > .inner-wrap { gap:10px 22px; }
}

.case-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
}
.case-cards a { display: grid; gap: 12px; font-size: 1.25rem; font-weight: 600; }
.case-cards img { width: 100%; height: clamp(240px, 30vw, 360px); object-fit: contain; background: #eae9e6; border-radius: 12px; }

.inner-header nav a[aria-current] {
  text-decoration: underline;
  text-underline-offset: .4em;
}
.inner-page .service-prices dd { white-space: nowrap; font-variant-numeric: tabular-nums; }
.inner-page .service-actions a { display: inline-flex; align-items: center; min-height: 44px; }
.case-story .service-intro {
  grid-template-areas: "title photo" "lead photo";
  row-gap: 16px;
}
.case-story h1 { grid-area: title; align-self: end; }
.case-story .inner-lead { grid-area: lead; align-self: start; margin: 0; }
.case-story figure { grid-area: photo; }
.service-intro figure a { display: block; cursor: zoom-in; }
.case-story .service-content { border-top: 1px solid #d4d1cc; padding-top: 24px; }
.case-story .service-content p { line-height: 1.7; }

@media (max-width: 720px) {
  .inner-header > .inner-wrap { gap: 0; padding-block: 4px 0; }
  .inner-header .inner-brand, .inner-header .inner-phone,
  .inner-header nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .inner-header nav { border-top: 1px solid #383838; justify-content: space-between; gap: 2px 6px; }
  .crumbs { padding-block: 4px; gap: 6px; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
  .crumbs [aria-current], .crumbs span[aria-hidden]:has(+ [aria-current]) { display: none; }
  .case-story .service-intro {
    grid-template-areas: "title" "photo" "lead";
    gap: 20px;
  }
  .service-intro figure img { height: auto; max-height: 66svh; }
  .service-intro figure { min-width: 0; }
  .service-intro figcaption { text-align: left; font-size: .875rem; }
  .service-actions { gap: 6px 16px; margin-top: 18px; }
  .service-prices > div { gap: 10px; align-items: baseline; }
  .inner-page h1 { letter-spacing: -.038em; }
}
