/* kashtakappliance.com: one stylesheet for every page (website/build.py adds a content hash to its name and to the
   font URLs below). Brand from mockup A v5: navy #0E2E75, green #0E7A3E, Bricolage Grotesque headings, Hanken Grotesk
   text. Phone first. No inline styles anywhere: the Content-Security-Policy allows only this file.
   Fonts (SIL Open Font License, texts in static/fonts): the Google Fonts Latin subsets of both variable fonts, weights
   limited to what the site uses (Bricolage 600-800, Hanken 400-700) with fontTools' instancer. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("/static/fonts/BricolageGrotesque-latin.9f42f41499.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;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/static/fonts/HankenGrotesk-latin.4cd4ae4b8a.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 {
  --navy: #0E2E75;
  --green: #0E7A3E;
  --green-dark: #0A5F30;
  --ink: #0B1A3A;
  --text: #3B475E;
  --muted: #56627A;
  --bg: #F3F6FA;
  --card: #FFFFFF;
  --line: #DCE3EC;
  --navy-soft: #EAF0F9;
  --green-soft: #E3F3EA;
  --mint: #9FDDB8;
  --night: #0B1A3A;
  --night-text: #C9D4EC;
  --star: #E9A12B;
  --head: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --body: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 22px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--body); overflow-wrap: break-word; }
a { color: var(--navy); text-underline-offset: 2px; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 6px; }
img { max-width: 100%; height: auto; }
.icon { flex: none; }
h1, h2, h3 { font-family: var(--head); color: var(--navy); line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(32px, 7vw, 56px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.02; }
h2 { font-size: clamp(26px, 4.6vw, 40px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; color: var(--ink); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1264px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }

@media (min-width: 720px) {
  :root { --gutter: 32px; }
  body { font-size: 18px; }
}

.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 10px 16px; border-radius: 10px; background: #fff; font-weight: 700; }
.skip:focus { left: 16px; }

/* ---------- top bar, header, navigation ---------- */
.topbar { display: none; background: var(--night); color: var(--night-text); font-size: 13px; font-weight: 500; }
@media (min-width: 900px) {
  .topbar { display: block; }
  .topbar .wrap { display: flex; justify-content: space-between; gap: 24px; padding-top: 10px; padding-bottom: 10px; }
}
/* phones: brand + "Call" on the first row, the navigation (with "Request service") scrolls on the second;
   from 720 px the "Request service" button moves up; from 1120 px everything is one row, as in the mockup */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 10px; }
.brand { display: flex; align-items: center; gap: 10px; padding: 2px 0; text-decoration: none; }
.brand picture { display: block; flex: none; }
.brand-mascot { display: block; width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-name { font-family: var(--head); font-weight: 800; font-size: 20px; letter-spacing: 0.08em; line-height: 1; color: var(--navy); }
.brand-sub { font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; line-height: 1.2; text-transform: uppercase; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--green); color: #fff; font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-phone:hover { background: var(--green-dark); color: #fff; }
.header-phone .long { display: none; }
.site-header .header-request { display: none; min-height: 48px; padding: 0 22px; font-size: 15px; }
@media (min-width: 560px) {
  .header-phone .long { display: inline; }
  .header-phone .short { display: none; }
}
@media (min-width: 720px) {
  .brand-mascot { width: 52px; height: 52px; }
  .brand-name { font-size: 24px; }
  .brand-sub { font-size: 11px; letter-spacing: 0.1em; }
  .site-header .header-request { display: inline-flex; }
  .nav-request { display: none; }
}
.site-nav { order: 3; width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav ul { display: flex; gap: 4px; margin: 0; padding: 6px 0; list-style: none; }
.site-nav a { display: block; padding: 10px 12px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--navy-soft); color: var(--navy); }
.site-nav .nav-request a { background: var(--green-soft); color: var(--green); }
@media (min-width: 1120px) {
  .site-header .wrap { flex-wrap: nowrap; padding-top: 16px; padding-bottom: 16px; }
  .site-nav { order: 0; width: auto; margin: 0; padding: 0; border: 0; overflow: visible; }
  .site-nav ul { gap: 6px; padding: 0; }
  .header-actions { gap: 22px; }
  .header-phone { min-height: 48px; padding: 0; background: none; color: var(--ink); }
  .header-phone .icon { color: var(--green); }
  .header-phone:hover { background: none; color: var(--green); }
}

/* ---------- buttons and small parts ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 2px solid transparent; border-radius: 999px; font-size: 17px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--navy-soft); color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
@media (max-width: 559px) {
  .actions .btn { flex: 1 1 100%; }
}
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.facts li { padding: 6px 12px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 14px; font-weight: 700; }
.pill { display: inline-block; margin: 0 0 18px; padding: 8px 14px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 13px; font-weight: 700; }
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
.lead { max-width: 760px; font-size: 19px; color: var(--text); }
.note { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.spaced { margin-top: 1.4em; }
.total { font-size: 18px; }

/* ---------- page head, breadcrumbs, two-column layout ---------- */
.page-head, .hero { padding: 22px 0 32px; background: #fff; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) {
  .page-head { padding: 30px 0 48px; }
  .hero { padding: 64px 0 72px; }
}
.hero h1 { font-size: clamp(36px, 8vw, 62px); max-width: 900px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); }
.layout { display: grid; gap: 24px; padding-top: 32px; padding-bottom: 48px; }
.aside { display: grid; gap: 16px; align-content: start; }
@media (min-width: 960px) {
  .layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; padding-top: 48px; padding-bottom: 72px; }
  .aside { position: sticky; top: 24px; }
}

