/* ============================================================
   Sant'Andrea Immobiliare — Custom CSS
   Override Bootstrap 5 + stile luxury
   ============================================================ */

@import url('../fonts/fonts.css');

:root {
  --sa-green:        #1a3a2a;
  --sa-green-light:  #2d5a3d;
  --sa-green-pale:   #e8f0eb;
  --sa-cream:        #f8f4ef;
  --sa-gold:         #c9a96e;
  --sa-gold-light:   #e8d5b0;
  --sa-dark:         #1a1a1a;
  --sa-text:         #3a3a3a;
  --sa-muted:        #7a7a7a;
  --sa-border:       #e2ddd8;
  --bs-body-font-family: 'Inter', sans-serif;
  --bs-body-color:   var(--sa-text);
  --bs-primary:      var(--sa-green);
  --bs-primary-rgb:  26, 58, 42;
}

/* ---- Base ---- */
body { background-color: #fff; color: var(--sa-text); }
h1, h2, h3, h4, .font-serif { font-family: 'Playfair Display', serif; }
a { color: var(--sa-green); }
a:hover { color: var(--sa-green-light); }


/* ---- Admin bar (sito pubblico, solo loggati) ---- */
.admin-bar {
  background: #1a1a1a;
  color: rgba(255,255,255,.75);
  font-size: .72rem;
  letter-spacing: .04em;
  padding: 0 1rem;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 2000;
}
.admin-bar a,
.admin-bar button {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  font-size: .72rem;
  cursor: pointer;
  letter-spacing: .04em;
}
.admin-bar a:hover,
.admin-bar button:hover { color: #fff; }
.admin-bar-left { display: flex; align-items: center; gap: .5rem; }
.admin-bar-right { display: flex; align-items: center; gap: .5rem; }
.admin-bar-sep { color: rgba(255,255,255,.25); }
.admin-bar-status { font-size: .65rem; padding: .1rem .4rem; border-radius: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.admin-bar-status--published { background: #1a4731; color: #6fcf97; }
.admin-bar-status--draft     { background: #4a3800; color: #f2c94c; }

/* ---- Navbar ---- */
.navbar-sa {
  background-color: #fff;
  border-bottom: 1px solid var(--sa-border);
  padding: .9rem 0;
}
.navbar-sa .navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sa-green);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.navbar-sa .nav-link {
  color: var(--sa-text);
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 500;
}
.navbar-sa .nav-link:hover { color: var(--sa-green); }
.btn-brochure {
  background-color: var(--sa-green);
  color: #fff !important;
  font-size: .8rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-radius: 0;
  padding: .5rem 1.2rem;
}
.btn-brochure:hover { background-color: var(--sa-green-light); }

/* ---- Hero ---- */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  background-color: var(--sa-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .7;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,25,18,.85) 0%, rgba(10,25,18,.3) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 1.25rem 4rem;
}
.hero-location {
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sa-gold-light);
  font-weight: 500;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: #fff;
  line-height: 1.1;
}
.hero-tagline {
  color: rgba(255,255,255,.8);
  font-size: 1rem;
  font-weight: 300;
  max-width: 520px;
}
.btn-sa-outline-white {
  border: 1px solid rgba(255,255,255,.6);
  color: #fff;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 0;
  padding: .6rem 1.6rem;
  background: transparent;
}
.btn-sa-outline-white:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
}

/* ---- Splide: no overflow orizzontale ---- */
.splide { overflow: hidden; }

/* ---- Highlights strip ---- */
.highlights-strip {
  background-color: var(--sa-cream);
  border-top: 3px solid var(--sa-gold);
}
.highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--sa-border);
}
.highlight-item:last-child { border-right: none; }
.highlight-icon {
  width: 36px;
  height: 36px;
  color: var(--sa-green);
  margin-bottom: .6rem;
  overflow: hidden;
}
.highlight-icon svg { width: 100%; height: 100%; display: block; fill: currentColor; stroke: currentColor; }
.highlight-value {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--sa-dark);
  line-height: 1.2;
}
.highlight-label {
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sa-muted);
  margin-top: .2rem;
}

