/* =========================================================
   CleanLachin — mobile-first stylesheet
   Hand-written to visually match cleanlachin.com.
   Base = mobile; media queries scale up.
   ========================================================= */

/* Self-hosted variable body font (CleanSans). */
@font-face {
    font-family: 'CleanSans';
    font-style: normal;
    font-weight: 250 1000;
    font-display: swap;
    src: url("/static/fonts/CleanSans-VF.b2f3b3aa203b.woff2") format('woff2-variations'),
         url("/static/fonts/CleanSans-VF.0aa49b3e31e7.woff") format('woff-variations');
}
/* Self-hosted Montserrat (latin, variable 300-700) — headings.
   Self-hosted so no external Google Fonts request (which privacy/ad
   blockers reject with ERR_BLOCKED_BY_CLIENT). */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("/static/fonts/Montserrat-latin.c154477b9aff.woff2") format('woff2');
}

:root {
    --accent: #3186b3;      /* "Our Services", "Contact us:", names, links, Hire Us */
    --accent2: #315fad;     /* prices, "How we work" numbers */
    --hero-btn: #3e83b2;    /* hero "About us" button */
    --more: #6fb0e9;        /* "More" button */
    --ring: #4a85b5;        /* stat circles */
    --pill: #1f5bff;        /* header "Contacts" pill */
    --green: #008000;       /* FAQ toggles */
    --ink: #000;
    --muted: #666;
    --line: #e6e6e6;
    --container: 1200px;
    --font-sans: 'CleanSans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    --font-head: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Prevent the scroll-reveal off-screen transforms (rv-right etc.) from
   creating a horizontal scroll / empty strip on the right. */
html, body { overflow-x: hidden; }
body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--ink);
    background: #fff;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.accent { color: var(--accent); }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}
.container--narrow { max-width: 840px; }

