/* ==========================================================================
   Groupe Morand — Design System
   ========================================================================== */

:root {
  /* Colors — Groupe Morand brand palette */
  --color-ink: #0d2b33;
  --color-ink-soft: #234450;
  --color-bg: #f7fafb;
  --color-surface: #ffffff;
  --color-border: #dde8ea;
  --color-primary: #0094aa;       /* brand blue */
  --color-primary-dark: #00758a;
  --color-primary-light: #e0f4f7;
  --color-accent: #ed7309;        /* brand orange */
  --color-accent-dark: #c95f06;
  --color-accent-light: #fde9d8;
  --color-highlight: #fff042;     /* brand yellow — sparing use (promo/badge) */
  --color-muted: #5c7680;
  --color-success: #2f7d4f;

  /* Typography */
  --font-heading: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Spacing / layout */
  --container-w: 1180px;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(27, 32, 39, 0.06), 0 1px 3px rgba(27, 32, 39, 0.08);
  --shadow-md: 0 8px 24px rgba(27, 32, 39, 0.1);
  --shadow-lg: 0 20px 48px rgba(27, 32, 39, 0.16);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}
.section--tight { padding: 56px 0; }
.section--surface { background: var(--color-surface); }
.section--ink {
  background: var(--color-ink);
  color: #fff;
}
.section--ink .eyebrow { color: var(--color-primary-light); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--color-primary-dark); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: inherit;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-outline {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-ink);
}
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 104px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-ink);
  flex-shrink: 0;
}
.brand img { height: 80px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 8px;
  white-space: nowrap;
}
.main-nav > li > a:hover { background: rgba(27,32,39,0.05); }
.main-nav .has-sub > a::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 8px;
  opacity: 0.6;
}
.sub-nav {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 260px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.15s ease;
}
.has-sub:hover .sub-nav,
.has-sub:focus-within .sub-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sub-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
}
.sub-nav a:hover { background: var(--color-primary-light); color: var(--color-primary-dark); }

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-toggle { display: none; }
.header-cta .short-only { display: none; }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 44px; height: 44px;
    border-radius: 8px; border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-ink);
  }
  .header-cta .btn-primary span.long { display: none; }
  .header-cta .btn-primary span.short-only { display: inline; }
}

@media (max-width: 480px) {
  /* Frees up space so Devis + the menu button fit without overflowing the
     screen — Configurateur Kostum stays one tap away in the mobile drawer. */
  .header-cta a.btn-outline { display: none; }
}

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0;
  background: var(--color-ink);
  color: #fff;
  z-index: 200;
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.mobile-nav-close { width: 40px; height: 40px; border-radius: 8px; border: 1px solid rgba(255,255,255,.25); background: transparent; color:#fff; font-size: 1.2rem; }
.mobile-nav details { border-bottom: 1px solid rgba(255,255,255,0.12); padding: 4px 0; }
.mobile-nav summary { padding: 14px 4px; font-family: var(--font-heading); font-weight: 600; cursor: pointer; }
.mobile-nav ul { padding: 0 4px 14px 12px; }
.mobile-nav ul li a { display:block; padding: 8px 0; color: rgba(255,255,255,0.75); }
.mobile-nav > a.top-link { display:block; padding: 14px 4px; font-family: var(--font-heading); font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.12);}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  min-height: 640px;
  background: linear-gradient(135deg, #232a33 0%, #1b2027 60%);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 640px; }
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: 20px; }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,0.85); max-width: 540px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* ---------- Hero slider (rotates hero content with a promo visual) ---------- */
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.8s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.hero-slide--main { display: flex; align-items: center; min-height: 640px; }
.hero-slide--main::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(27,32,39,0.92) 20%, rgba(27,32,39,0.55) 100%);
}
.hero-slide--promo {
  display: flex; align-items: center; justify-content: center;
  background: #1b2027;
}
.hero-slide--promo a { display: block; width: 100%; height: 100%; }
.hero-slide--promo img { width: 100%; height: 100%; object-fit: contain; }
.hero-dots {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 5; display: flex; gap: 8px;
}
.hero-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none; padding: 0; cursor: pointer;
  transition: all 0.2s ease;
}
.hero-dot.is-active { background: #fff; width: 22px; border-radius: 5px; }

/* Blurred backdrop behind the contained promo image so the letterboxing
   reads as an intentional soft background instead of empty black bars.
   (.hero-slide--promo stays position:absolute, inherited from .hero-slide —
   redeclaring position here would knock it out of the slide stack.) */
.hero-slide--promo { overflow: hidden; }
.hero-slide--promo::before {
  content: "";
  position: absolute; inset: -20px;
  background: url('/assets/img/home/slider-automne2026.jpg') center/cover;
  filter: blur(30px) brightness(0.55);
  transform: scale(1.1);
}
.hero-slide--promo a { position: relative; z-index: 1; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.18);
  max-width: 720px;
}
.hero-stats .num { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--color-primary-light); }
.hero-stats .label { font-size: 0.82rem; color: rgba(255,255,255,0.7); }