/* ---- Sezione generica ---- */
.section-label {
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sa-gold);
  font-weight: 600;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--sa-dark);
}
.section-bg-cream { background-color: var(--sa-cream); }
.section-bg-green { background-color: var(--sa-green); }
.divider-gold {
  width: 48px;
  height: 2px;
  background: var(--sa-gold);
  margin: 1rem 0 1.5rem;
}

/* ---- Gallery float (sezione La Proprietà) ---- */
.prop-gallery-float {
  float: right;
  width: 55%;
  margin: 0 0 1.5rem 2.5rem;
}
@media (max-width: 991px) {
  .prop-gallery-float {
    float: none;
    width: 100%;
    margin: 0 0 1.5rem 0;
  }
}

/* ---- Altezze immagini gallery ---- */
.gallery-img-main {
  height: 300px;
  object-fit: cover;
  width: 100%;
}
.gallery-img-thumb {
  height: 120px;
  object-fit: cover;
  width: 100%;
}
@media (max-width: 575px) {
  .gallery-img-main  { height: 220px; }
  .gallery-img-thumb { height: 90px; }
}

/* ---- Gallery grid ---- */
.gallery-grid img {
  object-fit: cover;
  width: 100%;
  cursor: pointer;
  transition: transform .3s ease;
}
.gallery-grid img:hover { transform: scale(1.03); }

/* ---- Checklist ---- */
.sa-checklist { list-style: none; padding: 0; }
.sa-checklist li {
  padding: .35rem 0;
  padding-left: 1.6rem;
  position: relative;
  font-size: .9rem;
  border-bottom: 1px solid var(--sa-border);
}
.sa-checklist li:last-child { border-bottom: none; }
.sa-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55rem;
  width: 10px;
  height: 10px;
  border: 2px solid var(--sa-gold);
  border-radius: 50%;
}

/* ---- Card planimetria ---- */
.floor-plan-card img {
  object-fit: contain;
  background: var(--sa-cream);
  border: 1px solid var(--sa-border);
}

/* ---- Brochure card ---- */
.brochure-card {
  border: 1px solid var(--sa-border);
  background: #fff;
  padding: 1.5rem;
  text-align: center;
}
.brochure-thumb {
  width: 80px;
  opacity: .5;
  margin-bottom: 1rem;
}

