/* A.T.G Veteriner — muayene odasının duvarı: üstte beyaz, pervaz, altta lacivert. */
:root {
  --navy: #1E2A52;          /* muayene odasının alt duvarı */
  --navy-deep: #161F3E;     /* footer */
  --red: #D0281A;           /* gece tabelasındaki kırmızı harfler; yalnız arama düğmeleri ve klinik noktası */
  --red-dark: #B01F12;
  --blue: #3D89B3;          /* tabeladaki köpek-kedi silüeti */
  --blue-light: #7DB9DE;    /* lacivert üstünde rota ve odak */
  --white: #FFFFFF;
  --wall: #F1F3F7;          /* açık duvar */
  --ink: #121A36;
  --muted: #464F6B;
  --line: #D3D9E4;
  --wa: #25D366;

  --font: "Geologica", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;

  /* hero ayarları: fotoğraf genişliği ve kırpım tek yerden */
  --hero-photo-w: 40%;
  --hero-pos: 50% 30%;
  --hero-pos-m: 50% 40%;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  font-optical-sizing: auto;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 700; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.55rem); }
h3 { font-size: 1.12rem; font-weight: 650; letter-spacing: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; }
.skip-link:focus { top: 12px; }

.ico { width: 22px; height: 22px; fill: currentColor; flex: none; }
.ico--wa { fill: var(--wa); }

/* düğmeler */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px;
  border: 2px solid transparent; border-radius: 10px;
  font-weight: 650; font-size: 1.02rem; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); }
