/* ==========================================================================
   Glen Doko Painting — styles.css
   Mobile-first. No build step, no framework.
   Brand palette: deep blue + white, taken from the company van / yard signs.
   ========================================================================== */

:root {
  /* Brand blues */
  --brand-900: #0A3049;
  --brand-800: #0D4468;
  --brand-700: #0F5580;   /* primary action — 7.8:1 on white */
  --brand-600: #14699C;
  --brand-100: #DCEAF4;
  --brand-50:  #F1F7FB;

  /* Neutrals */
  --ink:    #16232C;      /* body text        — 14:1 on white */
  --muted:  #4C5D6A;      /* secondary text   —  6.7:1 on white */
  --line:   #DCE4EA;
  --paper:  #FFFFFF;
  --sand:   #F6F8FA;

  --gold:   #C9A227;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(10, 48, 73, .06), 0 2px 8px rgba(10, 48, 73, .06);
  --shadow-md: 0 4px 12px rgba(10, 48, 73, .09), 0 12px 28px rgba(10, 48, 73, .09);

  --header-h: 68px;
  --wrap: 1160px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* --------------------------------------------------------- reset / base -- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg, picture { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.14rem; font-weight: 700; }
p  { margin: 0 0 1rem; }

a { color: var(--brand-700); }
a:hover { color: var(--brand-600); }

:focus-visible {
  outline: 3px solid var(--brand-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--brand-900); color: #fff; padding: 12px 18px;
  border-radius: 0 0 var(--radius) var(--radius); font-weight: 700; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* -------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 12px 22px;
  border: 2px solid transparent; border-radius: var(--radius);
  font: inherit; font-weight: 700; line-height: 1.2; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .06s ease;
}
.btn:active { transform: translateY(1px); }
.btn .ico { width: 1.05em; height: 1.05em; flex: none; }

.btn-primary { background: var(--brand-700); color: #fff; }
.btn-primary:hover { background: var(--brand-800); color: #fff; }

.btn-outline { background: transparent; color: var(--brand-700); border-color: var(--brand-700); }
.btn-outline:hover { background: var(--brand-700); color: #fff; }

.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* --------------------------------------------------------------- header -- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--brand-800); text-decoration: none; margin-right: auto;
}
.brand-icon { width: 62px; height: auto; flex: none; }
.brand-logotype { height: 30px; width: auto; flex: none; }
@media (min-width: 500px) {
  .brand-icon { width: 68px; }
  .brand-logotype { height: 32px; }
}

.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--brand-900);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 9px 14px; font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer;
}
.nav-toggle-bars { display: grid; gap: 4px; }
.nav-toggle-bars span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

.primary-nav { display: none; width: 100%; padding-bottom: 14px; }
.primary-nav.is-open {
  display: block;
  position: absolute; top: 100%; left: 0; right: 0; z-index: 50;
  background: #fff; padding-inline: 20px;
  border-top: 1px solid var(--line); box-shadow: var(--shadow-md);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.primary-nav ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 2px; }
.primary-nav a {
  display: block; padding: 11px 12px; border-radius: var(--radius);
  color: var(--ink); text-decoration: none; font-weight: 650;
}
.primary-nav a:hover { background: var(--brand-50); color: var(--brand-800); }
.primary-nav a[aria-current="true"] { background: var(--brand-50); color: var(--brand-800); }
.primary-nav .btn-header {
  display: inline-flex; margin-top: 6px;
  background: transparent; color: var(--brand-700);
  border-color: var(--brand-700); width: 100%;
}
.primary-nav .btn-header:hover { background: var(--brand-700); color: #fff; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex !important; align-items: center; gap: 8px; width: auto; padding-bottom: 0;
    position: static; box-shadow: none; border-top: 0; max-height: none; overflow: visible; padding-inline: 0;
  }
  .primary-nav ul { display: flex; gap: 2px; margin: 0; }
  .primary-nav a { padding: 9px 13px; font-size: .96rem; }
  .primary-nav .btn-header { width: auto; margin-top: 0; margin-left: 8px; padding: 10px 18px; font-size: .95rem; }
}