/* ---- Form contatto ---- */
.contact-section {
  background-color: var(--sa-green);
  color: #fff;
}
.contact-section .form-control,
.contact-section .form-control:focus {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
  color: #fff;
  border-radius: 0;
}
.contact-section .form-control::placeholder { color: rgba(255,255,255,.5); }
.contact-section .form-control:focus {
  box-shadow: none;
  border-color: var(--sa-gold);
}
.contact-section label { color: rgba(255,255,255,.75); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.btn-contact-submit {
  background-color: var(--sa-gold);
  color: var(--sa-dark);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 0;
  border: none;
  padding: .75rem 2.5rem;
}
.btn-contact-submit:hover { background-color: var(--sa-gold-light); }

/* ---- Footer ---- */
.site-footer {
  background-color: var(--sa-dark);
  color: rgba(255,255,255,.6);
  font-size: .8rem;
}
.site-footer .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-footer a { color: rgba(255,255,255,.6); }
.site-footer a:hover { color: var(--sa-gold); }

/* ---- Homepage card immobile ---- */
.property-card {
  border: none !important;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .3s;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.property-card:hover { box-shadow: 0 10px 36px rgba(0,0,0,.14); }
.property-card > a {
  display: block;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}
.property-card:hover > a img { transform: scale(1.04); }
.property-card .card-img-top {
  height: 240px;
  object-fit: cover;
  border-radius: 0;
  transition: transform .4s ease;
}
.property-card .card-body { background: #fff; padding: 1.4rem; }
.property-card .prop-location {
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--sa-gold);
  font-weight: 600;
}
.property-card .prop-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--sa-dark);
}
.btn-sa-primary {
  background-color: var(--sa-green);
  color: #fff;
  border-radius: 0;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .55rem 1.4rem;
  border: none;
}
.btn-sa-primary:hover { background-color: var(--sa-green-light); color: #fff; }

/* ---- Cancellazione differita immagini/planimetrie ---- */
.image-item .delete-overlay,
.floorplan-item .delete-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(180,0,0,.65);
  color: #fff;
  font-size: .7rem;
  font-weight: 600;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  letter-spacing: .04em;
  pointer-events: none;
}
.pending-delete img { opacity: .25; }
.pending-delete .delete-overlay { display: flex; }
.pending-delete .btn-mark-delete { background: #6c757d !important; border-color: #6c757d !important; }

/* ---- Admin ---- */
.admin-sidebar {
  background-color: var(--sa-green);
  min-height: 100vh;
  width: 240px;
  transition: transform .25s ease;
}
@media (min-width: 992px) {
  .admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    align-self: flex-start;
  }
}
.admin-sidebar .nav-link {
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  padding: .6rem 1.2rem;
  border-radius: 4px;
}
.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active { color: #fff; background: rgba(255,255,255,.12); }
.admin-sidebar .brand {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: .9rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.btn-close-sidebar {
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 .2rem;
}
.btn-close-sidebar:hover { color: #fff; }

/* Mobile: sidebar off-canvas */
@media (max-width: 991.98px) {
  .admin-sidebar {
    position: fixed;
    top: 0; left: 0;
    height: 100%;
    z-index: 1050;
    transform: translateX(-100%);
    width: 260px;
  }
  .admin-sidebar.is-open { transform: translateX(0); }
  .admin-main { width: 100%; min-width: 0; }

  /* Tabelle scrollabili orizzontalmente */
  .card .table-responsive-wrapper,
  .card > .card-body { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Bottoni azione tabella: meno padding */
  .admin-btn { padding: .25rem .5rem !important; font-size: .7rem !important; }

  /* Form: padding ridotto */
  .p-3.p-lg-4 { padding: .85rem !important; }
}

/* Overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1040;
}
.sidebar-overlay.is-visible { display: block; }

/* Hamburger */
.admin-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.admin-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--sa-green);
  border-radius: 2px;
}

.admin-main { flex: 1; background: #f4f4f4; min-height: 100vh; }
.admin-topbar {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: .75rem 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
.icon-picker-grid .icon-item {
  cursor: pointer;
  padding: .6rem;
  border: 2px solid transparent;
  border-radius: 4px;
  text-align: center;
  transition: border-color .2s;
}
.icon-picker-grid .icon-item:hover { border-color: var(--sa-green-pale); }
.icon-picker-grid .icon-item.selected { border-color: var(--sa-green); background: var(--sa-green-pale); }
.icon-picker-grid .icon-item svg { width: 32px; height: 32px; fill: var(--sa-green); stroke: var(--sa-green); display: block; margin: 0 auto .3rem; overflow: hidden; }
/* Admin — anteprima icona nei form (highlight row, icon library) */
.icon-preview { overflow: hidden; }
.icon-preview svg { width: 100%; height: 100%; display: block; fill: currentColor; stroke: currentColor; }
.icon-picker-grid .icon-item small { font-size: .65rem; color: var(--sa-muted); }

/* ---- Admin bottoni azioni tabella ---- */
.admin-btn {
  border-radius: 0 !important;
  font-size: .75rem !important;
  padding: .3rem .75rem !important;
  line-height: 1 !important;
  white-space: nowrap;
  display: inline-flex !important;
  align-items: center !important;
}

/* ---- Outline sa-green ---- */
.btn-sa-outline {
  background: transparent;
  border: 1px solid var(--sa-green);
  color: var(--sa-green);
  border-radius: 0;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .55rem 1.2rem;
  display: inline-flex;
  align-items: center;
}
.btn-sa-outline:hover { background: var(--sa-green); color: #fff; }

/* ---- Danger sa-theme ---- */
.btn-sa-danger {
  background: transparent;
  border: 1px solid #c0392b;
  color: #c0392b;
  border-radius: 0;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .55rem 1.2rem;
  display: inline-flex;
  align-items: center;
}
.btn-sa-danger:hover { background: #c0392b; color: #fff; }

/* ---- Fixed save bar (edit/create immobile) ---- */
.admin-save-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  padding: .75rem 1.5rem;
  z-index: 200;
  display: flex;
  justify-content: flex-end;
  gap: .75rem;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0,0,0,.06);
}
@media (min-width: 992px) {
  .admin-save-bar { left: 240px; }
}
@media (max-width: 639px) {
  .admin-save-bar {
    flex-wrap: wrap;
    padding: .5rem .75rem;
    gap: .5rem;
    align-items: center;
  }
  /* La pill scivola su una seconda riga a larghezza piena */
  .swipe-delete {
    width: 100%;
    order: 10;
    height: 36px;
  }
  /* Il toast su mobile non usa margin-right:auto per non spingere i btn */
  .admin-save-msg {
    order: -1;
    width: 100%;
    margin-right: 0;
  }
}
/* Padding-bottom del form per accomodare la save bar
   (più alta su mobile perché la pill va su una seconda riga) */
.admin-form-wrap { padding-bottom: 72px; }
@media (max-width: 639px) {
  .admin-form-wrap { padding-bottom: 108px; }
}

/* Messaggio "Salvato!" (sinistra della save bar) */
.admin-save-msg {
  font-size: .82rem;
  color: #27ae60;
  font-weight: 600;
  letter-spacing: .03em;
  margin-right: auto;
  flex-shrink: 1;
  padding: 0 .25rem;
}

/* ---- Swipe-to-delete (pill redesign) ---- */
.swipe-delete {
  position: relative;
  width: 210px;
  height: 38px;
  background: #efefef;
  border: 1px solid #ddd;
  border-radius: 9999px;
  overflow: hidden;
  flex-shrink: 0;
  user-select: none;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.09);
}
.swipe-delete__fill {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 0;
  background: #e74c3c;
  pointer-events: none;
  transition: background .25s ease;
}
.swipe-delete__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 5px;
  font-size: .65rem;
  color: #b5b5b5;
  letter-spacing: .07em;
  text-transform: uppercase;
  pointer-events: none;
  white-space: nowrap;
  transition: color .25s ease;
}
.swipe-delete.unlocked .swipe-delete__label { color: rgba(255,255,255,.75); }
.swipe-delete__handle {
  position: absolute;
  right: 3px;
  top: 3px;
  bottom: 3px;
  width: 32px;
  border-radius: 9999px;
  background: #e74c3c;
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  touch-action: none;
  box-shadow: 0 2px 7px rgba(192,57,43,.55);
  z-index: 1;
  transition: background .25s ease, box-shadow .25s ease;
}
.swipe-delete__handle:active { cursor: grabbing; }
.swipe-delete.unlocked .swipe-delete__fill { background: #27ae60; }
.swipe-delete.unlocked .swipe-delete__handle {
  background: #27ae60;
  box-shadow: 0 2px 7px rgba(39,174,96,.55);
}

/* ---- Descrizione immobile (CKEditor output) ---- */
.prop-description {
  font-size: .97rem;
  line-height: 1.85;
  color: var(--sa-text);
}
.prop-description p {
  margin-bottom: 1.1rem;
}
.prop-description h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--sa-dark);
  margin: 2rem 0 .3rem;
}
.prop-description hr {
  border: none;
  border-top: 1px solid var(--sa-border);
  margin: 0 0 1rem;
  clear: none;
}
.prop-description h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--sa-dark);
  margin: 1.6rem 0 .5rem;
}
.prop-description strong { color: var(--sa-dark); font-weight: 600; }
.prop-description em { color: var(--sa-muted); }
.prop-description ul,
.prop-description ol {
  padding-left: 0;
  margin-bottom: 1.1rem;
  list-style: none;
}
.prop-description ul li,
.prop-description ol li {
  padding: .3rem 0 .3rem 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--sa-border);
  font-size: .92rem;
}
.prop-description ul li:last-child,
.prop-description ol li:last-child { border-bottom: none; }
.prop-description ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .7rem;
  width: 8px;
  height: 8px;
  border: 2px solid var(--sa-gold);
  border-radius: 50%;
}
.prop-description ol { counter-reset: sa-ol; }
.prop-description ol li::before {
  counter-increment: sa-ol;
  content: counter(sa-ol);
  position: absolute;
  left: 0;
  top: .28rem;
  width: 1.1rem;
  height: 1.1rem;
  background: var(--sa-green);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prop-description a { color: var(--sa-green); text-decoration: underline; }
.prop-description a:hover { color: var(--sa-green-light); }
.desc-collapsed { max-height: 140px; overflow: hidden; position: relative; }
.desc-collapsed::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, #fff);
}