.btn--line { border-color: rgba(255,255,255,.75); color: #fff; background: transparent; }
.btn--line:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--wide { width: 100%; }
.text-link { display: inline-block; margin-top: 22px; font-weight: 600; color: var(--navy); text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__paw { width: 30px; height: 30px; fill: var(--red); }
.brand__name { font-weight: 800; font-size: 1.28rem; letter-spacing: -0.02em; white-space: nowrap; }
.site-nav ul { display: flex; gap: 6px; }
.site-nav a { display: block; padding: 10px 12px; font-weight: 500; text-decoration: none; border-radius: 8px; }
.site-nav a:hover { background: var(--wall); }
.site-header__call { min-height: 46px; padding: 8px 18px; }
.site-header__call-num { display: none; font-variant-numeric: tabular-nums; }
.menu-btn { display: none; min-height: 46px; padding: 8px 16px; border: 2px solid var(--line); border-radius: 10px; background: #fff; font-weight: 650; cursor: pointer; }
@media (min-width: 1100px) {
  .site-header__call-label { display: none; }
  .site-header__call-num { display: inline; }
}
@media (max-width: 899px) {
  :root { --header-h: 60px; }
  .site-nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .site-header__in { gap: 10px; }
  .brand__name { font-size: 1.15rem; }
  .brand__paw { width: 26px; height: 26px; }
}
@media (max-width: 599px) {
  .site-header__call-label { display: none; }
  .site-header__call { width: 50px; padding: 8px; }
}
@media (max-width: 420px) { .wide-only { display: none; } }

.mobile-menu { position: fixed; z-index: 39; top: var(--header-h); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(18,26,54,.16); }
.mobile-menu ul { padding: 8px var(--gutter) 16px; }
.mobile-menu a { display: block; padding: 14px 4px; font-size: 1.15rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu li:last-child a { border-bottom: 0; }
.scrim { position: fixed; inset: 0; z-index: 38; background: rgba(18,26,54,.45); }

/* hero: muayene odasının duvarı */
.hero { display: grid; grid-template-columns: 1fr var(--hero-photo-w); min-height: clamp(620px, calc(100svh - var(--header-h)), 800px); background: var(--navy); }
.hero__text { display: flex; flex-direction: column; }
.hero__wall, .hero__band { padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); padding-right: clamp(24px, 4vw, 64px); }
.hero__wall { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: flex-end; background: var(--white); padding-top: 48px; padding-bottom: 40px; }
.hero__rail { height: 16px; background: var(--white); border-top: 1px solid #E1E5EE; box-shadow: 0 3px 0 rgba(10,16,38,.35); position: relative; z-index: 1; }
.hero__band { background: var(--navy); color: #fff; padding-top: 40px; padding-bottom: 44px; }

.now { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 1.02rem; color: var(--muted); margin-bottom: 18px; }
.now__dot { width: 12px; height: 12px; border-radius: 50%; background: #1E9E57; box-shadow: 0 0 0 4px rgba(30,158,87,.18); }
.now__open { color: var(--ink); font-weight: 650; }
.now__time { font-variant-numeric: tabular-nums; }
.hero h1 { font-size: clamp(2.7rem, 5.4vw, 5.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.hero__lead { margin-top: 18px; font-size: clamp(1.12rem, 1.7vw, 1.32rem); max-width: 30ch; color: var(--ink); }

.call-big {
  display: flex; align-items: center; gap: 18px;
  width: 100%; max-width: 540px; min-height: 96px; padding: 16px 26px 16px 18px;
  background: var(--red); color: #fff; border-radius: 14px; text-decoration: none;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
  transition: background-color .15s;
}
.call-big:hover { background: var(--red-dark); }
.call-big:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.call-big .ico { width: 34px; height: 34px; padding: 13px; box-sizing: content-box; background: rgba(255,255,255,.16); border-radius: 50%; }
.call-big__text { display: flex; flex-direction: column; }
.call-big__label { font-size: 1.05rem; font-weight: 600; }
.call-big__num { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.01em; line-height: 1.05; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero__more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 540px; margin-top: 16px; }
.hero__more .btn:focus-visible { outline-color: #fff; }
.hero__addr { margin-top: 20px; color: #D9DFEE; font-size: 1.02rem; }

.hero__photo { margin: 0; position: relative; background: #0B0F1E; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos); }

@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__wall { padding-top: 24px; padding-bottom: 26px; padding-right: var(--gutter); }
  .hero__band { padding-top: 26px; padding-bottom: 30px; padding-right: var(--gutter); }
  .now { margin-bottom: 12px; font-size: .98rem; }
  .hero__lead { margin-top: 12px; }
  .call-big { min-height: 88px; padding: 14px 18px 14px 14px; gap: 14px; }
  .call-big .ico { width: 28px; height: 28px; padding: 11px; }
  .call-big__num { font-size: clamp(1.75rem, 8.4vw, 2.2rem); }
  .hero__photo { aspect-ratio: 887 / 762; max-height: 72svh; }
  .hero__photo img { object-position: var(--hero-pos-m); }
}
@media (max-width: 380px) {
  .hero__more { grid-template-columns: 1fr; }
}

/* kaç dakika */
.minutes { padding: clamp(64px, 8vw, 110px) 0; }
.minutes__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px clamp(28px, 4vw, 56px); align-items: start; }
.minutes__head { grid-column: 1 / -1; }
.minutes__lead { margin-top: 12px; color: var(--muted); max-width: 52ch; }
.minutes__map { background: #111938; border-radius: 8px; overflow: hidden; }
.minutes__map svg { display: block; width: 100%; height: auto; }
.semtler { border-top: 2px solid var(--ink); }
.semt { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 8px 8px; border-bottom: 1px solid var(--line); border-radius: 0; cursor: default; }
.semt:hover, .semt.is-on { background: var(--wall); }
.semt:focus-visible { outline-offset: -3px; }
.semt__ad { font-weight: 500; }
.semt__dk { font-weight: 800; font-size: 1.45rem; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.semt__dk small { font-size: .95rem; font-weight: 600; color: var(--muted); margin-left: 3px; }
.minutes__call { margin-top: 24px; }
.minutes__call p { font-weight: 650; margin-bottom: 10px; }

/* harita çizimi */
.map .sea { fill: #111938; }
.map .land { fill: #22305C; stroke: #22305C; stroke-width: 1.4; stroke-linejoin: round; }
.map .coast { fill: none; stroke: #5A6CA3; stroke-width: 3.6; stroke-linejoin: round; }
.map .road { fill: none; stroke: #3A4876; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.map .road-label { fill: #8A97C2; font: 600 12px var(--font); letter-spacing: .04em; }
.map .route { fill: none; stroke: var(--blue-light); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: .75; transition: opacity .2s, stroke-width .2s, stroke .2s; }
.map .pt { fill: #fff; }
.map .lbl { fill: #fff; font: 500 17px var(--font); paint-order: stroke; stroke: #22305C; stroke-width: 4px; stroke-linejoin: round; }
.map .lbl tspan.dk { font-weight: 800; fill: var(--blue-light); }
.map .sea-lbl { fill: #7F8DBB; font: 500 15px var(--font); letter-spacing: .02em; }
.map .clinic-ring { fill: none; stroke: #fff; stroke-width: 3; }
.map .clinic { fill: var(--red); }
.map .clinic-lbl { fill: #fff; font: 800 19px var(--font); paint-order: stroke; stroke: #22305C; stroke-width: 5px; stroke-linejoin: round; }
.map.has-focus .route { opacity: .18; }
.map.has-focus .route.is-on { opacity: 1; stroke: #fff; stroke-width: 3.6; }
@media (prefers-reduced-motion: no-preference) {
  .map.will-draw .route { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .map.will-draw.is-drawn .route { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s cubic-bezier(.3,.1,.2,1), opacity .2s, stroke-width .2s, stroke .2s; }
}
@media (max-width: 899px) {
  .minutes__in { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .map .lbl { display: none; }
  .map .pt { r: 8px; }
  .map .route { stroke-width: 3.4; }
  .map .clinic-lbl { font-size: 30px; stroke-width: 7px; }
  .map .sea-lbl { font-size: 24px; }
}

/* hizmetler */
.services { background: var(--wall); padding: clamp(64px, 8vw, 110px) 0; }
.services__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.svc { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; border-top: 2px solid var(--ink); }
.svc__item { padding: 16px 0 18px; border-bottom: 1px solid var(--line); }
.svc__item p { margin-top: 4px; color: var(--muted); font-size: 1rem; }
.svc__item--acil h3 { color: var(--red-dark); }
.services__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.services__photos figure { margin: 0; }
.services__photos figure:nth-child(2) { margin-top: 64px; }
.services__photos img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; border-radius: 6px; }
figcaption { margin-top: 8px; font-size: .95rem; color: var(--muted); }
.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 6px; }
@media (max-width: 899px) {
  .services__in { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; }
  .services__photos figure:nth-child(2) { margin-top: 32px; }
}

/* yorumlar ve hekim */
.reviews { padding: clamp(64px, 8vw, 110px) 0; }
.reviews__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.vet { margin: 0; max-width: 380px; }
.vet img { width: 100%; aspect-ratio: 887 / 1080; object-fit: cover; border-radius: 6px; }
.vet figcaption { font-size: 1rem; }
.vet figcaption strong { display: block; color: var(--ink); font-size: 1.1rem; font-weight: 650; }
.score { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 18px; }
.score__num { font-size: 3.2rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: var(--navy); }
.score__stars { color: var(--navy); font-size: 1.3rem; letter-spacing: .08em; }
.score__count { color: var(--muted); font-weight: 500; }
.quotes { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 2px solid var(--ink); }
.quotes li { padding: 20px 0 22px; border-bottom: 1px solid var(--line); }
.quotes blockquote { margin: 0; }
.quotes blockquote p { font-size: 1.12rem; line-height: 1.5; }
.quotes blockquote p::before { content: "“"; }
.quotes blockquote p::after { content: "”"; }
.quotes__who { margin-top: 8px; color: var(--muted); font-weight: 600; font-size: .98rem; }
@media (max-width: 899px) {
  .reviews__in { grid-template-columns: 1fr; }
  .reviews__main { order: -1; }
  .vet { max-width: 300px; }
  .quotes { grid-template-columns: 1fr; }
}

/* galeri */
.gallery { background: var(--wall); padding: clamp(64px, 8vw, 110px) 0; }
.grid { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
@media (max-width: 899px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* randevu */
.booking { background: var(--navy); color: #fff; padding: clamp(64px, 8vw, 110px) 0; }
.booking__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.booking__side > p { margin-top: 14px; color: #D9DFEE; max-width: 40ch; }
.urgent { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.25); }
.urgent p { margin-bottom: 14px; }
.urgent .btn { max-width: 420px; }
.urgent .btn:focus-visible { outline-color: #fff; }
.form { background: #fff; color: var(--ink); border-radius: 12px; padding: clamp(20px, 3vw, 36px); }
.field { border: 0; margin: 0 0 26px; padding: 0; min-width: 0; }
.field legend, .field label { display: block; padding: 0; margin-bottom: 12px; font-weight: 700; font-size: 1.08rem; }
.opt { font-weight: 400; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  min-height: 48px; padding: 10px 16px;
  border: 2px solid var(--line); border-radius: 10px; background: #fff;
  font-weight: 550; font-size: 1rem; line-height: 1.2; cursor: pointer;
  transition: border-color .15s, background-color .15s, color .15s;
}
.chip:hover { border-color: var(--navy); }
.chip[aria-checked="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip[aria-checked="true"]::before { content: "✓ "; }
.chips--days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.chips--days .chip { padding: 8px 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.chips--days .chip[aria-checked="true"]::before { content: none; }
.chip__wd { font-size: .9rem; font-weight: 500; }
.chip__d { font-size: 1.05rem; font-weight: 750; }
.chips--days .chip[aria-checked="true"] .chip__wd { color: #fff; }
.field textarea { width: 100%; min-height: 96px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; font: inherit; font-size: 1rem; color: var(--ink); resize: vertical; }
.field textarea:focus-visible { border-color: var(--navy); outline: 3px solid var(--blue); outline-offset: 1px; }
.field__err { margin-top: 8px; color: var(--red-dark); font-weight: 600; font-size: .98rem; }
.field.has-err .chip { border-color: #E7A49E; }
@media (max-width: 899px) {
  .booking__in { grid-template-columns: 1fr; }
  .chips--days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* adres */
.place { padding: clamp(64px, 8vw, 110px) 0; }
.place__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.place__addr { margin-top: 18px; font-size: 1.3rem; font-weight: 600; line-height: 1.4; }
.place__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.place__h { margin-top: 36px; font-size: 1.15rem; }
.hours__all { margin-top: 8px; }
.week { margin-top: 12px; max-width: 420px; border-top: 2px solid var(--ink); }
.week li { display: flex; justify-content: space-between; padding: 6px 10px; border-bottom: 1px solid var(--line); }
.week li.is-today { background: var(--navy); color: #fff; font-weight: 650; border-bottom-color: var(--navy); }
.week .today-tag { font-weight: 500; margin-left: 8px; color: var(--blue-light); }
.walk { margin-top: 12px; max-width: 520px; border-top: 2px solid var(--ink); }
.walk li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 10px; border-bottom: 1px solid var(--line); }
.walk b { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.walk span small { display: block; color: var(--muted); font-size: .95rem; }
.walk__note { margin-top: 10px; font-size: .95rem; color: var(--muted); }
.place__map { min-height: 420px; }
.place__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; border-radius: 8px; background: var(--wall); }
@media (max-width: 899px) {
  .place__in { grid-template-columns: 1fr; }
  .place__map, .place__map iframe { min-height: 340px; }
}

/* footer */
.site-footer { background: var(--navy-deep); color: #E3E8F4; padding: 48px 0 28px; }
.site-footer__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.site-footer p { margin-bottom: 6px; }
.site-footer a { color: #fff; text-underline-offset: 3px; }
.site-footer__name { font-size: 1.35rem; font-weight: 800; color: #fff; }
.site-footer__copy { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); font-size: .95rem; color: #AEB7D2; }
.site-footer :focus-visible { outline-color: var(--blue-light); }
@media (max-width: 699px) { .site-footer__in { grid-template-columns: 1fr; } }

/* telefonda sabit alt çubuk */
.sticky-book { display: none; }
@media (max-width: 899px) {
  body { padding-bottom: 76px; }
  .sticky-book {
    display: flex; gap: 8px; position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(18,26,54,.12);
    transform: translateY(110%); transition: transform .2s ease;
  }
  .sticky-book.is-shown { transform: none; }
  .sticky-book a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 10px; font-weight: 700; text-decoration: none; font-size: 1rem; white-space: nowrap; }
  .sticky-book__call { flex: 1.5; background: var(--red); color: #fff; font-variant-numeric: tabular-nums; }
  .sticky-book__wa { flex: 1; border: 2px solid var(--line); color: var(--ink); background: #fff; }
}
@media (max-width: 359px) { .sticky-book a { font-size: .92rem; } }

/* lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12,17,36,.96); color: #fff; }
.lightbox::backdrop { background: rgba(12,17,36,.6); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 92vw; }
.lightbox__fig img { max-width: 92vw; max-height: 80vh; width: auto; height: auto; border-radius: 4px; }
.lightbox__fig figcaption { color: #E3E8F4; margin-top: 12px; font-size: 1rem; text-align: center; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.7rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox__btn:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; }
.lightbox__close { top: 16px; right: 16px; font-size: 1.3rem; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 899px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
  .lightbox__fig img { max-height: 70vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