/* ----------------------------------------------------------------- hero -- */
.hero-carousel { position: relative; isolation: isolate; overflow: hidden; }
.hero-track { display: flex; transition: transform .5s ease; }
.hero-slide {
  position: relative; flex: 0 0 100%; display: grid; overflow: hidden;
  min-height: 420px; max-height: 78vh;
}
.hero-slide > picture, .hero-slide-img {
  grid-area: 1 / 1; display: block; width: 100%; height: 100%;
  min-height: 420px; max-height: 78vh;
}
.hero-slide-img { object-fit: cover; object-position: 50% 58%; }
.hero-slide-overlay {
  grid-area: 1 / 1;
  background:
    linear-gradient(to right, rgba(6,32,50,.86) 0%, rgba(6,32,50,.64) 46%, rgba(6,32,50,.22) 100%),
    linear-gradient(to top, rgba(6,32,50,.6), rgba(6,32,50,0) 52%);
}

.hero-slide-inner { grid-area: 1 / 1; align-self: center; padding-block: 32px; position: relative; }

.hero-panel {
  max-width: 300px; padding: 16px 16px;
  background: rgba(255,255,255,.56); backdrop-filter: blur(6px);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.hero-panel-heading {
  font-size: clamp(1rem, 4.6vw, 1.25rem); font-weight: 800; line-height: 1.18;
  color: var(--brand-900); margin: 0 0 .4rem;
}
.hero-panel-text { color: var(--muted); font-size: .82rem; margin: 0 0 .8rem; line-height: 1.4; }
.hero-panel .btn { padding: 9px 16px; font-size: .85rem; }

.hero-dots {
  position: absolute; left: 50%; bottom: 18px; z-index: 2;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px;
}
.hero-dots .carousel-dot { background: rgba(255,255,255,.5); box-shadow: 0 0 0 1px rgba(6,32,50,.3); }
.hero-dots .carousel-dot[aria-selected="true"] { background: var(--brand-700); box-shadow: none; }

@media (min-width: 700px) {
  .hero-slide, .hero-slide > picture, .hero-slide-img { min-height: 520px; }
  .hero-slide-inner { padding-block: 50px; }
  .hero-panel { max-width: 380px; padding: 24px 26px; }
  .hero-panel-heading { font-size: clamp(1.3rem, 3vw, 1.7rem); }
  .hero-panel-text { font-size: .92rem; }
  .hero-panel .btn { padding: 12px 22px; font-size: .95rem; }
  .hero-dots { bottom: 26px; }
}


/* -------------------------------------------------------------- section -- */
.section { padding-block: 60px; }
.section-tint { background: var(--sand); }
@media (min-width: 800px) { .section { padding-block: 86px; } }

.section-head { max-width: 62ch; margin-bottom: 36px; }
.eyebrow {
  font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-700); margin-bottom: .5rem;
}
.lede { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }

/* ------------------------------------------------------------- services -- */
.services-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 18px; grid-template-columns: 1fr;
}
@media (min-width: 620px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .services-grid { grid-template-columns: repeat(5, 1fr); } }

.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
  display: flex; flex-direction: column;
}
.service-card-media {
  position: relative; height: 190px; width: 100%;
  padding: 0; border: 0; background: none; font: inherit; cursor: pointer;
}
@media (min-width: 620px) { .service-card-media { height: 170px; } }
@media (min-width: 1000px) { .service-card-media { height: 190px; } }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,32,50,.78), rgba(6,32,50,0) 58%);
}
.service-card-media h3 {
  position: absolute; left: 16px; right: 16px; bottom: 12px; z-index: 1;
  color: #fff; margin: 0; font-size: 1.08rem; text-align: left;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.service-card p {
  color: var(--muted); font-size: .96rem; margin: 0;
  max-height: 0; overflow: hidden; padding: 0 20px;
  transition: max-height .25s ease, padding .25s ease;
}
.service-card.is-open p { max-height: 200px; padding: 18px 20px 22px; }

.services-tagline {
  margin: 28px 0 0; font-weight: 650; font-style: italic;
  color: var(--brand-800); font-size: 1.02rem;
}

.services-cta { margin-top: 20px; display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; }
.link-call { font-weight: 650; color: var(--muted); text-decoration: none; }
.link-call:hover { color: var(--brand-700); text-decoration: underline; }

/* ---------------------------------------------------------------- split -- */
.split { display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; } }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
.split-body h3 { margin-bottom: .6rem; font-size: 1.3rem; }
.split-body > p { color: var(--muted); }

.check-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; }
.check-list li { position: relative; padding-left: 32px; color: var(--ink); font-size: .98rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .28em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%230F5580' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M5 10.5l3.4 3.4L15 6.8'/%3E%3C/svg%3E") center / 15px no-repeat;
}

.mission-quote {
  margin: 44px 0 0; max-width: 720px; padding-top: 30px;
  border-top: 1px solid var(--brand-100); text-align: center;
}
.mission-quote p {
  font-size: clamp(1.08rem, 2.4vw, 1.35rem); font-weight: 650; font-style: italic;
  color: var(--brand-900); line-height: 1.55; margin: 0;
}

