/* Vestis Second Hand, skin "content" SecondHandy 2.1 + kolory sklepu */
:root {
    /* rdzeń SecondHandy 2.1 */
    --paper: #FCFAF6;
    --paper-strong: #F4F0E8;
    --surface: #FFFFFF;
    --line: #E6E1D8;
    --line-strong: #CFC7B9;
    --focus: #245A93;
    --danger: #AE293A;
    --danger-bg: #FFF0F2;
    --success: #166747;
    --success-bg: #EDF7F1;

    /* Vestis */
    --sage: #6C8779;
    --sage-2: #5A746A;
    --forest: #3F574C;
    --forest-deep: #2E423A;
    --beige: #DEC5B0;
    --beige-soft: #F3E9DF;
    --ink: #1D2924;
    --ink-2: #3A4842;
    --muted: #5C6862;

    --font: "Inter", Arial, sans-serif;
    --display: "Inter Tight", "Inter", Arial, sans-serif;

    --r-sm: 6px;
    --r-control: 12px;
    --r-card: 12px;
    --r-feature: 20px;
    --r-pill: 999px;

    --gutter: 20px;
    --container: 1200px;
    --section: 72px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --header-h: 64px;
}
@media (min-width: 768px) { :root { --gutter: 40px; --section: 96px; --header-h: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--display); color: var(--ink); }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.signup :focus-visible, .exit-popup__content :focus-visible { outline-color: var(--beige); }
.signup .signup__card :focus-visible { outline-color: var(--focus); }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--r-control); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- IndexLabel (sygnatura SecondHandy) ---------- */
.idx {
    display: flex; align-items: center; flex-wrap: wrap; gap: 0 .4em;
    margin: 0 0 16px;
    font-size: 12px; line-height: 1.3; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase;
    color: var(--ink);
}
.idx::before { content: ""; width: 8px; height: 8px; background: var(--sage); margin-right: .35em; flex: none; }
.idx span { color: var(--muted); font-weight: 600; }
.idx--light { color: #fff; }
.idx--light::before { background: var(--beige); }
.idx--light span { color: #D5E0D9; }

/* ---------- Typografia sekcji ---------- */
.section { padding: var(--section) 0; }
.section--rule { border-top: 1px solid var(--line); }
.section__head { margin-bottom: 32px; max-width: 720px; }
.section__title {
    font-size: clamp(2rem, 1.55rem + 1.9vw, 3rem);
    font-weight: 800; line-height: 1.04; letter-spacing: -.035em;
    text-wrap: balance;
}
.section__lead { margin: 14px 0 0; color: var(--ink-2); font-size: 18px; line-height: 1.55; max-width: 56ch; }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
@media (min-width: 768px) { .section__head { margin-bottom: 44px; } }

/* ---------- Przyciski ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 12px 22px;
    border-radius: var(--r-control); border: 1.5px solid transparent;
    font: 600 16px/1.2 var(--font); text-decoration: none; text-align: center;
    cursor: pointer; transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease), transform 160ms var(--ease);
    -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 56px; padding: 14px 24px; font-size: 16.5px; }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--forest { background: var(--forest); color: #fff; }
.btn--forest:hover { background: var(--forest-deep); color: #fff; }
.btn--beige { background: var(--beige); color: var(--ink); }
.btn--beige:hover { background: #E8D4C2; color: var(--ink); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); background: var(--surface); }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- Topbar + header ---------- */
.topbar { background: var(--forest); text-align: center; font-size: 14px; line-height: 1.35; }
.topbar a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px var(--gutter); color: #fff; text-decoration: none; font-weight: 500; }
.topbar a:hover { text-decoration: underline; color: #fff; }

.header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(252, 250, 246, .86);
    -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px);
    border-bottom: 1px solid transparent;
    transition: border-color 160ms var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); }