/* ---- Utile ---- */
.ratio-16x9 { aspect-ratio: 16/9; }

/* ================================================================
   SCHERMI GRANDI — 2K / 4K
   Obiettivo: layout proporzionato su 2560px e 3840px
   senza toccare la resa a Full HD o inferiore.
   ================================================================ */

/* ---- Container: si allarga progressivamente oltre Full HD ---- */
@media (min-width: 2560px) {
  .container,
  .container-lg,
  .container-xl,
  .container-xxl {
    max-width: 1700px;
  }
  body {
    font-size: 1.1rem;
  }
}
@media (min-width: 3840px) {
  .container,
  .container-lg,
  .container-xl,
  .container-xxl {
    max-width: 2400px;
  }
  body {
    font-size: 1.25rem;
  }
}

/* ---- Hero: padding e tagline scalano con clamp ---- */
.hero-content {
  padding-top:    clamp(3rem, 5vw, 7rem);
  padding-bottom: clamp(4rem, 6vw, 9rem);
  padding-left:   1.25rem;
  padding-right:  1.25rem;
}
.hero-tagline {
  max-width: clamp(520px, 32%, 900px);
  font-size: clamp(1rem, 0.9vw, 1.3rem);
}

/* ---- Gallery: altezze fluide ---- */
.gallery-img-main  { height: clamp(300px, 18vw, 540px); }
.gallery-img-thumb { height: clamp(120px, 7vw,  210px); }