/* ---------- Scroll-reveal animation (fade-in directions) ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
    will-change: opacity, transform;
}
.js .reveal.rv-up    { transform: translateY(40px); }
.js .reveal.rv-down  { transform: translateY(-40px); }
.js .reveal.rv-left  { transform: translateX(-60px); }
.js .reveal.rv-right { transform: translateX(60px); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* stagger items inside a grid */
.js .grid .reveal:nth-child(2) { transition-delay: .12s; }
.js .grid .reveal:nth-child(3) { transition-delay: .24s; }
.js .grid .reveal:nth-child(4) { transition-delay: .36s; }
.js .grid .reveal:nth-child(5) { transition-delay: .48s; }
.js .grid .reveal:nth-child(6) { transition-delay: .60s; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 0;
    transition: background .2s ease, transform .2s ease;
}
.btn--contacts {
    background: var(--pill);
    color: #fff;
    border-radius: 100px;
    height: 40px;
    padding: 0 30px;
    font-size: 14px;
    font-weight: 700;
}
.btn--contacts:hover { background: #164ad1; }
/* "Hire Us" — body font 700, small radius */
.btn--flat {
    background: var(--accent);
    color: #fff;
    border-radius: 5px;
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .3px;
}
.btn--flat:hover { background: #2a7099; }
/* "More" — Montserrat 600, light blue, square */
.btn--more {
    background: var(--more);
    color: #fff;
    border-radius: 0;
    padding: 14px 36px;
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 600;
}
.btn--more:hover { background: #589ad6; }

/* ---------- Header ---------- */
.header { background: #fff; }
/* Header content is a touch wider than the sections (40px vs 60px insets). */
.header .container { max-width: 1240px; }
.header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
}
.logo img { height: 46px; width: auto; }

.header__right { display: none; align-items: center; gap: 24px; }
.header__contacts {
    text-align: right;
    font-family: var(--font-head);
    font-size: 16px; font-weight: 500;
    line-height: 1.25; color: #000;
}
.header__contacts p { margin: 0; }

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    background: transparent; border: 0; cursor: pointer;
}
.nav-toggle span {
    display: block; height: 2px; width: 24px; margin: 0 auto;
    background: var(--ink);
    transition: transform .25s ease, opacity .25s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header__bottom { display: none; }
.nav { display: flex; }
.nav a { font-size: 18px; font-weight: 400; color: #000; }
.nav-open .header__bottom { display: block; padding-bottom: 12px; }
.nav-open .nav { flex-direction: column; }
.nav-open .nav a {
    padding: 12px 2px;
    border-top: 1px solid var(--line);
    font-size: 16px;
    font-weight: 500;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    color: #fff;
}
/* Dark gradient overlay — exact values from the original cover. */
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .6));
}
.hero .container { position: relative; }
.hero__box { max-width: 600px; }
.js .hero__box {
    opacity: 0;
    transform: translateX(60px); /* fadeinright — matches the original */
    animation: heroIn 1s var(--ease) .2s forwards;
}
@keyframes heroIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .js .hero__box { opacity: 1; transform: none; animation: none; }
}
.hero__title {
    font-family: var(--font-head);
    font-size: clamp(26px, 3.2vw, 32px);
    line-height: 1.25;
    font-weight: 600;
    margin: 0 0 16px;
}
.hero__lead {
    font-family: var(--font-head);
    font-size: clamp(15px, 1.8vw, 18px);
    font-weight: 500;
    line-height: 1.55;
    margin: 0 0 26px;
    max-width: 560px;
}
.hero__btn {
    background: var(--hero-btn);
    color: #fff;
    border-radius: 0;
    padding: 14px 30px;
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 600;
}
.hero__btn:hover { background: #326b93; }

/* ---------- Sections & headings ---------- */
.section { padding: 56px 0; }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head__title {
    font-family: var(--font-head);
    /* Type scale: 42px desktop -> 30px @640 -> 18px @375 */
    font-size: clamp(18px, calc(1px + 4.5vw), 42px);
    line-height: 1.25;
    font-weight: 500;
    color: #000;
    margin: 0;
}
.sec-head__sub {
    font-size: clamp(20px, 3.4vw, 24px);
    font-weight: 300;
    color: #000;
    margin: 16px 0 0;
}
/* Per-section title color / weight (from the original) */
#services .sec-head__title { color: var(--accent); font-weight: 600; }
#how .sec-head__title { font-weight: 600; }
#stats .sec-head__title { color: #333; text-transform: uppercase; }

.grid { display: grid; }

/* ---------- Services ---------- */
.grid--services { grid-template-columns: 1fr; gap: 20px; }
.service-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.service-card::before {
    content: "";
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, .42);
    transition: background .25s ease;
}
.service-card:hover::before { background: rgba(0, 0, 0, .55); }
.service-card__title {
    position: relative;
    z-index: 1;
    color: #fff;
    font-family: var(--font-head);
    font-size: clamp(20px, 2.4vw, 24px);
    font-weight: 500;
    text-align: center;
    padding: 0 12px;
}

/* ---------- How we work ---------- */
/* White base + the original's gradient filter (light top -> ~30% dark bottom). */
.section--how { background: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(0, 0, 0, .3)), #fff; }
.grid--steps { grid-template-columns: 1fr; gap: 36px 30px; }
.step { display: flex; align-items: flex-start; gap: 20px; }
.step__num {
    flex: none;
    font-family: Arial, Helvetica, sans-serif;
    /* Original keeps the big 200px numeral down to mobile. */
    font-size: clamp(150px, 52vw, 200px);
    line-height: .9;
    font-weight: 700;
    color: var(--accent2);
}
.step__title {
    position: relative;
    font-family: var(--font-head);
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 600;
    color: #000;
    margin: 6px 0 14px;
    padding-bottom: 12px;
}
.step__title::after {
    content: "";
    position: absolute; left: 0; bottom: 0;
    width: 166px; height: 5px; /* original divider: 166×5, #315fad */
    background: var(--accent2);
}
.step__text {
    font-family: var(--font-head);
    font-size: clamp(17px, 2.4vw, 23px);
    font-weight: 400;
    color: #000;
    margin: 0;
}