@media (prefers-reduced-transparency: reduce) { .header { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.header__inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.header__logo { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; border-radius: 4px; }
.header__logo img { width: auto; height: 34px; }
@media (min-width: 768px) { .header__logo img { height: 40px; } }
.header__cta { display: none; }
@media (min-width: 400px) { .header__cta { display: inline-flex; } }

.menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: var(--r-control);
    border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
}
.menu-toggle .ico { width: 22px; height: 22px; }

.nav { display: none; }
.nav.is-open {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 40px rgb(10 10 10 / 10%);
    padding: 8px var(--gutter) 20px;
}
.nav__list a {
    display: flex; align-items: center; min-height: 52px; padding: 0 4px;
    font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -.02em;
    color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line);
}
@media (min-width: 960px) {
    .menu-toggle { display: none; }
    .nav, .nav.is-open { display: block; position: static; background: none; border: 0; box-shadow: none; padding: 0; margin-right: 8px; }
    .nav__list { display: flex; gap: 4px; }
    .nav__list a { min-height: 44px; padding: 0 12px; border: 0; border-radius: var(--r-control); font-family: var(--font); font-size: 15px; font-weight: 500; letter-spacing: 0; }
    .nav__list a:hover { background: var(--paper-strong); }
}

/* ---------- Hero ---------- */
.hero { padding: 36px 0 var(--section); }
.hero__grid { display: grid; gap: 40px; }
.hero__grid > * { min-width: 0; }
.hero__title {
    font-size: clamp(2.6rem, 1.7rem + 4.4vw, 5rem);
    font-weight: 800; line-height: .98; letter-spacing: -.045em;
    margin: 0 0 28px; text-wrap: balance;
}
.hero__lead { color: var(--ink-2); font-size: 17px; line-height: 1.65; max-width: 56ch; margin: 28px 0 28px; }
.hero__cta { display: grid; gap: 10px; }
@media (min-width: 520px) { .hero__cta { display: flex; flex-wrap: wrap; } }

.strip { margin-top: 28px; border-top: 1px solid var(--line); }
.strip li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.5; }
.strip .ico { color: var(--sage-2); margin-top: 1px; }

.hero__media { position: relative; margin: 0; }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-feature); background: var(--paper-strong); }
.hero__cap {
    position: absolute; right: 14px; bottom: 14px;
    display: flex; align-items: baseline; gap: 8px;
    background: var(--paper); color: var(--ink); border-radius: var(--r-card);
    padding: 10px 14px; font-size: 14px; font-weight: 500;
    box-shadow: 0 10px 36px rgb(10 10 10 / 12%);
}
.hero__cap-big { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -.03em; color: var(--forest); }

