/* Polish 2026-10-17: icons, tool cards, charger map, fuel/electricity calculator. Square geometry as in the site. */
:root { --lime: #5fb54a; --line: #d6e3d7; --muted: #4c5a4d; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.button--icon { gap: 10px; }
.text-link .icon { margin-left: 4px; }
:where(a, button, input, select, summary):focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

/* Lucide glyphs replacing the former Unicode markers */
.eyebrow::before { content: ''; display: inline-block; width: 26px; height: 26px; margin-right: 12px; vertical-align: -6px; border: 0; border-radius: 0; font-size: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' fill='none' stroke='%232d752f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='13' cy='13' r='12'/%3E%3Cpath transform='translate(6.5 6.5) scale(.54)' stroke-width='3.4' d='M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z'/%3E%3C/svg%3E") center / contain no-repeat; }
.home-features .eyebrow, .about-features .eyebrow { color: var(--lime); }
.home-features .eyebrow::before, .about-features .eyebrow::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' fill='none' stroke='%235fb54a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='13' cy='13' r='12'/%3E%3Cpath transform='translate(6.5 6.5) scale(.54)' stroke-width='3.4' d='M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z'/%3E%3C/svg%3E"); }
.contact-help .eyebrow::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='13' cy='13' r='12'/%3E%3Cpath transform='translate(6.5 6.5) scale(.54)' stroke-width='3.4' d='M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z'/%3E%3C/svg%3E"); }
.home-intro__details li, .about-intro__details li { display: flex; align-items: flex-start; }
.home-intro__details li::before, .about-intro__details li::before { content: ''; flex: none; width: 18px; height: 18px; margin: 3px 11px 0 0; background: var(--green); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; font-size: 0; }
.home-intro__details li::before { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E"); }
.about-intro__details li::before { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E"); }
.feature-icon .icon { width: 26px; height: 26px; }
.faq-question b { position: relative; width: 22px; height: 22px; flex: none; font-size: 0; }
.faq-question b::before, .faq-question b::after { position: absolute; top: 10px; left: 3px; width: 16px; height: 2px; background: currentColor; content: ''; transition: transform .2s ease; }
.faq-question b::after { transform: rotate(90deg); }
.faq-item.is-open .faq-question b::after { transform: rotate(0deg); }
.breadcrumbs .icon { width: 14px; height: 14px; color: #6b786c; }
.post-card__more .icon { width: 14px; height: 14px; }

/* Footer logo on dark green */
.site-footer__brand img.is-dark-logo { filter: brightness(0) invert(1); }

/* Article polish: full-width scrollable tables, sticky sidebar with tools */
.table-scroll { max-width: 100%; margin: 22px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.article-body .table-scroll table, .tool-guide__table table { display: table; width: 100%; min-width: 520px; border-collapse: collapse; }
.article-body th, .tool-guide__table th { background: var(--mint); text-align: left; }
.single-aside { position: sticky; top: 24px; display: grid; align-self: start; gap: 24px; }
.single-aside .single-sidebar { position: relative; }
.tool-cards--aside { display: grid; gap: 12px; }

/* Tool cards (home band, sidebar, 404) */
.tools-band { padding-block: 70px 10px; }
.tools-band__head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.tools-band__head h2 { max-width: 760px; }
.tools-band__head p { max-width: 430px; margin: 0; color: var(--muted); }
.tool-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); }
.tool-card { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; padding: 34px 36px; color: var(--ink); background: #fff; text-decoration: none; transition: background-color .2s ease; }
.tool-card + .tool-card { border-left: 1px solid var(--line); }
.tool-card:hover { background: var(--mint); }
.tool-card__icon { display: grid; width: 58px; height: 58px; grid-row: span 2; place-items: center; color: #fff; background: var(--green); }
.tool-card__icon .icon { width: 28px; height: 28px; }
.tool-card__body { display: grid; gap: 8px; }
.tool-card__body strong { font: 700 26px/1.15 var(--display); }
.tool-card__body span { color: var(--muted); }
.tool-card__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--green); font-weight: 700; }
.tool-card:hover .tool-card__cta .icon { transform: translateX(4px); }
.tool-card__cta .icon { transition: transform .2s ease; }
.tool-cards--aside, .tool-cards--stack { grid-template-columns: 1fr; }
.tool-cards--aside .tool-card + .tool-card, .tool-cards--stack .tool-card + .tool-card { border-top: 1px solid var(--line); border-left: 0; }
.tool-cards--aside .tool-card { padding: 22px; grid-template-columns: 1fr; }
.tool-cards--aside .tool-card__icon { width: 44px; height: 44px; grid-row: auto; }
.tool-cards--aside .tool-card__body strong { font-size: 20px; }
.tool-cards--aside .tool-card__body span { font-size: 14px; }

/* 404 */
.notfound { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: start; }
.notfound h1 { font-size: 56px; line-height: 1.1; }
.notfound p { max-width: 520px; }
.notfound .search-form { display: flex; max-width: 520px; margin: 26px 0; }
.notfound .search-form label { flex: 1; }
.notfound .search-field { width: 100%; min-height: 48px; border: 1px solid var(--line); padding: 10px 14px; }
.notfound .search-submit { min-height: 48px; border: 0; padding: 0 22px; color: #fff; background: var(--green); font-weight: 700; cursor: pointer; }

/* Tool page title band */
.tool-banner { background: var(--mint); border-bottom: 1px solid var(--line); }
.tool-banner__inner { padding-block: 34px 46px; }
.tool-banner .breadcrumbs { display: inline-flex; margin: 0 0 26px; gap: 10px; }
.tool-banner h1 { max-width: 980px; font-size: 64px; line-height: 1.05; text-wrap: balance; }
.site-footer__menu { flex-wrap: wrap; row-gap: 12px; }
.tool-banner p { max-width: 720px; margin: 20px 0 0; font-size: 18px; }

/* Charger map */
.chargers { padding-block: 40px 30px; }
.chargers__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 26px; border: 1px solid var(--line); }
.chargers__stats div { padding: 16px 22px; }
.chargers__stats div + div { border-left: 1px solid var(--line); }
.chargers__stats dt { color: var(--muted); font-size: 14px; }
.chargers__stats dd { margin: 2px 0 0; color: var(--green); font: 700 40px/1 var(--display); }
.chargers__toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.chip-group { display: flex; border: 1px solid var(--line); }
.chip { min-height: 44px; border: 0; padding: 0 18px; color: var(--ink); background: #fff; font-weight: 600; cursor: pointer; }
.chip + .chip { border-left: 1px solid var(--line); }
.chip.is-active { color: #fff; background: var(--green); }
.select-field select { min-height: 46px; border: 1px solid var(--line); padding: 0 38px 0 14px; color: var(--ink); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23182218' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 16px no-repeat; font: inherit; appearance: none; cursor: pointer; }
.chargers__toolbar [data-locate] { margin-left: auto; min-height: 46px; text-decoration: none; }
.chargers__toolbar [data-locate]:disabled { opacity: .6; cursor: progress; }
.chargers__layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; height: 640px; border: 1px solid var(--line); }
.chargers__map { position: relative; z-index: 0; min-height: 0; background: #e8efe9; }
.chargers__map-fallback { margin: 0; padding: 30px; color: var(--muted); }
.chargers__panel { display: flex; min-height: 0; flex-direction: column; border-left: 1px solid var(--line); background: #fff; }
.chargers__count { margin: 0; padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 700; }
.chargers__list { flex: 1; margin: 0; padding: 0; overflow-y: auto; list-style: none; overscroll-behavior: contain; }
.chargers__list li + li { border-top: 1px solid #edf2ee; }
.chargers__list button { display: grid; width: 100%; gap: 3px; border: 0; padding: 13px 18px; color: var(--ink); background: none; text-align: left; cursor: pointer; }
.chargers__list button:hover { background: var(--mint); }
.chargers__list strong { font: 700 16px/1.25 var(--display); }
.chargers__list span { color: var(--muted); font-size: 14px; }
.chargers__empty { padding: 20px 18px; color: var(--muted); }
.charger-row__tags, .charger-popup__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag { padding: 2px 7px; border: 1px solid var(--line); color: var(--ink); background: #fff; font-size: 12px; font-weight: 700; }
.tag--dc { border-color: #1f5f22; color: #fff; background: #1f5f22; }
.tag--ac { border-color: var(--lime); color: #173d18; background: #e3f3de; }
.tag--free { border-color: #1f5f22; color: #1f5f22; }
.tag--dist { border-color: var(--ink); color: #fff; background: var(--ink); }
.chargers__source { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.chargers__source a { color: var(--green); }
.charger-popup { display: grid; gap: 4px; font: 14px/1.4 var(--body); }
.charger-popup strong { font: 700 16px/1.25 var(--display); }
.charger-popup a { margin-top: 6px; color: var(--green); font-weight: 700; }
.leaflet-container { font-family: var(--body); }
.leaflet-popup-content-wrapper { border-radius: 0; }

/* Guide, city list, FAQ */
.tool-guide { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 70px; padding-block: 90px 60px; }
.tool-guide h2 { margin-bottom: 22px; }
.tool-guide__networks, .tool-guide__table { align-self: start; padding: 32px; background: var(--mint); }
.tool-guide h3 { margin-bottom: 18px; font-size: 26px; }
.tool-guide__networks ul { margin: 0; padding: 0; list-style: none; }
.tool-guide__networks li { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); }
.tool-guide__networks b { font: 700 18px/1 var(--display); color: var(--green); }
.tool-guide__table .table-scroll { margin: 0; background: #fff; }
.tool-guide__table table { min-width: 0; }
.tool-guide__table th, .tool-guide__table td { border: 1px solid var(--line); padding: 10px 12px; }
.tool-guide__table td:last-child { font-weight: 700; white-space: nowrap; }
.formula { margin: 10px 0; padding: 14px 18px; border-left: 4px solid var(--green); background: var(--mint); font-family: var(--display); }
.formula span { font-weight: 700; }
.tool-guide .text-link { display: inline-block; margin-top: 14px; }
.city-list { padding-block: 20px 60px; }
.city-list h2 { margin-bottom: 26px; }
.city-list__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: start; }
.city-list__item { border: 1px solid var(--line); }
.city-list__item summary { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; font-weight: 700; cursor: pointer; list-style: none; }
.city-list__item summary::-webkit-details-marker { display: none; }
.city-list__item summary b { color: var(--green); }
.city-list__item[open] summary { background: var(--mint); }
.city-list__item ul { margin: 0; padding: 6px 16px 14px; list-style: none; font-size: 14px; }
.city-list__item li { padding: 6px 0; border-bottom: 1px solid #edf2ee; }
.city-list__item li span { display: block; color: var(--muted); }
.tool-faq { max-width: 980px; padding-block: 30px 110px; }
.tool-faq h2 { margin-bottom: 30px; }

/* Calculator */
.calc { padding-block: 40px 20px; }
.calc__tabs { display: flex; gap: 0; border-bottom: 2px solid var(--ink); }
.calc__tabs button { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; border: 0; padding: 0 24px; color: var(--ink); background: none; font: 700 17px/1 var(--display); cursor: pointer; }
.calc__tabs button[aria-selected="true"] { color: #fff; background: var(--ink); }
.calc__panel { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border: 1px solid var(--line); border-top: 0; }
.calc__panel[hidden] { display: none; }
.calc__form { display: grid; gap: 0; }
.calc__form fieldset { margin: 0; border: 0; padding: 30px 34px; }
.calc__form fieldset + fieldset { border-top: 1px solid var(--line); }
.calc__form legend { display: flex; align-items: center; gap: 10px; float: left; width: 100%; margin-bottom: 18px; font: 700 21px/1.2 var(--display); }
.calc__form legend .icon { color: var(--green); }
.calc__grid { display: grid; clear: both; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; align-items: end; margin-bottom: 16px; }
.field { display: grid; gap: 6px; font-weight: 600; }
.field + .field, .segmented + .field { margin-top: 0; }
.field__input { display: flex; align-items: stretch; border: 1px solid #c9d7ca; background: #fff; }
.field__input:focus-within { border-color: var(--green); box-shadow: 0 0 0 2px #2d752f33; }
.field__input input { width: 100%; min-width: 0; min-height: 48px; border: 0; padding: 0 12px; color: var(--ink); background: none; font: 600 18px/1 var(--body); outline: none; }
.field__input em { display: grid; padding: 0 12px; place-items: center; color: var(--muted); background: var(--mint); font-size: 14px; font-style: normal; white-space: nowrap; }
.segmented { display: flex; clear: both; margin-bottom: 16px; border: 1px solid #c9d7ca; }
.segmented label { flex: 1; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: grid; min-height: 46px; padding: 0 10px; place-items: center; text-align: center; font-weight: 600; cursor: pointer; }
.segmented label + label span { border-left: 1px solid #c9d7ca; }
.segmented input:checked + span { color: #fff; background: var(--green); }
.segmented input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: -3px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 600; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--green); }
.calc__hint { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.calc__result { display: flex; flex-direction: column; padding: 34px; color: #fff; background: var(--dark); }
.calc__result-label { margin: 0; color: #b8cdb9; }
.calc__big { margin: 4px 0 6px; font: 700 64px/1 var(--display); letter-spacing: -.01em; }
.calc__sub { margin: 0 0 26px; color: #d5e2d6; }
.calc__compare { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #ffffff33; border-bottom: 1px solid #ffffff33; }
.calc__compare > div { display: grid; gap: 4px; padding: 18px 0; }
.calc__compare > div + div { padding-left: 20px; border-left: 1px solid #ffffff33; }
.calc__compare span { color: #b8cdb9; font-size: 14px; }
.calc__compare strong { font: 700 28px/1.1 var(--display); }
.calc__compare small { color: #d5e2d6; }
.calc__saving strong { color: #8be070; }
.calc__saving.is-negative strong { color: #ffb4a3; }
.calc__bars { display: grid; gap: 8px; margin: 24px 0; }
.calc__bar { position: relative; display: block; height: 30px; background: #ffffff14; }
.calc__bar::before { position: absolute; inset: 0 auto 0 0; width: var(--w); background: #c8d3c9; content: ''; transition: width .35s cubic-bezier(.2, .8, .2, 1); }
.calc__bar--ev::before { background: var(--lime); }
.calc__bar b { position: relative; padding-left: 10px; color: var(--ink); font-size: 13px; line-height: 30px; }
.calc__year { margin: 0 0 24px; color: #d5e2d6; }
.calc__year strong { color: #fff; }
.calc__result .button { align-self: flex-start; margin-top: auto; text-decoration: none; }
.calc__note { margin: 12px 0 0; color: var(--muted); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
    .calc__bar::before, .tool-card, .tool-card__cta .icon, .faq-question b::after { transition: none; }
}
@media (max-width: 1024px) {
    .chargers__layout { grid-template-columns: minmax(0, 1fr) 300px; }
    .calc__panel, .tool-guide { grid-template-columns: minmax(0, 1fr); }
    .tool-guide { gap: 40px; }
    .city-list__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .single-aside { position: static; }
    .notfound { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .chargers__layout { grid-template-columns: 1fr; height: auto; }
    .chargers__map { height: 460px; }
    .chargers__panel { max-height: 420px; border-left: 0; border-top: 1px solid var(--line); }
    .chargers__toolbar [data-locate] { margin-left: 0; }
}
@media (max-width: 767px) {
    .tools-band { padding-block: 50px 0; }
    .tools-band__head { display: block; }
    .tools-band__head p { margin-top: 14px; }
    .tool-cards { grid-template-columns: 1fr; }
    .tool-card + .tool-card { border-top: 1px solid var(--line); border-left: 0; }
    .tool-card { grid-template-columns: 1fr; padding: 26px 22px; }
    .tool-card__icon { grid-row: auto; width: 50px; height: 50px; }
    .tool-card__body strong { font-size: 23px; }
    .tool-banner h1 { font-size: 40px; }
    .tool-banner p { font-size: 16px; }
    .chargers__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .chargers__stats div:nth-child(3) { border-left: 0; }
    .chargers__stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .chargers__stats dd { font-size: 32px; }
    .chip-group { width: 100%; }
    .chip { flex: 1; padding: 0 8px; }
    .select-field { flex: 1 1 45%; }
    .select-field select { width: 100%; }
    .chargers__toolbar [data-locate] { width: 100%; }
    .chargers__map { height: 400px; }
    .city-list__grid { grid-template-columns: 1fr; }
    .site-footer__menu { gap: 12px 22px; }
    .tool-guide { padding-block: 60px 40px; }
    .tool-guide__networks, .tool-guide__table { padding: 22px; }
    .calc__tabs button { flex: 1; justify-content: center; padding: 0 10px; font-size: 15px; }
    .calc__form fieldset { padding: 24px 18px; }
    .calc__grid { grid-template-columns: 1fr; }
    .segmented--wrap { flex-wrap: wrap; }
    .segmented--wrap label { flex: 1 1 50%; }
    .segmented--wrap label:nth-child(3) span { border-left: 0; }
    .segmented--wrap label:nth-child(n+3) span { border-top: 1px solid #c9d7ca; }
    .calc__result { padding: 26px 18px; }
    .calc__big { font-size: 48px; }
    .calc__compare strong { font-size: 23px; }
    .notfound h1 { font-size: 40px; }
}

/* ---- Polish round 2 (2026-10-17): compact heroes, seamless form-to-footer, richer footer, pagination, contact ---- */

/* Compact heroes: less empty mint and shorter photo stages */
.home-opening__copy { min-height: 0; padding: 72px 0 60px; }
.home-opening__copy p { margin: 22px 0 28px; }
.home-opening__photo { height: 460px; }
.home-opening__photo::before { height: 140px; }
.page-banner__title { min-height: 0; padding: 52px 0 40px; }
.page-banner__photo { height: 340px; }
.page-banner__photo::before { height: 150px; }
.page-banner__meta { margin: 14px 0 0; color: var(--muted); }
/* About photo: show the car and charger instead of empty sky */
.page-banner--about .page-banner__photo img { object-position: center 82%; }
.page-banner--about .page-banner__photo::before { height: 90px; }
.single-opening h1 { padding: 48px 30px 40px; font-size: 56px; }
.single-opening__photo { height: 300px; }

/* Form band dissolves into the footer (and out of a dark section above it) */
.about-features { background: var(--dark); }
.contact-band { min-height: 0; background: var(--dark); }
.contact-band::after { background:
    linear-gradient(180deg, var(--dark) 0%, rgb(19 36 20 / 0%) 22%, rgb(19 36 20 / 0%) 52%, var(--dark) 100%),
    linear-gradient(90deg, rgb(19 36 20 / 94%) 0%, rgb(19 36 20 / 70%) 55%, rgb(19 36 20 / 82%) 100%); }
.contact-band__inner { padding-block: 110px 90px; }

/* New logo lockup (ring + car mark, 3.6:1) */
.site-logo img { width: 200px; max-height: none; }
/* Footer */
.site-footer { position: relative; }
.site-footer__main { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .7fr) minmax(0, .95fr) minmax(0, 1.3fr); gap: 56px; padding: 36px 0 64px; }
.site-footer__brand img { width: 230px; }
.site-footer__brand p { margin-top: 18px; color: #d5e2d6; }
.site-footer a { color: #e9f1e9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer__cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; border: 1px solid #ffffff45; padding: 12px 18px; font-weight: 700; }
.site-footer__cta:hover { border-color: var(--lime); background: var(--green); text-decoration: none !important; }
.site-footer__mail { display: block; margin-top: 14px; }
.site-footer__col h2 { margin: 6px 0 18px; color: var(--lime); font: 700 16px/1.2 var(--display); }
.site-footer__menu, .site-footer__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; justify-content: start; }
.site-footer__list--tools a { display: inline-flex; align-items: center; gap: 10px; }
.site-footer__list--tools .icon { color: var(--lime); }
.site-footer__col--guides a { display: block; line-height: 1.4; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0 30px; color: #b8cdb9; font-size: 14px; text-align: left; }
.site-footer__social { display: flex; gap: 18px; }
.site-footer__top { display: inline-flex; align-items: center; gap: 6px; }

/* Pagination */
.pagination { margin-top: 56px; }
.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pagination a, .pagination span.page-numbers { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 48px; min-height: 48px; border: 1px solid var(--line); padding: 0 16px; color: var(--ink); background: #fff; font-weight: 700; text-decoration: none; }
.pagination a:hover { border-color: var(--green); color: var(--green); }
.pagination .current { border-color: var(--green); color: #fff; background: var(--green); }
.pagination .dots { border-color: transparent; background: none; }
.system-page .search-form { display: flex; max-width: 560px; margin: 20px 0 40px; }
.system-page .search-form label { flex: 1; }
.system-page .search-field { width: 100%; min-height: 48px; border: 1px solid var(--line); padding: 10px 14px; }
.system-page .search-submit { min-height: 48px; border: 0; padding: 0 22px; color: #fff; background: var(--green); font-weight: 700; cursor: pointer; }
.system-page__empty { color: var(--muted); }

/* Contact overhaul */
.contact-hero { position: relative; display: flex; min-height: 400px; align-items: flex-end; overflow: hidden; color: #fff; background: var(--dark); }
.contact-hero__photo { position: absolute; inset: 0; }
.contact-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.contact-hero::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(19 36 20 / 93%) 0%, rgb(19 36 20 / 62%) 55%, rgb(19 36 20 / 18%) 100%); content: ''; }
.contact-hero__inner { position: relative; z-index: 1; padding-block: 48px 150px; }
.contact-hero .breadcrumbs { display: inline-flex; gap: 10px; margin: 0 0 22px; border-color: #ffffff45; color: #fff; }
.contact-hero .breadcrumbs a { color: #a9e29a; }
.contact-hero .breadcrumbs .icon { color: #ffffffaa; }
.contact-hero h1 { font-size: 80px; line-height: 1; }
.contact-hero p { max-width: 560px; margin: 18px 0 0; color: #dfe9df; font-size: 18px; }
.contact-desk { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; padding-block: 64px 100px; }
.contact-desk__info h2 { margin-bottom: 16px; font-size: 44px; }
.contact-desk__lead { max-width: 520px; color: var(--muted); }
.contact-topics { margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.contact-topics li { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-topics__icon { display: grid; width: 46px; height: 46px; place-items: center; color: var(--green); background: var(--mint); }
.contact-topics__icon .icon { width: 22px; height: 22px; }
.contact-topics strong { font: 700 20px/1.2 var(--display); }
.contact-topics p { margin: 6px 0 8px; color: var(--muted); }
.contact-topics a { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 700; }
.contact-desk__direct { display: grid; gap: 10px; margin-top: 24px; }
.contact-desk__direct a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.contact-desk__form { align-self: start; margin-top: -180px; border-top: 6px solid var(--green); padding: 40px; background: #fff; box-shadow: 0 30px 70px -35px rgb(19 36 20 / 45%); }
.contact-desk__form h2 { display: flex; align-items: center; gap: 12px; font-size: 34px; }
.contact-desk__form h2 .icon { color: var(--green); }
.contact-desk__form > p { margin: 8px 0 24px; color: var(--muted); font-size: 14px; }
.contact-desk__form .contact-form textarea { min-height: 170px; }
.contact-faq { padding-block: 96px; background: var(--mint); }
.contact-faq__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 64px; align-items: start; }
.contact-faq__intro h2 { margin-bottom: 16px; }
.contact-faq__intro p { color: var(--muted); }
.contact-faq__photo { width: 100%; height: 260px; margin-top: 28px; object-fit: cover; }
.contact-faq .faq-question { background: #fff; }
.contact-faq .faq-item.is-open .faq-question { background: var(--green); }
.contact-faq .faq-answer { background: #fff; }

@media (max-width: 1024px) {
    .home-opening__photo { height: 400px; }
    .page-banner__photo { height: 300px; }
    .site-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; }
    .contact-desk { grid-template-columns: minmax(0, 1fr); gap: 56px; }
    .contact-desk__form { order: -1; margin-top: -120px; }
    .contact-hero__inner { padding-bottom: 140px; }
    .contact-faq__inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 767px) {
    .home-opening__copy { min-height: 0; padding: 48px 0 40px; }
    .home-opening__photo { height: 300px; }
    .page-banner__title { min-height: 0; padding: 40px 0 30px; }
    .page-banner__photo { height: 240px; }
    .single-opening h1 { padding: 40px 15px 30px; font-size: 38px; }
    .single-opening__photo { height: 220px; }
    .contact-band__inner { padding-block: 90px 70px; }
    .site-footer__main { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-bottom: 44px; }
    .site-footer__menu { justify-content: start; }
    .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
    .pagination .prev span:not(.screen-reader-text), .pagination .next span:not(.screen-reader-text) { display: none; }
    .contact-hero { min-height: 320px; }
    .contact-hero h1 { font-size: 52px; }
    .contact-hero p { font-size: 16px; }
    .contact-hero__inner { padding-block: 36px 110px; }
    .contact-desk { padding-block: 0 70px; }
    .contact-desk__form { margin-top: -80px; padding: 26px 18px; }
    .contact-desk__form h2, .contact-desk__info h2 { font-size: 32px; }
    .contact-faq { padding-block: 64px; }
}

/* Contact confirmation modal */
.confirm { width: min(460px, calc(100% - 32px)); max-width: none; border: 0; padding: 0; background: transparent; overflow: visible; }
.confirm::backdrop { background: rgb(19 36 20 / 62%); backdrop-filter: blur(3px); animation: confirm-fade .25s ease both; }
.confirm__card { position: relative; border-top: 6px solid var(--green); padding: 44px 36px 36px; color: var(--ink); background: #fff; text-align: center; box-shadow: 0 40px 80px -30px rgb(0 0 0 / 55%); animation: confirm-in .42s cubic-bezier(.2, .9, .25, 1.15) both; }
.confirm h2 { margin: 18px 0 10px; font-size: 34px; }
.confirm p { margin: 0 auto 28px; max-width: 330px; color: var(--muted); }
.confirm .button { min-width: 220px; text-decoration: none; }
.confirm__icon { display: grid; width: 92px; height: 92px; margin: 0 auto; place-items: center; border-radius: 50%; background: var(--mint); animation: confirm-pop .5s .12s cubic-bezier(.2, .9, .25, 1.3) both; }
.confirm__icon svg { width: 64px; height: 64px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.confirm__ring { stroke: var(--lime); stroke-width: 4; stroke-dasharray: 176; stroke-dashoffset: 176; transform: rotate(-90deg); transform-origin: 50% 50%; animation: confirm-draw .6s .25s ease-out forwards; }
.confirm__mark { stroke: var(--green); stroke-width: 5.5; stroke-dasharray: 40; stroke-dashoffset: 40; animation: confirm-draw .35s .7s ease-out forwards; }
.confirm--error .confirm__card { border-top-color: #b4532a; }
.confirm--error .confirm__icon { background: #fbefe8; }
.confirm--error .confirm__ring { stroke: #e0905f; }
.confirm--error .confirm__mark { stroke: #b4532a; }
.confirm.is-closing .confirm__card { animation: confirm-out .2s ease-in both; }
.confirm.is-closing::backdrop { animation: confirm-fade .2s ease-in reverse both; }
@keyframes confirm-in { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes confirm-out { to { opacity: 0; transform: translateY(10px) scale(.97); } }
@keyframes confirm-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes confirm-draw { to { stroke-dashoffset: 0; } }
@keyframes confirm-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .confirm__card, .confirm__icon, .confirm::backdrop { animation: none; }
    .confirm__ring, .confirm__mark { animation: none; stroke-dashoffset: 0; }
}
@media (max-width: 767px) {
    .confirm__card { padding: 36px 22px 26px; }
    .confirm h2 { font-size: 28px; }
    .confirm .button { width: 100%; min-width: 0; }
}
