/* =====================================================================
   Sito Vendita Immobili - Avv. Gabriele Piermartini
   Foglio di stile principale
   ===================================================================== */

/* --- Reset minimo --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* --- Variabili --- */
:root {
  --col-bg: #faf8f5;
  --col-bg-alt: #f1ede5;
  --col-text: #1f1d1a;
  --col-text-soft: #5a564f;
  --col-line: #d4cdbf;
  --col-accent: #6b4423;        /* marrone storico - Garibaldi */
  --col-accent-2: #5a6d4a;      /* verde salvia - Sale */
  --col-warning: #a0522d;
  --max-w: 1180px;
  --pad-x: clamp(1.25rem, 4vw, 3rem);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}

/* --- Base --- */
body {
  font-family: var(--sans);
  color: var(--col-text);
  background: var(--col-bg);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--col-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--col-text-soft); }

p { margin-bottom: 1em; }
strong { font-weight: 600; }
em { font-style: italic; }

/* --- Lingua: tutte le lingue non IT nascoste di default --- */
/* !important per vincere su regole component-specific (es. .brand small) */
body [lang="en"],
body [lang="de"],
body [lang="nl"],
body [lang="fr"] { display: none !important; }

body.lang-en [lang="it"], body.lang-en [lang="de"], body.lang-en [lang="nl"], body.lang-en [lang="fr"] { display: none !important; }
body.lang-en [lang="en"] { display: revert !important; }

body.lang-de [lang="it"], body.lang-de [lang="en"], body.lang-de [lang="nl"], body.lang-de [lang="fr"] { display: none !important; }
body.lang-de [lang="de"] { display: revert !important; }

body.lang-nl [lang="it"], body.lang-nl [lang="en"], body.lang-nl [lang="de"], body.lang-nl [lang="fr"] { display: none !important; }
body.lang-nl [lang="nl"] { display: revert !important; }

body.lang-fr [lang="it"], body.lang-fr [lang="en"], body.lang-fr [lang="de"], body.lang-fr [lang="nl"] { display: none !important; }
body.lang-fr [lang="fr"] { display: revert !important; }

/* --- Layout --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

section { padding: clamp(3rem, 7vw, 5rem) 0; }

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--col-line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 1rem;
}
.brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--col-text-soft);
  margin-top: 2px;
  font-weight: 500;
  white-space: nowrap;
}
.nav-main {
  display: flex;
  gap: clamp(0.75rem, 2.5vw, 2rem);
  align-items: center;
  font-size: 0.9rem;
}
.nav-main a {
  color: var(--col-text-soft);
  transition: color 0.15s ease;
}
.nav-main a:hover, .nav-main a.is-active { color: var(--col-text); }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--col-line);
  border-radius: 999px;
  padding: 2px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.lang-switch button {
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--col-text-soft);
  transition: all 0.15s ease;
}
.lang-switch button.is-active {
  background: var(--col-text);
  color: var(--col-bg);
}

/* --- Hero --- */
.hero {
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(2rem, 5vw, 4rem);
  border-bottom: 1px solid var(--col-line);
}
.hero .eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--col-text-soft);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero h1 { max-width: 18ch; }
.hero p.lede {
  max-width: 60ch;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--col-text-soft);
  margin-top: 1.5rem;
}

/* --- Property cards (homepage) --- */
.props-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (min-width: 760px) {
  .props-grid { grid-template-columns: 1fr 1fr; }
}
.prop-card {
  background: var(--col-bg-alt);
  border: 1px solid var(--col-line);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.prop-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.prop-card .img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #c9b896 0%, #8b6f47 100%);
  position: relative;
}
.prop-card[data-prop="sale"] .img-wrap {
  background: linear-gradient(135deg, #b5b89a 0%, #6b7a55 100%);
}
.prop-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prop-card .img-wrap .placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.prop-card .body {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.prop-card .loc {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--col-text-soft);
  margin-bottom: 0.5rem;
}
.prop-card h3 { margin-bottom: 0.75rem; }
.prop-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin: 1rem 0 1.25rem;
  font-size: 0.88rem;
  color: var(--col-text-soft);
  border-top: 1px solid var(--col-line);
  padding-top: 1rem;
}
.prop-card .meta span strong { color: var(--col-text); display: block; font-size: 1rem; font-weight: 500; }
.prop-card .cta {
  margin-top: auto;
  padding-top: 1rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--col-text);
  background: var(--col-text);
  color: var(--col-bg);
  transition: all 0.15s ease;
}
.btn:hover { background: transparent; color: var(--col-text); }
.btn.btn-ghost { background: transparent; color: var(--col-text); }
.btn.btn-ghost:hover { background: var(--col-text); color: var(--col-bg); }
.btn.btn-accent {
  background: var(--col-accent);
  border-color: var(--col-accent);
  color: var(--col-bg);
}
.btn.btn-accent:hover { background: transparent; color: var(--col-accent); }

