/* AssistAce — palette and type follow the original assistace.si design */

/* Rubik is served from our own server (SIL Open Font License, see fonts/OFL.txt) */
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../fonts/rubik-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../fonts/rubik-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../fonts/rubik-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --peach: #FDBD99;
  --peach-dark: #F4A27A;
  --peach-50: #FFF5EF;
  --beige: #D8C8BE;
  --beige-50: #F6F1EE;
  --ink: #2A2D2C;
  --text: #555555;
  --muted: #858988;
  --slate: #3F433F;
  --slate-dark: #2F322F;
  --cream: #F3EDE6;
  --radius: 4px;
  --maxw: 1140px;
  --font: "Rubik", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font: 400 16px/1.65 var(--font); color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); font-weight: 500; line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header { background: var(--beige); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(0,0,0,.05); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 22px; letter-spacing: .01em; }
.logo img { width: 42px; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 8px 12px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; border-radius: var(--radius); transition: background-color .2s; }
.main-nav a:hover { background: rgba(255,255,255,.5); }
.main-nav a[aria-current="page"] { background: var(--peach); }
.lang { margin-left: auto; display: flex; gap: 2px; }
.lang a { padding: 6px 9px; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-decoration: none; color: var(--ink); border-radius: var(--radius); border: 1px solid transparent; }
.lang a:hover { background: rgba(255,255,255,.5); }
.lang a[aria-current="true"] { border-color: var(--ink); }
.burger { display: none; }

@media (max-width: 960px) {
  .header-inner { display: grid; grid-template-columns: 48px 1fr 48px; grid-template-areas: "burger logo ." "lang lang lang"; gap: 2px 0; padding-top: 10px; padding-bottom: 6px; min-height: 0; }
  .burger { grid-area: burger; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius); background: var(--peach); color: var(--ink); cursor: pointer; }
  .burger svg { width: 24px; height: 24px; }
  .burger .icon-close { display: none; }
  .burger[aria-expanded="true"] .icon-open { display: none; }
  .burger[aria-expanded="true"] .icon-close { display: block; }
  .site-header .logo { grid-area: logo; justify-self: center; font-size: 19px; }
  .site-header .logo img { width: 36px; }
  .lang { grid-area: lang; justify-self: center; margin: 0; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--beige); border-top: 1px solid rgba(0,0,0,.08); box-shadow: 0 12px 24px rgba(0,0,0,.12); }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; padding: 10px 16px 18px; }
  .main-nav a { padding: 12px 14px; font-size: 17px; }
}