/* ---- Homepage card: immagine fluida ---- */
.property-card .card-img-top {
  height: clamp(240px, 15vw, 400px);
}

/* ---- Highlights: icona e spaziatura scalano ---- */
.highlight-item {
  padding: clamp(1.5rem, 2vw, 3rem) clamp(1rem, 1.5vw, 2.5rem);
}
.highlight-icon {
  width:  clamp(36px, 2.5vw, 58px);
  height: clamp(36px, 2.5vw, 58px);
}
.highlight-value {
  font-size: clamp(1rem, 0.9vw, 1.45rem);
}

/* ---- Descrizione immobile: testo fluido ---- */
.prop-description {
  font-size: clamp(.97rem, 0.75vw, 1.2rem);
  line-height: clamp(1.85, 1.8, 2.0);
}
.prop-description h2 { font-size: clamp(1.45rem, 1.5vw, 2rem); }
.prop-description h3 { font-size: clamp(1.15rem, 1.1vw, 1.55rem); }

/* ---- Sezioni: spaziatura verticale fluida ---- */
@media (min-width: 2560px) {
  .py-5 { padding-top: clamp(3rem, 4vw, 6rem) !important; padding-bottom: clamp(3rem, 4vw, 6rem) !important; }
  .section-title { font-size: clamp(1.8rem, 2vw, 2.8rem); }
  .highlight-label { font-size: clamp(.72rem, 0.65vw, 1rem); }
  .sa-checklist li { font-size: clamp(.9rem, 0.75vw, 1.1rem); }
}

/* ---- Language switcher in navbar ---- */
.nav-lang {
  color: var(--sa-muted);
  text-decoration: none;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color .2s;
}
.nav-lang:hover { color: var(--sa-green); }
.nav-lang--active {
  color: var(--sa-green);
  font-weight: 700;
  border-bottom: 1px solid var(--sa-green);
}