/* --- Detail page hero --- */
.detail-hero {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.detail-hero .breadcrumb {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--col-text-soft);
  margin-bottom: 1.5rem;
}
.detail-hero .breadcrumb a:hover { color: var(--col-text); }
.detail-hero h1 { max-width: 22ch; }
.detail-hero .subtitle {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  color: var(--col-text-soft);
  margin-top: 1rem;
  max-width: 60ch;
}

/* --- Video CTA (anteprima cliccabile che apre YouTube) --- */
.video-cta {
  display: block;
  margin: clamp(2rem, 4vw, 3rem) 0;
  background: #000;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--col-line);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease;
}
.video-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.18);
}
.video-cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition: opacity 0.25s ease, transform 6s ease;
}
.video-cta:hover img { opacity: 0.9; transform: scale(1.02); }
.video-cta-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.5) 100%);
  padding: 2rem;
}
.play-icon {
  width: clamp(80px, 12vw, 120px);
  height: clamp(80px, 12vw, 120px);
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--col-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
  padding-left: 0.4em;
  box-shadow: 0 6px 30px rgba(0,0,0,0.4);
  transition: transform 0.25s ease, background 0.25s ease;
}
.video-cta:hover .play-icon {
  transform: scale(1.08);
  background: #fff;
}
.video-cta-label {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  margin-bottom: 0.4rem;
}
.video-cta-hint {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 0.55rem 1.25rem;
  margin-top: 0.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, color 0.2s ease;
}
.video-cta:hover .video-cta-hint {
  background: #fff;
  color: var(--col-text);
}

/* --- Hero gallery / video --- */
.media-block {
  margin: clamp(2rem, 4vw, 3rem) 0;
  background: var(--col-bg-alt);
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--col-line);
}
.media-block iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.media-block .media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--col-text-soft);
  background: linear-gradient(135deg, #d8cab0 0%, #8b6f47 100%);
  color: rgba(255,255,255,0.9);
  font-family: var(--serif);
  text-align: center;
  padding: 2rem;
}
.media-block .media-placeholder.sale-bg {
  background: linear-gradient(135deg, #c8cda8 0%, #6b7a55 100%);
}
.media-block .media-placeholder span.lbl {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  opacity: 0.85;
  font-family: var(--sans);
}

/* --- Two-column content --- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1.4fr 1fr; }
  .split.flip { grid-template-columns: 1fr 1.4fr; }
}

/* --- Description / features --- */
.desc h2 { margin-bottom: 1.25rem; }
.desc p {
  font-size: 1.05rem;
  color: #34322d;
  max-width: 64ch;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  text-justify: inter-word;
}
.desc p + p { margin-top: 1em; }

/* --- Giustificazione anche per testi narrativi lunghi (eccetto su mobile) --- */
.hero p.lede,
.contact-block .lede,
section > .container > div > .desc p,
section > .container > .desc p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  text-justify: inter-word;
}

/* --- Su mobile (< 600 px) torna ad allineamento sinistro per leggibilità --- */
@media (max-width: 600px) {
  .desc p,
  .hero p.lede,
  .contact-block .lede,
  section > .container > .desc p {
    text-align: left;
    hyphens: none;
  }
}
.desc .pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--col-accent);
  border-left: 2px solid var(--col-accent);
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin: 2rem 0;
  max-width: 50ch;
  line-height: 1.4;
}
.sale-page .desc .pull-quote { color: var(--col-accent-2); border-color: var(--col-accent-2); }