/* ---------- Common blocks ---------- */
.section { padding: 80px 0; }
.section--alt { background: var(--beige-50); }
.section--tight { padding: 56px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.eyebrow { display: block; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .05em; margin-bottom: 8px; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 14px; }
.section-head .ornament { margin: 0 auto; width: 46px; opacity: .8; }
.lead { font-size: 18px; }

.btn { display: inline-block; background: var(--peach); color: var(--ink); padding: 14px 28px; font-weight: 500; font-size: 15px; text-decoration: none; border-radius: var(--radius); transition: background-color .2s; border: 0; }
.btn:hover { background: var(--peach-dark); }
.btn--light { background: var(--beige); }
.btn--light:hover { background: var(--peach); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--top { align-items: start; }
.split img { border-radius: 6px; width: 100%; }
.split h2 { font-size: clamp(26px, 3.4vw, 34px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.page-hero { position: relative; min-height: 420px; display: flex; align-items: flex-end; color: #fff; background: var(--slate); overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.6) 100%); }
.page-hero .container { position: relative; z-index: 1; width: 100%; padding-bottom: 48px; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 6vw, 56px); margin: 0; }
.page-hero .eyebrow { color: var(--peach); font-size: 14px; }

.page-title { background: var(--beige-50); padding: 64px 0 56px; text-align: center; }
.page-title h1 { font-size: clamp(32px, 5vw, 46px); margin: 0; }

.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.check-list li { position: relative; padding-left: 22px; color: var(--ink); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--peach); }

.address { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-weight: 500; margin-bottom: 20px; }
.address a { color: inherit; text-decoration: underline; text-decoration-color: var(--peach); text-underline-offset: 4px; }
.address a:hover { color: var(--peach-dark); }
.booking__info a.plain { display: inline; text-decoration: underline; text-decoration-color: rgba(253,189,153,.6); text-underline-offset: 4px; }
.address svg, .contact-item svg { flex: none; width: 22px; height: 22px; color: var(--peach-dark); margin-top: 1px; }

.figure { margin: 0; }
.figure a { display: block; border-radius: 6px; overflow: hidden; }
.figure img { transition: transform .4s; }
.figure a:hover img { transform: scale(1.02); }
.map-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; font-size: 14px; color: var(--muted); }
.map-switch button { font: inherit; font-weight: 500; color: var(--ink); background: #fff; border: 1px solid var(--beige); border-radius: var(--radius); padding: 7px 14px; cursor: pointer; }
.map-switch button:hover { border-color: var(--peach-dark); }
.map-switch button[aria-pressed="true"] { background: var(--peach); border-color: var(--peach); }
.figure figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.figure .map-caption strong { display: block; color: var(--ink); font-size: 16px; font-weight: 500; margin-bottom: 2px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }
.interior__h { margin: 56px 0 20px; font-size: clamp(22px, 2.6vw, 26px); font-weight: 500; }
.interior { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 960px) { .interior { grid-template-columns: 1fr 1fr; } .interior li:first-child { grid-column: 1 / -1; } }
.interior a { display: block; border-radius: 6px; overflow: hidden; }
.interior img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.interior a:hover img { transform: scale(1.03); }
.interior a:focus-visible { outline: 3px solid var(--peach-dark); outline-offset: 3px; }
.interior span { display: block; margin-top: 8px; font-size: 15px; color: var(--ink); }

.cta { background: var(--slate); color: var(--cream); border-radius: 6px; padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta p { font-size: 18px; margin: 0; max-width: 640px; }
.cta .btn { flex: none; }
@media (max-width: 760px) { .cta { flex-direction: column; align-items: flex-start; padding: 32px 24px; } }

.contact-row { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: center; }
.contact-item { display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--ink); font-weight: 500; }
a.contact-item:hover { color: var(--peach-dark); }

/* ---------- Home ---------- */
.home-intro { background: var(--beige-50); padding: 72px 0 24px; text-align: center; }
.home-intro img { width: 84px; margin: 0 auto 18px; }
.home-intro h1 { font-size: clamp(34px, 6vw, 52px); margin-bottom: 10px; }
.home-intro p { font-size: 19px; max-width: 620px; margin: 0 auto; }
.home-tiles { background: linear-gradient(var(--beige-50) 50%, #fff 50%); padding: 40px 0 88px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tile { background: var(--slate); color: var(--cream); border-radius: 8px; padding: 52px 28px 44px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; text-decoration: none; transition: transform .25s, background-color .25s, box-shadow .25s; }
.tile > svg { width: 104px; height: 104px; color: var(--cream); transition: color .25s; }
.tile__text { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.tile__title { font-size: 25px; font-weight: 400; color: #fff; line-height: 1.25; }
.tile__more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--peach); letter-spacing: .03em; }
.tile__more svg { width: 16px; height: 16px; color: var(--peach); }
.tile:hover { transform: translateY(-4px); background: var(--slate-dark); box-shadow: 0 16px 32px rgba(0,0,0,.18); }
.tile:hover > svg { color: var(--peach); }
@media (max-width: 860px) { .home-tiles { background: var(--beige-50); padding-bottom: 56px; } .tiles { grid-template-columns: 1fr; gap: 16px; } .tile { flex-direction: row; text-align: left; padding: 24px; gap: 20px; } .tile > svg { width: 64px; height: 64px; flex: none; } .tile__title { font-size: 21px; } .tile__text { align-items: flex-start; gap: 6px; } }

/* ---------- Massage ---------- */
.mhero { position: relative; height: clamp(480px, 72vh, 660px); overflow: hidden; background: #2b2420; color: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,.05) 100%); }
.slide__body { position: absolute; z-index: 1; left: 0; right: 0; top: 50%; transform: translateY(-50%); }
.slide__body .container > div { max-width: 520px; }
.slide h1, .slide h2 { color: #fff; font-size: clamp(34px, 5.5vw, 54px); margin-bottom: 16px; }
.slide p { font-size: 17px; color: rgba(255,255,255,.92); }
.mhero__controls { position: absolute; z-index: 2; bottom: 28px; left: 0; right: 0; }
.mhero__controls .container { display: flex; align-items: center; gap: 16px; }
.mhero__dots { display: flex; gap: 8px; margin-right: auto; }
.mhero__dots button { width: 34px; height: 4px; border: 0; padding: 0; background: rgba(255,255,255,.45); cursor: pointer; border-radius: 2px; }
.mhero__dots button[aria-current="true"] { background: var(--peach); }
.mhero__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: rgba(0,0,0,.15); color: #fff; display: grid; place-items: center; cursor: pointer; }
.mhero__arrow:hover { background: var(--peach); color: var(--ink); border-color: var(--peach); }
.mhero__arrow svg { width: 18px; height: 18px; }
.slide .slide__title { color: #fff; font-size: clamp(34px, 5.5vw, 54px); font-weight: 500; line-height: 1.2; margin: 0; }
.mhero--bottom .slide img { object-position: center 62%; }
.mhero--bottom .slide::after { background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 62%, rgba(0,0,0,.8) 100%); }
.mhero--bottom .slide__body { text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.mhero--bottom .slide__body { top: auto; bottom: 96px; transform: none; }
.mhero--bottom .slide h1 { margin: 0; }
.mhero--bottom .eyebrow { color: var(--peach); font-size: 17px; }
.slide__credit { position: absolute; z-index: 2; top: 14px; right: 16px; font-size: 12px; line-height: 1.4; color: #fff; background: rgba(0,0,0,.55); padding: 3px 8px; border-radius: 3px; text-decoration: none; }
.slide__credit:hover, .slide__credit:focus-visible { text-decoration: underline; }
@media (max-width: 640px) { .slide::after { background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.7) 70%); } .slide__body { top: auto; bottom: 84px; transform: none; } .slide p { font-size: 15px; } }

.frame { border: 16px solid var(--peach); padding: 52px 48px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 44px; align-items: center; }
.frame h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 0; }
.frame p { font-size: 17px; }
@media (max-width: 860px) { .frame { grid-template-columns: 1fr; gap: 20px; border-width: 10px; padding: 28px 22px; } }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 40px; text-align: center; }
.benefit .circle { width: 104px; height: 104px; border-radius: 50%; background: #fff; box-shadow: 0 8px 28px rgba(253,189,153,.45); display: grid; place-items: center; margin: 0 auto 22px; }
.benefit .circle img { width: 58px; }
.benefit h3 { font-size: 18px; margin-bottom: 10px; }
.benefit p { font-size: 15px; max-width: 300px; margin: 0 auto; }
@media (max-width: 860px) { .benefits { grid-template-columns: 1fr 1fr; gap: 40px 20px; } }
@media (max-width: 520px) { .benefits { grid-template-columns: 1fr; } }

.tech { background: #EDEDED url("../img/massage-stones-bg.jpg") right center / cover no-repeat; padding: 96px 0; }
@media (min-width: 861px) and (max-width: 1500px) { .tech { background-image: linear-gradient(90deg, #EDEDED 0%, rgba(237,237,237,.92) 38%, rgba(237,237,237,0) 55%), url("../img/massage-stones-bg.jpg"); } }
.tech__text { max-width: 440px; }
.tech__text p { font-size: 15.5px; text-align: justify; hyphens: auto; }
.tech .btn { margin-top: 12px; }
@media (max-width: 860px) { .tech { background-size: 100% auto; background-position: top center; padding: calc(44vw + 32px) 0 56px; } .tech__text { max-width: none; } .tech__text p { text-align: left; } }

.services { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service { border: 2px solid var(--peach); padding: 28px 32px; background: #fff; }
.service h3 { font-size: 21px; margin-bottom: 10px; }
.duration { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; margin-bottom: 14px; }
.duration svg { width: 20px; height: 20px; color: var(--peach-dark); }
.service p { font-size: 15px; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } .service { padding: 24px 22px; } }

.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card { background: #fff; border-radius: 6px; box-shadow: 0 6px 30px rgba(0,0,0,.06); padding: 40px 28px 36px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.price-card h3 { font-size: 19px; }
.price-card .price { font-size: 42px; font-weight: 500; color: var(--ink); line-height: 1.1; margin: 6px 0 24px; }
.price-card .price--text { font-size: 22px; padding: 10px 0 4px; }
.price-card .icon { width: 132px; height: 132px; border-radius: 50%; background: var(--peach); display: grid; place-items: center; margin-bottom: 24px; }
.price-card .icon img { width: 76px; }
.price-card p { font-size: 15px; margin-bottom: 24px; }
.price-card .btn { margin-top: auto; }
@media (max-width: 960px) { .prices { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .prices { grid-template-columns: 1fr; } }

/* ---------- Massage booking ---------- */
.booking { background: var(--slate); color: var(--cream); padding: 72px 0; scroll-margin-top: 80px; }
.booking__inner { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: center; }
.booking h2 { color: #fff; font-size: clamp(28px, 4vw, 36px); }
.booking p { font-size: 17px; max-width: 560px; }
.booking__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.booking .btn { display: inline-flex; align-items: center; gap: 10px; }
.booking .btn svg { width: 20px; height: 20px; }
.btn--outline { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px rgba(243,237,230,.5); }
.btn--outline:hover { background: rgba(255,255,255,.08); color: #fff; }
.booking__info { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.booking__info li, .booking__info a { display: flex; gap: 12px; align-items: flex-start; color: var(--cream); text-decoration: none; }
.booking__info a:hover { color: var(--peach); }
.booking__info svg { width: 22px; height: 22px; color: var(--peach); flex: none; margin-top: 2px; }
.booking__info small { color: #bdb6ae; font-size: 14px; }
.callbar { display: none; }
@media (max-width: 860px) {
  .booking__inner { grid-template-columns: 1fr; gap: 32px; }
  .booking .btn { width: 100%; justify-content: center; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--peach); box-shadow: 0 -4px 16px rgba(0,0,0,.15); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 8px; color: var(--ink); font-weight: 500; text-decoration: none; }
  .callbar a + a { border-left: 1px solid rgba(0,0,0,.12); }
  .callbar svg { width: 20px; height: 20px; }
  body:has(.callbar) { padding-bottom: 52px; }
}

/* ---------- Contacts ---------- */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { border: 1px solid var(--beige); border-radius: 6px; padding: 32px; background: #fff; scroll-margin-top: 140px; }
.contact-card h2 { font-size: 24px; display: flex; align-items: center; gap: 12px; }
.contact-card h2 svg { width: 40px; height: 40px; color: var(--peach-dark); flex: none; }
.contact-card ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-card .contact-item { font-weight: 400; }
.contact-card--accent { border: 2px solid var(--peach); }
.contact-card--wide { grid-column: 1 / -1; background: var(--beige-50); border-color: var(--beige-50); }
.contact-card--wide ul { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (max-width: 760px) { .contact-cards { grid-template-columns: 1fr; } .contact-card { padding: 24px 20px; } }

/* ---------- Text page ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 22px; margin-top: 36px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose .updated { color: var(--muted); font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #CFC9C4; padding: 64px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand .logo img { filter: invert(1); }
.footer-brand p { max-width: 340px; }
.site-footer h2 { color: #fff; font-size: 16px; letter-spacing: .04em; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--peach); }
.site-footer .contact-item { color: #CFC9C4; font-weight: 400; }
.site-footer .footer-sub { font-size: 13px; color: #9d978f; margin-top: 6px; }
.site-footer .contact-item svg { color: var(--peach); width: 18px; height: 18px; margin: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding: 20px 0; font-size: 14px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.legal .legal-label { color: var(--muted); margin-right: 6px; }
.legal ul { grid-template-columns: 1fr; gap: 6px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Photo viewer (lightbox) */
.has-lightbox { overflow: hidden; }
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #111; color: #fff; }
.lightbox::backdrop { background: #111; }
.lightbox__figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 72px 76px 24px; gap: 14px; }
.lightbox__figure img { max-width: 100%; max-height: calc(100% - 44px); width: auto; height: auto; object-fit: contain; border-radius: 4px; background: #fff; }
.lightbox__figure figcaption { font-size: 17px; line-height: 1.4; text-align: center; color: #fff; }
.lightbox__count { position: absolute; top: 22px; left: 20px; font-size: 17px; font-weight: 500; color: #fff; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; padding: 0; border: 2px solid #fff; border-radius: 50%; background: #000; color: #fff; cursor: pointer; }
.lightbox__btn svg { width: 26px; height: 26px; }
.lightbox__btn:hover, .lightbox__btn:focus-visible { background: var(--peach); border-color: var(--peach); color: #000; outline: none; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 12px; }
.lightbox__next { right: 12px; }
.lightbox.is-single .lightbox__prev, .lightbox.is-single .lightbox__next { display: none; }
@media (max-width: 640px) {
  .lightbox__figure { padding: 76px 10px 96px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
}
