/* Blind & Film Co — palette drawn from the 2026 logo */
:root {
  --navy: #000a78;
  --blue: #0016a8;
  --teal: #008080;
  --green: #00b070;
  --ink: #1d2433;
  --muted: #5a6478;
  --line: #e3e7f0;
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --grad: linear-gradient(120deg, var(--blue), var(--teal) 55%, var(--green));
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 20, 90, .10);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); margin: 0 0 .6em; }
h3 { font-size: 1.15rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 22px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 99; }
.skip-link:focus { left: 8px; }

.demo-banner { background: #b45309; color: #fff; text-align: center; font-size: .85rem; padding: 5px 10px; }
.demo-banner a { color: #fff; text-decoration: underline; margin-left: 6px; white-space: nowrap; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 72px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; height: 88px; width: auto; }
/* Bigger on real desktop widths, where there is room beside the nav. Held at 88 through the
   ~960px band where the nav is tightest (it wraps above ~96px there). */
@media (min-width: 1024px) { .brand-logo { height: 96px; } }
@media (min-width: 1280px) { .brand-logo { height: 108px; } }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--green); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 3px; margin: 4px 0; background: var(--navy); border-radius: 2px; transition: .2s; }

/* ---------- buttons ---------- */
.btn { display: inline-block; padding: 12px 24px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .95rem; border: 0; cursor: pointer; }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(0, 40, 140, .25); }
.btn-grad:hover { filter: brightness(1.08); }
.btn-outline { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #e8f6ef; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: .92; }
.hero-inner { position: relative; padding: 84px 0 92px; max-width: 640px; }
.hero h1 { color: #fff; }
.hero p { font-size: 1.15rem; opacity: .95; max-width: 34em; }
.hero .btn-outline { border-color: #fff; color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--navy); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-small { background: var(--navy); }
.hero-small .hero-inner { padding: 52px 0 56px; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: 34px; }
.lead { font-size: 1.12rem; color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card-img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 20px 22px 24px; flex: 1; }
.card-body h3 a { color: var(--navy); text-decoration: none; }
.card-body h3 a:hover { color: var(--teal); }
.card-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }
.service-card { text-decoration: none; color: inherit; transition: transform .15s; }
.service-card:hover { transform: translateY(-4px); }
.service-band { height: 6px; background: var(--grad); }

.check-list { list-style: none; padding: 0; margin: 0 0 1em; columns: 2; gap: 32px; }
.check-list li { margin: 0 0 10px; padding-left: 30px; position: relative; break-inside: avoid; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); color: #fff; font-size: .78rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 20px; }
.feature h3 { display: flex; align-items: center; gap: 10px; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

.cta-band { background: var(--grad); color: #fff; border-radius: var(--radius); padding: 42px 46px; display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { margin: 6px 0 0; opacity: .95; }

/* ---------- gallery ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-bar a { padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.filter-bar a.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.gallery-item img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery-cap { padding: 14px 16px; }
.gallery-cap strong { color: var(--navy); display: block; }
.gallery-cap span { font-size: .85rem; color: var(--muted); display: block; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: .9rem; color: var(--navy); display: block; margin-bottom: 5px; }
input[type=text], input[type=email], input[type=tel], input[type=password], textarea, select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
textarea { min-height: 130px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.notice { border-radius: 10px; padding: 14px 18px; margin-bottom: 20px; }
.notice-ok { background: #e8f6ef; color: #0a6b46; border: 1px solid #b8e6cf; }
.notice-err { background: #fdecec; color: #9c1f1f; border: 1px solid #f3c2c2; }

.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 34px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; background: #fff; }
.contact-card a { font-size: 1.2rem; font-weight: 700; color: var(--navy); text-decoration: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #cdd3ee; margin-top: 70px; }
.site-footer a { color: #fff; }
.site-footer .btn-light { color: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; padding: 52px 22px 30px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 10px; padding: 10px 14px; margin: 0 0 14px; }
.footer-logo img { height: 72px; width: auto; }
.footer-head { font-weight: 700; color: #fff; text-transform: uppercase; font-size: .8rem; letter-spacing: .1em; margin-bottom: 10px; }
.footer-links a { display: block; text-decoration: none; padding: 3px 0; }
.footer-links a:hover { color: var(--green); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; padding-bottom: 24px; font-size: .82rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-legal p { margin: 0; }

/* ---------- admin ---------- */
.admin-body { background: var(--bg-soft); }
.admin-shell { max-width: 1040px; margin: 0 auto; padding: 30px 22px 60px; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.admin-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-nav a { padding: 8px 16px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; border: 1.5px solid var(--line); background: #fff; }
.admin-nav a.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); margin-bottom: 24px; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--navy); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.thumb-sm { width: 84px; height: 63px; object-fit: cover; border-radius: 8px; }
.pill { display: inline-block; padding: 2px 11px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.pill-on { background: #e8f6ef; color: #0a6b46; }
.pill-off { background: #f1f2f6; color: #5a6478; }
.btn-sm { padding: 7px 14px; font-size: .82rem; }
.btn-danger { background: #c0392b; color: #fff; }
.login-box { max-width: 400px; margin: 8vh auto; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 24px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.stat b { font-size: 1.9rem; color: var(--navy); display: block; }
.stat span { color: var(--muted); font-size: .88rem; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .grid-3, .feature-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .split, .footer-grid { grid-template-columns: 1fr; }
  .split img { order: -1; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 22px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 11px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 12px; text-align: center; }
}
@media (max-width: 600px) {
  .grid-3, .grid-2, .feature-grid, .gallery-grid, .form-grid, .contact-cards, .stat-row { grid-template-columns: 1fr; }
  .check-list { columns: 1; }
  .brand-logo { height: 88px; }
  .hero-inner { padding: 56px 0 62px; }
  .cta-band { padding: 30px 26px; }
  .section { padding: 46px 0; }
}


/* ---- Photo hero / slideshow ---- */
.hero-photo { min-height: min(78vh, 720px); display: flex; align-items: center; background: var(--navy); }
.hero-photo::before { display: none; }
.hero-photo .wrap { position: relative; z-index: 2; width: 100%; }
.hero-photo .hero-inner { padding: 96px 0 116px; max-width: 680px; }
.hero-photo h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); text-shadow: 0 2px 18px rgba(0, 10, 60, .45); }
.hero-photo p { text-shadow: 0 1px 12px rgba(0, 10, 60, .55); }
.hero-slides { position: absolute; inset: 0; overflow: hidden; touch-action: pan-y; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide picture, .hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slide img { object-fit: cover; object-position: center; display: block; transform: scale(1); }
.hero-slide.is-active img { transform: scale(1.06); transition: transform 8s linear; }
.hero-slide::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 10, 90, .82) 0%, rgba(0, 10, 90, .62) 45%, rgba(0, 10, 90, .28) 100%); }
.hero-caption { position: absolute; right: 22px; bottom: 22px; z-index: 3; display: inline-flex; flex-direction: column; gap: 1px; padding: 9px 14px;
  border-radius: 10px; background: rgba(255, 255, 255, .92); color: var(--navy); font-size: .85rem; line-height: 1.25; text-decoration: none;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .25); transition: opacity .5s ease; }
.hero-caption strong { font-weight: 700; }
.hero-caption span { color: var(--muted); font-size: .78rem; }
.hero-caption:hover, .hero-caption:focus-visible { background: #fff; }
.hero-controls { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 8px; }
.hero-controls[hidden] { display: none; }
.hero-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); background: rgba(0, 10, 60, .35); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(4px); }
.hero-btn svg { width: 20px; height: 20px; }
.hero-btn:hover, .hero-btn:focus-visible { background: rgba(255, 255, 255, .95); color: var(--navy); outline: none; }
.hero-btn:focus-visible { box-shadow: 0 0 0 3px rgba(255, 255, 255, .85); }
.hero-pause .ic-play { display: none; }
.hero-pause[aria-pressed="true"] .ic-pause { display: none; }
.hero-pause[aria-pressed="true"] .ic-play { display: block; }
.hero-dots { display: flex; gap: 8px; padding: 0 6px; }
.hero-dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .8); background: transparent; padding: 0; cursor: pointer; }
.hero-dot.is-active { background: #fff; }
.hero-dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ---- Entrance and reveal (subtle; disabled when the visitor prefers reduced motion) ---- */
@keyframes bf-page-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes bf-rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
body { animation: bf-page-in .25s ease-out both; }
.hero-enter { animation: bf-rise-in .6s ease-out .1s both; }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 720px) {
  .hero-photo { min-height: 0; }
  .hero-photo .hero-inner { padding: 64px 0 96px; }
  .hero-slide::after { background: linear-gradient(180deg, rgba(0, 10, 90, .55) 0%, rgba(0, 10, 90, .72) 60%, rgba(0, 10, 90, .85) 100%); }
  .hero-caption { right: 14px; bottom: 66px; font-size: .78rem; padding: 7px 11px; }
  .hero-caption span { display: none; }
  .hero-controls { bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  body, .hero-enter { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide { transition: none; }
  .hero-slide.is-active img { transform: none; transition: none; }
}


/* ---- Before / after comparison slider ---- */
.ba { margin: 0; }
.ba-stage { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: var(--bg-soft); aspect-ratio: 16 / 9; max-height: 520px; touch-action: pan-y; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-clip { position: absolute; inset: 0; width: 50%; overflow: hidden; will-change: width; }
.ba-clip .ba-img { width: auto; height: 100%; max-width: none; }
.ba-tag { position: absolute; top: 14px; z-index: 3; padding: 5px 12px; border-radius: 999px;
  background: rgba(0, 10, 60, .72); color: #fff; font-size: .74rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; }
.ba-tag-before { left: 14px; }
.ba-tag-after { right: 14px; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; z-index: 4;
  background: rgba(255, 255, 255, .95); box-shadow: 0 0 12px rgba(0, 0, 0, .35); will-change: left; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; background: #fff; box-shadow: 0 4px 16px rgba(0, 10, 60, .35); }
.ba-handle span::before, .ba-handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-top: -6px; }
.ba-handle span::before { left: 11px; border-right: 8px solid var(--navy); }
.ba-handle span::after { right: 11px; border-left: 8px solid var(--navy); }
.ba-range { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; }
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 56px; height: 100%; cursor: ew-resize; }
.ba-range::-moz-range-thumb { width: 56px; height: 100%; border: 0; background: transparent; cursor: ew-resize; }
.ba-range:focus-visible { opacity: 1; outline: 3px solid var(--teal); outline-offset: 3px; }
.ba-note { margin-top: 12px; font-size: .9rem; color: var(--muted); }
.ba-sr { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Call-back band above the footer ---- */
.callback-band { background: var(--grad); color: #fff; }
.callback-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding: 40px 22px; }
.callback-band h2 { color: #fff; margin: 0 0 .3em; }
.callback-band p { margin: 0; opacity: .95; }
.callback-fields { display: flex; gap: 10px; flex-wrap: wrap; }
.callback-fields > div { flex: 1 1 170px; }
.callback-fields input { width: 100%; }
.callback-fields .btn { flex: 0 0 auto; }
.footer-social { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; }
.footer-social a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; text-decoration: none; font-weight: 600; }
.footer-social a:hover { color: var(--green); }
.footer-social svg { width: 24px; height: 24px; fill: currentColor; flex: none; }

/* "Our range" grew a third column, so each list runs single-column to stay readable. */
.range-grid .check-list { columns: 1; }
.footer-areas { font-size: .88rem; color: var(--muted); margin: 8px 0 0; }

@media (max-width: 860px) {
  .callback-inner { grid-template-columns: 1fr; gap: 18px; padding: 32px 22px; }
}
@media (max-width: 720px) {
  .ba-stage { aspect-ratio: 4 / 3; }
  .ba-handle span { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
  .ba-tag { font-size: .68rem; padding: 4px 10px; }
}


/* ---- Client reviews ---- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.review .stars { margin: 0 0 10px; color: var(--green); letter-spacing: 2px; font-size: 1.05rem; }
.review blockquote { margin: 0 0 16px; flex: 1; }
.review blockquote p { margin: 0; font-size: 1.05rem; color: var(--ink); }
.review blockquote p::before { content: "\201C"; }
.review blockquote p::after { content: "\201D"; }
.review figcaption strong { display: block; color: var(--navy); }
.review figcaption span { display: block; font-size: .88rem; color: var(--muted); }
.review figcaption .src { font-size: .8rem; }

@media (max-width: 900px) {
  .review-grid { grid-template-columns: 1fr; gap: 18px; }
}


/* ---- Gallery: zoom affordance and lightbox ---- */
.gallery-link { display: block; position: relative; text-decoration: none; }
.gallery-link picture, .gallery-link img { display: block; }
.gallery-item img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery-zoom { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0, 10, 60, .55); color: #fff; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .18s ease; }
.gallery-zoom svg { width: 19px; height: 19px; }
.gallery-link:hover .gallery-zoom, .gallery-link:focus-visible .gallery-zoom { opacity: 1; }
.gallery-link:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

.lightbox { position: fixed; inset: 0; z-index: 200; display: none; background: rgba(4, 8, 30, .93);
  align-items: center; justify-content: center; padding: 18px; }
.lightbox[open], .lightbox.is-open { display: flex; }
.lightbox-figure { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: 12px; }
.lightbox-figure img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto;
  margin: 0 auto; display: block; border-radius: 10px; background: #0b1030; }
.lightbox-cap { color: #fff; text-align: center; }
.lightbox-cap strong { display: block; font-size: 1.02rem; }
.lightbox-cap span { display: block; font-size: .86rem; opacity: .75; }
.lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; }
.lb-btn svg { width: 24px; height: 24px; }
.lb-btn:hover, .lb-btn:focus-visible { background: #fff; color: var(--navy); outline: none; }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lb-close { position: absolute; top: 14px; right: 14px; transform: none; width: 46px; height: 46px; }
.lb-count { position: absolute; top: 22px; left: 18px; color: #fff; font-size: .85rem; opacity: .75; }

/* ---- Previous / next through the projects ---- */
.prevnext { border-top: 1px solid var(--line); background: #fff; }
.prevnext-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; padding: 22px; }
.pn { text-decoration: none; color: var(--navy); }
.pn span { display: block; font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.pn strong { display: block; font-size: .98rem; }
.pn-next { text-align: right; }
.pn-all { justify-self: center; border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 18px; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.pn-all:hover { border-color: var(--navy); }

/* ---- Sticky contact bar, phones only ---- */
.callbar { display: none; }

@media (max-width: 720px) {
  .callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: flex; gap: 8px; padding: 9px 10px;
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 10, 60, .10);
    padding-bottom: calc(9px + env(safe-area-inset-bottom)); }
  .callbar-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px;
    border-radius: 999px; font-weight: 700; font-size: .92rem; text-decoration: none; }
  .callbar-btn svg { width: 17px; height: 17px; }
  .callbar-call { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
  .callbar-quote { background: var(--grad); color: #fff; }
  body { padding-bottom: 68px; }
  .prevnext-inner { grid-template-columns: 1fr; text-align: left; }
  .pn-next { text-align: left; }
  .pn-all { justify-self: start; }
  .lightbox-figure img { max-height: calc(100vh - 190px); }
  .lb-btn { width: 44px; height: 44px; }
  .gallery-zoom { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-zoom { transition: none; }
}

.notice-good { background: #e8f7f0; border: 1px solid #b6e4cd; color: #08603f; }


/* ---- Cookie consent notice ---- */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; background: #fff;
  border-top: 2px solid var(--navy); box-shadow: 0 -10px 40px rgba(0, 10, 60, .18); }
.consent[hidden] { display: none; }
.consent-inner { max-width: 1140px; margin: 0 auto; padding: 20px 22px; display: grid;
  grid-template-columns: 1fr auto; gap: 22px; align-items: center; }
.consent h2 { font-size: 1.05rem; margin: 0 0 .3em; }
.consent p { margin: 0; font-size: .92rem; color: var(--muted); max-width: 70ch; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-actions .btn { padding: 11px 26px; }

@media (max-width: 720px) {
  .consent { bottom: 68px; }            /* clear of the sticky call bar */
  .consent-inner { grid-template-columns: 1fr; gap: 14px; padding: 16px 18px; }
  .consent-actions .btn { flex: 1; text-align: center; padding: 12px 16px; }
}


/* ---- Survey approval page ---- */
.panel-plain { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow); max-width: 760px; }
.booking-dl { display: grid; grid-template-columns: 120px 1fr; gap: 8px 18px; margin: 0 0 20px; }
.booking-dl dt { font-weight: 700; color: var(--navy); }
.booking-dl dd { margin: 0; }
.booking-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 620px) {
  .booking-dl { grid-template-columns: 1fr; gap: 2px 0; }
  .booking-dl dd { margin-bottom: 10px; }
  .booking-actions .btn { flex: 1; text-align: center; }
}


/* ---- Sign in with Microsoft ---- */
.btn-ms { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; }
.login-lead { text-align: center; margin: 0 0 4px; font-weight: 600; }
.login-help { text-align: center; color: var(--muted); font-size: .88rem; margin: 14px 0 0; }
.login-or { position: relative; text-align: center; margin: 20px 0; }
.login-or::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--line); }
.login-or span { position: relative; background: #fff; padding: 0 12px; font-size: .85rem; color: var(--muted); }