/* --- Spec sheet (data side) --- */
.spec-sheet {
  background: var(--col-bg-alt);
  border: 1px solid var(--col-line);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  position: sticky;
  top: 88px;
}
.spec-sheet h3 {
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--col-line);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--col-text-soft);
}
.spec-sheet dl { display: grid; grid-template-columns: 1fr; gap: 0.75rem 1rem; }
.spec-sheet dt {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--col-text-soft);
  font-weight: 500;
}
.spec-sheet dd {
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
  color: var(--col-text);
}
.spec-sheet dd strong { font-weight: 600; }
.spec-sheet .price-block {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--col-line);
}
.spec-sheet .price-block .price {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--col-text);
  line-height: 1;
}
.spec-sheet .price-block .price-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--col-text-soft);
  margin-bottom: 0.4rem;
}
.spec-sheet .ape-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.7rem;
  background: var(--col-bg);
  border: 1px solid var(--col-line);
  font-size: 0.78rem;
  margin-top: 0.25rem;
}
.spec-sheet .ape-badge .grade {
  display: inline-block;
  width: 22px;
  height: 22px;
  text-align: center;
  line-height: 22px;
  font-weight: 700;
  border-radius: 3px;
  background: #f3a93a;
  color: #fff;
  font-size: 0.78rem;
}
.spec-sheet .ape-badge .grade.g { background: #c83232; }
.spec-sheet .ape-badge .grade.na { background: #888; font-size: 0.68rem; }

/* --- Features grid --- */
.features {
  background: var(--col-bg-alt);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--col-line);
  border-bottom: 1px solid var(--col-line);
}
.features h2 { margin-bottom: 2rem; }
.feat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 2rem;
}
@media (min-width: 600px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr 1fr; } }
.feat-item {
  border-top: 1px solid var(--col-line);
  padding-top: 1rem;
}
.feat-item h4 {
  color: var(--col-accent);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.sale-page .feat-item h4 { color: var(--col-accent-2); }
.feat-item p { font-size: 0.95rem; color: var(--col-text-soft); margin: 0; }

/* --- Documents --- */
.docs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 600px) { .docs { grid-template-columns: 1fr 1fr; } }
.doc-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--col-line);
  background: var(--col-bg);
  transition: background 0.15s ease;
}
.doc-link:hover { background: var(--col-bg-alt); }
.doc-link .doc-ico {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: var(--col-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}
.sale-page .doc-link .doc-ico { background: var(--col-accent-2); }
.doc-link .doc-meta { font-size: 0.78rem; color: var(--col-text-soft); }
.doc-link .doc-name { font-weight: 500; color: var(--col-text); margin-bottom: 0.15rem; }

/* --- Contact form --- */
.contact-block {
  background: var(--col-text);
  color: var(--col-bg);
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}
.contact-block h2 { color: var(--col-bg); }
.contact-block .lede { color: rgba(250,248,245,0.75); max-width: 60ch; }
.contact-block .container > .split {
  margin-top: 2.5rem;
}
.contact-block label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,248,245,0.7);
  margin-bottom: 0.4rem;
  font-weight: 500;
}
.contact-block input,
.contact-block select,
.contact-block textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--col-bg);
  font-family: var(--sans);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  border-radius: 0;
}
.contact-block input:focus,
.contact-block select:focus,
.contact-block textarea:focus {
  outline: none;
  border-color: var(--col-bg);
  background: rgba(255,255,255,0.1);
}
.contact-block textarea { min-height: 120px; resize: vertical; }
.contact-block .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 1rem;
}
@media (min-width: 600px) { .contact-block .form-row { grid-template-columns: 1fr 1fr; } }
.contact-block .btn {
  background: var(--col-bg);
  color: var(--col-text);
  border-color: var(--col-bg);
}
.contact-block .btn:hover { background: transparent; color: var(--col-bg); }
.contact-block .privacy-note {
  font-size: 0.78rem;
  color: rgba(250,248,245,0.55);
  margin-top: 1rem;
  line-height: 1.5;
}
.contact-block .privacy-note a { text-decoration: underline; }

.contact-info {
  border-left: 1px solid rgba(255,255,255,0.18);
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
}
@media (max-width: 859px) {
  .contact-info { border-left: none; border-top: 1px solid rgba(255,255,255,0.18); padding-left: 0; padding-top: 1.5rem; margin-top: 1.5rem; }
}
.contact-info h4 { color: rgba(250,248,245,0.7); margin-bottom: 1rem; }
.contact-info .info-line {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}
.contact-info .info-line a:hover { text-decoration: underline; }
.contact-info p { font-size: 0.88rem; color: rgba(250,248,245,0.7); }

/* --- Footer --- */
.site-footer {
  background: var(--col-bg-alt);
  padding: 2.5rem 0;
  border-top: 1px solid var(--col-line);
  font-size: 0.85rem;
  color: var(--col-text-soft);
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: baseline;
}
.site-footer a:hover { color: var(--col-text); }

/* --- Notice bar --- */
.notice {
  background: #fef6e6;
  border-bottom: 1px solid #e6d4a8;
  padding: 0.6rem 0;
  font-size: 0.83rem;
  color: #6b5419;
}
.notice .container { display: flex; gap: 0.5rem; align-items: center; }
.notice strong { color: #4a3a0d; }

/* --- Gallery --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin: clamp(1rem, 2vw, 1.5rem) 0 clamp(2rem, 4vw, 3rem);
}
@media (min-width: 600px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); } }

.gallery-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
  background: var(--col-bg-alt);
  border: 1px solid var(--col-line);
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item.feature {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 4 / 3;
}
.gallery-item.feature img {
  object-position: center top;
}

/* --- Lightbox modal --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 13, 10, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-family: var(--serif);
  cursor: pointer;
  transition: background 0.15s ease;
  border: 1px solid rgba(255,255,255,0.2);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

/* --- Utilities --- */
.text-soft { color: var(--col-text-soft); }
.mt-3 { margin-top: 3rem; }
.divider { height: 1px; background: var(--col-line); border: 0; margin: 2.5rem 0; }