/* -------------------------------------------------------------- gallery -- */
.filters {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px; margin-bottom: 26px;
}
.filter {
  font: inherit; font-size: .92rem; font-weight: 650; cursor: pointer;
  padding: 9px 17px; border-radius: 999px; text-align: center;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.filter:hover { border-color: var(--brand-700); color: var(--brand-700); }
.filter[aria-selected="true"] { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }

.gallery {
  display: grid; gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) { .gallery { gap: 16px; grid-template-columns: repeat(3, 1fr); } }
.gallery:focus { outline: none; }

.tile {
  position: relative; display: block; padding: 0; border: 0; cursor: zoom-in;
  background: var(--brand-100); border-radius: var(--radius);
  overflow: hidden; aspect-ratio: 4 / 3; width: 100%;
}
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease, opacity .3s ease;
}
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,32,50,.45), rgba(6,32,50,0) 45%);
  opacity: 0; transition: opacity .25s ease;
}
.tile:hover::after, .tile:focus-visible::after { opacity: 1; }
.tile-tag {
  position: absolute; left: 10px; bottom: 10px; z-index: 1;
  font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: #fff; opacity: 0; transform: translateY(4px);
  transition: opacity .25s ease, transform .25s ease;
}
.tile:hover .tile-tag, .tile:focus-visible .tile-tag { opacity: 1; transform: none; }

.gallery-status { margin: 18px 0 0; color: var(--muted); font-size: .92rem; }
.gallery-more { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.noscript-note { margin-top: 18px; color: var(--muted); }

/* -------------------------------------------------------------- reviews -- */
.stars { display: flex; gap: 2px; color: var(--gold); }
.stars svg { width: 15px; height: 15px; }

.carousel { max-width: 600px; margin-inline: auto; }
.carousel-row { display: flex; align-items: center; gap: 8px; }
.carousel-viewport { flex: 1 1 auto; min-width: 0; overflow: hidden; border-radius: var(--radius-lg); }
.carousel-track {
  display: flex; list-style: none; margin: 0; padding: 0;
  transition: transform .45s ease;
}
.t-card {
  flex: 0 0 100%; box-sizing: border-box;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px; min-height: 240px;
  display: flex; flex-direction: column; justify-content: center;
}

.t-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.t-avatar {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: .84rem; letter-spacing: .01em;
}
.t-avatar-1 { background: var(--brand-700); }
.t-avatar-2 { background: #3F8C5F; }
.t-avatar-3 { background: #7A5CB8; }
.t-avatar-4 { background: var(--brand-900); }

.t-name { margin: 0; font-weight: 700; font-size: .96rem; color: var(--ink); line-height: 1.3; }
.t-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 3px; }
.t-source { font-size: .82rem; color: var(--muted); }

.t-body { margin: 0; font-size: .98rem; line-height: 1.6; color: var(--ink); }

.carousel-btn {
  width: 40px; height: 40px; padding: 0; flex: none;
  display: grid; place-items: center;
  background: #fff; color: var(--brand-700);
  border: 1px solid var(--line); border-radius: 50%; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.carousel-btn:hover { background: var(--brand-700); color: #fff; border-color: var(--brand-700); }
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-dots { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; }
.carousel-dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 5px;
  background: var(--line); cursor: pointer;
  transition: width .2s ease, background-color .2s ease;
}
.carousel-dot[aria-selected="true"] { width: 22px; background: var(--brand-700); }

/* --------------------------------------------------------------- social -- */
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-links .ico { width: 1.2em; height: 1.2em; }

/* -------------------------------------------------------------- contact -- */
.contact-grid { display: grid; gap: 30px; }
@media (min-width: 920px) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 44px; } }

.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 22px; box-shadow: var(--shadow-sm);
}
@media (min-width: 700px) { .contact-form { padding: 34px 32px; } }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field { margin-bottom: 18px; }
.field-row { display: grid; gap: 0; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; gap: 18px; } }