/* ---------- text from content.py ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.5em; font-size: clamp(24px, 3.6vw, 30px); }
.prose > :first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul { margin: 0 0 1.2em; padding: 0; list-style: none; }
.prose li { position: relative; margin: 0 0 0.5em; padding-left: 30px; }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E7A3E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center / contain no-repeat; }
.legal { padding: 32px 0 64px; }

/* ---------- cards ---------- */
.card { padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
@media (min-width: 720px) {
  .card { padding: 28px; }
}
.cards { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
.card-link { display: flex; flex-direction: column; gap: 8px; height: 100%; color: var(--ink); text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.card-link:hover { border-color: var(--navy); color: var(--ink); box-shadow: 0 12px 32px rgba(11, 26, 58, 0.08); }
.card-title { font-family: var(--head); font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--navy); }
.card-text { font-size: 15px; line-height: 1.5; color: var(--muted); }

.fee-card dl { margin: 0; }
.fee-card dl > div { display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.fee-card dl > div:last-child { border-bottom: 1px solid var(--line); }
.fee-card dt { font-family: var(--head); font-size: 17px; font-weight: 700; line-height: 1.25; }
.fee-card .price { margin: 0; font-family: var(--head); font-size: 28px; font-weight: 800; color: var(--navy); }
.fee-card .sub { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--muted); }
.contact-card p { margin: 0 0 6px; }
.big-phone { font-family: var(--head); font-size: 28px; font-weight: 800; color: var(--green); text-decoration: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip { display: inline-block; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.chip:hover { border-color: var(--navy); color: var(--navy); }

.qa-list { display: grid; gap: 12px; max-width: 860px; }
.qa { padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.qa h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; }
.qa p { margin: 0; color: var(--text); }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 760px) {
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (min-width: 1100px) {
  .reviews-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.review { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.stars { font-size: 18px; line-height: 1; letter-spacing: 3px; color: var(--star); }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink); }
.review figcaption { margin-top: auto; font-size: 14px; color: var(--muted); }
.review figcaption b { color: var(--ink); }
.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 12px; padding: 0; list-style: none; }
@media (min-width: 900px) {
  .platforms { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}
.platform { display: flex; flex-direction: column; gap: 2px; padding: 18px; }
.platform-name { font-weight: 700; }
.platform-rating { font-family: var(--head); font-size: 32px; font-weight: 800; line-height: 1.1; color: var(--navy); }
.platform-count { font-size: 14px; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 48px 0; }
@media (min-width: 720px) {
  .section { padding: 72px 0; }
}
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 24px; }
.section-head h2 { margin: 0 0 0.3em; }
.section-head .lead, .section-head p { margin-bottom: 0; }

.band { background: var(--navy); color: #fff; }
.band h2, .band h3 { color: #fff; }
.band .eyebrow { color: var(--mint); }
.band p { color: var(--night-text); }
.band a.more { color: #fff; }
.band .card { color: var(--ink); }
.band .card p { color: var(--muted); }
.band .card .eyebrow { color: var(--green); }
.prices-grid { display: grid; gap: 32px; }
@media (min-width: 960px) {
  .prices-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: center; gap: 64px; }
}
.steps { display: grid; gap: 22px; margin: 8px 0 28px; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 48px 1fr; align-items: start; gap: 16px; }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid rgba(255, 255, 255, 0.4); border-radius: 50%; font-family: var(--head); font-size: 20px; font-weight: 800; }
.steps h3 { margin: 0 0 4px; font-size: 21px; }
.steps p { margin: 0; }
.cta-band .wrap { display: grid; gap: 8px 32px; padding-top: 40px; padding-bottom: 44px; }
.cta-band h2 { margin-bottom: 0.3em; }
.cta-band p { margin: 0; }
@media (min-width: 900px) {
  .cta-band .wrap { grid-template-columns: 1fr auto; align-items: center; }
  .cta-band .actions { margin: 0; }
}
.contact-grid { display: grid; gap: 16px 48px; }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
}
.contact-grid .big-phone { font-size: clamp(30px, 5vw, 40px); }

/* ---------- footer ---------- */
.site-footer { padding: 48px 0 28px; background: var(--night); color: var(--night-text); font-size: 15px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p { margin: 0 0 8px; }
.site-footer ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-footer li a { display: inline-block; padding: 4px 0; }
.site-footer .brand-name { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
.footer-title { color: #fff; font-weight: 700; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.3fr 1.3fr 1fr 1fr 1.3fr; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: auto; }
}
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(201, 212, 236, 0.2); font-size: 13px; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }

/* ======================================================================================================================
   Home, design A (templates/home.html)
   ==================================================================================================================== */
.hero-a { padding: 18px 0 40px; }
.hero-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "h1" "form" "pill" "lead" "more"; }
.hero-pill { grid-area: pill; justify-self: start; }
.hero-h1 { grid-area: h1; }
.hero-lead { grid-area: lead; }
.request-form { grid-area: form; }
.hero-more { grid-area: more; }
.hero-a .pill { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 12px; font-size: 12.5px; }
.hero-a h1 { margin: 0; font-size: clamp(32px, 8.4vw, 62px); line-height: 1; }
.hero-a .lead { margin: 0; font-size: 17px; line-height: 1.55; }
@media (min-width: 720px) {
  .hero-a { padding: 40px 0 64px; }
  .hero-a .pill { padding: 8px 14px; font-size: 13px; }
  .hero-a .lead { font-size: 19px; }
}
@media (min-width: 960px) {
  .hero-a { padding: 56px 0 80px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; grid-template-areas: "pill form" "h1 form" "lead form" "more form"; gap: 26px 48px; align-items: start; }
  .hero-more { padding-top: 8px; }
}

/* the request form */
.request-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 0; padding: 20px; border-radius: 24px; box-shadow: 0 24px 60px rgba(11, 26, 58, 0.1); }
.request-form .field-wide, .form-head { grid-column: 1 / -1; }
@media (min-width: 560px) {
  .request-form { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 32px; border-radius: 26px; }
}
.form-head h2 { margin: 0 0 6px; font-size: clamp(26px, 6vw, 32px); line-height: 1.05; }
.form-head p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .choices legend { font-size: 14px; font-weight: 700; color: var(--ink); }
.req { color: var(--green); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; margin: 0; padding: 0 14px; border: 1px solid #C5CFDD; border-radius: 12px; background: #fff; color: var(--ink); font: 500 16px/1.4 var(--body); }
.field textarea { min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field select { padding-right: 42px; appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E2E75' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px 18px no-repeat; }
.field input::placeholder, .field textarea::placeholder { color: #7A8599; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: 3px solid rgba(14, 46, 117, 0.18); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: #B42318; }
.field-error, .field-hint { margin: 0; font-size: 14px; line-height: 1.45; }
.field-error { color: #B42318; font-weight: 600; }
.field-hint { color: var(--navy); }
@media (min-width: 960px) {
  .field input, .field select { min-height: 48px; }
}
.choices { min-width: 0; margin: 0; padding: 0; border: 0; }
.choices legend { margin: 0 0 8px; padding: 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid #C5CFDD; border-radius: 999px; background: #fff; font-size: 15px; font-weight: 600; cursor: pointer; user-select: none; }
.chip-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--green); }
.chip-check:has(input:checked) { border: 1.5px solid var(--green); background: var(--green-soft); color: var(--green); }
.chip-check:has(input:focus-visible) { outline: 3px solid var(--green); outline-offset: 2px; }
@media (min-width: 960px) {
  .chip-row { gap: 8px 7px; }
  .chip-check { gap: 7px; min-height: 40px; padding: 0 12px; font-size: 14px; }
  .chip-check input { width: 16px; height: 16px; }
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--navy-soft); color: var(--navy); font-size: 15px; font-weight: 600; line-height: 1.45; }
.form-status-error { background: #FDECEC; color: #B42318; }
.form-submit { display: grid; gap: 8px; }
.btn-submit { width: 100%; min-height: 56px; border: 0; font-family: var(--body); font-size: 18px; cursor: pointer; }
.btn-submit:disabled { opacity: 0.7; cursor: progress; }
.form-note { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }

/* call button, fee and ratings under the H1 */
.hero-call { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.btn-big { min-height: 60px; padding: 0 28px; font-size: 18px; }
@media (max-width: 559px) {
  .hero-call .btn-big { flex: 1 1 100%; }
}
.hero-fee { display: flex; flex-direction: column; gap: 2px; margin: 0; font-size: 15px; line-height: 1.4; color: var(--text); }
.hero-fee-label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.hero-fee b { font-family: var(--head); font-size: 22px; font-weight: 800; color: var(--navy); }
.ratings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin: 26px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 15px; line-height: 1.4; }
.ratings li { display: flex; flex-direction: column; gap: 6px; }
.stars-svg { display: block; }

/* brands */
.brands { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brands-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 48px; padding-top: 18px; padding-bottom: 18px; }
.brands-label { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.brands-list { display: flex; flex: 1 1 auto; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; list-style: none; font-family: var(--head); font-size: 17px; font-weight: 700; color: var(--muted); }
@media (min-width: 960px) {
  .brands-row { flex-wrap: nowrap; padding-top: 30px; padding-bottom: 30px; }
  .brands-list { flex-wrap: nowrap; justify-content: space-between; font-size: 21px; }
}

/* services */
.svc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.svc-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: start; gap: 14px; height: 100%; padding: 18px; color: var(--ink); text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.svc-card:hover { border-color: var(--navy); color: var(--ink); box-shadow: 0 12px 32px rgba(11, 26, 58, 0.08); }
.svc-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--navy-soft); color: var(--navy); }
.svc-body { display: flex; flex-direction: column; gap: 4px; }
.svc-title { font-family: var(--head); font-size: 19px; font-weight: 700; line-height: 1.15; }
.svc-text { font-size: 15px; line-height: 1.5; color: var(--muted); }
.svc-more-link { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; height: 100%; padding: 22px; border-radius: var(--radius); background: var(--green-soft); color: var(--ink); text-decoration: none; }
.svc-more-link:hover { color: var(--ink); }
.svc-more-link:hover .btn { background: var(--green-dark); }
.svc-more-text { display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.5; color: var(--text); }
.svc-more-title { font-family: var(--head); font-size: 24px; font-weight: 800; line-height: 1.1; color: var(--navy); }
@media (max-width: 559px) {
  .svc-more-link .btn { flex: 1 1 100%; }
}
@media (min-width: 600px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .svc-more { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc-more { grid-column: span 2; }
}
@media (min-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .svc-card { display: flex; flex-direction: column; gap: 14px; min-height: 212px; padding: 28px; }
  .svc-icon { width: 52px; height: 52px; border-radius: 16px; }
  .svc-title { font-size: 22px; }
  .svc-more-link { padding: 32px 36px; }
  .svc-more-title { font-size: 28px; }
}

/* about */
.about-grid { display: grid; gap: 28px; }
.about-photos picture { display: block; }
.about-main { display: block; width: 100%; height: auto; border-radius: 24px; background: var(--line); }
.about-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.about-thumbs img { display: block; width: 100%; height: auto; border-radius: 14px; background: var(--line); }
.about-text .lead { margin-bottom: 20px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0 0 20px; padding: 0; list-style: none; font-size: 15px; font-weight: 600; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks .icon { color: var(--green); }
@media (min-width: 960px) {
  .about-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
}
.section-tight { padding-top: 0; }
/* section titles of Home: 54 px on wide screens, as in the mockup (inner pages keep the smaller h2) */
.home .section h2 { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.02; letter-spacing: -0.02em; }
.home #reviews h2 { font-size: clamp(28px, 3.2vw, 40px); }

/* contact */
.contact-grid .chips { margin-top: 18px; }
.contact-side { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.contact-side p { margin: 0; }
.contact-side .btn { margin-top: 8px; }

/* ======================================================================================================================
   Our Work (templates/work_list.html, work_post.html, macros work_card): job cards as in mockup A v5 «Recent jobs»
   ==================================================================================================================== */
.work-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 600px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
.work-card { display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden; color: var(--ink); text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.section-alt .work-card { background: var(--bg); }
.work-card:hover { border-color: var(--navy); color: var(--ink); box-shadow: 0 12px 32px rgba(11, 26, 58, 0.08); }
.work-card picture { display: block; }
.work-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--line); }
.work-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 22px 24px; }
.tag { align-self: flex-start; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 12px; font-weight: 700; line-height: 1.3; color: var(--navy); }
.work-title { font-family: var(--head); font-size: 21px; font-weight: 700; line-height: 1.2; color: var(--ink); }
.work-text { font-size: 15px; line-height: 1.5; color: var(--muted); }
.work-meta { margin-top: auto; padding-top: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 32px; }
.pager-older { margin-left: auto; }

/* a post page */
.work-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; color: var(--muted); }
.work-facts li { display: inline-flex; align-items: center; gap: 6px; }
.work-facts .icon { color: var(--green); }
.work-photos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin: 0 0 32px; padding: 0; list-style: none; }
@media (min-width: 720px) {
  .work-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
.work-photos figure { margin: 0; }
.work-photos a { display: block; }
.work-photos picture { display: block; }
/* every photo in the same 4:3 frame, like the cards (Vlad, 2026-09-26); the link opens the whole photo */
.work-photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; background: var(--line); }
.work-photos figcaption { margin-top: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }

/* the photo viewer (static/lightbox.js): the whole photo over the page, arrows at the sides, × at the top */
html.lightbox-open { overflow: hidden; }
.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 14, 32, 0.94); color: #fff; }
.lightbox::backdrop { background: rgba(6, 14, 32, 0.94); }
.lightbox-figure { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 100%; margin: 0; padding: 72px 80px 24px; }
.lightbox-img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100% - 36px); border-radius: 12px; }
.lightbox-count { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.75); }
.lightbox-button { position: absolute; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; }
.lightbox-button:hover, .lightbox-button:focus-visible { background: rgba(255, 255, 255, 0.26); }
.lightbox-close { top: 14px; right: 14px; }
.lightbox-prev, .lightbox-next { top: 50%; margin-top: -24px; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-single .lightbox-prev, .lightbox-single .lightbox-next { display: none; }
/* phones: the photo uses the full width, the arrows sit under it */
@media (max-width: 719px) {
  .lightbox-figure { padding: 72px 12px 88px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 20px; margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
