/* Fiolent Mobile Autoglass. Visual system follows the client's existing site
   fiolentautoglass.com by Valeriia's decision of 12.09.2026: Manrope, blue
   #125df0 on white, dark #171c26 header and footer, 12 px cards, 6 px buttons.
   Tokens measured from the live site. */

:root {
  --blue: #125df0;
  --blue-hover: #0e4cd1;
  --blue-soft: #eef4ff;
  --blue-soft-2: #f4f7fd;
  --dark: #171c26;
  --dark-2: #1f242e;
  --text: #171c26;
  --muted: #667085;
  --border: #d9e2f0;
  --border-dark: #2e3542;
  --white: #ffffff;
  --r-card: 12px;
  --r-btn: 6px;
  --container: 1200px;
  --gutter: 24px;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-weight: 400; font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); }
img, svg, video { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }
p a { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; font-weight: 500; letter-spacing: -.01em; color: var(--dark); }
h1 { font-size: 54px; line-height: 1.1; }
h2 { font-size: 42px; line-height: 1.15; }
h3 { font-size: 21px; line-height: 1.3; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }
ul, ol { padding-left: 22px; margin: 0 0 1em; }
li { margin-bottom: 6px; }
strong { font-weight: 600; }
small, .small { font-size: 14px; line-height: 1.5; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.lede { font-size: 18px; line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }
.dark .muted, .dark .lede { color: #c3c8d2; }
.center { text-align: center; }
.center .section-head, .center .prose { margin-left: auto; margin-right: auto; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: 720px; }
.prose h2 { font-size: 30px; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #3b4252; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 11px 22px; border-radius: var(--r-btn); border: 1px solid transparent; font: 600 14px/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.btn--primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn--primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); color: var(--white); }
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { background: var(--blue-soft); color: var(--blue-hover); }
.dark .btn--ghost, .hero .btn--ghost, .site-header .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.7); }
.dark .btn--ghost:hover, .hero .btn--ghost:hover, .site-header .btn--ghost:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: var(--white); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn .short { display: none; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); color: var(--dark); padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.cta-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.dark .cta-note, .hero .cta-note { color: #c3c8d2; }

/* Header: nav left, logo centred, actions right */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--dark); color: var(--white); }
.header-bar { max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.primary-nav { display: flex; align-items: center; gap: 18px; }
.primary-nav a { color: var(--white); font-size: 13px; font-weight: 500; padding: 4px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.primary-nav a:hover { color: var(--white); border-bottom-color: rgba(255,255,255,.6); }
.primary-nav a[aria-current="page"] { border-bottom-color: var(--white); }
.logo { display: block; justify-self: center; }
.logo img { height: 42px; width: auto; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.header-actions .btn { min-height: 38px; padding: 8px 16px; font-size: 13px; }
.menu-toggle { display: none; justify-self: end; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--dark); color: var(--white); min-height: 620px; display: flex; align-items: center; }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,28,38,.82) 0%, rgba(23,28,38,.62) 50%, rgba(23,28,38,.45) 100%); }
.hero .container { position: relative; width: 100%; padding-top: 64px; padding-bottom: 64px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-inner { max-width: 620px; }
.hero h1 { color: var(--white); margin-bottom: 18px; font-weight: 500; }
.hero .lede { color: #e3e6ec; font-size: 17px; }
.hero-line { margin: 16px 0 0; color: #e3e6ec; font-size: 14px; font-weight: 500; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 18px 0 0; padding: 0; }
.hero-badges li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28); color: #f2f4f7; font-size: 12.5px; font-weight: 600; letter-spacing: .01em; padding: 7px 14px; border-radius: 999px; }
.hero--short { min-height: 380px; }
.hero--short .hero-inner { max-width: 760px; }

.quote-card { background: var(--white); color: var(--text); border-radius: var(--r-card); padding: 26px 28px 24px; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.hero .quote-card h2, .quote-card h2, .quote-card .card-title { font-size: 26px; font-weight: 500; margin-bottom: 4px; color: var(--dark); }
.quote-card .muted { font-size: 14px; margin-bottom: 16px; }
.quote-card .form { grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.quote-card .btn { width: 100%; min-height: 48px; }
.quote-card .form-note { font-size: 12.5px; margin: 0; }

/* Sections */
.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section--soft { background: var(--blue-soft); }
.dark { background: var(--dark); color: var(--white); }
.dark h1, .dark h2, .dark h3 { color: var(--white); }
.dark .prose p, .dark .prose li { color: #d3d7de; }
.dark a { color: #9cc0ff; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 12px; }
.section-head .lede { font-size: 16px; }
.center .section-head { text-align: center; }

/* Photo cards with the title on the image */
.photo-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.photo-card { position: relative; display: block; border-radius: var(--r-card); overflow: hidden; background: var(--dark-2); aspect-ratio: 1 / 1; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.photo-card::after { content: ""; position: absolute; inset: 0; background: rgba(23,28,38,.42); transition: background .2s; }
.photo-card:hover img { transform: scale(1.04); }
.photo-card:hover::after { background: rgba(23,28,38,.3); }
.photo-card span { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; color: var(--white); font-size: 22px; font-weight: 500; line-height: 1.25; }

/* Numbered feature cards */
.feature-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.feature { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card); padding: 20px 22px; display: flex; align-items: flex-start; gap: 14px; }
.feature .num { flex: none; margin-top: 1px; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 12px; font-weight: 700; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--muted); }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--wide { grid-template-columns: 1.15fr .85fr; }
.split figure { margin: 0; border-radius: var(--r-card); overflow: hidden; background: var(--dark-2); }
.split figure img, .split figure video { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; display: block; }
.split figure.video video { aspect-ratio: 16 / 9; }
.split h2 { margin-bottom: 16px; }
.section--bleed { padding: 0; }
.section--bleed .split { gap: 0; align-items: stretch; }
.section--bleed .split figure { border-radius: 0; }
.section--bleed .split figure img { aspect-ratio: auto; min-height: 560px; height: 100%; }
.section--bleed .split .pane { padding: 72px clamp(56px, calc((100vw - var(--container)) / 2 + var(--gutter)), 160px) 72px 56px; max-width: 640px; }

.why-badge { display: inline-flex; align-items: center; gap: 7px; background: #16a34a; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 9px 16px; border-radius: 8px; transform: rotate(-2deg); box-shadow: 0 10px 24px rgba(22,163,74,.35); margin: -52px 0 22px -4px; position: relative; }
.why-badge svg { width: 15px; height: 15px; flex: none; }
.why-badge--inline { margin: 0 0 16px; transform: rotate(-1.5deg); }
.risk-badge { display: inline-flex; align-items: center; gap: 7px; background: #dc2626; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 9px 16px; border-radius: 8px; transform: rotate(1.5deg); box-shadow: 0 10px 24px rgba(220,38,38,.3); margin: 0 0 18px; }
.risk-badge svg { width: 15px; height: 15px; flex: none; }

/* Collage for the gallery split */
.collage { position: relative; height: 480px; }
.collage img { position: absolute; border-radius: var(--r-card); object-fit: cover; box-shadow: 0 20px 50px rgba(23,28,38,.18); }
.collage img:first-child { left: 0; top: 0; width: 62%; height: 62%; }
.collage img:last-child { right: 0; bottom: 0; width: 58%; height: 58%; }

/* Steps with photos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; }
.step img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.step-body { padding: 18px 20px 22px; display: flex; gap: 14px; align-items: flex-start; }
.step-body .num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 12px; font-weight: 700; }
.step-body h3 { font-size: 18px; margin-bottom: 6px; }
.step-body p { font-size: 14px; color: var(--muted); }
.ready { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 18px; margin-top: 36px; }
.ready strong { font-size: 18px; font-weight: 600; }
.ready .cta-row { margin: 0; }

/* Process timeline */
.process { list-style: none; padding: 0; margin: 0; max-width: 780px; counter-reset: proc; }
.process li { position: relative; padding: 0 0 26px 58px; }
.process li::before { counter-increment: proc; content: "0" counter(proc); position: absolute; left: 0; top: 2px; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.process li::after { content: ""; position: absolute; left: 19px; top: 46px; bottom: -4px; width: 2px; background: var(--border); }
.process li:last-child::after { display: none; }
.process strong { display: block; font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.process p { color: #3b4252; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 0 0 1em; }
table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-weight: 600; background: var(--blue-soft); font-size: 13px; }
td:last-child { font-weight: 600; white-space: nowrap; }

/* Lists */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); }
.checklist li::after { content: ""; position: absolute; left: 5px; top: 10px; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

/* Two column comparison */
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.twocol > div { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card); padding: 22px 24px; }
.twocol h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.twocol .yes h3::before, .twocol .no h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.twocol .yes h3::before { background: var(--blue); }
.twocol .no h3::before { background: var(--muted); }

/* Areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.areas li a, .areas li span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--white); color: var(--dark); font-weight: 500; font-size: 14px; }
.areas li a:hover { border-color: var(--blue); color: var(--blue); }

/* FAQ: divided list as on the old /faq/ */
.faq { max-width: 1000px; margin: 0 auto; text-align: left; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 52px 20px 0; position: relative; font-weight: 500; font-size: 19px; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 14px; top: 24px; width: 10px; height: 10px; border-right: 2px solid var(--dark); border-bottom: 2px solid var(--dark); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq .answer { padding: 0 52px 22px 0; color: #3b4252; font-size: 15.5px; }

/* Contact block with the map */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.map { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--border); background: var(--blue-soft-2); }
.map iframe { width: 100%; height: 420px; border: 0; display: block; }
.info { display: grid; gap: 22px; }
.info-item { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.info-item .ic { width: 48px; height: 48px; border-radius: 10px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--dark); }
.info-item .ic svg { width: 20px; height: 20px; }
.info-item h3 { font-size: 19px; margin-bottom: 4px; }
.info-item p { color: var(--muted); font-size: 15px; }
.info-item a { text-decoration: underline; color: var(--muted); }
.info-item .big { color: var(--dark); font-size: 17px; font-weight: 600; text-decoration: none; }
.hours { max-width: 460px; }

/* Gallery: uniform 3-column grid as on the old /our-work/ */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery figure { position: relative; margin: 0; border-radius: var(--r-card); overflow: hidden; background: var(--dark-2); aspect-ratio: 4 / 3; }
.gallery a { display: block; width: 100%; height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px; background: linear-gradient(180deg, rgba(23,28,38,0) 0%, rgba(23,28,38,.85) 100%); color: var(--white); font-size: 13px; font-weight: 500; text-align: left; }

/* Videos */
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.videos--single { grid-template-columns: 1fr; max-width: 640px; }
.videos figure { margin: 0; }
.videos video { width: 100%; aspect-ratio: 16 / 9; background: var(--dark-2); border-radius: var(--r-card); display: block; }
.videos figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* Form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; max-width: 760px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--dark); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; font: 400 15px/1.4 var(--font); color: var(--text); background: var(--white); border: 1px solid var(--border); border-radius: 8px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 2px solid rgba(18,93,240,.2); outline-offset: 0; }
.field textarea { min-height: 110px; resize: vertical; }
.form-note { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.form-status { grid-column: 1 / -1; display: none; padding: 14px 16px; border-radius: 8px; background: var(--blue-soft); border: 1px solid var(--border); }
.form-status[data-show] { display: block; }

/* CTA band */
.cta-band { background: var(--blue-soft); }
.cta-band .container { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.cta-band .container > div:first-child { max-width: 640px; }
.cta-band .cta-row { flex: none; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band .cta-row { margin-top: 0; }

/* Footer */
.site-footer { background: var(--dark); color: #b9bec8; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .logo img { height: 40px; margin-bottom: 24px; }
.footer-col h3, .footer-col .footer-h { color: var(--white); font-size: 16px; font-weight: 600; margin: 0 0 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0; font-size: 14px; }
.footer-col li a, .footer-col li { display: block; padding: 6px 0; line-height: 1.4; }
.footer-col li a { padding: 6px 0; }
.footer-col li.inline-row { display: flex; gap: 6px; align-items: baseline; }
.footer-col li.inline-row a { display: inline; padding: 0; }
.footer-col a { color: #b9bec8; }
.footer-col a:hover { color: var(--white); }
.footer-tagline { color: var(--white); font-size: 22px; font-weight: 500; margin-bottom: 26px; }
.footer-bottom { border-top: 1px solid var(--border-dark); margin-top: 48px; padding-top: 20px; font-size: 13px; color: #8a919e; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Landing page */
.lp .site-header, .lp .site-footer { display: none; }
.lp-hero { min-height: 100vh; }
.lp-hero .hero-inner { max-width: 720px; }
.lp-form { margin-top: 30px; background: var(--white); color: var(--text); border-radius: var(--r-card); padding: 22px; }
.lp-footer { padding: 18px 0 32px; font-size: 13px; color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Responsive */
@media (max-width: 1180px) { .primary-nav { gap: 14px; } .primary-nav a { font-size: 12.5px; } }
@media (max-width: 1023px) {
  .header-bar { grid-template-columns: auto 1fr auto; }
  .logo { justify-self: start; }
  .menu-toggle { display: block; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 0; background: var(--dark); border-top: 1px solid var(--border-dark); padding: 8px 0 12px; }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 12px var(--gutter); font-size: 15px; border-bottom: 0; }
  .btn .full { display: none; }
  .btn .short { display: inline; }
  .header-actions { gap: 8px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero .quote-card { display: none; }
  .photo-cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .split, .split--wide, .contact-split { grid-template-columns: 1fr; gap: 28px; }
  .section--bleed .split figure img { min-height: 320px; }
  .section--bleed .split .pane { padding: 48px var(--gutter); }
  .videos { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  h1 { font-size: 36px; }
  h2 { font-size: 30px; }
  .section { padding: 56px 0; }
  .hero { min-height: 0; }
  .hero .container { padding-top: 48px; padding-bottom: 44px; }
  .hero-media::after { background: linear-gradient(180deg, rgba(23,28,38,.85) 0%, rgba(23,28,38,.75) 100%); }
  .btn { width: 100%; min-height: 50px; }
  .header-actions .btn { width: auto; min-height: 38px; }
  .cta-row { flex-direction: column; }
  .photo-cards, .feature-cards, .twocol, .form { grid-template-columns: 1fr; }
  .feature-cards { gap: 10px; margin-top: 18px; }
  .feature { padding: 16px 18px; }
  .feature h3 { font-size: 16px; margin-bottom: 3px; }
  .feature p { font-size: 13.5px; }
  .steps { gap: 12px; }
  .step img { aspect-ratio: 2 / 1; }
  .step-body { padding: 12px 16px 16px; }
  .step-body h3 { font-size: 16px; margin-bottom: 3px; }
  .step-body p { font-size: 13.5px; }
  .photo-card { aspect-ratio: 4 / 3; }
  .gallery { grid-template-columns: 1fr; }
  .collage { height: 320px; }
  .map iframe { height: 300px; }
  td:last-child { white-space: normal; }
  .site-footer { padding: 36px 0 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand .logo img { height: 32px; margin-bottom: 16px; }
  .footer-col li a, .footer-col li { padding: 4px 0; font-size: 13px; }
  .footer-tagline { font-size: 18px; margin-bottom: 14px; }
  .footer-bottom { margin-top: 24px; padding-top: 14px; font-size: 12px; }
}

/* ---------------------------------------------------------------------
   Inner pages, 12.09.2026. Patterns taken from the old site: dark split
   hero (/our-work/), white page head with a card on the right
   (/contact-us/), centred head (/faq/), numbered cards and photo splits
   from the home page. */

/* Dark split hero: text left, photo fills the right half of the screen */
.hero--split { display: block; min-height: 0; }
.hero--split .container { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; min-height: 540px; padding-top: 80px; padding-bottom: 80px; }
.hero--split .hero-inner { max-width: 560px; }
.hero-split-photo { position: absolute; top: 0; bottom: 0; left: 50%; right: calc(-1 * max(var(--gutter), (100vw - var(--container)) / 2)); margin: 0; }
.hero-split-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-sub { color: var(--white); font-size: 19px; font-weight: 500; margin: 0 0 6px; }
.hero--split .cta-row { margin-top: 26px; }

/* White page head: H1 and intro left, a card or photo right, or centred */
.page-head { padding: 80px 0 24px; }
.page-head-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.page-head h1 { margin-bottom: 16px; }
.page-head .lede { font-size: 17px; }
.page-head .cta-row { margin-top: 24px; }
.page-head--center { text-align: center; padding: 96px 0 24px; }
.page-head--center .page-head-text { max-width: 820px; margin: 0 auto; }
.head-photo { margin: 0; border-radius: var(--r-card); overflow: hidden; background: var(--dark-2); }
.head-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* Photo splits */
.split--rev figure { order: 2; }
.split-text .prose { max-width: none; }
.split-text .lede { color: var(--muted); }
.split-text .cta-row { margin-top: 24px; }
.split--price { align-items: start; }
.price-card table { margin: 0; }
.price-card td:first-child { color: #3b4252; }

/* Numbered cards, two or three across */
.feature-cards--2 { grid-template-columns: 1fr 1fr; }
.feature-cards--3 { grid-template-columns: repeat(3, 1fr); }
.section-head + .feature-cards { margin-top: 0; }
.feature p:last-child { margin-bottom: 0; }

/* Check cards */
.check-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.check-cards--2 { grid-template-columns: 1fr 1fr; }
.check-card { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card); padding: 18px 20px; }
.check-card svg { width: 24px; height: 24px; color: var(--blue); }
.check-card p { margin: 0; font-size: 15px; color: #3b4252; line-height: 1.5; }

/* Info cards with an icon */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-cards--2 { grid-template-columns: 1fr 1fr; }
.info-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card); padding: 26px 26px 28px; }
.info-card .ic { width: 48px; height: 48px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.info-card .ic svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 20px; margin-bottom: 8px; }
.info-card p, .info-card li { color: #3b4252; font-size: 15px; }
.info-card .cta-row { margin-top: 16px; }

/* Process timeline with sticky photos */
.process-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.process-split .section-head { margin-bottom: 28px; }
.process-photos { position: sticky; top: 88px; display: grid; gap: 16px; }
.process-photos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); }

/* Closing call-to-action row, soft or plain */
.cta-band--plain { background: var(--white); border-top: 1px solid var(--border); }
.cta-band .lede { font-size: 16px; }
.cta-band p:last-child { margin-bottom: 0; }

/* Quote split: the old /contact-us/ layout */
.quote-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.quote-split-text h1, .quote-split-text h2 { margin-bottom: 14px; }
.quote-split-text .lede { font-size: 17px; }
.quote-split-text .cta-row { margin-top: 22px; }
.quote-split-text .info { margin-top: 32px; }
.quote-split-section--first { padding-top: 72px; }
.quote-card--flat { background: var(--blue-soft-2); border: 1px solid var(--border); box-shadow: none; padding: 30px 32px 28px; }
.quote-card--flat .btn { width: auto; min-width: 200px; }
.sub-h3 { margin-top: 28px; margin-bottom: 12px; font-size: 19px; }
.hours table { margin-bottom: 10px; }
.hours td:last-child { font-weight: 500; }

@media (max-width: 1023px) {
  .hero--split .container { grid-template-columns: 1fr; min-height: 0; padding-bottom: 0; gap: 32px; }
  .hero-split-photo { position: static; aspect-ratio: 16 / 10; margin: 0 calc(-1 * var(--gutter)); }
  .page-head-grid, .quote-split, .process-split, .split--price { grid-template-columns: 1fr; gap: 32px; }
  .process-photos { position: static; grid-template-columns: 1fr 1fr; }
  .process-photos img:nth-child(3) { display: none; }
  .split--rev figure { order: 0; }
  .check-cards, .info-cards, .feature-cards--3 { grid-template-columns: 1fr 1fr; }
  .page-head { padding-top: 56px; }
  .page-head--center { padding-top: 64px; }
}
@media (max-width: 640px) {
  .check-cards, .info-cards, .feature-cards--2, .feature-cards--3, .process-photos { grid-template-columns: 1fr; }
  .quote-card--flat { padding: 22px 20px; }
  .quote-card .form { grid-template-columns: 1fr; }
  .quote-card--flat .btn { width: 100%; }
  .hero-sub { font-size: 17px; }
}

/* Legal pages and lightbox */
.prose--legal { max-width: 760px; }
.prose--legal h2 { font-size: 24px; margin-top: 1.4em; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(23,28,38,.92); display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: var(--r-card); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox figcaption { position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; color: #fff; font-size: 14px; padding: 0 24px; }
.lightbox .close { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