/* ---------- Pricing ---------- */
.grid--pricing { grid-template-columns: 1fr; gap: 24px; }
.price-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(49, 134, 179, .35);
    border-radius: 10px;
    padding: 36px 28px;
}
/* Featured (middle) plan — bigger, matches the original t599 highlighted column. */
.price-card--featured { min-height: 560px; padding-top: 56px; padding-bottom: 56px; }
.price-card__title {
    font-size: 22px; font-weight: 600; color: #000; margin: 0 0 18px;
}
.price-card__price {
    font-family: var(--font-head);
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 600;
    color: var(--accent2);
    margin: 0 0 22px;
}
.price-card__list { list-style: none; padding: 0; margin: 0 0 26px; text-align: left; flex: 1; }
.price-card__list li { font-size: 15px; font-weight: 300; color: #555; padding: 6px 0; }
.price-card__btn { align-self: center; }
.pricing__more { text-align: center; margin-top: 40px; }

/* ---------- About ---------- */
.section--about {
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    min-height: 90vh;
    padding: 60px 0;
}
.about-card {
    background: #fff;
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 36px;
    text-align: center;
}
.about-card__title {
    font-family: var(--font-sans); /* original t-title uses TildaSans/CleanSans, not Montserrat */
    font-size: clamp(28px, 5.5vw, 52px); font-weight: 600; color: #000; margin: 0 0 14px;
}
.about-card__rule { display: block; width: 60px; height: 3px; background: #666; margin: 0 auto 26px; }
.about-card p { font-family: var(--font-head); font-size: clamp(16px, 2.2vw, 20px); font-weight: 400; line-height: 1.55; color: #111; margin: 0; }

/* ---------- Feedback ---------- */
.grid--reviews { grid-template-columns: 1fr; gap: 36px; }
.review { text-align: center; }
.review__avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; }
.review__name { color: var(--accent); font-size: clamp(12px, 1.5vw, 16px); font-weight: 600; margin: 0 0 12px; }
.review__text { color: #666; font-size: 15px; font-weight: 300; line-height: 1.7; margin: 0; }

/* ---------- Stats ---------- */
.grid--stats { grid-template-columns: 1fr; gap: 40px; }
.stat { text-align: center; }
.stat__ring {
    box-sizing: border-box;
    width: 160px; height: 160px;
    border-radius: 50%;
    border: 15px solid var(--accent); /* original pie-chart: #3186B3, 15px stroke, 160px */
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
}
.stat__value { font-size: 30px; font-weight: 400; color: #000; }
.stat__label { font-family: var(--font-head); font-size: clamp(18px, 2.4vw, 24px); font-weight: 700; color: #000; margin: 0; }

/* ---------- FAQ ---------- */
.section--faq-head { background: #efefef; padding: 56px 0; }
.section--faq-head .sec-head { margin-bottom: 0; }
.faq-wrap { background: #fff; padding: 0 0 40px; }
.faq { max-width: 840px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid #ededed; }
.faq__item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    padding: 20px 4px;
    cursor: pointer;
    list-style: none;
    font-size: 18px; font-weight: 400; color: #000;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__toggle {
    flex: none;
    position: relative;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--green);
}
.faq__toggle::before, .faq__toggle::after {
    content: ""; position: absolute; top: 50%; left: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
}
.faq__toggle::before { width: 12px; height: 2px; }
.faq__toggle::after { width: 2px; height: 12px; transition: transform .2s ease; }
.faq__item.is-open .faq__toggle::after { transform: translate(-50%, -50%) scaleY(0); }
/* Smooth open/close (height + fade), like the original t668 accordion. */
.faq__body { overflow: hidden; height: 0; opacity: 0; transition: height .3s ease-in-out, opacity .3s ease-in-out; }
.faq__item p { margin: 0 0 20px; color: #555; font-size: 16px; }
/* No-JS fallback: native <details> just shows the answer when open. */
html:not(.js) .faq__body { height: auto; opacity: 1; }
html:not(.js) .faq__item:not([open]) .faq__body { display: none; }

/* ---------- Contacts ---------- */
.contacts {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 80px 0;
}
.contacts::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .68), rgba(0, 0, 0, .74)); }
.contacts .container { position: relative; }
.contacts-card {
    background: #fff;
    max-width: 470px;
    margin: 0 auto;
    padding: 44px 30px;
    text-align: center;
}
.contacts-card__title {
    font-family: var(--font-head);
    font-size: clamp(28px, 4.5vw, 42px); font-weight: 500; color: var(--accent); margin: 0 0 24px;
}
.contacts-card p { margin: 0 0 8px; font-family: var(--font-head); font-size: 16px; font-weight: 500; color: #000; }
.contacts-card p b { font-weight: 600; }
/* Original link colors: phone (tel) inherits black, email uses the site link orange. */
.contacts-card__phone { color: #000; }
.contacts-card__email { color: #ff8562; }
.socials { display: flex; justify-content: center; gap: 14px; margin-top: 24px; }
.socials__item {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: #2b2b2b; color: #fff;
    display: flex; align-items: center; justify-content: center;
}
.socials__item svg { width: 22px; height: 22px; }
.socials__item:hover { background: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: #fff; }
.footer__inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px 0;
    font-size: 12px; font-weight: 400; /* original footer: 14px desktop / 12px mobile, normal weight */
    color: var(--accent);
}
.footer__inner p { margin: 0; }
.footer__totop { color: var(--accent); }
.footer__totop:hover { color: var(--accent2); }

/* =========================================================
   Tablet — 600px+
   ========================================================= */
@media (min-width: 600px) {
    .section { padding: 72px 0; }
    .grid--services { grid-template-columns: repeat(2, 1fr); }
    .grid--reviews { grid-template-columns: repeat(3, 1fr); }
    .grid--stats { grid-template-columns: repeat(3, 1fr); }
    .hero__title { font-size: 28px; }
}

/* =========================================================
   768px+ — steps become 2x2
   ========================================================= */
@media (min-width: 768px) {
    .grid--steps { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   Desktop — 980px+
   ========================================================= */
@media (min-width: 980px) {
    .section { padding: 84px 0; }

    .nav-toggle { display: none; }
    .header__right { display: flex; }
    .logo img { height: 64px; }
    /* Full-bleed divider between the contacts row and the menu (original #e2e2e2). */
    .header__top { position: relative; padding-bottom: 10px; }
    .header__top::after {
        content: "";
        position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
        width: 100vw; height: 1px; background: #e2e2e2;
    }
    .header__bottom { display: block; padding-top: 8px; padding-bottom: 14px; }
    .nav { flex-direction: row; gap: 48px; }
    .nav a { font-size: 18px; font-weight: 400; color: #000; padding: 0; border: 0; }
    .nav a:hover { color: var(--accent); }

    .grid--services { grid-template-columns: repeat(3, 1fr); }
    /* Center the row so the taller featured (middle) card overhangs top & bottom. */
    .grid--pricing { grid-template-columns: repeat(3, 1fr); align-items: center; }
    .service-card { min-height: 207px; }
}

/* =========================================================
   Pixel calibration for wide desktop (>=1200px)
   Block heights, paddings and card sizes measured from the
   original page at 1280px so the layout matches 1:1.
   ========================================================= */
@media (min-width: 1200px) {
    .container { max-width: 1200px; padding: 0 20px; } /* content = 1160, x=60 @1280 */

    /* Services: block 1259 = 135 + content 974 + 150 */
    #services { padding: 135px 0 150px; }
    #services .sec-head { margin-bottom: 128px; }
    .grid--services { gap: 40px; }
    .service-card { min-height: 350px; }

    /* How we work: block 1000 = 65 + content 720 + 215 */
    #how { padding: 65px 0 215px; }
    #how .sec-head { margin-bottom: 69px; }
    .grid--steps { gap: 96px 40px; }
    .step { gap: 24px; min-height: 251px; }

    /* Pricing: block 1087 = 135 + content 747 + 205, then "More" (70) */
    #pricing { padding: 135px 0 0; }
    #pricing .sec-head { margin-bottom: 120px; }
    .grid--pricing { gap: 40px; }
    .price-card { min-height: 518px; }
    .price-card--featured { min-height: 560px; } /* overhangs the side cards top & bottom */
    .pricing__more { margin-top: 0; padding: 205px 0 14px; }

    /* About: full-bleed commercial photo with fixed parallax and centered white card */
    #about { padding: 87px 0; background-attachment: fixed; }
    .about-card { max-width: 760px; padding: 85px 87px; }

    /* Feedback: block 526 = 60 + content 406 + 60 */
    #reviews { padding: 60px 0; }
    #reviews .sec-head { margin-bottom: 77px; }
    .grid--reviews { gap: 40px; }

    /* Stats: block 681 = 75 + content 455 + 152 */
    #stats { padding: 75px 0 152px; }
    #stats .sec-head { margin-bottom: 133px; }
    .grid--stats { gap: 40px; }

    /* FAQ: heading band 227 = 135 + 51 + 41; items block below */
    .section--faq-head { padding: 133px 0 41px; }
    .faq-wrap { padding: 80px 0 165px; }

    /* Contacts: block 700 */
    .contacts { padding: 183px 0; }

    /* Header ~140px tall: logo row (90px) + nav row */
    .logo img { height: 90px; }
    .header__top { padding-top: 0; padding-bottom: 0; }
    .header__bottom { padding-top: 8px; padding-bottom: 19px; }
    .nav a { line-height: 1.2; }
    .footer__inner { padding: 27px 0 86px; font-size: 14px; }
}

/* =========================================================
   Commercial gallery card, WhatsApp button, gallery modal
   ========================================================= */
.service-card--gallery { cursor: pointer; }
.service-card__hint {
    position: absolute;
    z-index: 1;
    left: 0; right: 0; bottom: 16px;
    text-align: center;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 12px; font-weight: 600;
    letter-spacing: 1.5px; text-transform: uppercase;
    opacity: .9;
}
.service-card--gallery:hover .service-card__hint { opacity: 1; }

/* WhatsApp CTA in the contacts card */
.btn--whatsapp {
    background: #25d366;
    color: #fff;
    border-radius: 6px;
    padding: 13px 26px;
    margin-top: 22px;
    gap: 10px;
    font-family: var(--font-head);
    font-size: 16px; font-weight: 600;
}
.btn--whatsapp svg { width: 22px; height: 22px; }
.btn--whatsapp:hover { background: #1ebe5b; }

/* Gallery modal */
body.modal-open { overflow: hidden; }
.modal {
    display: none;
    position: fixed; inset: 0; z-index: 200;
    align-items: center; justify-content: center;
    padding: 20px;
}
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .8); }
.modal__dialog {
    position: relative; z-index: 1;
    background: #fff;
    border-radius: 12px;
    width: 100%; max-width: 1100px; max-height: 90vh;
    display: flex; flex-direction: column;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
}
.modal__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
}
.modal__title { margin: 0; font-family: var(--font-head); font-size: 20px; font-weight: 600; color: #000; }
.modal__close {
    background: transparent; border: 0;
    font-size: 30px; line-height: 1; cursor: pointer;
    color: #555; padding: 0 4px;
}
.modal__close:hover { color: #000; }
.modal__grid {
    overflow-y: auto;
    padding: 18px;
    display: grid; gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}
.modal__grid img {
    width: 100%; height: 210px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    background: var(--bg-alt, #f4f6f9);
}
.modal__thumb { cursor: zoom-in; transition: transform .15s ease, box-shadow .15s ease; }
.modal__thumb:hover { transform: scale(1.02); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }

/* ---------- Lightbox (enlarged gallery photo) ---------- */
.lightbox {
    display: none;
    position: fixed; inset: 0; z-index: 300;
    align-items: center; justify-content: center;
    padding: 24px;
}
.lightbox.is-open { display: flex; }
/* Let JS handle horizontal swipes; keep vertical gestures native. */
.lightbox { touch-action: pan-y; }
.lightbox__img { -webkit-user-drag: none; user-select: none; touch-action: pan-y; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .92); }
.lightbox__stage {
    position: relative; z-index: 1;
    margin: 0;
    max-width: 92vw; max-height: 90vh;
    display: flex; flex-direction: column; align-items: center;
}
.lightbox__img {
    max-width: 92vw; max-height: 84vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
}
.lightbox__count { margin-top: 14px; color: #fff; font-family: var(--font-head); font-size: 15px; letter-spacing: .04em; }
.lightbox__close {
    position: absolute; top: 18px; right: 22px; z-index: 2;
    background: transparent; border: 0;
    color: #fff; font-size: 40px; line-height: 1; cursor: pointer;
}
.lightbox__nav {
    position: absolute; z-index: 2; top: 50%; transform: translateY(-50%);
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(255, 255, 255, .12); border: 0;
    color: #fff; font-size: 34px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s ease;
}
.lightbox__nav:hover { background: rgba(255, 255, 255, .28); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
@media (max-width: 600px) {
    .lightbox__nav { width: 44px; height: 44px; font-size: 26px; }
    .lightbox__nav--prev { left: 8px; }
    .lightbox__nav--next { right: 8px; }
    .lightbox__img { max-height: 78vh; }
}