label { display: block; font-weight: 650; font-size: .93rem; margin-bottom: 6px; }
.req { color: #A32020; }

input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; background: #fff;
  border: 1px solid #C3CFD8; border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { resize: vertical; min-height: 120px; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%234C5D6A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
  padding-right: 40px;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--brand-700);
  box-shadow: 0 0 0 3px rgba(15, 85, 128, .18);
}
.field.has-error input, .field.has-error select { border-color: #A32020; }
.field.has-error input:focus { box-shadow: 0 0 0 3px rgba(163, 32, 32, .18); }

.checkbox-field { border: 0; padding: 0; margin: 0 0 18px; }
.checkbox-field legend { display: block; font-weight: 650; font-size: .93rem; margin-bottom: 6px; padding: 0; }
.checkbox-grid {
  display: grid; gap: 8px; grid-template-columns: 1fr;
  padding: 14px; border: 1px solid #C3CFD8; border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
@media (min-width: 560px) { .checkbox-grid { grid-template-columns: 1fr 1fr; gap: 6px 16px; } }
.checkbox-field.has-error .checkbox-grid { border-color: #A32020; }
.checkbox-option {
  display: flex; align-items: center; gap: 9px;
  font-weight: 500; font-size: .95rem; margin: 0; cursor: pointer;
}
.checkbox-option input { width: 17px; height: 17px; flex: none; accent-color: var(--brand-700); }

.field-error { margin: 6px 0 0; font-size: .87rem; color: #A32020; font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }

.form-note { margin: 14px 0 0; font-size: .87rem; color: var(--muted); text-align: center; }

.contact-aside { display: grid; gap: 18px; align-content: start; }
.contact-card {
  background: var(--brand-50); border: 1px solid var(--brand-100);
  border-radius: var(--radius-lg); padding: 24px 22px;
}
.contact-card h3 { margin-bottom: .5rem; color: var(--brand-800); }
.contact-card p { color: var(--muted); font-size: .95rem; }
.contact-card-quiet { background: var(--sand); border-color: var(--line); }

.phone-big {
  display: inline-block; font-size: clamp(1.6rem, 4.5vw, 2rem); font-weight: 800;
  letter-spacing: -.01em; color: var(--brand-800); text-decoration: none; line-height: 1.2;
}
.phone-big:hover { color: var(--brand-600); text-decoration: underline; }
.contact-hours { margin: 4px 0 8px; }
.contact-email { margin: 0 0 16px; }
.contact-email a { font-weight: 650; color: var(--brand-700); }

.area-list {
  list-style: none; margin: 0 0 12px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 7px;
}
.area-list li {
  background: #fff; border: 1px solid var(--brand-100); border-radius: 999px;
  padding: 4px 12px; font-size: .84rem; font-weight: 600; color: var(--brand-800);
}
.contact-small { font-size: .88rem !important; margin: 0 !important; }

/* --------------------------------------------------------------- footer -- */
.site-footer { background: var(--brand-900); color: #DCEAF4; padding-top: 48px; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 34px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1.4fr; gap: 44px; } }

.footer-logo {
  width: 100%; max-width: 220px; height: auto;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  margin: 0 auto 20px; display: block;
}

.footer-info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-info-list li { display: flex; align-items: center; gap: 10px; }
.footer-info-list svg { width: 19px; height: 19px; flex: none; color: #8FC4E4; }
.footer-info-list a { font-weight: 650; }
.footer-info-list span { color: #DCEAF4; }

.site-footer h2 {
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #8FC4E4; margin-bottom: .9rem;
}
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.site-footer a { color: #DCEAF4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-area { font-size: .88rem; color: #A9C7DA; }
.footer-social { display: flex; gap: 16px; font-weight: 650; margin-top: 14px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-block: 20px; }
.footer-bottom p { margin: 0; font-size: .85rem; color: #8FAEC3; }

/* ------------------------------------------------------------- lightbox -- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6, 22, 34, .95);
  display: grid; place-items: center;
  padding: 56px 16px 76px;
}
.lightbox[hidden] { display: none; }

.lb-figure { margin: 0; display: grid; gap: 14px; justify-items: center; max-width: 100%; }
#lbImage {
  max-width: min(1200px, 100%); max-height: calc(100vh - 170px);
  width: auto; object-fit: contain;
  border-radius: 6px; background: #0d2233;
}
.lb-figure figcaption {
  color: #DCEAF4; font-size: .92rem; text-align: center; max-width: 70ch;
}
.lb-count { color: #8FAEC3; white-space: nowrap; }

.lb-btn {
  position: absolute; z-index: 2;
  display: grid; place-items: center;
  width: 48px; height: 48px; padding: 0;
  background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.32); border-radius: 50%;
  cursor: pointer; transition: background-color .15s ease;
}
.lb-btn:hover { background: rgba(255,255,255,.26); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (min-width: 800px) {
  .lb-prev { left: 26px; }
  .lb-next { right: 26px; }
  .lb-btn { width: 54px; height: 54px; }
}

body.lb-open { overflow: hidden; }

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