/* Simple page header (non-home pages) */
.page-hero {
  background: var(--color-ink);
  color: #fff;
  padding: 64px 0 48px;
}
.page-hero .eyebrow { color: var(--color-primary-light); }
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 640px; margin-bottom: 0; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.icon img { width: 28px; height: 28px; object-fit: contain; }
.picto-inline { width: 18px; height: 18px; object-fit: contain; vertical-align: -4px; margin-right: 6px; display: inline-block; }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--color-muted); font-size: 0.95rem; margin-bottom: 0; }
.card a.card-link { display:inline-flex; align-items:center; gap:6px; margin-top:16px; font-weight:600; color: var(--color-primary); font-size:0.9rem; }

/* Card with a photo/logo on top (e.g. "Comment ça marche") */
.card--media { padding: 0; overflow: hidden; }
.card--media .card-media { aspect-ratio: 4/3; overflow: hidden; background: var(--color-primary-light); }
.card--media .card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card--media .card-media--logo { background: #fff; display: flex; align-items: center; justify-content: center; padding: 26px; }
.card--media .card-media--logo img { width: auto; max-width: 62%; height: auto; max-height: 62%; object-fit: contain; }
.card--media .card-body { padding: 24px 28px 28px; }
.card--media .card-body h3 { font-size: 1.15rem; }
.card--media .card-body p { color: var(--color-muted); font-size: 0.95rem; margin-bottom: 0; }

/* Agency / product card with image */
.tile {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}
.tile:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.tile-img { aspect-ratio: 4/3; overflow: hidden; background: var(--color-primary-light); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; }
/* Clean product/technical renders on a white background — show in full, don't crop.
   These source images are small (~200-330px); capped narrow so the browser
   doesn't have to upscale them past their native size and turn them blurry. */
.tile-img--contain { background: #fff; width: 100%; max-width: 260px; margin: 0 auto; }
.tile-img--contain img { object-fit: contain; padding: 10px; }
.tile-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.tile-body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.tile-body .meta { color: var(--color-muted); font-size: 0.88rem; margin-bottom: 14px; }
.tile-body .meta strong { color: var(--color-ink); }
.tile-body .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Split / feature rows ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media { order: 0; }
}
.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.split-media--contain img {
  aspect-ratio: auto;
  max-height: 560px;
  object-fit: contain;
  background: #fff;
  display: block;
  margin: 0 auto;
}
.split-body .eyebrow { margin-bottom: 14px; }
.split-body h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.check-list { margin: 20px 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.98rem; }
.check-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}

/* ---------- Stats bar ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 780px) { .stats-bar { grid-template-columns: repeat(2, 1fr); } }
.stats-bar .num { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; color: var(--color-primary); }
.stats-bar .label { color: var(--color-muted); font-size: 0.9rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 { margin-bottom: 8px; font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.cta-banner p { color: rgba(255,255,255,0.9); margin-bottom: 0; }
.cta-banner .btn-primary { background: #fff; color: var(--color-primary-dark); }
.cta-banner .btn-primary:hover { background: var(--color-ink); color: #fff; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; }
.field .req { color: var(--color-primary); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  padding: 13px 16px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}
.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 560px) { .checkbox-grid { grid-template-columns: 1fr; } }
.checkbox-item { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; }
.checkbox-item input { width: 17px; height: 17px; accent-color: var(--color-primary); }
.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-note { font-size: 0.82rem; color: var(--color-muted); margin-top: 14px; }
.form-success {
  display: none;
  background: #eaf5ef;
  border: 1px solid #bfe3cd;
  color: var(--color-success);
  padding: 18px 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--color-ink); color: rgba(255,255,255,0.75); padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.footer-grid li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-grid a:hover { color: #fff; }
.footer-brand img { height: 44px; margin-bottom: 16px; background: #fff; border-radius: 10px; padding: 6px 10px; }
.footer-brand p { font-size: 0.9rem; max-width: 280px; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--color-primary); border-color: var(--color-primary); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; font-size: 0.82rem; flex-wrap: wrap; gap: 12px;
}
.footer-bottom a:hover { color: #fff; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--color-accent-light); color: var(--color-accent-dark);
  padding: 6px 14px; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
}
.table-wrap { overflow-x: auto; }
table.guarantee-table { width: 100%; border-collapse: collapse; background: var(--color-surface); border-radius: var(--radius); overflow: hidden; }
table.guarantee-table th, table.guarantee-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--color-border); font-size: 0.92rem; }
table.guarantee-table th { background: var(--color-ink); color: #fff; font-family: var(--font-heading); font-weight: 600; }
table.guarantee-table tr:last-child td { border-bottom: none; }

.breadcrumb-wrap { background: var(--color-surface); border-bottom: 1px solid var(--color-border); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--color-primary); color: #fff; padding: 12px 20px; z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

.back-to-top {
  position: fixed; right: 24px; bottom: 24px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--color-ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 90;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Homepage promo banner ---------- */
.promo-banner {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.promo-banner:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.promo-banner img { width: 100%; height: auto; display: block; }

/* ---------- Gallery lightbox ---------- */
.gallery-item { cursor: zoom-in; position: relative; }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(10,15,20,0.08);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; }
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10, 15, 20, 0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s ease;
}
.lightbox-overlay.is-open { opacity: 1; visibility: visible; }
.lightbox-overlay img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: #fff;
  border: none; font-size: 1.5rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }
@media (max-width: 620px) {
  .lightbox-overlay { padding: 16px; }
  .lightbox-close { top: 10px; right: 10px; width: 38px; height: 38px; }
}