@media (min-width: 600px) and (max-width: 959px) { .hero__media img { aspect-ratio: 3 / 2; object-position: center 60%; } }
@media (min-width: 960px) {
    .hero { padding-top: 64px; }
    .hero__grid { grid-template-columns: minmax(0, 1fr) 460px; gap: 72px; align-items: start; }
    .hero__media { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- Metka "Dziś" (jeden mocny akcent strony) ---------- */
.tag {
    position: relative; isolation: isolate;
    background: var(--forest); color: #fff;
    border-radius: var(--r-feature);
    padding: 22px 22px 22px 52px;
    max-width: 520px;
}
.tag__hole {
    position: absolute; left: 20px; top: 26px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--paper); box-shadow: inset 0 0 0 2px rgba(0,0,0,.12);
}
.tag::after {
    content: ""; position: absolute; left: 36px; top: 16px; bottom: 16px;
    border-left: 1.5px dashed rgba(255,255,255,.28);
}
.tag__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.tag__label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--beige); }
.tag__deal {
    font-family: var(--display); font-weight: 800;
    font-size: clamp(4rem, 3rem + 6vw, 6.25rem); line-height: .9; letter-spacing: -.05em;
    margin: 14px 0 12px; font-variant-numeric: tabular-nums;
}
.tag__deal.is-word { font-size: clamp(2.6rem, 2rem + 3.4vw, 3.75rem); line-height: 1; letter-spacing: -.04em; }
.tag__to { font-size: .38em; letter-spacing: -.01em; font-weight: 700; color: var(--beige); vertical-align: .55em; margin: 0 .1em; }
.tag__note { margin: 0; font-size: 15px; line-height: 1.5; color: #E4ECE7; }
.tag__next { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.18); font-size: 15px; color: #fff; }
.tag__next b { font-weight: 700; color: var(--beige); }

.status {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 13px; font-weight: 600; line-height: 1.2;
    padding: 6px 11px; border-radius: var(--r-pill);
    background: rgba(255,255,255,.12); color: #fff;
}
.status[hidden] { display: none; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.is-open { background: #E5F2EA; color: #14523A; }
.status.is-closed { background: rgba(255,255,255,.12); color: #F6DCCB; }

/* ---------- Grafik tygodnia ---------- */
.week { display: grid; border-top: 1px solid var(--ink); }
.day {
    position: relative;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name deal" "hours deal" "note note";
    align-items: center; column-gap: 16px;
    padding: 16px 4px; border-bottom: 1px solid var(--line);
}
.day__name { grid-area: name; font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.day__hours { grid-area: hours; font-size: 14.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.day__deal { grid-area: deal; font-family: var(--display); font-weight: 800; letter-spacing: -.03em; line-height: 1; text-align: right; }
.day--sale .day__deal { font-size: 40px; color: var(--forest); font-variant-numeric: tabular-nums; }
.day--hot .day__deal { font-size: 48px; }
.day--new .day__deal, .day--plain .day__deal, .day--muted .day__deal { font-size: 17px; letter-spacing: -.01em; font-weight: 700; }
.day--new .day__deal { background: var(--beige); color: var(--ink); padding: 8px 12px; border-radius: var(--r-pill); }
.day--plain .day__deal { color: var(--ink-2); }
.day--muted .day__deal { color: var(--muted); }
.day__note { grid-area: note; margin-top: 6px; font-size: 14px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.day__note::before { content: ""; width: 6px; height: 6px; background: var(--sage); flex: none; }
.day--muted .day__name { color: var(--ink-2); }
.day__badge {
    position: absolute; left: 4px; top: -11px;
    font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    background: var(--ink); color: #fff; padding: 4px 8px; border-radius: var(--r-pill); line-height: 1.2;
}
.day--today { background: var(--beige-soft); padding-left: 14px; padding-right: 14px; margin: 0 -10px; border-radius: var(--r-card); border-bottom-color: transparent; }
.day--today .day__badge { left: 14px; }

@media (min-width: 900px) {
    .week { grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 0; gap: 0; }
    .day {
        grid-template-columns: 1fr; grid-template-areas: "name" "hours" "deal" "note";
        grid-template-rows: auto auto 1fr 48px;
        align-items: start;
        padding: 20px 16px 18px; min-height: 248px;
        border-bottom: 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--line);
    }
    .day:first-child { border-left: 0; }
    .day__deal { text-align: left; align-self: end; margin-top: 28px; }
    .day--sale .day__deal { font-size: 48px; }
    .day--hot .day__deal { font-size: 60px; }
    .day--new .day__deal { justify-self: start; }
    .day__hours { font-size: 13.5px; }
    .day__note { margin-top: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.35; }
    .day__note::before { margin-top: 6px; }
    .day--today { margin: 0; border-radius: 0 0 var(--r-card) var(--r-card); box-shadow: inset 0 3px 0 var(--forest); }
    .day__badge, .day--today .day__badge { top: -10px; left: 16px; }
}

/* ---------- Zapisy ---------- */
.signup { background: var(--forest); color: #fff; padding: var(--section) 0; }
.signup .section__title { color: #fff; }
.signup__grid { display: grid; gap: 40px; }
.signup__grid > * { min-width: 0; }
.signup__bonus { margin: 18px 0 28px; color: #E4ECE7; font-size: 17px; max-width: 48ch; }
.signup__bonus strong { color: var(--beige); font-weight: 700; }
.perks { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.18); }
.perks li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.18); font-weight: 500; }
.perks .ico { color: var(--beige); }
.signup__card { background: var(--surface); color: var(--ink); border-radius: var(--r-feature); padding: 28px 22px; }
.signup__title { font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.signup__text { color: var(--ink-2); font-size: 15.5px; margin: 10px 0 24px; }
@media (min-width: 768px) { .signup__card { padding: 36px; } }
@media (min-width: 960px) { .signup__grid { grid-template-columns: minmax(0, 1fr) 480px; gap: 80px; align-items: start; } }

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: 15px; }
.field__hint { font-weight: 400; color: var(--muted); }
.field input, .exit-popup__form input[type="tel"] {
    width: 100%; min-height: 52px; padding: 12px 16px;
    font: 400 16px/1.3 var(--font); color: var(--ink);
    background: var(--surface); border: 1.5px solid #8C918E; border-radius: var(--r-control);
    transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.field input::placeholder, .exit-popup__form input::placeholder { color: #6F7873; }
.field input:hover { border-color: var(--ink-2); }
.field input:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(36, 90, 147, .35); }
.field input[aria-invalid="true"] { border-color: var(--danger); background: var(--danger-bg); }
.field__err { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--danger); }
.field__err::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--danger); color: #fff; font-size: 12px; font-weight: 700; }
.field__err--light { color: #FFE1D6; }
.field__err--light::before { background: #FFE1D6; color: var(--forest-deep); }
.form-message, .popup-message { display: flex; gap: 10px; align-items: flex-start; border-radius: var(--r-control); padding: 14px 16px; font-size: 15px; line-height: 1.5; }
.form-message[hidden], .popup-message[hidden], .field__err[hidden] { display: none; }
.form-message .ico, .popup-message .ico { margin-top: 1px; }
.form-message.is-ok { background: var(--success-bg); color: var(--success); border: 1px solid #BFE0CC; }
.form-message.is-err { background: var(--danger-bg); color: var(--danger); border: 1px solid #F1C3CA; }
.form__legal { margin: 16px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); text-align: center; }

/* ---------- O nas ---------- */
.about { display: grid; gap: 40px; }
.about > * { min-width: 0; }
.about__text { max-width: 640px; color: var(--ink-2); }
.about__text .section__title { margin-bottom: 24px; }
.about__lead { font-size: 19px; line-height: 1.6; color: var(--ink); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin-top: 28px; border-top: 1px solid var(--line); }
.features li { display: flex; align-items: center; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.35; }
.features .ico { color: var(--sage-2); }
.gallery { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 12px; margin: 0; }
.gallery__item { margin: 0; display: flex; flex-direction: column; min-width: 0; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-card); background: var(--paper-strong); flex: 1; min-height: 0; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item:not(.gallery__item--tall) img { aspect-ratio: 1 / 1; }
.gallery__item figcaption { margin-top: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 960px) {
    .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: start; }
    .gallery { margin-top: 28px; }
}

/* ---------- Opinie ---------- */
.reviews { background: var(--paper-strong); padding: var(--section) 0; }
.reviews__score { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; color: var(--ink-2); }
.stars { display: inline-flex; gap: 3px; color: #B07A1E; }
.stars svg { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.stars--sm svg { width: 15px; height: 15px; }
.reviews__grid {
    display: grid; grid-auto-flow: column; grid-auto-columns: 84%;
    gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px;
    scroll-padding: 0 var(--gutter); scrollbar-width: none;
}
.reviews__grid::-webkit-scrollbar { display: none; }
.review { margin: 0; scroll-snap-align: start; background: var(--surface); border-radius: var(--r-card); padding: 24px 22px; display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--line); }
.review__text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink); }
.review__by { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }
.review__by span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.reviews__hint { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
@media (min-width: 768px) {
    .reviews__grid { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 16px; }
    .reviews__hint { display: none; }
}
@media (min-width: 1100px) {
    .reviews__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .review { padding: 28px; }
}

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 0; }
.faq { border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 60px; padding: 14px 0;
    font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -.015em; line-height: 1.3;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
    background: var(--paper-strong) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D2924' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
    transition: transform 240ms var(--ease), background-color 160ms var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); background-color: var(--beige); }
.faq__item summary:hover::after { background-color: var(--beige-soft); }
.faq__answer { padding: 0 48px 22px 0; color: var(--ink-2); }
.faq__answer p { margin: 0; }
@media (min-width: 960px) {
    .faq-layout { grid-template-columns: 380px minmax(0, 1fr); gap: 72px; align-items: start; }
    .faq-layout .section__head { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Dojazd + mapa ---------- */
.location { display: grid; gap: 16px; }
.location > * { min-width: 0; }
.location__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-feature); padding: 26px 22px; display: flex; flex-direction: column; }
.location__card h3 { font-size: 24px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 18px; }
.location__list { margin: 0 0 24px; display: grid; }
.location__list > div { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.location__list dt { color: var(--sage-2); padding-top: 2px; }
.location__list dd { margin: 0; font-size: 16px; line-height: 1.55; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; font-variant-numeric: tabular-nums; }
.hours span:nth-child(odd) { color: var(--muted); }
.location__card .btn { margin-top: auto; }

.map { margin: 0; border-radius: var(--r-feature); overflow: hidden; border: 1px solid var(--line); background: var(--paper-strong); display: flex; flex-direction: column; }
.map iframe { display: block; width: 100%; height: 360px; border: 0; flex: none; }
.map__cap { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; padding: 4px 16px; font-size: 14px; font-weight: 500; background: var(--surface); border-top: 1px solid var(--line); min-height: 52px; }
.map__cap .ico { width: 18px; height: 18px; color: var(--sage-2); }
.map__cap a { margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
@media (min-width: 900px) {
    .location { grid-template-columns: 400px minmax(0, 1fr); gap: 20px; }
    .location__card { padding: 32px; }
    .map iframe { flex: 1 1 auto; height: auto; min-height: 460px; }
}

/* ---------- CTA ---------- */
.cta { background: var(--beige); padding: 56px 0; }
.cta__inner { display: grid; gap: 24px; }
.cta p { margin: 8px 0 0; color: var(--ink-2); font-size: 17px; }
.cta__buttons { display: grid; gap: 10px; }
.cta .btn--outline { border-color: rgba(29, 41, 36, .35); }
.cta .btn--outline:hover { background: rgba(255,255,255,.4); }
@media (min-width: 768px) {
    .cta { padding: 72px 0; }
    .cta__inner { grid-template-columns: 1fr auto; align-items: center; }
    .cta__buttons { display: flex; flex-wrap: wrap; }
}

/* ---------- Stopka ---------- */
.footer { background: var(--paper-strong); color: var(--ink-2); padding: 56px 0 28px; font-size: 15px; }
.footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer__col--brand { grid-column: 1 / -1; max-width: 360px; }
.footer__logo { width: 150px; height: auto; margin-bottom: 14px; }
.footer__col p { margin: 0 0 4px; }
.footer__h { font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin: 0 0 12px; }
.social a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 500; }
.social a:hover { text-decoration: underline; }
.social .ico { width: 18px; height: 18px; color: var(--sage-2); }
.footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-strong); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: 14px; }
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer__legal a, .footer__sh a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); }
.footer__sh { margin-left: auto !important; }
.footer__sh a { gap: 10px; font-weight: 600; color: var(--ink); text-decoration: none; }
.footer__sh a:hover { text-decoration: underline; }
.sh-mark { font-family: var(--font); font-weight: 800; letter-spacing: -.02em; color: #0A0A0A; font-size: 15px; padding: 4px 8px; background: var(--surface); border-radius: var(--r-sm); border: 1px solid var(--line); }
.sh-mark b { color: #C64B00; font-weight: 800; }
@media (min-width: 900px) {
    .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
    .footer__col--brand { grid-column: auto; }
}
@media (max-width: 599px) { .footer__sh { margin-left: 0 !important; width: 100%; } }

/* ---------- Exit popup ---------- */
.exit-popup { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.exit-popup[hidden] { display: none; }
.exit-popup__overlay { position: absolute; inset: 0; background: rgba(20, 28, 24, .62); }
.exit-popup__content {
    position: relative; width: 100%; max-width: 400px;
    background: var(--forest); color: #fff; border-radius: var(--r-feature);
    padding: 40px 26px 28px; text-align: center;
    box-shadow: 0 24px 60px rgb(0 0 0 / 30%);
    animation: pop 240ms cubic-bezier(.16, 1, .3, 1);
}
.exit-popup__content .tag__hole { left: 50%; top: 16px; transform: translateX(-50%); background: var(--paper); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.exit-popup__close { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: var(--r-control); background: transparent; color: #fff; cursor: pointer; }
.exit-popup__close:hover { background: rgba(255,255,255,.12); }
.exit-popup__header h2 { color: #fff; font-size: 52px; font-weight: 800; letter-spacing: -.045em; line-height: 1; margin: 8px 0 12px; }
.exit-popup__header p { color: #E4ECE7; margin: 0 0 22px; }
.exit-popup__form { display: grid; gap: 10px; text-align: left; }
.exit-popup__form input[type="tel"] { border-color: transparent; }
.exit-popup__form input[type="tel"]:focus { outline: 3px solid var(--beige); outline-offset: 2px; }
.popup-message { background: rgba(255,255,255,.12); color: #fff; }
.popup-message.is-err { background: #FFE9E4; color: var(--danger); }

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