/* ==========================================================================
   GENIS REAL ESTATE — FREEDOM TO LIVE
   Design System & Style Architecture
   Palette: #890D0D, #5C0808, #F7F3EC, #E8E1D3, #100b0a, #1A1A1A
   Typography: Bank Gothic + Work Sans
   ========================================================================== */

@import url('fonts.css');

:root {
  --rosso: #890D0D;
  --rosso-scuro: #5C0808;
  --rosso-hover: #aa1212;
  --rosso-soft: rgba(137, 13, 13, 0.08);
  --oro: rgba(247, 243, 236, 0.74);
  --oro-bright: #FFFFFF;
  --oro-soft: rgba(247, 243, 236, 0.88);
  --oro-glow: rgba(255, 255, 255, 0.2);
  --crema: #F7F3EC;
  --crema-soft: #fcfaf7;
  --pietra: #E8E1D3;
  --pietra-light: #efeae0;
  --ink: #1A1A1A;
  --ink-deep: #100b0a;
  --ink-light: #3a332f;
  --ink-muted: #6e655f;
  --linea: rgba(137, 13, 13, 0.2);
  --linea-subtle: rgba(137, 13, 13, 0.08);
  --linea-chiara: rgba(247, 243, 236, 0.22);
  --linea-chiara-subtle: rgba(247, 243, 236, 0.1);
  --font-display: 'Bank Gothic', 'BankGothic', 'BankGothic Md BT', 'Science Gothic', 'Big Shoulders Display', -apple-system, sans-serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --maxw: 1560px;
  --ease-smooth: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--crema);
  color: var(--ink);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.68;
  letter-spacing: -0.011em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

p {
  font-size: 16px;
  line-height: 1.68;
}

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 1.12;
  text-wrap: balance;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 44px;
}

@media (max-width: 768px) {
  .wrap {
    padding: 0 20px;
  }
}

::selection {
  background: var(--rosso);
  color: var(--crema);
}

:focus-visible {
  outline: 2px solid var(--rosso);
  outline-offset: 3px;
}

/* ---------- CUSTOM CURSOR (Penguin Capital inspired) ---------- */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rosso);
  box-shadow: 0 0 0 2px #ffffff, 0 2px 10px rgba(0, 0, 0, 0.55);
  pointer-events: none !important;
  z-index: 2147483647 !important; /* Topmost layer: always above modals, popups, overlays */
  transform: translate(-50%, -50%);
  transition: width 0.24s var(--ease-smooth), height 0.24s var(--ease-smooth), opacity 0.2s ease;
  display: none;
}

.cursor-dot.active {
  display: block;
}

.cursor-dot.grow {
  width: 44px;
  height: 44px;
  background: rgba(137, 13, 13, 0.85);
  box-shadow: 0 0 0 2px #ffffff, 0 4px 14px rgba(0, 0, 0, 0.45);
}

.cursor-dot.carousel-next {
  width: 52px;
  height: 52px;
  background: #890D0D;
  box-shadow: 0 0 0 2.5px #ffffff, 0 8px 24px rgba(137, 13, 13, 0.55);
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: width 0.22s var(--ease-smooth), height 0.22s var(--ease-smooth), background 0.2s ease, transform 0.08s ease;
}

.cursor-dot.carousel-next::after {
  content: "→";
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  display: block;
  transform: translateY(-1px);
}

.cursor-dot.text-focus {
  width: 8px;
  height: 8px;
  background: var(--rosso);
  box-shadow: 0 0 0 2px #ffffff, 0 2px 6px rgba(0, 0, 0, 0.35);
  opacity: 0.9;
}

body.cursor-on,
body.cursor-on a,
body.cursor-on button,
body.cursor-on .lead-modal-overlay,
body.cursor-on .lead-modal-overlay *,
body.cursor-on .modal-overlay,
body.cursor-on .modal-overlay * {
  cursor: none !important;
}

body.cursor-on input,
body.cursor-on textarea {
  cursor: text !important;
}

/* ---------- SCROLL PROGRESS BAR ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: var(--rosso);
  z-index: 300;
  transition: width 0.1s linear;
}

/* ---------- HEADER & NAVIGATION (DYNAMIC LUXURY SCROLL GRADIENT) ---------- */
header.site-header {
  --header-scroll: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 13px 0;
  background: transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: padding 0.3s ease;
}

/* Layer 1: Red Header Extension (matches page hero gradient, completely seamless at top, NO dark border or shadow) */
header.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(120vw 760px at 80% 0%, var(--rosso) 0%, var(--rosso-scuro) 45%, var(--ink-deep) 85%);
  opacity: calc(1 - var(--header-scroll, 0));
  border: none;
  box-shadow: none;
  pointer-events: none;
  will-change: opacity;
  transition: opacity 0.08s linear;
}

/* Layer 2: Deep Luxury Black (with refined red gradient bottom border shading and subtle ambient crimson glow) */
header.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: 
    linear-gradient(90deg, transparent 0%, rgba(137, 13, 13, 0.45) 15%, #aa1212 50%, rgba(137, 13, 13, 0.45) 85%, transparent 100%) bottom / 100% 1.5px no-repeat,
    rgba(10, 12, 16, 0.96);
  opacity: var(--header-scroll, 0);
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.5), 0 2px 14px rgba(137, 13, 13, 0.3);
  pointer-events: none;
  will-change: opacity;
  transition: opacity 0.08s linear;
}

/* Fallback / forced solid state */
header.site-header.solid {
  --header-scroll: 1;
}

/* Pure white catalog detail pages and standalone portal pages keep solid black */
body.sothebys-prop-page header.site-header,
body.product-page-body header.site-header,
body.org-page header.site-header {
  --header-scroll: 1 !important;
}

header.site-header .wrap {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1440px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 38px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  display: block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.brand-logo-white {
  display: block;
}

.brand-logo-dark {
  display: none;
}

header.site-header.solid .brand-logo-white {
  display: block;
}

header.site-header.solid .brand-logo-dark {
  display: none;
}

@media (max-width: 600px) {
  .brand-logo {
    height: 30px;
    max-width: 135px;
  }
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  transition: color 0.4s ease;
}

header.site-header.solid .brand-mark {
  color: #FFFFFF;
}

.brand-sub {
  font-size: 10px;
  letter-spacing: 0.24em;
  font-weight: 500;
  color: #FFFFFF;
  opacity: 0.8;
  text-transform: uppercase;
  transition: color 0.4s ease, opacity 0.4s ease;
  display: none;
}

header.site-header.solid .brand-sub {
  color: #FFFFFF;
  opacity: 0.8;
}

@media (min-width: 1400px) {
  .brand-sub {
    display: inline-block;
  }
}

nav.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

.nav-menu-center {
  display: flex;
  align-items: center;
  gap: 28px;
}

@media (min-width: 1061px) {
  header.site-header .wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  nav.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex: 1;
  }

  .nav-menu-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 28px;
  }
}

@media (max-width: 1060px) {
  .nav-menu-center {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
  }
}

nav.nav-links a.navlink {
  font-family: var(--font-display) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  color: #FFFFFF !important;
  opacity: 1 !important;
  padding: 6px 0 !important;
  position: relative;
  transition: color 0.25s ease, opacity 0.25s ease;
  text-transform: uppercase !important;
  text-decoration: none;
  white-space: nowrap !important;
  line-height: 1 !important;
}

header.site-header.solid nav.nav-links a.navlink {
  color: #FFFFFF !important;
  opacity: 1 !important;
}

nav.nav-links a.navlink:hover,
nav.nav-links a.navlink.active,
header.site-header.solid nav.nav-links a.navlink:hover,
header.site-header.solid nav.nav-links a.navlink.active {
  opacity: 1 !important;
  color: #FFFFFF !important;
}

nav.nav-links a.navlink::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rosso);
  transition: width 0.3s var(--ease-smooth);
}

nav.nav-links a.navlink:hover::after,
nav.nav-links a.navlink.active::after {
  width: 100%;
}

/* Identical Twin Switchers: Currency & Language */
.currency-switcher,
.lang-switcher {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

.currency-btn,
.lang-btn,
header.site-header .currency-btn,
header.site-header .lang-btn,
header.site-header.solid .currency-btn,
header.site-header.solid .lang-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  height: 32px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 30px !important;
  background: transparent !important;
  color: #FFFFFF !important;
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}

.currency-btn:hover,
.lang-btn:hover,
header.site-header.solid .currency-btn:hover,
header.site-header.solid .lang-btn:hover {
  border-color: var(--rosso) !important;
  color: #FFFFFF !important;
  background: rgba(137, 13, 13, 0.3) !important;
}

.currency-btn .chevron-mini,
.lang-btn .chevron-mini {
  font-size: 8px !important;
  opacity: 0.85 !important;
  transition: transform 0.25s ease !important;
  display: inline-block !important;
  line-height: 1 !important;
}

.currency-switcher.open .chevron-mini,
.lang-switcher.open .chevron-mini {
  transform: rotate(180deg) !important;
}

/* Elegant Solid White Dropdown Cards */
.currency-dropdown,
.lang-dropdown {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35) !important;
  min-width: 160px !important;
  padding: 8px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(6px) !important;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
  z-index: 1000 !important;
}

.currency-switcher.open .currency-dropdown,
.lang-switcher.open .lang-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

.currency-opt,
.lang-opt {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 9px 15px !important;
  border-radius: 8px !important;
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  letter-spacing: 0.06em !important;
  color: #1A1A1A !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  width: 100% !important;
  text-align: left !important;
  border: none !important;
  background: transparent !important;
  cursor: pointer !important;
  transition: background 0.15s ease, color 0.15s ease !important;
  box-sizing: border-box !important;
}

.currency-opt:hover, .currency-opt.active,
.lang-opt:hover, .lang-opt.active {
  background: var(--rosso) !important;
  color: #FFFFFF !important;
}

.currency-opt .flag-code,
.lang-opt .flag-code {
  font-size: 11px !important;
  opacity: 0.65 !important;
  font-weight: 500 !important;
}

.currency-opt:hover .flag-code, .currency-opt.active .flag-code,
.lang-opt:hover .flag-code, .lang-opt.active .flag-code {
  color: #FFFFFF !important;
  opacity: 0.9 !important;
}

.cta-nav {
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 0 18px !important;
  height: 32px !important;
  line-height: 30px !important;
  border: 1px solid #FFFFFF !important;
  color: #FFFFFF !important;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease !important;
  white-space: nowrap !important;
  font-weight: 600 !important;
  border-radius: 30px !important;
  background: transparent !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}

.cta-nav:hover,
header.site-header.solid .cta-nav:hover {
  background: var(--rosso) !important;
  border-color: var(--rosso) !important;
  color: #FFFFFF !important;
}

/* Mobile Menu Button */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 220;
}

.menu-btn span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #FFFFFF;
  transition: transform 0.35s var(--ease-smooth), opacity 0.3s ease, background 0.35s ease;
}

header.site-header.solid .menu-btn span {
  background: #FFFFFF;
}

.menu-btn.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
  background: #FFFFFF !important;
}

.menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.menu-btn.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
  background: #FFFFFF !important;
}

@media (max-width: 1320px) {
  nav.nav-links {
    gap: 13px;
  }
  nav.nav-links a.navlink {
    font-size: 12px !important;
  }
  .brand-logo {
    max-width: 145px;
  }
}

@media (max-width: 1160px) {
  nav.nav-links {
    gap: 10px;
  }
  nav.nav-links a.navlink {
    font-size: 11.5px !important;
    letter-spacing: 0.04em !important;
  }
  .currency-btn, .lang-btn {
    padding: 0 9px !important;
    font-size: 11px !important;
  }
  .cta-nav {
    padding: 0 12px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 1060px) {
  .menu-btn {
    display: flex;
  }

  nav.nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(85vw, 360px);
    height: 100vh;
    background: var(--ink-deep);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 18px;
    padding: 80px 36px 40px;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease-out-expo);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 210;
    overflow-y: auto;
  }

  nav.nav-links.open {
    transform: translateX(0);
  }

  nav.nav-links a.navlink,
  header.site-header.solid nav.nav-links a.navlink {
    color: #FFFFFF !important;
    font-size: 16px !important;
    opacity: 0.95 !important;
  }

  nav.nav-links .cta-nav,
  header.site-header.solid nav.nav-links .cta-nav {
    border-color: #FFFFFF !important;
    color: #FFFFFF !important;
    margin-top: 10px;
    width: 100%;
    text-align: center;
  }

  .currency-switcher,
  .lang-switcher {
    width: 100%;
  }

  .currency-btn,
  .lang-btn {
    width: 100%;
    justify-content: space-between !important;
  }

  .currency-dropdown,
  .lang-dropdown {
    position: static !important;
    width: 100% !important;
    box-shadow: none !important;
    border-radius: 12px !important;
    margin-top: 6px;
  }
}

/* ---------- BUTTONS & MAGNETIC TOUCH (Penguin Capital) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display) !important;
  font-size: 13px !important;
  letter-spacing: 0.06em !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  padding: 14px 28px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(247, 243, 236, 0.45);
  background: transparent;
  color: var(--crema, #F7F3EC) !important;
  white-space: nowrap;
  box-shadow: none;
  transition: all 0.25s ease;
  will-change: transform;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.btn:hover {
  background: #FFFFFF !important;
  color: var(--rosso, #890D0D) !important;
  border-color: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.btn-solid {
  background: transparent !important;
  color: var(--crema, #F7F3EC) !important;
  border: 1px solid rgba(247, 243, 236, 0.45) !important;
  border-radius: 999px !important;
}

.btn-solid:hover {
  background: #FFFFFF !important;
  color: var(--rosso, #890D0D) !important;
  border-color: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.btn-ghost {
  background: transparent !important;
  color: var(--crema, #F7F3EC) !important;
  border: 1px solid rgba(247, 243, 236, 0.45) !important;
  border-radius: 999px !important;
}

.btn-ghost:hover {
  background: #FFFFFF !important;
  color: var(--rosso, #890D0D) !important;
  border-color: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.btn-dark {
  background: transparent !important;
  color: var(--rosso, #890D0D) !important;
  border: 1px solid var(--rosso, #890D0D) !important;
  border-radius: 999px !important;
}

.btn-dark:hover {
  background: var(--rosso, #890D0D) !important;
  border-color: var(--rosso, #890D0D) !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(137, 13, 13, 0.25);
}

.btn-line {
  color: var(--rosso) !important;
  border: 1px solid var(--rosso) !important;
  background: transparent !important;
  border-radius: 999px !important;
}

.btn-line:hover {
  background: var(--rosso) !important;
  border-color: var(--rosso) !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(137, 13, 13, 0.25);
}

.btn .arrow-icon {
  display: inline-block;
  transition: transform 0.3s var(--ease-smooth);
}

.btn:hover .arrow-icon {
  transform: translateX(4px);
}

/* ---------- SECTION HEADINGS & TAGS (Eliminati su richiesta) ---------- */
.sec-tag {
  display: none !important;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1440px;
  margin: 0 auto 22px auto;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.6vw, 24px);
  line-height: 1.25;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--rosso-scuro);
  white-space: nowrap;
  max-width: 100%;
  margin: 0 auto 8px auto;
  text-align: center;
}

.section-head p.lead {
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-light);
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  line-height: 1.65;
}

@media (max-width: 820px) {
  .section-head {
    margin-bottom: 18px;
  }
  .section-head h2 {
    white-space: normal;
    font-size: clamp(13px, 3.4vw, 16px);
    line-height: 1.35;
  }
}

.section-head-centered {
  text-align: center;
  max-width: 1440px;
  margin: 0 auto 22px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.section-head-centered h2 {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.6vw, 24px);
  line-height: 1.25;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  margin: 0 auto 12px auto;
  white-space: nowrap;
  max-width: 100%;
  text-align: center;
}

@media (max-width: 820px) {
  .section-head-centered h2 {
    white-space: normal;
    font-size: clamp(13px, 3.4vw, 16px);
    line-height: 1.35;
  }
}

.section-head-centered p.lead {
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-light);
  line-height: 1.65;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  text-wrap: pretty;
}

.manifesto-content {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 36px auto;
}

.manifesto-content p {
  font-size: 15.5px;
  color: var(--ink-light);
  line-height: 1.75;
  margin-bottom: 20px;
}

.manifesto-content p:last-child {
  margin-bottom: 0;
}

.manifesto-grid-balanced {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}

@media (max-width: 860px) {
  .manifesto-grid-balanced {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Section Containers — Optimized compact luxury spacing */
section.sec {
  padding: 50px 0;
  position: relative;
}

@media (max-width: 820px) {
  section.sec {
    padding: 36px 0;
  }
}

/* Grain Overlays */
.grain-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.45;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 3px 3px;
}

/* ---------- HERO COMPONENT ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(120% 100% at 78% 8%, var(--rosso) 0%, var(--rosso-scuro) 42%, var(--ink-deep) 78%);
  color: var(--crema);
  padding-top: 100px;
  padding-bottom: 60px;
}

.hero-coast {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  opacity: 0.55;
  pointer-events: none;
  will-change: transform;
}

.hero .wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--maxw, 1560px);
  padding-bottom: 96px;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.12em;
  opacity: 0.82;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 400;
}

.hero h1 {
  font-size: clamp(13px, 1.6vw, 24px);
  max-width: 100%;
  white-space: nowrap;
  letter-spacing: 0.015em;
  line-height: 1.2;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero h1 {
    font-size: clamp(12px, 1.65vw, 16px);
    white-space: nowrap;
  }
}

@media (max-width: 700px) {
  .hero h1 {
    font-size: clamp(13px, 3.4vw, 16px);
    white-space: normal;
    line-height: 1.35;
    word-break: normal;
    overflow-wrap: break-word;
  }
}

.hero-payoff {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-top: 1px solid var(--linea-chiara);
  padding-top: 16px;
  opacity: 0.95;
  font-weight: 500;
}

.hero-foot {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  opacity: 1;
  width: 100%;
}

.hero-sub {
  max-width: 100%;
  font-size: 16px;
  font-weight: 300;
  opacity: 0.9;
  line-height: 1.7;
  width: 100%;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-cue {
  position: absolute;
  left: 36px;
  bottom: 30px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--crema);
  opacity: 0.65;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-cue .line {
  width: 1px;
  height: 38px;
  background: var(--linea-chiara);
  position: relative;
  overflow: hidden;
}

.scroll-cue .line::after {
  content: '';
  position: absolute;
  left: 0;
  top: -100%;
  width: 100%;
  height: 100%;
  background: var(--crema);
  animation: cue 2.2s ease-in-out infinite;
}

@keyframes cue {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

@media (max-width: 640px) {
  .scroll-cue {
    display: none;
  }
  .hero .wrap {
    padding-bottom: 60px;
  }
}

/* ---------- PAGE HERO (Subpages) ---------- */
.page-hero {
  position: relative;
  min-height: 48vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 160px;
  padding-bottom: 64px;
  background: radial-gradient(120% 160% at 80% 0%, var(--rosso) 0%, var(--rosso-scuro) 45%, var(--ink-deep) 85%);
  color: var(--crema);
}

.page-hero .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.04em;
  opacity: 0.75;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(247, 243, 236, 0.35);
  padding-bottom: 3px;
}

.breadcrumb:hover {
  opacity: 1;
}

.page-hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 16px;
}

.page-hero h1,
.page-hero.shop-hero h1,
.page-hero h1.hero-title-single-line,
.page-hero h1.single-line-heading {
  font-size: clamp(13px, 1.6vw, 24px);
  max-width: 100%;
  white-space: nowrap;
  letter-spacing: 0.015em;
  line-height: 1.2;
  opacity: 1;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .page-hero h1,
  .page-hero.shop-hero h1,
  .page-hero h1.hero-title-single-line,
  .page-hero h1.single-line-heading {
    font-size: clamp(12px, 1.65vw, 16px);
    white-space: nowrap;
  }
}

@media (max-width: 700px) {
  .page-hero h1,
  .page-hero.shop-hero h1,
  .page-hero h1.hero-title-single-line,
  .page-hero h1.single-line-heading {
    font-size: clamp(13px, 3.4vw, 16px);
    white-space: normal;
    line-height: 1.35;
    word-break: normal;
    overflow-wrap: break-word;
  }
}

.single-line-title {
  white-space: nowrap;
  max-width: 100%;
}

@media (max-width: 768px) {
  .single-line-title {
    white-space: normal;
  }
}

.page-hero p.lead {
  margin-top: 20px;
  max-width: 100%;
  font-size: 16px;
  font-weight: 300;
  opacity: 0.9;
  line-height: 1.7;
}

/* ---------- QUICK KPI BAR (Penguin Capital approach) ---------- */
.quick-kpi {
  background: var(--pietra);
  border-top: 1px solid var(--linea);
  border-bottom: 1px solid var(--linea);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--linea);
}

.kpi-cell {
  padding: 36px 30px;
  border-right: 1px solid var(--linea);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.3s ease, border-left-color 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  cursor: default;
}

a.kpi-cell {
  cursor: pointer;
}

.kpi-cell:hover {
  background: var(--rosso-soft);
}

.kpi-cell-cta {
  border-left: 3px solid transparent;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer;
  text-decoration: none !important;
}

.kpi-cell-cta:hover {
  background: rgba(137, 13, 13, 0.04) !important;
  border-left-color: var(--rosso, #890D0D) !important;
  box-shadow: inset 0 0 0 1px rgba(137, 13, 13, 0.12), 0 8px 24px rgba(0, 0, 0, 0.05);
}

.kpi-cell-cta:hover .arrow-icon {
  transform: translateX(6px);
}

.kpi-cell-cta:hover .kpi-cta-link {
  color: var(--rosso-scuro, #5C0808);
  opacity: 1;
}

.kpi-cell-cta:hover .kpi-title {
  color: var(--rosso, #890D0D);
  transition: color 0.25s ease;
}

/* KPI Currency prefix: smaller and finer than the number */
.kpi-currency {
  font-family: inherit;
  font-size: 1em;
  font-weight: 500; /* non troppo in grassetto rispetto al resto del testo */
  vertical-align: baseline;
  margin-right: 2px;
  display: inline;
  line-height: inherit;
  opacity: 1;
  letter-spacing: inherit;
}

/* KPI bottom CTA label */
.kpi-cta-link {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rosso, #890D0D);
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  transition: color 0.2s, opacity 0.2s;
}

.kpi-cta-link .arrow-icon {
  display: inline-block;
  transition: transform 0.25s ease;
}

.kpi-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 2.2vw, 24px);
  color: var(--rosso, #890D0D);
  line-height: 1;
}

.kpi-title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.kpi-desc {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-light);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .kpi-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- TICKER MARQUEE ---------- */
.ticker {
  background: var(--rosso);
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  width: max-content;
  animation: tickerMove 28s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  padding: 0 30px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--crema);
  text-transform: uppercase;
}

.ticker-track span::after {
  content: '✦';
  margin-left: 30px;
  font-size: 9px;
  opacity: 0.55;
}

@keyframes tickerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- CHI SIAMO / MANIFESTO ---------- */
.manifesto {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.manifesto-lead {
  font-size: clamp(14px, 1.5vw, 20px);
  font-weight: 500;
  color: var(--rosso-scuro);
  line-height: 1.55;
  text-align: center;
  margin: 0 auto;
  max-width: 68ch;
}

.manifesto-body p {
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-light);
  margin-bottom: 20px;
  max-width: 58ch;
  line-height: 1.7;
}

.manifesto-body .legal-badge {
  margin-top: 32px;
  padding: 16px 20px;
  background: var(--pietra-light);
  border-left: 3px solid var(--rosso);
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.55;
}

.manifesto-body .legal-badge strong {
  color: var(--rosso-scuro);
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 840px) {
  .manifesto {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ---------- SERVIZI (Penguin Capital editorial accordion) ---------- */
.servizi-sec {
  background: var(--ink-deep);
  color: var(--crema);
}

.servizi-sec .section-head h2 {
  color: var(--crema);
}

.servizi-sec .section-head p.lead {
  color: rgba(247, 243, 236, 0.72);
}

.serv-list {
  display: flex;
  flex-direction: column;
}

.serv-row {
  display: grid;
  grid-template-columns: 0.45fr 3.1fr;
  gap: 40px;
  padding: 38px 0;
  border-top: 1px solid var(--linea-chiara);
  align-items: start;
  transition: background 0.35s ease, padding-left 0.35s ease;
}

.serv-row:last-child {
  border-bottom: 1px solid var(--linea-chiara);
}

.serv-row:hover {
  background: rgba(247, 243, 236, 0.025);
}

.serv-idx {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: rgba(247, 243, 236, 0.74);
  opacity: 1;
  letter-spacing: 0.04em;
}

.serv-content h3 {
  font-size: clamp(14px, 1.4vw, 19px);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--crema);
}

.serv-content p.serv-intro {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 300;
  color: rgba(247, 243, 236, 0.78);
  max-width: 56ch;
}

.serv-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: none;
  border: 0;
  padding: 0 0 3px;
  color: var(--crema);
  border-bottom: 1px solid rgba(247, 243, 236, 0.4);
  cursor: pointer;
  opacity: 0.82;
  transition: opacity 0.25s ease, border-color 0.25s ease;
}

.serv-toggle:hover {
  opacity: 1;
  border-color: var(--crema);
}

.serv-toggle .chevron {
  display: inline-block;
  transition: transform 0.35s var(--ease-smooth);
}

.serv-toggle[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.serv-more {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s var(--ease-smooth), opacity 0.4s ease, margin-top 0.4s ease;
}

.serv-more.open {
  max-height: 260px;
  opacity: 1;
  margin-top: 18px;
}

.serv-more p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(247, 243, 236, 0.7);
  max-width: 56ch;
  line-height: 1.65;
}

.serv-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 14px;
  list-style: none;
}

.serv-features li {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--crema);
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 8px;
}

.serv-features li::before {
  content: '✦';
  color: var(--rosso);
  font-size: 8px;
}

@media (max-width: 760px) {
  .serv-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ---------- TERRITORIO & INTERACTIVE MAP ---------- */
.territorio-sec {
  background: var(--crema);
}

.territorio-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 60px;
  align-items: start;
}

.map-wrapper {
  background: var(--pietra);
  border: 1px solid var(--linea);
  padding: 24px;
  position: relative;
}

.map-wrapper svg {
  width: 100%;
  height: auto;
}

.map-pin {
  cursor: pointer;
  transition: transform 0.25s var(--ease-smooth);
}

.map-pin:hover circle.pin-outer {
  r: 12;
  fill: var(--rosso);
  fill-opacity: 0.2;
}

.map-pin.active circle.pin-center {
  fill: var(--rosso);
  transform: scale(1.3);
  transform-origin: center;
}

.territorio-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.loc-card {
  background: var(--crema-soft);
  border: 1px solid var(--linea);
  padding: 24px 26px;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.loc-card:hover,
.loc-card.active {
  background: var(--crema);
  border-color: var(--rosso);
  transform: translateX(8px);
}

.loc-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.loc-card-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--rosso);
}

.loc-card-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--rosso-scuro);
}

.loc-card-dist {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--rosso);
  opacity: 0.9;
  text-transform: uppercase;
  font-weight: 700;
}

.loc-card-desc {
  margin-top: 8px;
  font-size: 15.5px;
  font-weight: 400;
  color: #4A443F;
  line-height: 1.62;
}

@media (max-width: 900px) {
  .territorio-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ---------- PORTFOLIO LISTINGS & FILTERS (immobili.html & index.html) ---------- */
.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.filter-btn {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid var(--linea);
  background: var(--crema);
  color: var(--ink);
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.filter-btn:hover {
  border-color: var(--rosso);
  color: var(--rosso);
}

.filter-btn.active {
  background: var(--rosso-scuro);
  border-color: var(--rosso-scuro);
  color: var(--crema);
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--linea);
}

.listing-card {
  background: var(--crema);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background 0.35s ease;
}

.listing-card .render-wrap {
  overflow: hidden;
  position: relative;
  background: var(--pietra);
}

.listing-card svg {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s var(--ease-smooth);
}

.listing-card:hover svg {
  transform: scale(1.05);
}

.listing-card .badge-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  background: rgba(16, 11, 10, 0.75);
  color: var(--crema);
  backdrop-filter: blur(4px);
}

.listing-body {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.listing-tag {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rosso);
  font-weight: 700;
}

.listing-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--rosso-scuro);
  line-height: 1.15;
}

.listing-loc {
  font-size: 15px;
  color: #55504A;
}

.listing-specs {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--ink-light);
  border-top: 1px solid var(--linea-subtle);
  padding-top: 12px;
}

.listing-price {
  font-size: 14px;
  margin-top: 6px;
  font-weight: 600;
  color: var(--ink);
}

.listing-cta {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
  align-self: flex-start;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  color: var(--rosso);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  transition: gap 0.3s ease, color 0.3s ease;
}

.listing-card:hover .listing-cta {
  gap: 14px;
}

@media (max-width: 900px) {
  .listing-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- ARCHITETTURA MEDITERRANEA ---------- */
.arch-sec {
  background: var(--crema);
}

.arch-banner {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 70px;
}

/* ---------- TERRITORIO MAP WRAPPER WITH DISSOLVE & OVERLAY BUTTON ---------- */
.territorio-map-wrapper {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid var(--linea);
  border-radius: 12px;
  overflow: hidden;
  background: var(--crema-soft);
  box-shadow: 0 16px 44px rgba(16, 11, 10, 0.05);
}

.territorio-map-wrapper .arch-banner {
  margin-bottom: 0;
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.82;
  filter: contrast(0.96);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.territorio-map-wrapper:hover .arch-banner {
  opacity: 0.9;
}

.territorio-map-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(247, 243, 236, 0.45) 0%, rgba(247, 243, 236, 0.65) 55%, rgba(247, 243, 236, 0.90) 100%);
}

.territorio-map-btn-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

.btn-map-overlay {
  pointer-events: auto;
  background: #D9D2C9 !important;
  color: #12100E !important;
  border: none !important;
  padding: 15px 38px !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  text-decoration: none !important;
  border-radius: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.25s ease !important;
}

.btn-map-overlay:hover {
  background: #FFFFFF !important;
  color: #12100E !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28) !important;
}

.arch-list {
  list-style: none;
}

.arch-row {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr 1.6fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--linea);
  align-items: baseline;
  transition: padding-left 0.3s ease;
}

.arch-list li:last-child .arch-row {
  border-bottom: 1px solid var(--linea);
}

.arch-row:hover {
  padding-left: 14px;
}

.arch-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--rosso-scuro);
}

.arch-role {
  font-size: 13.5px;
  color: var(--ink-light);
  opacity: 0.85;
}

.arch-note {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-light);
  line-height: 1.6;
}

@media (max-width: 760px) {
  .arch-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ---------- JOURNAL / APPROFONDIMENTI (Penguin Capital Knowledge) ---------- */
.journal-sec {
  background: var(--crema);
  position: relative;
}

.journal-list {
  list-style: none;
}

.journal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid var(--linea);
  transition: padding-left 0.35s var(--ease-smooth);
}

.journal-list li:last-child .journal-row {
  border-bottom: 1px solid var(--linea);
}

.journal-row:hover {
  padding-left: 16px;
}

.journal-title {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  max-width: 44ch;
  color: var(--ink);
}

.journal-meta {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.journal-tag {
  color: var(--rosso);
  text-transform: uppercase;
  font-weight: 600;
}

.journal-read {
  opacity: 0.6;
}

.journal-arrow {
  display: inline-block;
  font-size: 18px;
  transition: transform 0.35s var(--ease-smooth);
}

.journal-row:hover .journal-arrow {
  transform: translateX(8px);
}

.journal-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 240px;
  height: 160px;
  z-index: 90;
  pointer-events: none;
  opacity: 0;
  transform: translate(-9999px, -9999px) scale(0.92);
  transition: opacity 0.3s ease, transform 0.12s linear;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(16, 11, 10, 0.25);
  border: 1px solid var(--linea-chiara);
}

.journal-preview.show {
  opacity: 1;
}

.journal-preview .fill {
  width: 100%;
  height: 100%;
}

@media (max-width: 760px) {
  .journal-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ---------- SEZIONE VALUTAZIONE IMMOBILE (BIANCO E ROSSO GENIS) ---------- */
.valuation-cta-sec {
  background: var(--crema);
  padding: 44px 0;
  border-top: 1px solid var(--linea-subtle);
  border-bottom: 1px solid var(--linea-subtle);
  position: relative;
}

.val-cta-card {
  background: #FFFFFF;
  border: 1px solid #E8E1D3;
  border-left: 6px solid var(--rosso);
  border-radius: 12px;
  padding: 50px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 28px;
  box-shadow: 0 16px 40px rgba(16, 11, 10, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.val-cta-card:hover {
  box-shadow: 0 20px 50px rgba(16, 11, 10, 0.08);
}

.val-cta-body {
  width: 100%;
  max-width: 100%;
  text-align: center;
  margin: 0 auto;
}

.val-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(137, 13, 13, 0.06);
  border: 1px solid rgba(137, 13, 13, 0.22);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rosso);
  margin-bottom: 16px;
}

.val-cta-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 800;
  color: var(--ink-deep);
  text-transform: uppercase;
  line-height: 1.3;
  margin: 0 auto 16px auto;
  letter-spacing: 0.015em;
  white-space: normal;
  max-width: 1200px;
  text-align: center;
}

@media (max-width: 768px) {
  .val-cta-title {
    white-space: normal;
    font-size: clamp(17px, 4.5vw, 22px);
  }
}

.val-cta-desc {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ink-light);
  line-height: 1.7;
  margin: 0 auto 24px auto;
  max-width: 1150px;
  text-align: center;
}

.val-cta-checks {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--rosso-scuro);
  margin: 0 auto;
}

.val-cta-checks span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.val-cta-action {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 480px;
  align-items: center;
  justify-content: center;
  margin: 4px auto 0 auto;
}

.val-cta-btn {
  background: transparent !important;
  color: var(--rosso, #890D0D) !important;
  border: 1.5px solid var(--rosso, #890D0D) !important;
  padding: 14px 32px;
  border-radius: 999px !important;
  font-family: var(--font-display) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: none !important;
  transition: all 0.25s ease;
  width: 100%;
  max-width: 480px;
  box-sizing: border-box;
}

.val-cta-btn span,
.val-cta-btn .arrow-icon {
  color: var(--rosso, #890D0D) !important;
  transition: color 0.25s ease;
}

.val-cta-btn:hover {
  background: var(--rosso, #890D0D) !important;
  color: #FFFFFF !important;
  border-color: var(--rosso, #890D0D) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(137, 13, 13, 0.25) !important;
}

.val-cta-btn:hover span,
.val-cta-btn:hover .arrow-icon {
  color: #FFFFFF !important;
}

.val-cta-sub {
  font-size: 11.5px;
  text-align: center;
  color: var(--ink-muted);
}

@media (max-width: 768px) {
  .valuation-cta-sec {
    padding: 50px 0;
  }
  .val-cta-card {
    padding: 28px 20px;
  }
  .val-cta-action {
    width: 100%;
  }
}

/* ---------- PRODUCT / PROPERTY DETAIL PAGE ---------- */
.product-render {
  width: 100%;
  height: auto;
  display: block;
  background: var(--pietra);
}

.product-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: start;
  margin-top: 56px;
}

.product-info h1 {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.6vw, 24px);
  color: var(--rosso-scuro);
  text-transform: uppercase;
  letter-spacing: 0.015em;
  line-height: 1.25;
  white-space: nowrap;
  max-width: 100%;
}

@media (max-width: 768px) {
  .product-info h1 {
    white-space: normal;
    font-size: clamp(13px, 3.4vw, 16px);
  }
}

.product-price {
  margin-top: 14px;
  font-size: 22px;
  font-weight: 600;
  color: var(--rosso);
}

.product-loc {
  font-size: 14px;
  color: var(--ink-muted);
  margin-top: 6px;
}

.product-desc {
  margin-top: 26px;
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-light);
  max-width: 54ch;
  line-height: 1.7;
}

.spec-list {
  list-style: none;
  background: var(--crema-soft);
  border: 1px solid var(--linea);
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  padding: 15px 22px;
  border-bottom: 1px solid var(--linea-subtle);
  font-size: 14px;
}

.spec-list li:last-child {
  border-bottom: 0;
}

.spec-list .lbl {
  color: var(--ink-muted);
}

.spec-list .val {
  font-weight: 500;
  color: var(--ink);
}

.product-ctas {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.product-note {
  margin-top: 24px;
  font-size: 12px;
  font-style: italic;
  opacity: 0.65;
  max-width: 52ch;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border: 1px solid var(--linea);
  color: var(--rosso);
  text-transform: uppercase;
  margin-bottom: 20px;
  background: var(--crema);
}

.demo-badge::before {
  content: '●';
  font-size: 8px;
}

/* ---------- SHOP / GADGET CAPSULE COLLECTION ---------- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--linea);
}

.shop-card {
  background: var(--crema);
  padding: 44px 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: background 0.35s ease;
}

.shop-card:hover {
  background: var(--crema-soft);
}

.shop-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 28px;
}

.shop-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--rosso-scuro);
}

.shop-desc {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--ink-light);
  margin-top: 10px;
  line-height: 1.55;
  flex: 1;
}

.shop-price {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.shop-cta {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--rosso);
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  align-self: flex-start;
  text-transform: uppercase;
  font-weight: 500;
}

@media (max-width: 860px) {
  .shop-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- CONTATTI & PRIVATE DESK ---------- */
.contatti-sec {
  background: radial-gradient(120% 140% at 20% 0%, var(--rosso-scuro) 0%, var(--ink-deep) 65%);
  color: var(--crema);
}

.contatti-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: stretch;
}

.contatti-sec h2 {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.6vw, 24px);
  color: var(--crema);
  text-transform: uppercase;
  letter-spacing: 0.015em;
  line-height: 1.25;
  white-space: nowrap;
  max-width: 100%;
}

@media (max-width: 768px) {
  .contatti-sec h2 {
    white-space: normal;
    font-size: clamp(13px, 3.4vw, 16px);
  }
}

.contatti-sec p.lead {
  margin-top: 22px;
  font-size: 16px;
  font-weight: 300;
  max-width: 46ch;
  color: rgba(247, 243, 236, 0.85);
  line-height: 1.7;
}

.contact-lines {
  list-style: none;
  font-size: 14px;
  margin-top: 36px;
}

.contact-lines li {
  padding: 16px 0;
  border-top: 1px solid var(--linea-chiara);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.contact-lines li:last-child {
  border-bottom: 1px solid var(--linea-chiara);
}

.contact-lines .lbl {
  opacity: 0.8;
  letter-spacing: 0.1em;
  font-size: 12.5px;
  text-transform: uppercase;
  font-weight: 700;
}

.contact-lines .val {
  opacity: 0.95;
  font-weight: 500;
}

.desk-form {
  background: rgba(247, 243, 236, 0.04);
  border: 1px solid var(--linea-chiara);
  border-radius: 12px;
  padding: 38px 34px;
}

.desk-form h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--crema);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.88;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(247, 243, 236, 0.08);
  border: 1px solid var(--linea-chiara);
  border-radius: 8px;
  color: var(--crema);
  caret-color: #f7f3ec;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.form-group input,
.form-group textarea {
  cursor: text;
}

.form-group select {
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--crema);
  background: rgba(247, 243, 236, 0.12);
  box-shadow: 0 0 0 2px rgba(247, 243, 236, 0.2);
  border-radius: 8px;
}

.form-group select option {
  background: var(--ink-deep);
  color: var(--crema);
}

.form-feedback {
  margin-top: 16px;
  font-size: 13px;
  display: none;
  padding: 12px;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid #890D0D;
  border-radius: 8px;
  color: var(--crema);
}

@media (max-width: 860px) {
  .contatti-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

/* ---------- FLOATING DIRECT DESK PILL (ELIMINATO IN SOVRAIMPRESSIONE) ---------- */
.float-desk {
  display: none !important;
}

/* ---------- MODAL DOSSIER / INQUIRY ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 11, 10, 0.85);
  backdrop-filter: blur(8px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--crema);
  color: var(--ink);
  width: 100%;
  max-width: 540px;
  padding: 44px 38px;
  position: relative;
  border: 1px solid var(--linea);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  transform: translateY(20px);
  transition: transform 0.35s var(--ease-smooth);
}

.modal-overlay.open .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 22px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.modal-close:hover {
  opacity: 1;
}

/* ---------- FOOTER DOSSIER CALLOUT (ALLARGATO & SALVASPAZIO SU PC) ---------- */
.footer-dossier-card {
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.1) 0%, rgba(22, 17, 16, 0.98) 100%);
  border: 1px solid rgba(197, 160, 89, 0.28);
  border-radius: 10px;
  padding: 24px 34px;
  margin: 0 auto 36px auto;
  max-width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.footer-dossier-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.footer-dossier-info {
  flex: 1;
  min-width: 0;
}

.footer-dossier-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.footer-dossier-kicker .kdot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
  display: inline-block;
}

.footer-dossier-kicker .klabel {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(247, 243, 236, 0.74);
  font-weight: 600;
}

.footer-dossier-title {
  font-family: var(--font-serif);
  font-size: clamp(13px, 1.5vw, 22px);
  color: var(--crema);
  margin: 0 0 6px 0;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-align: left;
}

.footer-dossier-desc {
  font-size: 0.88rem;
  color: rgba(247, 243, 236, 0.8);
  margin: 0;
  line-height: 1.5;
  max-width: 750px;
  text-align: left;
}

.footer-dossier-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .footer-dossier-card {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
    gap: 20px;
  }
  .footer-dossier-title, .footer-dossier-desc {
    text-align: center;
  }
  .footer-dossier-kicker {
    justify-content: center;
  }
  .footer-dossier-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .footer-dossier-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- FOOTER UFFICIALE GENIS ---------- */
footer.site-footer {
  background: var(--ink-deep, #0B0E14);
  color: rgba(247, 243, 236, 0.74);
  padding: 64px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.footer-top-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 44px;
  padding: 0 48px;
  width: 100%;
}

.footer-top-brand .footer-logo-link {
  display: inline-flex;
  justify-content: center;
  margin-bottom: 14px;
}

.footer-top-brand .footer-logo {
  height: 44px;
  width: auto;
  max-width: 240px;
  margin: 0 auto;
  display: block;
}

.footer-top-brand .footer-desc {
  font-size: 13.5px;
  color: rgba(247, 243, 236, 0.74);
  font-weight: 300;
  letter-spacing: 0.025em;
  line-height: 1.6;
  text-align: center;
  margin: 0 auto;
  max-width: 1480px;
  white-space: nowrap;
}

@media (max-width: 1480px) {
  .footer-top-brand .footer-desc {
    white-space: normal;
    max-width: 1020px;
  }
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1020px;
  margin: 0 auto;
  align-items: start;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(247, 243, 236, 0.08);
}

.footer-left-col {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

/* Contacts under description */
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 0;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  width: 100%;
  max-width: 460px;
  text-align: left;
}

.f-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.f-contact-item:not(.non-link):hover .f-contact-val {
  color: #FFFFFF;
}

.f-contact-item:not(.non-link):hover .f-contact-icon {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.f-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.f-contact-info {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.f-contact-lbl {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(247, 243, 236, 0.74) !important;
  font-weight: 600;
  opacity: 0.95;
}

.f-contact-val {
  font-size: 13.5px;
  color: var(--crema, #FAF8F5);
  font-weight: 500;
  transition: color 0.2s ease;
}

/* Social icons clickable - Centered strip */
.footer-social-strip,
.footer-social-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 32px 0 28px 0;
  width: 100%;
}

.footer-social-lbl {
  display: none;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.social-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--crema, #FAF8F5);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
}

.social-badge:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* Right Column: Navigation Menu with Larger Font in a Single Column */
.footer-right-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-nav-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  width: 100%;
}

.f-nav-tag {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FFFFFF !important;
  font-weight: 700;
}

.f-nav-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.footer-nav-list-large {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: column;
  grid-template-rows: repeat(5, auto);
  column-gap: 36px;
  row-gap: 19px;
  width: 100%;
}

.footer-nav-list-large li {
  margin: 0;
}

.nav-large-link {
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(247, 243, 236, 0.88);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}

.nav-large-link .nav-bullet {
  font-size: 10px;
  color: rgba(247, 243, 236, 0.74);
  opacity: 0.6;
  transition: all 0.2s ease;
}

.nav-large-link:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.nav-large-link:hover .nav-bullet {
  opacity: 1;
  transform: scale(1.3);
  color: #FFFFFF;
}

.nav-large-link.highlight-gold {
  color: #FFFFFF;
  font-weight: 600;
}

.nav-large-link.highlight-red {
  color: #FFFFFF;
  font-weight: 600;
}

/* Mastercard & Security Trust Strip */
.footer-trust-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(247, 243, 236, 0.08);
}

.footer-trust-strip.centered-trust-strip {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 24px 0 16px 0;
}

.trust-strip-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-strip-icons-only {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.trust-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.trust-badge-icon:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.45);
}

.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(247, 243, 236, 0.75);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 6px 14px;
  border-radius: 999px;
}

.trust-badge-svg {
  display: block;
  flex-shrink: 0;
}

.trust-strip-right {
  font-size: 11.5px;
  color: rgba(247, 243, 236, 0.45);
  letter-spacing: 0.02em;
  max-width: 44ch;
  line-height: 1.4;
}

.trust-strip-single-line {
  font-size: 11.5px;
  color: rgba(247, 243, 236, 0.65);
  letter-spacing: 0.02em;
  text-align: center;
  width: 100%;
  line-height: 1.5;
}

/* Bottom Subfooter */
.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11.5px;
  letter-spacing: 0.03em;
}

.footer-bottom.centered-footer-bottom {
  padding-top: 16px;
  padding-bottom: 24px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.legal-notice-single-line {
  font-size: 11.5px;
  color: rgba(247, 243, 236, 0.5);
  letter-spacing: 0.02em;
  text-align: center;
  width: 100%;
  line-height: 1.5;
}

.footer-bottom .legal-notice {
  max-width: 65ch;
  opacity: 0.55;
  line-height: 1.55;
}

.footer-territory-badge {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(247, 243, 236, 0.74);
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 5px 12px;
  border-radius: 20px;
}

.footer-legal-links a {
  color: rgba(247, 243, 236, 0.74) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #FFFFFF !important;
}

/* Responsive Footer adjustments */
@media (max-width: 900px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-left-col {
    justify-content: center;
  }
  .footer-contacts {
    margin: 0 auto;
  }
  .footer-right-col {
    align-items: center;
    text-align: center;
    margin: 0 auto;
  }
  .footer-nav-header {
    justify-content: center;
  }
  .footer-nav-list-large {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: column;
    grid-template-rows: repeat(5, auto);
    column-gap: 28px;
    row-gap: 14px;
    max-width: 360px;
    margin: 0 auto;
    text-align: left;
  }
  .footer-trust-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-trust-strip.centered-trust-strip {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .footer-logo {
    height: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom.centered-footer-bottom {
    align-items: center;
    text-align: center;
  }
}

/* Social Toast Notice */
.social-toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  background: #0F1217;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  padding: 16px 20px;
  color: #FAF8F5;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateY(30px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 380px;
}

.social-toast-notice.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* ---------- SCROLL REVEAL UTILITY ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.16, 0.7, 0.2, 1), transform 0.85s cubic-bezier(0.16, 0.7, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced Motion Mode */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero h1, .hero-payoff, .hero-foot {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .scroll-cue .line::after {
    animation: none;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-coast {
    transform: none !important;
  }
  .cursor-dot {
    display: none !important;
  }
  body.cursor-on, body.cursor-on a, body.cursor-on button {
    cursor: auto !important;
  }
  .ticker-track {
    animation: none !important;
  }
}

/* ==========================================================================
   ADVANCED EXTENSIONS: MULTILINGUAL, 3D MAP, IDEALISTA SEARCH, MONOGRAPH & BLOG
   ========================================================================== */

/* ---------- MULTILINGUAL & CURRENCY SWITCHERS ---------- 
   (Primary rules declared in Header section) */

/* ---------- CINEMATIC DISSOLVE SHOWCASE ---------- */
.fading-showcase {
  position: relative;
  width: 100%;
  height: 540px;
  overflow: hidden;
  background: var(--ink-deep);
  margin-bottom: 80px;
  border: 1px solid var(--linea);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border-radius: 18px;
}

.fade-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1), transform 2s cubic-bezier(0.2, 0.7, 0.2, 1);
  transform: scale(1.04);
  pointer-events: none;
}

.fade-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* Atmospheric Multi-Layer Dissolve (Layer di dissolvenza cinematografica per massima visibilità testo) */
.fade-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, rgba(12, 7, 6, 0.98) 0%, rgba(12, 7, 6, 0.92) 42%, rgba(12, 7, 6, 0.45) 70%, rgba(12, 7, 6, 0.05) 90%, transparent 100%),
    linear-gradient(0deg, rgba(12, 7, 6, 0.95) 0%, rgba(12, 7, 6, 0.5) 35%, transparent 70%),
    linear-gradient(180deg, rgba(12, 7, 6, 0.7) 0%, transparent 30%);
  pointer-events: none;
  z-index: 2;
}

.fade-slide svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.fade-slide-img {
  position: absolute;
  right: 0;
  top: 0;
  width: 75%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 1;
  filter: contrast(1.05) brightness(0.97);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.2) 12%, rgba(0, 0, 0, 0.85) 28%, black 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.2) 12%, rgba(0, 0, 0, 0.85) 28%, black 100%);
  transition: transform 3.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.fade-slide.active .fade-slide-img {
  transform: scale(1.02);
}

@media (max-width: 900px) {
  .fade-slide-img {
    width: 100%;
    opacity: 0.35;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

@media (max-width: 768px) {
  .fading-showcase {
    height: auto;
    min-height: 480px;
  }
  .fade-caption {
    left: 20px !important;
    right: 20px !important;
    bottom: 24px !important;
    padding: 22px 20px !important;
    max-width: calc(100% - 40px) !important;
  }
}

.fade-caption {
  position: absolute;
  left: 48px;
  bottom: 48px;
  z-index: 5;
  color: var(--crema);
  max-width: 580px;
  background: linear-gradient(135deg, rgba(18, 11, 10, 0.88) 0%, rgba(12, 7, 6, 0.94) 100%);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  padding: 30px 36px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 5px solid var(--rosso);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.fade-caption:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 36px 85px rgba(0, 0, 0, 0.95);
}

.fade-caption-btn {
  margin-top: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  font-family: var(--font-display) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  padding: 11px 22px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(247, 243, 236, 0.45) !important;
  color: var(--crema, #F7F3EC) !important;
  background: transparent !important;
  transition: all 0.25s ease !important;
}

.fade-caption-btn:hover {
  background: #FFFFFF !important;
  color: var(--rosso, #890D0D) !important;
  border-color: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

.fade-caption .fade-tag {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.74);
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.fade-caption h3 {
  font-size: clamp(14px, 1.4vw, 20px);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.fade-caption p {
  font-size: 14.5px;
  font-weight: 300;
  color: rgba(247, 243, 236, 0.94);
  margin-top: 12px;
  line-height: 1.65;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}

.fade-dots {
  position: absolute;
  right: 40px;
  bottom: 40px;
  display: flex;
  gap: 10px;
  z-index: 6;
}

.fade-dot {
  width: 32px;
  height: 3px;
  background: rgba(247, 243, 236, 0.35);
  cursor: pointer;
  transition: background 0.3s ease;
}

.fade-dot.active {
  background: var(--crema);
}

.shop-showcase-badge {
  position: absolute;
  top: 28px;
  right: 32px;
  z-index: 5;
  background: rgba(16, 11, 10, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oro);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

@media (max-width: 768px) {
  .shop-showcase-badge {
    top: 14px;
    right: 14px;
    font-size: 9px;
    padding: 5px 10px;
    letter-spacing: 0.1em;
  }
}

/* ---------- 3D INTERACTIVE EARTH MAP VIEWPORT ---------- */
.map-3d-section {
  background: var(--ink-deep);
  color: var(--crema);
  position: relative;
  overflow: hidden;
}

.map-3d-section .section-head h2 {
  color: var(--crema);
}

.map-3d-section .section-head p.lead {
  color: rgba(247, 243, 236, 0.75);
}

.map-3d-container {
  position: relative;
  width: 100%;
  height: 560px;
  background: radial-gradient(120% 120% at 50% 20%, #1a0808 0%, #100b0a 75%);
  border: 1px solid var(--linea-chiara-subtle);
  overflow: hidden;
}

#map3dCanvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}

#map3dCanvas:active {
  cursor: grabbing;
}

/* 3D Map HUD Controls */
.map-3d-hud {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 11, 10, 0.75);
  border: 1px solid var(--linea-chiara);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crema);
}

.hud-pill .pulse-radar {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rosso);
  animation: pulseRadar 1.6s infinite;
}

@keyframes pulseRadar {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

.map-3d-actions {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 20;
  display: flex;
  gap: 8px;
}

.hud-btn {
  background: rgba(16, 11, 10, 0.75);
  border: 1px solid var(--linea-chiara);
  backdrop-filter: blur(8px);
  color: var(--crema);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hud-btn:hover, .hud-btn.active {
  background: var(--rosso);
  border-color: var(--rosso);
}

.map-3d-waypoints {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}

.waypoint-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.waypoint-chip {
  background: rgba(16, 11, 10, 0.75);
  border: 1px solid var(--linea-chiara);
  backdrop-filter: blur(6px);
  color: var(--crema);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.waypoint-chip:hover, .waypoint-chip.active {
  background: var(--rosso);
  border-color: var(--rosso);
}

.map-3d-info-card {
  position: absolute;
  bottom: 80px;
  right: 24px;
  background: rgba(16, 11, 10, 0.92);
  border: 1px solid var(--linea-chiara);
  backdrop-filter: blur(10px);
  padding: 24px 26px;
  width: min(90vw, 320px);
  z-index: 25;
  transition: transform 0.3s var(--ease-smooth), opacity 0.3s ease;
}

.info-card-loc {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--crema);
  text-transform: uppercase;
}

.info-card-dist {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rosso);
  font-weight: 700;
  margin-top: 4px;
}

.info-card-desc {
  font-size: 15px;
  font-weight: 400;
  color: rgba(247, 243, 236, 0.9);
  margin-top: 10px;
  line-height: 1.6;
}

/* ---------- IDEALISTA ADVANCED SEARCH BAR (immobili.html) ---------- */
.search-filter-box {
  background: var(--crema-soft);
  border: 1px solid var(--linea);
  padding: 32px 36px;
  margin-bottom: 48px;
  box-shadow: 0 12px 30px rgba(92, 8, 8, 0.05);
}

.search-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: end;
}

.search-field label {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 8px;
}

.search-field select,
.search-field input {
  width: 100%;
  padding: 12px 14px;
  background: var(--crema);
  border: 1px solid var(--linea);
  border-radius: 8px;
  color: var(--ink);
  caret-color: #890D0D;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}

.search-field input {
  cursor: text;
}

.search-field select {
  cursor: pointer;
}

.search-field select:focus,
.search-field input:focus {
  outline: none;
  border-color: var(--rosso);
  box-shadow: 0 0 0 2px rgba(137, 13, 13, 0.15);
}

.search-extra-toggle {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--linea-subtle);
  margin-top: 10px;
}

.btn-toggle-extra {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rosso);
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.search-extra-panel {
  grid-column: 1 / -1;
  display: none;
  padding-top: 20px;
}

.search-extra-panel.open {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.amenities-group {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 14px;
}

.amenity-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-light);
  cursor: pointer;
}

.amenity-checkbox input {
  accent-color: var(--rosso);
  width: 16px;
  height: 16px;
}

.search-results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--linea);
}

.results-count {
  font-size: 14px;
  font-weight: 600;
  color: var(--rosso-scuro);
}

.btn-reset-filters {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
}

.btn-reset-filters:hover {
  color: var(--rosso);
}

@media (max-width: 960px) {
  .search-filter-grid, .search-extra-panel.open {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .search-filter-grid, .search-extra-panel.open {
    grid-template-columns: 1fr;
  }
}

/* ---------- 5 ARCHITECTS MONOGRAPH STYLES (storia-architettura.html) ---------- */
.architect-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-top: 1px solid var(--linea);
}

.architect-card:last-child {
  border-bottom: 1px solid var(--linea);
}

.architect-visual {
  background: var(--pietra);
  border: 1px solid var(--linea);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.architect-visual svg,
.architect-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-smooth);
}

.architect-card:hover .architect-visual svg,
.architect-card:hover .architect-visual img {
  transform: scale(1.04);
}

.maestri-drawing-showcase {
  margin-top: 24px;
  background: #FAF7F2;
  border: 1px solid var(--linea);
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

@media (max-width: 768px) {
  .maestri-drawing-showcase {
    grid-template-columns: 1fr !important;
  }
}

.architect-bio h3 {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.5vw, 22px);
  color: var(--rosso-scuro);
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.015em;
}

.architect-role-tag {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rosso);
  font-weight: 600;
  margin-top: 6px;
  display: block;
}

.architect-quote {
  margin-top: 20px;
  font-size: 17px;
  font-style: italic;
  font-weight: 300;
  color: var(--rosso-scuro);
  line-height: 1.5;
  border-left: 2px solid var(--rosso);
  padding-left: 18px;
}

.architect-body {
  margin-top: 16px;
  font-size: 14.5px;
  font-weight: 300;
  color: var(--ink-light);
  line-height: 1.7;
}

.architect-works {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.work-badge {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  background: #FFFFFF;
  border: 1px solid var(--linea);
  color: var(--ink);
  font-weight: 600;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.work-badge:hover {
  border-color: var(--rosso);
  color: var(--rosso);
  background: rgba(137, 13, 13, 0.04);
  transform: translateY(-1px);
}

@media (max-width: 860px) {
  .architect-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ---------- EDITORIAL LONG-FORM READING LAYOUT (Articoli Blog) ---------- */
.article-header {
  padding-top: 160px;
  padding-bottom: 50px;
  background: radial-gradient(120% 160% at 80% 0%, var(--rosso) 0%, var(--rosso-scuro) 45%, var(--ink-deep) 85%);
  color: var(--crema);
}

.article-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 16px;
}

.article-meta span.cat {
  color: var(--crema);
  border: 1px solid var(--linea-chiara);
  padding: 3px 10px;
}

.article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.6vw, 24px);
  max-width: 100%;
  line-height: 1.25;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.article-lead-p {
  margin-top: 24px;
  font-size: 18px;
  font-weight: 300;
  max-width: 58ch;
  line-height: 1.6;
  opacity: 0.9;
}

.article-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 70px 24px 100px;
}

.article-content p {
  font-size: 16.5px;
  font-weight: 300;
  color: var(--ink-light);
  line-height: 1.8;
  margin-bottom: 26px;
}

.article-content p.dropcap::first-letter {
  font-family: var(--font-display);
  font-size: 34px;
  float: left;
  line-height: 28px;
  padding-right: 10px;
  color: var(--rosso-scuro);
  font-weight: 800;
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.4vw, 20px);
  color: var(--rosso-scuro);
  text-transform: uppercase;
  letter-spacing: 0.015em;
  margin-top: 50px;
  margin-bottom: 20px;
}

.article-content h3 {
  font-size: 22px;
  color: var(--ink);
  margin-top: 36px;
  margin-bottom: 14px;
}

.article-content blockquote {
  margin: 40px 0;
  padding: 24px 30px;
  background: var(--pietra);
  border-left: 3px solid var(--rosso);
  font-size: 19px;
  font-style: italic;
  color: var(--rosso-scuro);
  line-height: 1.5;
}

.article-content ul, .article-content ol {
  margin-left: 24px;
  margin-bottom: 26px;
  color: var(--ink-light);
}

.article-content li {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.article-data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 36px 0;
  background: var(--crema-soft);
  border: 1px solid var(--linea);
}

.article-data-table th, .article-data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--linea-subtle);
  font-size: 14px;
  text-align: left;
}

.article-data-table th {
  background: var(--pietra);
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rosso-scuro);
}

.article-author-box {
  margin-top: 60px;
  padding: 30px;
  background: var(--pietra);
  border: 1px solid var(--linea);
  display: flex;
  gap: 24px;
  align-items: center;
}

.author-mark {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--rosso-scuro);
  color: var(--crema);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  flex-shrink: 0;
}

.author-info h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--rosso-scuro);
}

.author-info p {
  font-size: 13px;
  margin-top: 4px;
  margin-bottom: 0 !important;
  color: var(--ink-muted);
}

/* ==========================================================================
   INTERNATIONALIZATION & RTL SUPPORT (IT, EN, FR, RU, AR, ZH)
   ========================================================================== */

/* Arabic font family & RTL layout */
html[dir="rtl"],
body.lang-ar {
  direction: rtl;
  text-align: right;
  font-family: 'Noto Sans Arabic', 'Segoe UI', Tahoma, Arial, sans-serif;
}

body.lang-ar h1,
body.lang-ar h2,
body.lang-ar h3,
body.lang-ar h4,
body.lang-ar h5,
body.lang-ar .brand-main,
body.lang-ar .fmark,
body.lang-ar .btn,
body.lang-ar .cta-nav,
body.lang-ar .navlink,
body.lang-ar .kpi-num,
body.lang-ar .listing-title,
body.lang-ar .drop-cap {
  font-family: 'Noto Sans Arabic', 'Segoe UI', Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}

body.lang-ar .lang-dropdown {
  right: auto;
  left: 0;
  text-align: right;
}

body.lang-ar .float-desk {
  right: auto;
  left: 24px;
}

body.lang-ar .nav-links {
  margin-left: 0;
  margin-right: auto;
}

body.lang-ar .arrow-icon,
body.lang-ar .listing-cta,
body.lang-ar .breadcrumb {
  display: inline-block;
  transform: scaleX(-1);
}


body.lang-ar div[style*="border-left"] {
  border-left: none !important;
  border-right: 2px solid var(--rosso) !important;
  padding-left: 0 !important;
  padding-right: 24px !important;
}

body.lang-ar .map-3d-hud {
  left: auto;
  right: 20px;
}

body.lang-ar .map-3d-actions {
  right: auto;
  left: 20px;
}

body.lang-ar .map-3d-info-card {
  right: auto;
  left: 24px;
  text-align: right;
}

body.lang-ar .btn-solid .arrow-icon {
  margin-left: 0;
  margin-right: 8px;
}

/* Chinese font styling */
body.lang-zh {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

body.lang-zh h1,
body.lang-zh h2,
body.lang-zh h3,
body.lang-zh h4 {
  letter-spacing: 0.04em;
}

/* Russian font styling */
body.lang-ru {
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ==========================================================================
   10. SEZIONE TRACCIABILITÀ SPEDIZIONE & 17TRACK EMBED
   ========================================================================== */
.tracking-sec {
  background: var(--crema);
  border-top: 1px solid var(--linea);
  padding: 80px 0;
}

.tracking-box {
  background: var(--bianco);
  border: 1px solid var(--linea);
  padding: 40px;
  box-shadow: 0 16px 36px rgba(16, 11, 10, 0.04);
  max-width: 960px;
  margin: 0 auto;
}

.tracking-form-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.tracking-input {
  flex: 1;
  padding: 16px 20px;
  background: #ffffff !important;
  border: 1.5px solid var(--linea);
  font-size: 15px;
  font-family: 'Work Sans', sans-serif;
  color: #111111 !important;
  caret-color: #890D0D !important;
  cursor: text !important;
  outline: none;
  transition: all 0.25s ease;
  letter-spacing: 0.04em;
}

.tracking-input:focus {
  border-color: var(--rosso) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(137, 13, 13, 0.12) !important;
}

.tracking-demo-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--ink-light);
}

.demo-chip-btn {
  background: var(--crema-soft);
  border: 1px solid var(--linea);
  padding: 4px 10px;
  font-size: 11px;
  font-family: 'Work Sans', sans-serif;
  color: var(--rosso-scuro);
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.demo-chip-btn:hover {
  background: var(--rosso);
  color: var(--crema);
  border-color: var(--rosso);
}

/* Tracking Result Container */
.tracking-result-panel {
  display: none;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--linea);
  animation: fadeIn 0.4s ease forwards;
}

.tracking-header-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.tracking-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(137, 13, 13, 0.08);
  color: var(--rosso-scuro);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(137, 13, 13, 0.2);
}

.tracking-pulse-dot {
  width: 8px;
  height: 8px;
  background: #27ae60;
  border-radius: 50%;
  animation: pulseRadar 1.8s infinite;
}

/* Progress Step Bar */
.tracking-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  position: relative;
  margin: 32px 0;
}

.tracking-step {
  text-align: center;
  position: relative;
}

.step-node {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--crema-soft);
  border: 2px solid var(--linea);
  color: var(--ink-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.tracking-step.done .step-node {
  background: var(--rosso-scuro);
  border-color: var(--rosso-scuro);
  color: var(--crema);
}

.tracking-step.current .step-node {
  background: var(--rosso);
  border-color: var(--rosso);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(137, 13, 13, 0.2);
}

.step-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.step-meta {
  font-size: 11px;
  color: var(--ink-light);
}

/* Timeline Events Log */
.tracking-events-log {
  background: var(--crema-soft);
  border: 1px solid var(--linea);
  padding: 24px;
  margin-top: 28px;
}

.tracking-event-row {
  display: flex;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 13px;
}

.tracking-event-row:last-child {
  border-bottom: none;
}

.event-time {
  min-width: 140px;
  font-weight: 600;
  color: var(--rosso-scuro);
  font-size: 12px;
}

.event-desc {
  flex: 1;
  color: var(--ink);
}

.event-location {
  color: var(--ink-light);
  font-size: 12px;
  min-width: 120px;
  text-align: right;
}

/* 17TRACK In-Page Container */
.external-track-box {
  margin-top: 32px;
  background: var(--bianco);
  border: 1px solid var(--linea);
  padding: 20px;
}

#YQContainer {
  min-height: 480px;
  width: 100%;
}

/* ==========================================================================
   11. LEAD GENERATION MULTI-PERSONA MODAL & LEAD MAGNET
   ========================================================================== */
/* Persistent Trigger Pill (Hidden per user request: pop-up triggers on scroll / movement) */
.lead-pill-trigger {
  display: none !important;
}

.lead-pill-spark {
  color: #ffc107;
}

/* Modal Overlay & Card */
.lead-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(16, 11, 10, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.lead-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.lead-modal-card {
  background: var(--crema);
  border: 1px solid var(--linea);
  max-width: 920px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  animation: modalScaleUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 12px;
  overflow: hidden;
}

@keyframes modalScaleUp {
  from { transform: scale(0.95) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.lead-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 38px;
  height: 38px;
  background: #ffffff;
  border: 1.5px solid var(--linea);
  border-radius: 50%;
  font-size: 20px;
  color: var(--ink);
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.lead-modal-close:hover {
  background: var(--rosso);
  color: #ffffff;
  border-color: var(--rosso);
  transform: rotate(90deg);
}

/* Persona Tab Bar Hidden (Single Tailored Lead Modal Per Page) */
.persona-tab-bar {
  display: none !important;
}

/* Lead Layout Grid */
.lead-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
}

.lead-left-preview {
  background: var(--ink);
  color: var(--crema);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--linea);
}

.lead-doc-cover {
  background: linear-gradient(145deg, #1d1413, #2a1b19);
  border: 1px solid rgba(247, 243, 236, 0.15);
  padding: 24px;
  margin: 20px 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  position: relative;
}

.lead-doc-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--crema);
  background: var(--rosso);
  padding: 4px 8px;
  margin-bottom: 12px;
}

.lead-doc-title {
  font-family: 'Bank Gothic', 'BankGothic', sans-serif;
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 10px;
  color: #fff;
}

.lead-doc-meta {
  font-size: 11px;
  opacity: 0.7;
}

.lead-doc-specs {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
  font-size: 12px;
  opacity: 0.85;
}

.lead-doc-specs li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(247, 243, 236, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
}

.lead-doc-specs li::before {
  content: "✦";
  color: var(--rosso);
}

.lead-right-form {
  padding: 40px;
}

.lead-persona-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rosso-scuro);
  margin-bottom: 8px;
}

.lead-form-title {
  font-size: 24px;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 10px;
}

.lead-form-intro {
  font-size: 13px;
  color: var(--ink-light);
  margin-bottom: 24px;
  line-height: 1.5;
}

.lead-form-group {
  margin-bottom: 16px;
}

.lead-form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 6px;
}

.lead-form-group input,
.lead-form-group select {
  width: 100%;
  padding: 13px 15px;
  background: #ffffff !important;
  border: 1.5px solid rgba(137, 13, 13, 0.28) !important;
  border-radius: 12px;
  font-size: 14.5px;
  font-family: 'Work Sans', sans-serif;
  color: #111111 !important;
  caret-color: #890D0D !important;
  outline: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.lead-form-group input {
  cursor: text !important;
}

.lead-form-group select {
  cursor: pointer !important;
}

.lead-form-group input:focus,
.lead-form-group select:focus {
  border-color: var(--rosso) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(137, 13, 13, 0.18) !important;
}

.lead-btn-submit {
  width: 100%;
  padding: 16px;
  background: #D9D2C9;
  color: #12100E;
  border: none;
  border-radius: 30px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
}

.lead-btn-submit:hover {
  background: #FFFFFF;
  color: #12100E;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.lead-success-wrap {
  display: none;
  text-align: center;
  padding: 40px 20px;
  animation: fadeIn 0.4s ease forwards;
}

.lead-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(39, 174, 96, 0.15);
  color: #27ae60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

/* RTL Adjustments for Lead Modal & Tracking */
body.lang-ar .lead-modal-grid {
  direction: rtl;
}

body.lang-ar .lead-left-preview {
  border-right: none;
  border-left: 1px solid var(--linea);
  text-align: right;
}

body.lang-ar .lead-right-form {
  text-align: right;
}

body.lang-ar .lead-pill-trigger {
  left: auto;
  right: 28px;
}

body.lang-ar .event-location {
  text-align: left;
}

@media (max-width: 820px) {
  .lead-modal-grid {
    grid-template-columns: 1fr;
  }
  .lead-left-preview {
    border-right: none;
    border-bottom: 1px solid var(--linea);
    padding: 24px;
  }
  .lead-right-form {
    padding: 24px;
  }
  .tracking-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .tracking-form-row {
    flex-direction: column;
  }
}

/* Localized Custom Floating Form Error Tooltip */
.form-field-group {
  position: relative;
}

.field-error-bubble {
  position: absolute;
  top: -36px;
  left: 0;
  background: #890D0D;
  color: #FFFFFF;
  font-family: 'Work Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(137, 13, 13, 0.4);
  z-index: 99999;
  pointer-events: none;
  animation: shakeBubble 0.35s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.field-error-bubble::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 18px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #890D0D;
}

body.lang-ar .field-error-bubble {
  left: auto;
  right: 0;
}

body.lang-ar .field-error-bubble::after {
  left: auto;
  right: 18px;
}

.input-error {
  border-color: #890D0D !important;
  background-color: rgba(137, 13, 13, 0.04) !important;
  box-shadow: 0 0 0 2px rgba(137, 13, 13, 0.2) !important;
}

@keyframes shakeBubble {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-3px, 0, 0); }
  40%, 60% { transform: translate3d(3px, 0, 0); }
}






/* ==========================================================================
   CINEMATIC VIDEO SHOWCASE & LIGHTBOX (SARDEGNA & ARCHITETTURA)
   ========================================================================== */
.video-showcase-section {
  padding: 80px 0 90px;
  background: linear-gradient(180deg, #07090D 0%, #0D1118 50%, #07090D 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.video-showcase-header {
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.video-card {
  background: #111620;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
}

.video-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.video-card:hover .video-thumb-img {
  transform: scale(1.08);
}

.video-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(8, 9, 12, 0.75);
  border: 2px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
  z-index: 3;
}

.video-card:hover .video-play-badge {
  transform: translate(-50%, -50%) scale(1.15);
  background: #FFFFFF;
  color: #08090C;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
}

.video-duration-pill {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 3;
}

.video-cat-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 3;
}

.video-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.video-card-title {
  font-family: 'Bank Gothic', 'BankGothic', sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 17px;
  font-weight: 700;
  color: var(--crema);
  margin-bottom: 8px;
  line-height: 1.35;
}

.video-card-desc {
  font-size: 12.5px;
  color: #A0AEC0;
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.video-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

.video-card:hover .video-card-cta {
  color: rgba(255, 255, 255, 0.75);
}

/* VIDEO MODAL LIGHTBOX */
.video-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 9, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-box {
  width: 100%;
  max-width: 1000px;
  background: #090C12;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.9);
  position: relative;
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.video-modal-backdrop.open .video-modal-box {
  transform: scale(1);
}

.video-modal-header {
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background: #0F131C;
}

.video-modal-title {
  font-family: 'Bank Gothic', 'BankGothic', sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 15px;
  color: var(--crema);
  font-weight: 700;
}

.video-modal-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s;
}

.video-modal-close:hover {
  color: #FFFFFF;
}

.video-player-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
}

.video-modal-footer {
  padding: 12px 20px;
  background: #0B0E14;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   PROPERTY CARD ACTION BUTTONS (VIDEO TOUR & LUXURY DOSSIER PDF)
   ========================================================================== */
.listing-actions-bar {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-card-action {
  flex: 1;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--crema);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-card-action:hover {
  background: #FFFFFF;
  color: #08090C;
  border-color: #FFFFFF;
}

.btn-card-action.video-btn {
  border-color: rgba(0, 180, 216, 0.4);
  color: #48CAE4;
}

.btn-card-action.video-btn:hover {
  background: #00B4D8;
  color: #000;
  border-color: #00B4D8;
}

/* ==========================================================================
   OFFICIAL EXECUTIVE LUXURY HUB (hub.html)
   ========================================================================== */
.hub-hero-section {
  position: relative;
  background: radial-gradient(circle at 50% 20%, rgba(137, 13, 13, 0.32) 0%, rgba(16, 11, 10, 0.96) 75%, #0d0908 100%),
              url('../img/sardinia-hub-bg.jpg') center center / cover no-repeat;
  padding: 140px 0 60px;
  border-bottom: 1px solid var(--linea);
  overflow: hidden;
}

.hub-hero-wrap {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hub-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(16, 11, 10, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 22px;
}

.hub-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: hubPulse 2s infinite ease-in-out;
}

@keyframes hubPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.hub-brand-crest {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(137, 13, 13, 0.95) 0%, rgba(16, 11, 10, 0.95) 85%);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
}

.hub-brand-crest img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.hub-verified-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24px;
  height: 24px;
  background: var(--rosso);
  border: 2px solid #0d0908;
  border-radius: 50%;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.hub-hero-title {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.6vw, 24px);
  font-weight: 900;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: #FFFFFF !important;
  line-height: 1.25;
  white-space: nowrap;
  max-width: 100%;
  margin-bottom: 10px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hub-hero-payoff {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.74) !important;
  font-weight: 700;
  margin-bottom: 18px;
}

.hub-hero-lead {
  font-size: 15.5px;
  color: rgba(247, 243, 236, 0.92) !important;
  max-width: 680px;
  line-height: 1.6;
  margin: 0 auto 30px;
  font-weight: 300;
}

/* KPIs bar */
.hub-kpi-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 960px;
  background: rgba(16, 11, 10, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  padding: 18px 24px;
  margin-bottom: 30px;
}

.hub-kpi-item {
  text-align: center;
  position: relative;
}

.hub-kpi-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.hub-kpi-num {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  color: #FFFFFF !important;
  line-height: 1.1;
}

.hub-kpi-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #F7F3EC !important;
  opacity: 0.85;
  margin-top: 4px;
}

/* Concierge Action Quickbar */
.hub-action-quickbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 860px;
}

.hub-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(16, 11, 10, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--crema);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border-radius: 999px;
}

.hub-quick-btn:hover {
  background: var(--rosso);
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(137, 13, 13, 0.4);
}

.hub-quick-btn.btn-wa-gold {
  background: rgba(137, 13, 13, 0.8);
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

.hub-quick-btn.btn-wa-gold:hover {
  background: var(--rosso);
  color: #FFFFFF;
}

/* Category Filter Bar */
.hub-filter-wrapper {
  background: var(--crema);
  padding: 20px 0 10px;
  border-bottom: 1px solid var(--linea);
  position: sticky;
  top: 74px;
  z-index: 40;
  backdrop-filter: blur(10px);
}

.hub-filters-inner {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.hub-filters-inner::-webkit-scrollbar { display: none; }

.hub-filter-btn {
  background: transparent;
  border: 1px solid var(--linea);
  color: var(--ink);
  padding: 8px 18px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.hub-filter-btn:hover, .hub-filter-btn.active {
  background: var(--rosso);
  border-color: var(--rosso);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(137, 13, 13, 0.25);
}

/* Cards Grid Section */
.hub-content-section {
  background: var(--crema-soft);
  padding: 56px 0 80px;
}

.hub-grid-wrap {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 44px;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 1024px) {
  .hub-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 680px) {
  .hub-hero-section {
    padding: 100px 0 36px;
    overflow: hidden;
  }
  .hub-hero-wrap {
    padding: 0 16px;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow: hidden;
  }
  .hub-live-pill {
    font-size: 10px;
    padding: 5px 12px;
    max-width: calc(100vw - 32px);
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }
  .hub-hero-title {
    font-size: clamp(13px, 3.4vw, 16px);
    line-height: 1.25;
    max-width: 100%;
    white-space: normal;
  }
  .hub-hero-lead {
    font-size: 13.5px;
    margin-bottom: 24px;
    padding: 0 4px;
  }
  .hub-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hub-kpi-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 14px 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hub-kpi-num {
    font-size: 24px;
  }
  .hub-kpi-label {
    font-size: 10px;
  }
  .hub-kpi-item:nth-child(2)::after {
    display: none;
  }
  .hub-action-quickbar {
    gap: 8px;
    width: 100%;
    max-width: 100%;
  }
  .hub-quick-btn {
    padding: 8px 10px;
    font-size: 10.5px;
    flex: 1 1 calc(50% - 6px);
    justify-content: center;
  }
  .hub-quick-btn.btn-wa-gold {
    flex: 1 1 100%;
  }
  .hub-vip-dock-banner {
    padding: 24px 18px;
  }
  .hub-vip-info h3 {
    font-size: 22px;
  }
}

/* Individual Luxury Hub Card */
.hub-card-item {
  background: #FFFFFF;
  border: 1px solid var(--linea);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  position: relative;
}

.hub-card-item:hover {
  transform: translateY(-6px);
  border-color: var(--rosso);
  box-shadow: 0 16px 36px rgba(92, 8, 8, 0.12);
}

.hub-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1A1212;
}

.hub-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hub-card-item:hover .hub-card-media img {
  transform: scale(1.08);
}

.hub-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(16, 11, 10, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  backdrop-filter: blur(8px);
}

.hub-card-badge.badge-hot {
  background: var(--rosso);
  border-color: var(--rosso);
  color: #FFFFFF;
}

.hub-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.hub-card-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--rosso-scuro);
  line-height: 1.15;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.hub-card-item:hover .hub-card-title {
  color: var(--rosso);
}

.hub-card-desc {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.55;
  font-weight: 400;
  margin-bottom: 20px;
}

.hub-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(137, 13, 13, 0.1);
  margin-top: auto;
}

.hub-card-cta-text {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rosso);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hub-card-arrow-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--crema);
  border: 1px solid var(--linea);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rosso);
  font-size: 12px;
  transition: all 0.25s ease;
}

.hub-card-item:hover .hub-card-arrow-circle {
  background: var(--rosso);
  color: #FFFFFF;
  border-color: var(--rosso);
  transform: translateX(3px);
}

/* VIP vCard & Concierge Banner */
.hub-vip-dock-banner {
  background: #100B0A;
  border: 1px solid var(--linea-chiara);
  padding: 36px 40px;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.hub-vip-info h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--crema);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hub-vip-info p {
  font-size: 13.5px;
  color: rgba(247, 243, 236, 0.75);
  margin-top: 6px;
  max-width: 540px;
}

.hub-vip-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Modal styling for QR Code */
.hub-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 11, 10, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.hub-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.hub-modal-box {
  background: #161111;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 36px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
}

.hub-modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--crema);
  width: 32px;
  height: 32px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-modal-qr-container {
  width: 210px;
  height: 210px;
  background: #FFFFFF;
  margin: 20px auto;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.hub-modal-qr-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============================================================
   GENIS INSTAGRAM STRIP — Sotheby's-style staggered carousel
   ============================================================ */
.genis-instagram-strip {
  background: var(--crema, #F7F3EC);
  padding: 72px 0 48px;
  overflow: hidden;
  position: relative;
}

.genis-instagram-strip__header {
  text-align: center;
  margin-bottom: 48px;
  padding: 0 24px;
}

.genis-instagram-strip__eyebrow {
  display: inline-block;
  font-family: var(--font-display, 'Big Shoulders Display', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rosso, #890D0D);
  margin-bottom: 10px;
}

.genis-instagram-strip__title {
  font-family: var(--font-display, 'Big Shoulders Display', sans-serif);
  font-size: clamp(13px, 1.6vw, 24px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  color: var(--ink-deep, #100B0A);
  margin: 0;
  line-height: 1.25;
  white-space: nowrap;
  max-width: 100%;
}

@media (max-width: 768px) {
  .genis-instagram-strip__title {
    white-space: normal;
    font-size: clamp(13px, 3.4vw, 16px);
  }
}

.genis-instagram-strip__handle {
  font-size: 13px;
  color: var(--ink-muted, #6E655F);
  font-weight: 500;
  letter-spacing: 0.06em;
}

.genis-instagram-strip__handle a {
  color: var(--rosso, #890D0D);
  text-decoration: none;
  font-weight: 700;
}

.genis-instagram-strip__handle a:hover {
  text-decoration: underline;
}

/* Two-row track container */
.genis-instagram-strip__track-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.genis-instagram-strip__row {
  display: flex;
  gap: 0;
  align-items: flex-start;
  will-change: transform;
}

.genis-instagram-strip__row--top {
  margin-bottom: 6px;
}

/* Row 2 offset left by half tile (135px) for brickwork stagger */
.genis-instagram-strip__row--bottom {
  transform: translateX(-135px);
}


/* Each square tile */
.genis-ig-tile {
  flex: 0 0 264px;
  width: 264px;
  height: 264px;
  position: relative;
  overflow: hidden;
  display: block;
  margin-right: 6px;
  cursor: pointer;
  background: #E8E1D3;
  flex-shrink: 0;
}

.genis-ig-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.genis-ig-tile:hover img {
  transform: scale(1.05);
}

/* Hover overlay */
.genis-ig-tile__overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 11, 10, 0.78);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 22px 20px;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.genis-ig-tile:hover .genis-ig-tile__overlay {
  opacity: 1;
}

.genis-ig-tile__icon {
  font-size: 18px;
  margin-bottom: 8px;
  opacity: 0.85;
}

.genis-ig-tile__caption {
  font-family: var(--font-display, 'Big Shoulders Display', sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1.35;
  margin: 0 0 10px;
}

.genis-ig-tile__link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.genis-ig-tile__link:hover {
  color: #ffffff;
  border-color: rgba(255,255,255,0.8);
}

/* Editorial tiles */
.genis-ig-tile--editorial {
  background: var(--rosso-scuro, #5C0808);
}

.genis-ig-tile--editorial-ink {
  background: var(--ink-deep, #100B0A);
}

.genis-ig-tile--editorial .genis-ig-tile__editorial-text,
.genis-ig-tile--editorial-ink .genis-ig-tile__editorial-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 30px 26px;
}

.genis-ig-tile__editorial-eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.74);
  margin-bottom: 14px;
}

.genis-ig-tile__editorial-headline {
  font-family: var(--font-display, 'Big Shoulders Display', sans-serif);
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  color: #FFFFFF;
  line-height: 1.15;
}

/* Responsive mobile adjustments */
@media (max-width: 640px) {
  .genis-instagram-strip {
    padding: 48px 0 32px;
  }
  .genis-instagram-strip__header {
    margin-bottom: 28px;
  }
}

/* ==========================================================================
   SCHEDE PRODOTTO SINGOLO (GENIS SHOP CAPSULE)
   ========================================================================== */
.product-hero-sec {
  padding-top: 130px;
  padding-bottom: 30px;
  background: var(--crema-soft);
  border-bottom: 1px solid var(--linea);
}

.product-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.product-breadcrumbs a {
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.product-breadcrumbs a:hover {
  color: var(--rosso-scuro);
}
.product-breadcrumbs .sep {
  opacity: 0.4;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 52px;
  align-items: start;
}

@media (max-width: 960px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.product-gallery-box {
  background: var(--pietra-light);
  border: 1px solid var(--linea);
  border-radius: 12px;
  padding: 46px 32px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(16, 11, 10, 0.04);
}

.product-badge-corner {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--rosso-scuro);
  color: var(--crema);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 12px;
  border-radius: 999px;
}

.product-edition-corner {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 11px;
  color: var(--ink-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-main-icon-stage {
  width: 220px;
  height: 220px;
  margin: 28px 0 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E8E1D3;
  border: 2px solid rgba(137, 13, 13, 0.16);
  box-shadow: 0 14px 34px rgba(137, 13, 13, 0.09);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-main-icon-stage:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 42px rgba(137, 13, 13, 0.14);
}

.product-main-icon-stage svg {
  width: 140px;
  height: 140px;
}

.product-gallery-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
}
.product-pill {
  font-size: 11px;
  background: var(--crema);
  border: 1px solid var(--linea);
  padding: 5px 12px;
  border-radius: 20px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.product-info-pane {
  display: flex;
  flex-direction: column;
}

.product-category-tag {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--rosso);
  margin-bottom: 8px;
}

.product-h1 {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.6vw, 24px);
  font-weight: 800;
  color: var(--rosso-scuro);
  line-height: 1.25;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  white-space: nowrap;
  max-width: 100%;
}

@media (max-width: 768px) {
  .product-h1 {
    white-space: normal;
    font-size: clamp(13px, 3.4vw, 16px);
  }
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--linea);
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.product-price-amount {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.product-price-vat {
  font-size: 12.5px;
  color: var(--ink-muted);
}
.product-stock-badge {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 600;
  color: #2e7d32;
  background: #e8f5e9;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
@media (max-width: 540px) {
  .product-stock-badge { margin-left: 0; width: 100%; text-align: center; }
}

.product-story-lead {
  font-size: 15px;
  line-height: 1.68;
  color: var(--ink);
  margin-bottom: 24px;
  font-weight: 400;
}

.product-specs-card {
  background: var(--pietra-light);
  border: 1px solid var(--linea);
  border-radius: 12px;
  margin-bottom: 24px;
  overflow: hidden;
}
.product-spec-row {
  display: flex;
  border-bottom: 1px solid var(--linea);
  padding: 12px 18px;
  font-size: 13px;
}
.product-spec-row:last-child {
  border-bottom: none;
}
.product-spec-label {
  width: 140px;
  flex-shrink: 0;
  font-weight: 600;
  color: var(--rosso-scuro);
  text-transform: uppercase;
  font-size: 11.5px;
  letter-spacing: 0.06em;
}
.product-spec-val {
  color: var(--ink);
  line-height: 1.5;
}

.product-omaggio-box {
  background: rgba(137, 13, 13, 0.06);
  border-left: 3px solid var(--rosso);
  padding: 16px 20px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 24px;
  border-radius: 0 4px 4px 0;
}
.product-omaggio-title {
  font-weight: 700;
  color: var(--rosso-scuro);
  text-transform: uppercase;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.product-actions-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.product-actions-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.product-btn-preorder {
  flex: 1;
  min-width: 200px;
  text-align: center;
  background: var(--rosso-scuro);
  color: var(--crema);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 22px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.25s, transform 0.2s;
  box-shadow: 0 4px 14px rgba(137, 13, 13, 0.18);
}
.product-btn-preorder:hover {
  background: var(--rosso);
  transform: translateY(-1px);
}
.product-btn-wa {
  flex: 1;
  min-width: 200px;
  text-align: center;
  background: #1b5e20;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 15px 22px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.25s, transform 0.2s;
  box-shadow: 0 4px 14px rgba(27, 94, 32, 0.18);
}
.product-btn-wa:hover {
  background: #2e7d32;
  transform: translateY(-1px);
}

.product-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
@media (max-width: 768px) {
  .product-benefits-grid {
    grid-template-columns: 1fr;
  }
}
.product-benefit-card {
  background: var(--pietra-light);
  border: 1px solid var(--linea);
  padding: 22px 18px;
  border-radius: 12px;
  text-align: center;
}
.product-benefit-icon {
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--rosso);
}
.product-benefit-title {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rosso-scuro);
  margin-bottom: 6px;
}
.product-benefit-desc {
  font-size: 12px;
  color: var(--ink-light);
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   GENIS EXCLUSIVE COOKIE & PRIVACY CONSENT BANNER (GDPR)
   ============================================================ */
.genis-cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 11, 10, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.genis-cookie-overlay.active {
  opacity: 1;
  visibility: visible;
}

.genis-cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 520px;
  width: calc(100% - 48px);
  background: #FFFFFF;
  border: 1px solid #E8E1D3;
  border-top: 4px solid #890D0D;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(16, 11, 10, 0.22), 0 0 30px rgba(137, 13, 13, 0.08);
  padding: 24px 26px 22px;
  z-index: 99999;
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1A1A1A;
  transform: translateY(40px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s;
}

.genis-cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.g-cookie-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.g-cookie-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(137, 13, 13, 0.08);
  border: 1px solid rgba(137, 13, 13, 0.2);
  color: #890D0D;
  font-family: 'Bank Gothic', 'BankGothic', -apple-system, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

.g-cookie-close {
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1;
  color: #6E655F;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}
.g-cookie-close:hover {
  color: #890D0D;
}

.g-cookie-title {
  font-family: 'Bank Gothic', 'BankGothic', -apple-system, sans-serif;
  font-size: 14.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #100B0A;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.g-cookie-desc {
  font-size: 13px;
  color: #3A332F;
  line-height: 1.6;
  margin: 0 0 18px 0;
  font-weight: 400;
}

.g-cookie-desc a {
  color: #890D0D;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.g-cookie-desc a:hover {
  color: #5C0808;
}

/* Actions Row */
.g-cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.g-cookie-btn {
  font-family: 'Bank Gothic', 'BankGothic', -apple-system, sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.g-cookie-btn-primary {
  background: #890D0D;
  color: #FFFFFF;
  border-color: #890D0D;
  box-shadow: 0 4px 14px rgba(137, 13, 13, 0.25);
  flex: 1 1 auto;
}
.g-cookie-btn-primary:hover {
  background: #aa1212;
  border-color: #aa1212;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(137, 13, 13, 0.35);
  color: #FFFFFF;
}

.g-cookie-btn-secondary {
  background: #F7F3EC;
  color: #1A1A1A;
  border-color: #E8E1D3;
  flex: 1 1 auto;
}
.g-cookie-btn-secondary:hover {
  background: #EFEAE0;
  border-color: #D4CABE;
  color: #100B0A;
}

.g-cookie-btn-tertiary {
  background: transparent;
  color: #6E655F;
  border: none;
  padding: 8px 10px;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  width: 100%;
  text-align: center;
  margin-top: 4px;
}
.g-cookie-btn-tertiary:hover {
  color: #890D0D;
}

/* Preferences Accordion Panel */
.g-cookie-preferences {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #E8E1D3;
  animation: gCookieFade 0.25s ease;
}
.g-cookie-preferences.active {
  display: block;
}
@keyframes gCookieFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.g-pref-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(232, 225, 211, 0.7);
}
.g-pref-item:last-child {
  border-bottom: none;
}

.g-pref-text h4 {
  font-family: 'Bank Gothic', 'BankGothic', -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #100B0A;
  margin: 0 0 3px 0;
  letter-spacing: 0.04em;
}
.g-pref-text p {
  font-size: 11.5px;
  color: #6E655F;
  margin: 0;
  line-height: 1.45;
}

.g-pref-switch {
  position: relative;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}
.g-pref-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.g-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #E8E1D3;
  transition: 0.25s;
  border-radius: 22px;
}
.g-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.g-pref-switch input:checked + .g-slider {
  background-color: #890D0D;
}
.g-pref-switch input:checked + .g-slider:before {
  transform: translateX(18px);
}
.g-pref-switch input:disabled + .g-slider {
  background-color: #C5A059;
  cursor: not-allowed;
  opacity: 0.8;
}

.g-pref-save-btn {
  margin-top: 14px;
  width: 100%;
}

/* Floating Cookie Trigger Icon (Always Available in bottom left) */
.g-cookie-trigger-btn {
  position: fixed;
  bottom: 22px;
  left: 22px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E8E1D3;
  box-shadow: 0 6px 18px rgba(16, 11, 10, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #890D0D;
  font-size: 16px;
  cursor: pointer;
  z-index: 9999;
  transition: all 0.25s ease;
}
.g-cookie-trigger-btn:hover {
  transform: scale(1.1);
  border-color: #890D0D;
  box-shadow: 0 8px 24px rgba(137, 13, 13, 0.25);
  color: #5C0808;
}

@media (max-width: 600px) {
  .genis-cookie-banner {
    bottom: 14px;
    right: 14px;
    left: 14px;
    width: auto;
    padding: 20px 18px 18px;
  }
  .g-cookie-actions {
    flex-direction: column;
  }
  .g-cookie-btn {
    width: 100%;
  }
  .g-cookie-trigger-btn {
    bottom: 14px;
    left: 14px;
  }
}

/* ==========================================================================
   SERHANT-INSPIRED REAL ESTATE SEARCH & LISTING ARCHITECTURE
   ========================================================================== */
.serhant-filter-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--linea-chiara, #E8E1D3);
  padding: 16px 0;
  margin-bottom: 28px;
  position: sticky;
  top: 74px;
  z-index: 60;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

.serhant-filter-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.serhant-filter-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

.serhant-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 280px;
  max-width: 360px;
  flex: 1;
}

.serhant-search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #8C847E;
  pointer-events: none;
  z-index: 2;
  transition: color 0.2s ease;
}

.serhant-search-input-wrap:focus-within .serhant-search-icon {
  color: var(--rosso, #890D0D);
}

.serhant-search-input-wrap input,
.serhant-search-input,
#serhantSearchInput {
  width: 100%;
  box-sizing: border-box;
  padding: 10.5px 36px 10.5px 42px;
  border: 1px solid #D5CEBF;
  border-radius: 999px;
  font-size: 13.5px;
  font-family: var(--font-body);
  background: #FAF8F5;
  color: #12100E;
  outline: none;
  line-height: 1.3;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.serhant-search-input-wrap input::placeholder,
.serhant-search-input::placeholder,
#serhantSearchInput::placeholder {
  color: #8C847E;
  font-weight: 400;
  opacity: 0.9;
}

.serhant-search-input-wrap input:focus,
.serhant-search-input:focus,
#serhantSearchInput:focus {
  background: #FFFFFF;
  border-color: var(--rosso, #890D0D);
  box-shadow: 0 0 0 3px rgba(137, 13, 13, 0.12);
}

.serhant-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #E8E1D3;
  color: #6E655F;
  border: none;
  font-size: 10px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  z-index: 2;
  padding: 0;
  line-height: 1;
}

.serhant-search-clear:hover {
  background: var(--rosso, #890D0D);
  color: #FFFFFF;
}

.serhant-pill-dropdown {
  position: relative;
}

.serhant-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid #D5CEBF;
  border-radius: 999px;
  background: #FFFFFF;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
  color: #2A2623;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.serhant-pill-btn:hover {
  border-color: var(--rosso, #890D0D);
  color: var(--rosso, #890D0D);
}

.serhant-pill-btn.active {
  background: #FAF3EC;
  border-color: var(--rosso, #890D0D);
  color: var(--rosso, #890D0D);
  font-weight: 600;
}

.serhant-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: #FFFFFF;
  border: 1px solid #E8E1D3;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 100;
}

.serhant-pill-dropdown.open .serhant-dropdown-menu {
  display: flex;
  animation: serhantDropIn 0.18s ease forwards;
}

@keyframes serhantDropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.serhant-dropdown-item {
  padding: 10px 14px;
  border-radius: 8px;
  background: transparent;
  border: none;
  font-size: 13px;
  font-family: var(--font-body);
  font-weight: 500;
  color: #2A2623;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}

.serhant-dropdown-item:hover, .serhant-dropdown-item.active {
  background: #FAF3EC;
  color: var(--rosso, #890D0D);
  font-weight: 600;
}

.serhant-filter-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.serhant-view-switch {
  display: inline-flex;
  border: 1px solid #D5CEBF;
  border-radius: 999px;
  overflow: hidden;
  background: #FAF8F5;
  padding: 2px;
}

.serhant-view-btn {
  padding: 7px 16px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 999px;
  color: #6E655F;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.serhant-view-btn.active {
  background: #12100E;
  color: #FFFFFF;
}

.serhant-all-filters-btn {
  padding: 9px 18px;
  border: 1px solid #D5CEBF;
  border-radius: 999px;
  background: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  color: #12100E;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.serhant-all-filters-btn:hover {
  border-color: var(--rosso, #890D0D);
  color: var(--rosso, #890D0D);
}

.serhant-save-search-btn {
  padding: 9px 20px;
  border-radius: 999px;
  background: transparent;
  color: var(--rosso, #890D0D);
  border: 1px solid var(--rosso, #890D0D);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-mono, monospace);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.serhant-save-search-btn:hover {
  background: var(--rosso, #890D0D);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(137, 13, 13, 0.25);
  transform: translateY(-1px);
}

/* Header & Results Bar */
.serhant-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  flex-wrap: wrap;
  gap: 16px;
}

.serhant-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.serhant-main-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 800;
  color: #12100E;
  letter-spacing: 0.015em;
  margin: 0;
  text-transform: uppercase;
  line-height: 1.2;
}

.serhant-results-count {
  font-size: 14px;
  color: #6E655F;
  font-weight: 500;
}

.serhant-sort-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.serhant-sort-label {
  font-size: 13px;
  color: #6E655F;
  font-weight: 500;
}

.serhant-sort-select {
  border: 1px solid #D5CEBF;
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--font-body);
  color: #12100E;
  background: #FFFFFF;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}

.serhant-sort-select:hover, .serhant-sort-select:focus {
  border-color: #12100E;
}

/* 2-Column Property Grid */
.serhant-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 36px;
  margin-bottom: 60px;
}

@media (max-width: 960px) {
  .serhant-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* SERHANT Property Card */
.serhant-card {
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
}

.serhant-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.serhant-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.2;
  border-radius: 16px;
  overflow: hidden;
  background: #0E0C0B;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.serhant-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.serhant-card:hover .serhant-card-img {
  transform: scale(1.045);
}

.serhant-media-badges-left {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.serhant-badge-active {
  background: rgba(18, 16, 14, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.serhant-badge-exclusive {
  background: #0E1B38;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.serhant-media-actions-right {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.serhant-circle-action {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(18, 16, 14, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.serhant-circle-action:hover {
  background: rgba(18, 16, 14, 0.95);
  transform: translateY(-2px) scale(1.08);
  border-color: #FFFFFF;
}

.serhant-circle-action.favorited {
  background: #FFFFFF;
  color: var(--rosso, #890D0D);
  border-color: #FFFFFF;
}

.serhant-media-bottom-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 34px 18px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 100%);
  color: rgba(255, 255, 255, 0.95);
  font-size: 12.5px;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.serhant-card-info {
  padding-top: 14px;
}

.serhant-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.serhant-price {
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: 800;
  color: #12100E;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.serhant-more-btn {
  background: transparent;
  border: none;
  color: #8C847E;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.serhant-more-btn:hover {
  background: #FAF8F5;
  color: #12100E;
}

.serhant-specs-line {
  font-size: 16px;
  font-weight: 700;
  color: #1A1614;
  margin-bottom: 5px;
}

/* Stylized Property Specs Grid (Savills Luxury Style) */
.serhant-specs-grid {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 0 8px;
  margin: 6px 0 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  flex-wrap: wrap;
}

.serhant-spec-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.serhant-spec-lbl {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
  color: #7A726C;
  letter-spacing: 0.02em;
}

.serhant-spec-val-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #12100E;
}

.serhant-spec-icon {
  width: 18px;
  height: 18px;
  color: var(--rosso, #890D0D);
  flex-shrink: 0;
}

.serhant-spec-num {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 800;
  color: #12100E;
  letter-spacing: 0.02em;
}

/* Hover overlay button on image */
.serhant-hover-overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  background: #FFFFFF;
  color: #100b0a !important;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 26px;
  border-radius: 4px;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 10;
  white-space: nowrap;
}

.serhant-card:hover .serhant-hover-overlay-btn,
.ap-card:hover .serhant-hover-overlay-btn {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

.serhant-hover-overlay-btn:hover {
  background: var(--rosso, #890D0D);
  color: #FFFFFF !important;
  transform: translate(-50%, -50%) scale(1.05);
}

.serhant-card:hover .serhant-card-img,
.ap-card:hover .ap-card__media-wrap img {
  transform: scale(1.045);
  filter: brightness(0.88);
}

.serhant-address-line {
  font-size: 15px;
  color: #55504A;
  margin-bottom: 8px;
  line-height: 1.45;
}

.serhant-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 13px;
  color: #7A726C;
}

.serhant-mls-ref {
  font-size: 13px;
  color: #7A726C;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.serhant-cert-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.06em;
}

.serhant-cert-badge .cert-rls {
  color: var(--rosso, #890D0D);
  font-weight: 900;
}

.serhant-cert-badge .cert-sub {
  color: #12100E;
  font-size: 11px;
  opacity: 0.9;
  font-weight: 700;
}

/* ==========================================================================
   SERHANT MODALS, QUICK ACTIONS & TOAST
   ========================================================================== */
.serhant-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 16, 14, 0.68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.serhant-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.serhant-modal-box {
  background: #FFFFFF;
  border-radius: 22px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.25);
  max-width: 540px;
  width: 100%;
  padding: 32px;
  position: relative;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: #12100E;
  max-height: 90vh;
  overflow-y: auto;
}

.serhant-modal-overlay.active .serhant-modal-box {
  transform: scale(1) translateY(0);
}

.serhant-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F5F3EF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #6E655F;
  transition: all 0.2s ease;
}

.serhant-modal-close:hover {
  background: #EFEAE0;
  color: #12100E;
  transform: rotate(90deg);
}

.serhant-modal-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rosso, #890D0D);
  margin-bottom: 6px;
  display: block;
}

.serhant-modal-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #12100E;
  margin-bottom: 8px;
}

.serhant-modal-desc {
  font-size: 13.5px;
  color: #6E655F;
  line-height: 1.55;
  margin-bottom: 22px;
}

/* Share Preview Box */
.serhant-share-preview {
  display: flex;
  gap: 14px;
  padding: 12px;
  background: #FAF8F5;
  border-radius: 12px;
  border: 1px solid #EFEAE0;
  margin-bottom: 22px;
  align-items: center;
}

.serhant-share-thumb {
  width: 72px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
}

.serhant-share-meta {
  flex: 1;
  min-width: 0;
}

.serhant-share-meta-title {
  font-size: 14px;
  font-weight: 700;
  color: #12100E;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.serhant-share-meta-sub {
  font-size: 12px;
  color: #6E655F;
  margin-top: 2px;
}

/* Share Grid */
.serhant-share-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.serhant-share-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  border-radius: 12px;
  border: 1px solid #EFEAE0;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: #12100E;
  font-size: 12px;
  font-weight: 600;
}

.serhant-share-btn:hover {
  background: #FAF8F5;
  border-color: #D5CEBF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.serhant-share-btn svg {
  width: 22px;
  height: 22px;
}

.serhant-copy-wrap {
  display: flex;
  gap: 8px;
}

.serhant-copy-input {
  flex: 1;
  background: #FAF8F5;
  border: 1px solid #D5CEBF;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: #12100E;
  outline: none;
}

.serhant-copy-btn {
  background: #12100E;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.serhant-copy-btn:hover {
  background: var(--rosso, #890D0D);
}

/* Toast */
.serhant-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #12100E;
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: 40px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 100000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.serhant-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   DIRECT RESPONSE SALESPAGE ARCHITECTURE (Dan Kennedy & Frank Merenda Style)
   ========================================================================== */

/* Trust & Reassurance Bar in Hero */
.sales-hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 12.5px;
  color: var(--crema-soft);
  opacity: 0.9;
  letter-spacing: 0.03em;
}

.sales-hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Action Callout Banners Across Sections */
.sales-action-banner {
  background: #FFFFFF;
  border: 1px solid var(--linea);
  border-radius: 14px;
  padding: 22px 28px;
  margin: 24px auto 0 auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.sales-action-banner--dark {
  background: #140E0D;
  border-color: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.sales-action-banner--highlight {
  background: rgba(137, 13, 13, 0.035);
  border: 1px solid rgba(137, 13, 13, 0.18);
  border-left: 4px solid var(--rosso);
}

.sales-action-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--rosso-scuro);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.sales-action-banner--dark .sales-action-title {
  color: #FFFFFF;
}

.sales-action-desc {
  font-size: 14px;
  color: var(--ink-light);
  margin: 0;
  line-height: 1.55;
  max-width: 820px;
}

.sales-action-banner--dark .sales-action-desc {
  color: rgba(247, 243, 236, 0.82);
}

.sales-action-btns {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* 3 Deadly Mistakes Grid (Frank Merenda Reality Check) */
.sales-mistakes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 36px 0;
}

.sales-mistake-card {
  background: #FFFFFF;
  border: 1px solid var(--linea);
  border-top: 3px solid var(--rosso);
  border-radius: 8px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sales-mistake-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(137, 13, 13, 0.08);
}

.sales-mistake-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: var(--rosso);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.sales-mistake-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  text-transform: uppercase;
  margin: 0 0 10px 0;
  line-height: 1.35;
}

.sales-mistake-desc {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.65;
  margin: 0;
}

/* Comparison Table / Box (Agenzia Generalista vs GENIS) */
.sales-compare-wrap {
  margin: 48px 0;
  background: #FFFFFF;
  border: 1px solid var(--linea);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.sales-compare-header {
  padding: 22px 28px;
  background: var(--crema-soft);
  border-bottom: 1px solid var(--linea);
  text-align: center;
}

.sales-compare-header h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--rosso-scuro);
  text-transform: uppercase;
  margin: 0 0 6px 0;
}

.sales-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
  .sales-compare-grid {
    grid-template-columns: 1fr;
  }
}

.sales-compare-col {
  padding: 30px 28px;
}

.sales-compare-col--bad {
  background: rgba(0, 0, 0, 0.015);
  border-right: 1px solid var(--linea);
}

.sales-compare-col--good {
  background: rgba(137, 13, 13, 0.025);
}

.sales-compare-col-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sales-compare-col--bad .sales-compare-col-title {
  color: #8c2a2a;
}

.sales-compare-col--good .sales-compare-col-title {
  color: var(--rosso);
}

.sales-compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sales-compare-list li {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.sales-compare-col--bad .sales-compare-list li {
  color: var(--ink-muted);
}

.sales-compare-col--good .sales-compare-list li {
  color: var(--ink);
  font-weight: 500;
}

/* Disqualification Box (Dan Kennedy Takeaway Selling) */
.sales-disqualify-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 36px 0;
}

@media (max-width: 768px) {
  .sales-disqualify-grid {
    grid-template-columns: 1fr;
  }
}

.sales-disqualify-card {
  padding: 26px 24px;
  border-radius: 8px;
  border: 1px solid var(--linea);
}

.sales-disqualify-card--not {
  background: #FFF7F7;
  border-color: rgba(137, 13, 13, 0.2);
}

.sales-disqualify-card--for {
  background: #F8FAF6;
  border-color: rgba(46, 125, 50, 0.2);
}

.sales-disqualify-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sales-disqualify-card--not .sales-disqualify-title {
  color: #B71C1C;
}

.sales-disqualify-card--for .sales-disqualify-title {
  color: #2E7D32;
}

.sales-disqualify-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
}

.sales-disqualify-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink-light);
}

.sales-disqualify-list li strong {
  color: var(--ink);
}

/* ==========================================================================
   AUDEMARS PIGUET INSPIRATION: LUXURY BRAND INTRO, STORYTELLING & SHOP STYLING
   ========================================================================== */

/* 1. Luxury Brand Intro / Preloader (Entrance with Logo & Site Unveiling) */
.ap-luxury-intro {
  position: fixed;
  inset: 0;
  z-index: 100000;
  /* Exact same background and gradient as .page-hero and .shop-hero banner */
  background: radial-gradient(120% 160% at 80% 0%, var(--rosso) 0%, var(--rosso-scuro) 45%, var(--ink-deep) 85%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--crema);
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), filter 1.4s ease;
  overflow: hidden;
  user-select: none;
}

.ap-luxury-intro--hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
  filter: blur(6px);
  pointer-events: none;
}

.ap-intro-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.45;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 3px 3px;
}

.ap-intro-halo {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, rgba(247, 243, 236, 0.18) 35%, rgba(137, 13, 13, 0.25) 55%, transparent 75%);
  filter: blur(48px);
  pointer-events: none;
  animation: apHaloPulse 3.5s ease-in-out infinite alternate;
}

@keyframes apHaloPulse {
  0% { transform: scale(0.85); opacity: 0.6; }
  100% { transform: scale(1.22); opacity: 1; }
}

.ap-intro-center {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 620px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ap-intro-logo-wrap {
  position: relative;
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.ap-intro-brand-logo {
  width: clamp(220px, 36vw, 360px);
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.7));
  animation: apLogoReveal 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes apLogoReveal {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.7));
  }
}

.ap-intro-payoff {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.9vw, 17px);
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #FFFFFF !important;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
  margin-bottom: 10px;
  opacity: 0;
  animation: apFadeInUp 1.4s ease forwards 0.35s;
}

.ap-intro-line {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.7) 50%, transparent 100%);
  margin: 0 auto 16px auto;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  animation: apLineExpand 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.25s;
}

@keyframes apLineExpand {
  0% { width: 0; opacity: 0; }
  100% { width: 240px; opacity: 0.85; }
}

.ap-intro-sub {
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92) !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  opacity: 0;
  font-weight: 500;
  animation: apFadeInUp 1.4s ease forwards 0.5s;
}

@keyframes apFadeInUp {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 0.85; transform: translateY(0); }
}

.ap-intro-skip-btn {
  position: absolute;
  bottom: 34px;
  right: 36px;
  z-index: 10;
  background: rgba(30, 2, 2, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 240, 210, 0.35);
  color: #FFF2D6;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.ap-intro-skip-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #FFF2D6;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* 2. Audemars Piguet Editorial Storytelling Section */
.ap-storytelling-sec {
  background: var(--crema);
  color: var(--ink);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--linea);
  border-bottom: 1px solid var(--linea);
}

.ap-story-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rosso);
  margin-bottom: 14px;
}

.ap-story-kicker::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--rosso);
}

.ap-story-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 44px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--rosso-scuro);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.ap-story-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-light);
  opacity: 1;
  max-width: 1440px;
  margin-bottom: 60px;
  font-weight: 300;
}

.ap-chapters-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.ap-chapter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.ap-chapter-row--reverse {
  direction: rtl;
}

.ap-chapter-row--reverse > * {
  direction: ltr;
}

.ap-chapter-media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
  border: 1px solid var(--linea);
}

.ap-chapter-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.ap-chapter-media:hover img {
  transform: scale(1.03);
}

.ap-chapter-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(16, 11, 10, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.ap-chapter-content {
  padding: 10px 0;
}

.ap-chapter-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--rosso);
  margin-bottom: 10px;
}

.ap-chapter-heading {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--ink-deep);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.ap-chapter-p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-light);
  opacity: 1;
  margin-bottom: 20px;
}

.ap-chapter-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rosso-scuro);
  font-weight: 600;
  border-top: 1px solid var(--linea);
  padding-top: 16px;
}

.ap-story-quote-card {
  margin-top: 70px;
  background: #FFFFFF;
  border: 1px solid var(--linea);
  border-radius: 12px;
  padding: 44px 50px;
  position: relative;
  text-align: center;
  box-shadow: 0 10px 30px rgba(137, 13, 13, 0.04);
}

.ap-story-quote-card::before {
  content: '“';
  font-family: serif;
  font-size: 80px;
  line-height: 1;
  color: var(--rosso);
  opacity: 0.15;
  position: absolute;
  top: 16px;
  left: 30px;
}

.ap-story-quote-text {
  font-family: var(--font-serif, "Georgia", serif);
  font-style: italic;
  font-size: clamp(17px, 2.2vw, 24px);
  line-height: 1.6;
  color: var(--ink);
  max-width: 980px;
  margin: 0 auto;
}

.ap-story-quote-author {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rosso);
}

/* 3. Audemars Piguet Shop / Watch Collection Style Showcase */
.ap-collection-sec {
  background: var(--crema);
  padding: 50px 0;
  border-bottom: 1px solid var(--linea);
}

.ap-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.ap-filter-btn {
  background: transparent;
  border: 1px solid var(--linea);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.ap-filter-btn:hover {
  border-color: var(--rosso);
  color: var(--rosso);
  background: rgba(137, 13, 13, 0.04);
}

.ap-filter-btn.active {
  background: var(--rosso-scuro);
  border-color: var(--rosso-scuro);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(74, 8, 8, 0.25);
}

.ap-collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.ap-card {
  background: #FFFFFF;
  border: 1px solid var(--linea);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
}

.ap-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(16, 11, 10, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.ap-card__media-wrap {
  position: relative;
  overflow: hidden;
  height: 280px;
  background: #100b0a;
}

.ap-card__media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.ap-card:hover .ap-card__media-wrap img {
  transform: scale(1.06);
}

.ap-card__ref-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(16, 11, 10, 0.85);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.ap-card__status-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--rosso-scuro);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.ap-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ap-card__sub {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rosso);
  margin-bottom: 6px;
}

.ap-card__title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 14px 0;
  letter-spacing: 0.015em;
}

.ap-card__desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-light);
  margin-bottom: 18px;
}

/* Horology-style Specs Matrix */
.ap-card__specs-matrix {
  background: var(--crema-soft);
  border: 1px solid var(--linea);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}

.ap-spec-item {
  display: flex;
  flex-direction: column;
}

.ap-spec-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7A726D;
  margin-bottom: 2px;
}

.ap-spec-val {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.ap-card__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--linea);
  margin-top: auto;
  margin-bottom: 16px;
}

.ap-card__price-lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-light);
}

.ap-card__price-val {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--rosso-scuro);
  letter-spacing: 0.05em;
}

.ap-card__cta-group {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 10px;
  align-items: center;
}

.ap-card__btn-primary,
.ap-card__btn-ghost {
  background: #D9D2C9;
  color: #12100E;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 30px;
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(18, 16, 14, 0.15);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.ap-card__btn-primary:hover,
.ap-card__btn-ghost:hover {
  background: #FFFFFF;
  color: #12100E;
  border-color: rgba(18, 16, 14, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

/* 4. Shop.html Luxury Reference Pills */
.shop-ref-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rosso-scuro);
  background: rgba(137, 13, 13, 0.05);
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 8px;
  border: 1px solid rgba(137, 13, 13, 0.18);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .ap-collection-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ap-chapter-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ap-chapter-row--reverse {
    direction: ltr;
  }
  .ap-chapter-media img {
    height: 320px;
  }
}

@media (max-width: 640px) {
  .ap-collection-grid {
    grid-template-columns: 1fr;
  }
  .ap-card__cta-group {
    grid-template-columns: 1fr;
  }
  .ap-story-quote-card {
    padding: 30px 20px;
  }
  .ap-story-quote-card::before {
    display: none;
  }
  .ap-intro-skip-btn {
    bottom: 20px;
    right: 20px;
  }
}



/* ==========================================================================
   SOTHEBYS PROPERTY LAYOUT STYLES (SHARED FOR PROPERTIES & PRODUCTS)
   ========================================================================== */

    :root {
      --soth-serif: var(--font-display, 'Bank Gothic', sans-serif);
      --soth-sans: 'Work Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      --soth-dark: #12100E;
      --soth-dark-soft: #231F1C;
      --soth-muted: #6B645C;
      --soth-line: #E7E2DA;
      --soth-line-light: #F0ECE4;
      --soth-bg-warm: #FAF8F5;
      --soth-red: #890D0D;
      --soth-red-dark: #5C0808;
      --soth-gold: #890D0D;
    }

    body.sothebys-prop-page {
      background: #FFFFFF !important;
      color: var(--soth-dark);
      font-family: var(--soth-sans);
      margin: 0;
      padding: 0;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    .wrap {
      max-width: 1560px;
      margin: 0 auto;
      padding: 0 44px;
      box-sizing: border-box;
    }

    .fine-euro {
      font-family: var(--soth-serif);
      font-weight: 400;
      font-size: 0.65em;
      display: inline-block;
      vertical-align: 0.16em;
      margin-right: 0.12em;
      color: var(--soth-gold);
    }

    /* 1. TOP HEADER & BREADCRUMBS STRIP */
    .sothebys-header-strip {
      padding-top: 130px;
      padding-bottom: 24px;
      background: #FFFFFF;
      border-bottom: 1px solid var(--soth-line-light);
    }

    .sothebys-breadcrumb-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 18px;
    }

    .sothebys-breadcrumbs {
      font-size: 12.5px;
      letter-spacing: 0.04em;
      color: var(--soth-muted);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .sothebys-breadcrumbs a {
      color: var(--soth-muted);
      text-decoration: none;
      transition: color 0.2s ease;
    }
    .sothebys-breadcrumbs a:hover {
      color: var(--soth-red);
    }
    .sothebys-breadcrumbs .sep {
      color: #CFC7BD;
    }
    .sothebys-breadcrumbs .active-crumb {
      color: var(--soth-dark);
      font-weight: 500;
    }

    .sothebys-back-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 12.5px;
      font-weight: 600;
      color: var(--soth-red);
      text-decoration: none;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      transition: all 0.2s ease;
    }
    .sothebys-back-btn:hover {
      transform: translateX(-3px);
      color: var(--soth-red-dark);
    }

    .sothebys-title-row {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      flex-wrap: wrap;
      gap: 20px;
    }

    .sothebys-title-col {
      max-width: 820px;
    }

    .sothebys-title {
      font-family: var(--soth-serif);
      font-size: clamp(13px, 1.6vw, 24px); white-space: nowrap; max-width: 100%;
      font-weight: 500;
      color: var(--soth-dark);
      line-height: 1.15;
      letter-spacing: -0.01em;
      margin: 0 0 8px 0;
    }

    .sothebys-location {
      font-size: 15px;
      color: var(--soth-muted);
      margin: 0;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .sothebys-tools-col {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .sothebys-tool-btn {
      background: #FFFFFF;
      border: 1px solid var(--soth-line);
      color: var(--soth-dark);
      font-family: var(--soth-sans);
      font-size: 12.5px;
      font-weight: 500;
      padding: 9px 18px;
      border-radius: 999px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: all 0.2s ease;
      text-decoration: none;
    }
    .sothebys-tool-btn:hover {
      border-color: var(--soth-red);
      color: var(--soth-red);
      background: var(--soth-bg-warm);
    }

    /* 2. MAIN HERO GALLERY SLIDER */
    .sothebys-gallery-container {
      padding-top: 24px;
      padding-bottom: 36px;
    }

    .sothebys-slider-main {
      position: relative;
      width: 100%;
      height: clamp(380px, 58vw, 680px);
      background: #0E0C0B;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    }

    .sothebys-slider-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      cursor: zoom-in;
      transition: opacity 0.3s ease, transform 0.6s ease;
    }
    .sothebys-slider-img:hover {
      transform: scale(1.015);
    }

    .sothebys-slider-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 48px;
      height: 48px;
      background: rgba(18, 16, 14, 0.65);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      color: #FFFFFF;
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      cursor: pointer;
      z-index: 10;
      transition: all 0.2s ease;
    }
    .sothebys-slider-nav:hover {
      background: var(--soth-red);
      border-color: var(--soth-red);
      transform: translateY(-50%) scale(1.08);
    }
    .sothebys-slider-nav.prev { left: 20px; }
    .sothebys-slider-nav.next { right: 20px; }

    .sothebys-slide-counter {
      position: absolute;
      bottom: 20px;
      right: 20px;
      background: rgba(18, 16, 14, 0.72);
      backdrop-filter: blur(6px);
      color: #FFFFFF;
      font-size: 12px;
      font-weight: 600;
      padding: 6px 14px;
      border-radius: 30px;
      letter-spacing: 0.08em;
      border: 1px solid rgba(255, 255, 255, 0.2);
      z-index: 5;
    }

    .sothebys-btn-fullscreen {
      position: absolute;
      bottom: 20px;
      left: 20px;
      background: rgba(18, 16, 14, 0.72);
      backdrop-filter: blur(6px);
      color: #FFFFFF;
      font-size: 14px;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 5;
      transition: all 0.2s ease;
    }
    .sothebys-btn-fullscreen:hover {
      background: var(--soth-red);
      border-color: var(--soth-red);
    }

    .sothebys-thumbs-strip {
      display: flex;
      gap: 12px;
      overflow-x: auto;
      padding: 16px 0 6px 0;
      scrollbar-width: thin;
    }
    .sothebys-thumb {
      width: 120px;
      height: 76px;
      flex-shrink: 0;
      border-radius: 12px;
      overflow: hidden;
      cursor: pointer;
      opacity: 0.65;
      border: 2px solid transparent;
      transition: all 0.2s ease;
    }
    .sothebys-thumb:hover, .sothebys-thumb.active {
      opacity: 1;
      border-color: var(--soth-red);
      transform: translateY(-2px);
    }
    .sothebys-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* 3. TWO-COLUMN LAYOUT */
    .sothebys-content-wrap {
      padding-bottom: 80px;
    }

    .sothebys-narrative-block {
      border-bottom: 1px solid var(--soth-line);
      padding-bottom: 40px;
      margin-bottom: 40px;
    }

    .sothebys-desc-text {
      font-size: 16.5px;
      line-height: 1.85;
      color: var(--soth-dark-soft);
      font-weight: 350;
      letter-spacing: 0.01em;
      white-space: pre-line;
    }
    .sothebys-desc-text p {
      margin-top: 0;
      margin-bottom: 20px;
    }
    .sothebys-desc-text strong {
      color: var(--soth-dark);
      font-weight: 600;
    }

    .sothebys-section-heading {
      font-family: var(--soth-serif);
      font-size: 24px;
      font-weight: 600;
      color: var(--soth-dark);
      margin: 0 0 20px 0;
      letter-spacing: -0.01em;
    }

    .sothebys-amenities-section {
      border-bottom: 1px solid var(--soth-line);
      padding-bottom: 40px;
      margin-bottom: 40px;
    }
    .sothebys-amenities-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px 20px;
    }
    @media (max-width: 600px) {
      .sothebys-amenities-grid {
        grid-template-columns: 1fr;
      }
    }
    .sothebys-amenity-item {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 14.5px;
      color: var(--soth-dark);
      font-weight: 450;
    }
    .sothebys-amenity-bullet {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--soth-red);
      flex-shrink: 0;
    }

    .sothebys-video-section {
      border-bottom: 1px solid var(--soth-line);
      padding-bottom: 40px;
      margin-bottom: 40px;
    }
    .sothebys-video-frame {
      position: relative;
      padding-top: 56.25%;
      background: #000;
      border-radius: 12px;
      overflow: hidden;
    }
    .sothebys-video-frame iframe {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      border: 0;
    }

    .sothebys-diligence-box {
      background: var(--soth-bg-warm);
      border: 1px solid var(--soth-line);
      border-left: 3px solid var(--soth-red);
      padding: 22px 26px;
      border-radius: 12px;
      display: flex;
      gap: 16px;
      align-items: flex-start;
    }
    .sothebys-diligence-icon {
      font-size: 24px;
      line-height: 1;
      color: var(--soth-red);
    }
    .sothebys-diligence-body h4 {
      font-family: var(--soth-serif);
      font-size: 17px;
      font-weight: 600;
      color: var(--soth-dark);
      margin: 0 0 6px 0;
    }
    .sothebys-diligence-body p {
      font-size: 13.5px;
      line-height: 1.6;
      color: var(--soth-muted);
      margin: 0;
    }

    /* RIGHT COLUMN: STICKY SPECS & SOTHEBY'S ADVISOR CARD */
    .sothebys-sidebar-col {
      position: sticky;
      top: 100px;
    }

    .sothebys-sticky-card {
      background: #FFFFFF;
      border: 1px solid var(--soth-line);
      border-radius: 14px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
      overflow: hidden;
    }

    .sothebys-property-details {
      padding: 30px 28px 24px 28px;
      border-bottom: 1px solid var(--soth-line);
    }

    .sothebys-ref-code {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--soth-muted);
      font-weight: 600;
      margin-bottom: 18px;
    }

    .sothebys-dl {
      display: grid;
      grid-template-columns: 130px 1fr;
      row-gap: 14px;
      column-gap: 12px;
      margin: 0;
      padding: 0;
      font-size: 14px;
    }
    .sothebys-dl dt {
      color: var(--soth-muted);
      font-weight: 400;
      margin: 0;
    }
    .sothebys-dl dd {
      color: var(--soth-dark);
      font-weight: 600;
      margin: 0;
      text-align: right;
    }
    .sothebys-dl dd.price-val {
      font-family: var(--soth-serif);
      font-size: 20px;
      font-weight: 700;
      color: var(--soth-gold);
    }

    .sothebys-advisor-box {
      padding: 26px 28px;
      background: var(--soth-bg-warm);
    }

    .sothebys-advisor-header {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 22px;
    }

    .sothebys-advisor-avatar {
      width: 58px;
      height: 58px;
      border-radius: 50%;
      overflow: hidden;
      border: 2px solid #FFFFFF;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      flex-shrink: 0;
      background: #100b0a;
    }
    .sothebys-avatar-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .sothebys-advisor-meta {
      flex: 1;
    }
    .sothebys-adv-role {
      font-size: 10.5px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--soth-red);
      font-weight: 700;
      display: block;
      margin-bottom: 2px;
    }
    .sothebys-adv-name {
      font-family: var(--soth-serif);
      font-size: 17px;
      font-weight: 600;
      color: var(--soth-dark);
      margin: 0 0 2px 0;
      line-height: 1.2;
    }
    .sothebys-adv-location {
      font-size: 12px;
      color: var(--soth-muted);
      display: block;
    }

    .sothebys-advisor-ctas {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .sothebys-btn-contact {
      background: var(--soth-dark);
      color: #FFFFFF !important;
      border: 1px solid var(--soth-dark);
      font-family: var(--soth-sans);
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      padding: 13px 24px;
      border-radius: 999px;
      text-decoration: none;
      text-align: center;
      display: block;
      transition: all 0.25s ease;
      cursor: pointer;
    }
    .sothebys-btn-contact:hover {
      background: var(--soth-red, #890D0D);
      border-color: var(--soth-red, #890D0D);
      box-shadow: 0 6px 18px rgba(137, 13, 13, 0.25);
    }

    .sothebys-btn-wa {
      background: var(--soth-red, #890D0D);
      color: #FFFFFF !important;
      border: 1px solid var(--soth-red, #890D0D);
      font-size: 13px;
      font-weight: 600;
      padding: 12px 24px;
      border-radius: 999px;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all 0.2s ease;
      box-shadow: 0 4px 14px rgba(137, 13, 13, 0.2);
    }
    .sothebys-btn-wa:hover {
      background: var(--rosso-hover, #aa1212);
      border-color: var(--rosso-hover, #aa1212);
      color: #FFFFFF !important;
      box-shadow: 0 6px 18px rgba(137, 13, 13, 0.32);
    }

    .sothebys-btn-phone {
      background: #FFFFFF;
      color: var(--soth-dark) !important;
      border: 1px solid var(--soth-line);
      font-size: 12.5px;
      font-weight: 500;
      padding: 11px 22px;
      border-radius: 999px;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all 0.2s ease;
    }
    .sothebys-btn-phone:hover {
      border-color: var(--soth-dark);
    }

    /* 4. BOTTOM INQUIRY SECTION */
    .sothebys-inquiry-sec {
      background: var(--soth-bg-warm);
      border-top: 1px solid var(--soth-line);
      border-bottom: 1px solid var(--soth-line);
      padding: 70px 0;
    }

    .sothebys-inquiry-box {
      max-width: 100%;
      width: 100%;
      margin: 0 auto;
      background: #FFFFFF;
      border: 1px solid var(--soth-line);
      border-top: 3px solid var(--soth-red);
      border-radius: 16px;
      padding: 48px 56px;
      box-shadow: 0 12px 36px rgba(0, 0, 0, 0.04);
    }
    @media (max-width: 650px) {
      .sothebys-inquiry-box {
        padding: 28px 20px;
      }
    }

    .sothebys-inquiry-head {
      text-align: center;
      margin-bottom: 32px;
    }
    .sothebys-inquiry-eyebrow {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--soth-red);
      font-weight: 700;
      display: inline-block;
      margin-bottom: 8px;
    }
    .sothebys-inquiry-title {
      font-family: var(--soth-serif);
      font-size: clamp(13px, 1.5vw, 22px);
      font-weight: 500;
      color: var(--soth-dark);
      margin: 0 0 10px 0;
    }
    .sothebys-inquiry-sub {
      font-size: 14.5px;
      color: var(--soth-muted);
      margin: 0 auto;
      max-width: 620px;
      line-height: 1.6;
    }

    .sothebys-form-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 18px;
    }
    @media (max-width: 600px) {
      .sothebys-form-grid {
        grid-template-columns: 1fr;
      }
    }
    .sothebys-form-cell.full {
      grid-column: 1 / -1;
    }

    .sothebys-form-cell label {
      display: block;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--soth-muted);
      font-weight: 600;
      margin-bottom: 6px;
    }
    .sothebys-form-cell input, .sothebys-form-cell textarea {
      width: 100%;
      background: var(--soth-bg-warm);
      border: 1px solid var(--soth-line);
      border-radius: 24px;
      padding: 13px 18px;
      font-family: var(--soth-sans);
      font-size: 14px;
      color: var(--soth-dark);
      box-sizing: border-box;
      transition: all 0.2s ease;
    }
    .sothebys-form-cell textarea {
      border-radius: 16px;
    }
    .sothebys-form-cell input:focus, .sothebys-form-cell textarea:focus {
      outline: none;
      background: #FFFFFF;
      border-color: var(--soth-red);
      box-shadow: 0 0 0 3px rgba(137, 13, 13, 0.08);
    }

    .sothebys-submit-btn {
      width: 100%;
      background: #D9D2C9;
      color: #12100E;
      border: none;
      font-family: var(--soth-sans);
      font-size: 14px;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      padding: 15px 28px;
      border-radius: 30px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all 0.25s ease;
      margin-top: 8px;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    }
    .sothebys-submit-btn:hover {
      background: #FFFFFF;
      color: #12100E;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
      transform: translateY(-2px);
    }

    .sothebys-privacy-note {
      font-size: 11.5px;
      color: var(--soth-muted);
      text-align: center;
      margin-top: 12px;
      line-height: 1.5;
    }

    .sothebys-success-box {
      background: rgba(137, 13, 13, 0.05);
      border: 1px solid #890D0D;
      padding: 24px;
      border-radius: 12px;
      text-align: center;
      color: #12100E;
    }
    .sothebys-success-box .icon {
      font-size: 24px;
      margin-bottom: 6px;
    }
    .sothebys-success-box h3 {
      font-family: var(--soth-serif);
      font-size: 20px;
      margin: 0 0 6px 0;
    }
    .sothebys-success-box p {
      font-size: 13.5px;
      margin: 0;
      color: #6B645C;
    }

    /* 5. SIMILAR PROPERTIES */
    .sothebys-similar-sec {
      padding: 70px 0 90px 0;
      background: #FFFFFF;
    }
    .sothebys-similar-header {
      margin-bottom: 32px;
    }
    .sothebys-similar-title {
      font-family: var(--soth-serif);
      font-size: clamp(13px, 1.6vw, 24px); white-space: nowrap;
      font-weight: 500;
      color: var(--soth-dark);
      margin: 4px 0 0 0;
    }
    .sothebys-similar-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    @media (max-width: 900px) {
      .sothebys-similar-grid {
        grid-template-columns: 1fr;
        gap: 24px;
      }
    }

    .soth-sim-card {
      background: #FFFFFF;
      border: 1px solid var(--soth-line);
      border-radius: 12px;
      overflow: hidden;
      text-decoration: none;
      color: inherit;
      display: flex;
      flex-direction: column;
      transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }
    .soth-sim-card:hover {
      transform: translateY(-4px);
      border-color: var(--soth-red);
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
    }
    .soth-sim-img-wrap {
      position: relative;
      height: 220px;
      overflow: hidden;
      background: #100b0a;
    }
    .soth-sim-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.6s ease;
    }
    .soth-sim-card:hover .soth-sim-img-wrap img {
      transform: scale(1.05);
    }
    .soth-sim-badge {
      position: absolute;
      top: 12px;
      left: 12px;
      background: rgba(18, 16, 14, 0.75);
      color: #FFFFFF;
      font-size: 10px;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 999px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      backdrop-filter: blur(4px);
    }
    .soth-sim-body {
      padding: 20px;
      display: flex;
      flex-direction: column;
      flex: 1;
    }
    .soth-sim-title {
      font-family: var(--soth-serif);
      font-size: 18px;
      font-weight: 600;
      color: var(--soth-dark);
      margin: 0 0 6px 0;
      line-height: 1.25;
    }
    .soth-sim-loc {
      font-size: 13px;
      color: var(--soth-muted);
      margin: 0 0 12px 0;
    }
    .soth-sim-specs {
      font-size: 12.5px;
      color: var(--soth-muted);
      display: flex;
      gap: 10px;
      padding-top: 10px;
      border-top: 1px solid var(--soth-line-light);
      margin-top: auto;
    }
    .soth-sim-price {
      font-family: var(--soth-serif);
      font-size: 16px;
      font-weight: 700;
      color: var(--soth-red);
      margin-top: 10px;
    }

    /* Lightbox Modal */
    .sothebys-lightbox {
      position: fixed;
      top: 0; left: 0;
      width: 100vw; height: 100vh;
      background: rgba(10, 8, 7, 0.95);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      z-index: 99999;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.25s ease;
    }
    .sothebys-lightbox.open {
      opacity: 1;
      pointer-events: auto;
    }
    .sothebys-lightbox-img {
      max-width: 92vw;
      max-height: 88vh;
      object-fit: contain;
      border-radius: 12px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    }
    .sothebys-lightbox-close {
      position: absolute;
      top: 24px;
      right: 28px;
      background: rgba(255,255,255,0.15);
      border: 1px solid rgba(255,255,255,0.3);
      color: #FFFFFF;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      font-size: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .sothebys-lightbox-close:hover {
      background: var(--soth-red);
      border-color: var(--soth-red);
    }
  
    /* LUXURY PRESENCE & SERHANT MODEL ADDITIONS */
    /* Video tags on hero image */
    .photo-quick-tags {
      position: absolute;
      top: 18px;
      left: 18px;
      display: flex;
      gap: 8px;
      z-index: 10;
      flex-wrap: wrap;
    }
    .photo-tag-chip {
      background: rgba(18, 16, 14, 0.78);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      color: #FFFFFF;
      border: 1px solid rgba(255, 255, 255, 0.28);
      padding: 6px 14px;
      border-radius: 30px;
      font-size: 11.5px;
      font-weight: 600;
      letter-spacing: 0.04em;
      cursor: pointer;
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .photo-tag-chip:hover {
      background: var(--soth-red);
      border-color: var(--soth-red);
      transform: translateY(-2px);
      box-shadow: 0 4px 14px rgba(137, 13, 13, 0.4);
    }

    /* Geometric Specs Grid (Formal Corporate Luxury) */
    .geometric-specs-section {
      margin-top: 24px;
      margin-bottom: 32px;
      background: #FAF8F5;
      border: 1px solid var(--soth-line);
      border-radius: 12px;
      padding: 22px 28px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    }
    .geometric-specs-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      gap: 16px;
    }
    .geometric-spec-box {
      border-right: 1px solid var(--soth-line);
      padding-right: 12px;
    }
    .geometric-spec-box:last-child {
      border-right: none;
    }
    .geometric-spec-label {
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--soth-muted);
      font-weight: 600;
      margin-bottom: 4px;
    }
    .geometric-spec-val {
      font-family: var(--soth-serif);
      font-size: 17.5px;
      font-weight: 700;
      color: var(--soth-dark);
      white-space: nowrap;
    }
    .geometric-spec-val.ref {
      color: var(--soth-red);
      font-family: var(--soth-sans);
      font-size: 15px;
      letter-spacing: 0.06em;
      font-weight: 800;
    }

    /* =========================================================================
       LUXURY SERHANT TOUR BOOKING CARD (GENIS RED BRAND DESIGN)
       Matching the exact Serhant Luxury Presence layout with GENIS Crimson Red
       ========================================================================= */
    .luxury-tour-card {
      background: linear-gradient(180deg, #740B0B 0%, #4D0606 100%);
      border-radius: 20px;
      padding: 30px 22px 28px;
      color: #FFFFFF;
      box-shadow: 0 16px 38px rgba(77, 6, 6, 0.32), 0 2px 10px rgba(0, 0, 0, 0.15);
      position: relative;
      overflow: hidden;
      box-sizing: border-box;
      margin: 14px 14px 16px;
    }

    .luxury-tour-card::before {
      content: '';
      position: absolute;
      top: -40px;
      right: -40px;
      width: 140px;
      height: 140px;
      background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
      pointer-events: none;
    }

    .luxury-tour-title {
      font-family: var(--font-display);
      font-size: 25px;
      font-weight: 800;
      letter-spacing: 0.015em;
      text-transform: uppercase;
      color: #FFFFFF;
      text-align: center;
      margin: 0 0 22px 0;
    }

    /* 3 Date Cards Grid */
    .luxury-tour-dates {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
      margin-bottom: 14px;
    }

    .luxury-date-card {
      aspect-ratio: 0.82;
      border-radius: 14px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      padding: 16px 6px 14px;
      box-sizing: border-box;
      cursor: pointer;
      transition: all 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      user-select: none;
      background: transparent;
      border: 1.8px solid rgba(255, 255, 255, 0.85);
      color: #FFFFFF;
    }

    .luxury-date-card:hover:not(.active) {
      background: rgba(255, 255, 255, 0.08);
      border-color: #FFFFFF;
      transform: translateY(-2px);
    }

    .luxury-date-card .date-day-name {
      font-size: 13px;
      font-weight: 500;
      text-transform: lowercase;
      color: inherit;
      line-height: 1.1;
      text-align: center;
    }

    .luxury-date-card .date-day-num {
      font-size: 38px;
      font-weight: 800;
      line-height: 1;
      color: inherit;
      letter-spacing: -0.02em;
      margin: 4px 0;
      text-align: center;
    }

    .luxury-date-card .date-month-name {
      font-size: 13px;
      font-weight: 500;
      text-transform: lowercase;
      color: inherit;
      line-height: 1.1;
      text-align: center;
    }

    /* Active Selected Date Card (Solid White, Red Text) */
    .luxury-date-card.active {
      background: #FFFFFF !important;
      border: 1.8px solid #FFFFFF !important;
      color: #5C0808 !important;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
      transform: translateY(-2px);
    }

    .luxury-date-card.active .date-day-name,
    .luxury-date-card.active .date-day-num,
    .luxury-date-card.active .date-month-name {
      color: #5C0808 !important;
      font-weight: 700;
    }
    .luxury-date-card.active .date-day-num {
      font-weight: 800 !important;
    }

    /* Carousel Nav Arrows */
    .luxury-tour-nav {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 12px;
      margin-bottom: 22px;
    }

    .luxury-nav-arrow {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.35);
      color: #FFFFFF;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s ease;
      padding: 0;
    }

    .luxury-nav-arrow:hover:not(:disabled) {
      background: rgba(255, 255, 255, 0.26);
      border-color: #FFFFFF;
      transform: scale(1.06);
    }

    .luxury-nav-arrow:disabled {
      opacity: 0.35;
      cursor: not-allowed;
    }

    /* Choose a time */
    .luxury-tour-time-group {
      width: 100%;
      margin-bottom: 18px;
    }

    .luxury-time-label {
      display: block;
      font-size: 13.5px;
      font-weight: 600;
      color: #FFFFFF;
      margin-bottom: 8px;
      text-align: left;
    }

    .luxury-select-wrapper {
      position: relative;
      width: 100%;
    }

    .luxury-time-select {
      width: 100%;
      appearance: none;
      -webkit-appearance: none;
      -moz-appearance: none;
      background: rgba(0, 0, 0, 0.26);
      border: 1.5px solid rgba(255, 255, 255, 0.36);
      border-radius: 12px;
      color: #FFFFFF;
      font-size: 14.5px;
      font-weight: 500;
      padding: 13px 46px 13px 16px;
      cursor: pointer;
      outline: none;
      box-sizing: border-box;
      transition: all 0.2s ease;
      font-family: inherit;
    }

    .luxury-time-select:focus {
      border-color: #FFFFFF;
      background: rgba(0, 0, 0, 0.38);
    }

    .luxury-time-select option {
      background: #4A0606;
      color: #FFFFFF;
      padding: 10px;
    }

    .luxury-select-chevron {
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.12);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #FFFFFF;
      pointer-events: none;
    }

    /* Mode Capsule Toggle (In Person / Via Video Chat) */
    .luxury-mode-toggle {
      display: flex;
      justify-content: center;
      margin-bottom: 22px;
    }

    .luxury-mode-capsule {
      display: inline-flex;
      background: rgba(0, 0, 0, 0.32);
      border: 1px solid rgba(255, 255, 255, 0.22);
      border-radius: 30px;
      padding: 4px;
      gap: 2px;
    }

    .luxury-mode-btn {
      background: transparent;
      border: none;
      color: rgba(255, 255, 255, 0.75);
      font-size: 13px;
      font-weight: 500;
      padding: 9px 20px;
      border-radius: 24px;
      cursor: pointer;
      transition: all 0.2s ease;
      font-family: inherit;
    }

    .luxury-mode-btn:hover:not(.active) {
      color: #FFFFFF;
    }

    .luxury-mode-btn.active {
      background: rgba(255, 255, 255, 0.22);
      color: #FFFFFF;
      font-weight: 600;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    }

    /* Next Button */
    .luxury-tour-next-wrap {
      display: flex;
      justify-content: center;
    }

    .luxury-tour-next-btn {
      background: #D9D2C9;
      color: #12100E;
      border: none;
      border-radius: 30px;
      padding: 13px 52px;
      font-size: 14.5px;
      font-weight: 700;
      letter-spacing: 0.02em;
      cursor: pointer;
      transition: all 0.2s ease;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
      font-family: inherit;
    }

    .luxury-tour-next-btn:hover {
      background: #FFFFFF;
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }

    .luxury-tour-next-btn:active {
      transform: translateY(0);
    }

    /* Auxiliary Actions below card */
    .luxury-tour-aux-actions {
      display: flex;
      flex-direction: column;
      gap: 8px;
      padding: 0 14px 14px;
      box-sizing: border-box;
    }

    .btn-sidebar-pdf-line {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-size: 12px;
      font-weight: 600;
      color: var(--soth-muted);
      background: #FAF8F5;
      border: 1px solid var(--soth-line);
      padding: 11px 16px;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.2s ease;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      width: 100%;
      box-sizing: border-box;
    }
    .btn-sidebar-pdf-line:hover {
      background: var(--soth-dark);
      color: #FFFFFF;
      border-color: var(--soth-dark);
    }

    /* =========================================================================
       PROPERTY FEATURES & AMENITIES (SERHANT MODEL - IMAGE 1)
       Structured Sections: Interior, Exterior, Services, Neighborhood, Measurements, Price
       ========================================================================= */
    .property-features-section {
      margin-top: 48px;
      margin-bottom: 48px;
      padding-top: 36px;
      border-top: 1px solid var(--soth-line);
    }

    .features-main-heading {
      font-family: var(--soth-serif), Georgia, serif;
      font-size: clamp(24px, 3vw, 32px);
      font-weight: 700;
      color: #0c1a30;
      margin: 0 0 28px 0;
      letter-spacing: -0.01em;
    }

    .features-category-block {
      margin-bottom: 34px;
    }

    .features-category-title {
      font-family: var(--font-display);
      font-size: 22px;
      font-weight: 800;
      letter-spacing: 0.015em;
      text-transform: uppercase;
      color: #0c1a30;
      margin: 0 0 16px 0;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .features-category-title::after {
      content: '';
      flex: 1;
      height: 1px;
      background: var(--soth-line-light);
    }

    .features-list {
      display: flex;
      flex-direction: column;
      gap: 13px;
    }

    .feature-row {
      display: grid;
      grid-template-columns: 280px 1fr;
      align-items: baseline;
      gap: 20px;
      font-size: 14.5px;
      line-height: 1.5;
    }

    @media (max-width: 768px) {
      .feature-row {
        grid-template-columns: 1fr;
        gap: 3px;
      }
    }

    .feature-label {
      display: flex;
      align-items: baseline;
      gap: 8px;
      color: #4A4641;
      font-weight: 500;
    }

    .feature-bullet {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--soth-red);
      display: inline-block;
      flex-shrink: 0;
      transform: translateY(-2px);
    }

    .feature-val {
      color: #12100E;
      font-weight: 700;
      word-break: break-word;
    }

    /* =========================================================================
       HERO FLOATING ACTIONS (HEART FAVORITE & SHARE - IMAGE 2)
       ========================================================================= */
    .hero-floating-actions {
      position: absolute;
      top: 18px;
      right: 18px;
      display: flex;
      gap: 10px;
      z-index: 10;
    }

    .hero-action-circle {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: rgba(18, 16, 14, 0.65);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.25);
      color: #FFFFFF;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
      padding: 0;
    }

    .hero-action-circle:hover {
      background: rgba(18, 16, 14, 0.9);
      border-color: #FFFFFF;
      transform: translateY(-2px) scale(1.05);
    }

    .hero-action-circle.favorited {
      background: #FFFFFF;
      color: var(--soth-red);
      border-color: #FFFFFF;
    }

    /* =========================================================================
       LUXURY SOCIAL SHARE MODAL
       ========================================================================= */
    .luxury-modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.68);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      z-index: 99999;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
      box-sizing: border-box;
    }

    .luxury-modal-overlay.open {
      display: flex;
      animation: fadeInShare 0.22s ease forwards;
    }

    @keyframes fadeInShare {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .luxury-share-modal {
      width: 100%;
      max-width: 460px;
      background: #FFFFFF;
      border-radius: 20px;
      padding: 28px 24px;
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
      position: relative;
      box-sizing: border-box;
      animation: slideUpShare 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes slideUpShare {
      from { transform: translateY(20px) scale(0.96); }
      to { transform: translateY(0) scale(1); }
    }

    .luxury-share-close {
      position: absolute;
      top: 18px;
      right: 18px;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: #F4F0EB;
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 18px;
      color: var(--soth-muted);
      transition: all 0.2s;
    }

    .luxury-share-close:hover {
      background: #E8E2D9;
      color: var(--soth-dark);
    }

    .share-modal-title {
      font-family: var(--soth-serif), Georgia, serif;
      font-size: 22px;
      font-weight: 700;
      color: var(--soth-dark);
      margin: 0 0 6px 0;
    }

    .share-modal-sub {
      font-size: 13px;
      color: var(--soth-muted);
      margin: 0 0 20px 0;
    }

    .share-property-preview {
      display: flex;
      align-items: center;
      gap: 14px;
      background: #FAF8F5;
      border: 1px solid var(--soth-line);
      border-radius: 12px;
      padding: 10px 14px;
      margin-bottom: 22px;
    }

    .share-preview-thumb {
      width: 60px;
      height: 60px;
      border-radius: 8px;
      object-fit: cover;
      flex-shrink: 0;
    }

    .share-preview-info h4 {
      margin: 0 0 4px 0;
      font-size: 13.5px;
      font-weight: 700;
      color: var(--soth-dark);
      line-height: 1.3;
    }

    .share-preview-info p {
      margin: 0;
      font-size: 12px;
      color: var(--soth-muted);
    }

    /* Social buttons grid */
    .share-social-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
      margin-bottom: 20px;
    }

    .share-channel-btn {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 14px 6px;
      border-radius: 12px;
      background: #FAF8F5;
      border: 1px solid var(--soth-line);
      color: var(--soth-dark);
      text-decoration: none;
      font-size: 12px;
      font-weight: 600;
      transition: all 0.2s ease;
      cursor: pointer;
    }

    .share-channel-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    }

    .share-channel-btn.wa:hover {
      background: #890D0D;
      color: #FFFFFF;
      border-color: #890D0D;
    }

    .share-channel-btn.tg:hover {
      background: #229ED9;
      color: #FFFFFF;
      border-color: #229ED9;
    }

    .share-channel-btn.fb:hover {
      background: #1877F2;
      color: #FFFFFF;
      border-color: #1877F2;
    }

    .share-channel-btn.x:hover {
      background: #000000;
      color: #FFFFFF;
      border-color: #000000;
    }

    .share-channel-btn.li:hover {
      background: #0A66C2;
      color: #FFFFFF;
      border-color: #0A66C2;
    }

    .share-channel-btn.mail:hover {
      background: var(--soth-red);
      color: #FFFFFF;
      border-color: var(--soth-red);
    }

    .share-copy-box {
      display: flex;
      gap: 8px;
      background: #FAF8F5;
      border: 1px solid var(--soth-line);
      border-radius: 10px;
      padding: 6px;
    }

    .share-copy-input {
      flex: 1;
      border: none;
      background: transparent;
      padding: 8px 12px;
      font-size: 13px;
      color: var(--soth-muted);
      outline: none;
      text-overflow: ellipsis;
    }

    .share-copy-btn {
      background: var(--soth-dark);
      color: #FFFFFF;
      border: none;
      border-radius: 999px;
      padding: 8px 18px;
      font-size: 12.5px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s;
      white-space: nowrap;
    }

    .share-copy-btn:hover {
      background: var(--soth-red);
    }

    /* Toast Notification */
    .luxury-toast {
      position: fixed;
      bottom: 28px;
      left: 50%;
      transform: translateX(-50%) translateY(40px);
      background: #12100E;
      color: #FFFFFF;
      padding: 12px 24px;
      border-radius: 30px;
      font-size: 13.5px;
      font-weight: 600;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
      z-index: 100000;
      opacity: 0;
      pointer-events: none;
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .luxury-toast.show {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
    .btn-luxury-pdf:hover {
      border-color: var(--soth-red);
      color: var(--soth-red);
      background: #FAF8F5;
    }
    .advisor-micro-bio {
      font-size: 12px;
      color: var(--soth-muted);
      line-height: 1.5;
      margin: 0 0 14px 0;
      border-left: 2px solid var(--soth-gold);
      padding-left: 10px;
    }

    /* Narrative copy styling with golden & italic subheadings */
    .narrative-quote-lead {
      font-family: var(--soth-serif);
      font-size: 21px;
      font-style: italic;
      color: var(--soth-red-dark);
      line-height: 1.5;
      margin-bottom: 24px;
      border-left: 3px solid var(--soth-gold);
      padding-left: 18px;
    }
    .narrative-subheading {
      font-family: var(--font-display);
      font-size: 18px;
      font-weight: 800;
      color: var(--soth-red);
      margin: 26px 0 8px 0;
      letter-spacing: 0.015em;
      text-transform: uppercase;
    }


    /* VIRTUAL STAGING BEFORE / AFTER SLIDER */
    .virtual-staging-section {
      border-bottom: 1px solid var(--soth-line);
      padding-bottom: 40px;
      margin-bottom: 40px;
    }
    .virtual-staging-container {
      position: relative;
      width: 100%;
      height: clamp(320px, 46vw, 480px);
      border-radius: 12px;
      overflow: hidden;
      background: #0E0C0B;
      box-shadow: 0 12px 36px rgba(0,0,0,0.08);
      user-select: none;
    }
    .staging-img {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
      pointer-events: none;
    }
    .staging-before-wrap {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      clip-path: polygon(0 0, var(--pos, 50%) 0, var(--pos, 50%) 100%, 0 100%);
      pointer-events: none;
    }
    .staging-label {
      position: absolute;
      bottom: 16px;
      padding: 6px 14px;
      background: rgba(18, 16, 14, 0.85);
      backdrop-filter: blur(8px);
      color: #FFFFFF;
      font-size: 10.5px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      border-radius: 12px;
      z-index: 3;
      border: 1px solid rgba(255,255,255,0.25);
    }
    .staging-label-before { left: 16px; z-index: 4; }
    .staging-label-after { right: 16px; z-index: 2; }
    .staging-handle {
      position: absolute;
      top: 0; bottom: 0;
      left: var(--pos, 50%);
      transform: translateX(-50%);
      width: 40px;
      pointer-events: none;
      z-index: 5;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    .staging-handle-line {
      position: absolute;
      top: 0; bottom: 0;
      width: 2px;
      background: #FFFFFF;
      box-shadow: 0 0 10px rgba(0,0,0,0.7);
    }
    .staging-handle-btn {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: var(--soth-red);
      color: #FFFFFF;
      border: 2.5px solid #FFFFFF;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 15px;
      font-weight: bold;
      box-shadow: 0 4px 16px rgba(0,0,0,0.45);
      z-index: 2;
    }
    .staging-slider-input {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      opacity: 0;
      cursor: ew-resize;
      z-index: 10;
      margin: 0;
      padding: 0;
    }




/* ==========================================================================
   QUICK PURCHASE & QUANTITY SELECTION COMPONENT (1, 2, OR 3 PRODUCTS)
   ========================================================================== */
/* ==========================================================================
   ACQUISTO RAPIDO — LUXURY RED CARD (Stile: Chiedi di Essere Ricontattato)
   ========================================================================== */
.checkout-box {
  background: linear-gradient(180deg, #740B0B 0%, #4D0606 100%);
  border-radius: 20px;
  padding: 32px 28px 30px;
  color: #FFFFFF;
  box-shadow: 0 16px 38px rgba(77, 6, 6, 0.32), 0 2px 10px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  margin-top: 24px;
}

.checkout-box::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.checkout-box-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-align: center;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.checkout-box-title span:last-child {
  display: none; /* Rimosso badge rosso duplicato per pulizia lusso */
}

.checkout-qty-label {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  margin-bottom: 16px;
}

/* 3 Quantity Cards Grid (Riprende le Date Cards del Booking) */
.checkout-qty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.qty-tier-btn {
  aspect-ratio: 0.82;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 16px 8px 14px;
  box-sizing: border-box;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  user-select: none;
  background: transparent;
  border: 1.8px solid rgba(255, 255, 255, 0.85);
  color: #FFFFFF;
  position: relative;
}

.qty-tier-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.08);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.qty-tier-btn .qty-tier-sub {
  font-size: 13px;
  font-weight: 500;
  text-transform: lowercase;
  color: inherit;
  line-height: 1.1;
  text-align: center;
}

.qty-tier-btn .qty-tier-num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  color: inherit;
  letter-spacing: -0.02em;
  margin: 4px 0;
  text-align: center;
}

.qty-tier-btn .qty-tier-price {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: inherit;
  line-height: 1.1;
  text-align: center;
}

.qty-tier-btn .qty-tier-perk {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
}

/* Card Attiva / Selezionata (Solid White, Red Text) */
.qty-tier-btn.active {
  background: #FFFFFF !important;
  border: 1.8px solid #FFFFFF !important;
  color: #5C0808 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}

.qty-tier-btn.active .qty-tier-sub,
.qty-tier-btn.active .qty-tier-num,
.qty-tier-btn.active .qty-tier-price {
  color: #5C0808 !important;
}

.qty-tier-btn.active .qty-tier-perk {
  color: #740B0B !important;
}

.qty-tier-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #3D0505;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.qty-tier-badge.gold {
  background: #2B0303;
  color: #FFFFFF;
}

/* Riepilogo Ordine Trasparente Luxury */
.checkout-summary-wrap {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 20px;
}

.checkout-sum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 6px;
}

.checkout-sum-row strong {
  color: #FFFFFF;
  font-weight: 600;
}

.checkout-sum-row.total-row {
  font-size: 14.5px;
  font-weight: 700;
  color: #FFFFFF;
  border-top: 1px dashed rgba(255, 255, 255, 0.25);
  padding-top: 10px;
  margin-top: 8px;
  margin-bottom: 0;
}

.checkout-sum-row.total-row .total-amount {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: #FFFFFF;
}

/* Pulsante Primario (Stile Luxury Next Btn in Oro/Beige Elegante) */
.checkout-btn-buy {
  width: 100%;
  background: #D9D2C9 !important;
  color: #12100E !important;
  border: none !important;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
  padding: 14px 24px;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
  text-decoration: none;
}

.checkout-btn-buy:hover {
  background: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Pulsante Secondario WhatsApp Concierge */
.checkout-btn-wa {
  width: 100%;
  background: rgba(0, 0, 0, 0.28) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  margin-bottom: 16px;
}

.checkout-btn-wa:hover {
  background: rgba(0, 0, 0, 0.45) !important;
  border-color: #FFFFFF !important;
  transform: translateY(-1px);
}

/* Note di Trust Fiduciarie in Fondo */
.checkout-trust-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.76);
  text-align: center;
  margin-top: 12px;
}

.checkout-trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Fast Checkout Modal */
.fast-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(18, 16, 14, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.fast-modal-overlay.active {
  display: flex;
}

.fast-modal-card {
  background: #FFFFFF;
  border-radius: 16px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px 30px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--soth-line, #E7E2DA);
}

.fast-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--soth-muted, #6B645C);
  transition: color 0.2s ease;
}

.fast-modal-close:hover {
  color: var(--soth-red, #890D0D);
}

.fast-modal-order-summary {
  background: var(--soth-bg-warm, #FAF8F5);
  border: 1px solid var(--soth-line, #E7E2DA);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fast-modal-prod-info h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: var(--soth-dark, #12100E);
}

.fast-modal-prod-info p {
  font-size: 12.5px;
  color: var(--soth-muted, #6B645C);
  margin: 0;
}

.fast-modal-prod-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--soth-red, #890D0D);
  text-align: right;
}

.fast-modal-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.fast-modal-form-grid .full-col {
  grid-column: 1 / -1;
}

.fast-field-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.fast-field-group label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--soth-dark, #12100E);
  margin-bottom: 5px;
}

.fast-field-group input,
.fast-field-group select {
  height: 44px;
  border: 1px solid var(--soth-line, #E7E2DA);
  border-radius: 24px;
  padding: 0 16px;
  font-family: var(--soth-sans, 'Work Sans', sans-serif);
  font-size: 13.5px;
  color: var(--soth-dark, #12100E);
  background: #FFFFFF;
}

.fast-field-group input:focus,
.fast-field-group select:focus {
  outline: none;
  border-color: var(--soth-red, #890D0D);
}

.fast-pay-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.fast-pay-btn {
  background: #FFFFFF;
  border: 1px solid var(--soth-line, #E7E2DA);
  border-radius: 12px;
  padding: 10px 4px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.fast-pay-btn.active {
  border-color: var(--soth-red, #890D0D);
  background: rgba(137, 13, 13, 0.04);
  color: var(--soth-red, #890D0D);
}


/* Luxury Shop Previews aligned to Real Estate SERHANT Structure */
.shop-grid.serhant-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  background: transparent;
}

.shop-card.serhant-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.shop-card.serhant-card:hover {
  background: #FFFFFF;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
  border-color: rgba(137, 13, 13, 0.22);
}

.shop-card.serhant-card .serhant-card-media {
  aspect-ratio: 16 / 10.5;
  border-radius: 14px;
}

.shop-card.serhant-card .serhant-card-info {
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.shop-card.serhant-card .serhant-specs-grid {
  margin: 10px 0 12px;
  padding: 10px 0;
}

.shop-card.serhant-card .serhant-spec-col {
  flex: 1;
  min-width: 80px;
}

.shop-card.serhant-card .serhant-address-line {
  font-family: var(--font-body);
  font-size: 15px;
  color: #55504A;
  margin-bottom: 16px;
  line-height: 1.45;
}

.shop-card.serhant-card .shop-card-actions {
  margin-top: auto;
  padding-top: 6px;
}

@media (max-width: 900px) {
  .shop-grid.serhant-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* --- LUXURY SHOP PREVIEW CARDS WITH REAL PRODUCT IMAGES & DUAL CTA --- */
.shop-card-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #FAF8F5;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 22px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.shop-card-media img.shop-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.shop-card:hover .shop-card-media img.shop-card-img {
  transform: scale(1.05);
}

.shop-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(16, 11, 10, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border-radius: 20px;
  pointer-events: none;
}

.shop-card-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 100%;
  margin-top: 20px;
}

.shop-btn-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 46px;
  padding: 0 20px;
  background: transparent !important;
  color: var(--rosso, #890D0D) !important;
  border: 1.5px solid var(--rosso, #890D0D) !important;
  font-family: var(--font-display) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none !important;
  box-sizing: border-box;
}

.shop-btn-primary span,
.shop-btn-primary .shop-btn-price {
  color: var(--rosso, #890D0D) !important;
}

.shop-btn-primary:hover {
  background: var(--rosso, #890D0D) !important;
  color: #FFFFFF !important;
  border-color: var(--rosso, #890D0D) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(137, 13, 13, 0.25) !important;
}

.shop-btn-primary:hover span,
.shop-btn-primary:hover .shop-btn-price {
  color: #FFFFFF !important;
}

.shop-btn-price {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.shop-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  padding: 0 18px;
  background: transparent !important;
  color: var(--rosso, #890D0D) !important;
  border: 1.5px solid var(--rosso, #890D0D) !important;
  font-family: var(--font-display) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none !important;
  box-sizing: border-box;
}

.shop-btn-secondary span {
  color: var(--rosso, #890D0D) !important;
  transition: color 0.25s ease !important;
}

.shop-btn-secondary:hover {
  background: var(--rosso, #890D0D) !important;
  border-color: var(--rosso, #890D0D) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(137, 13, 13, 0.25) !important;
}

.shop-btn-secondary:hover span {
  color: #FFFFFF !important;
}

.sothebys-stage-photo {
  max-height: 440px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.related-prod-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
  display: block;
  transition: transform 0.4s ease;
}

.related-prod-card:hover .related-prod-card-img {
  transform: scale(1.03);
}

/* --- ELEMENTARY RED LUXURY BOOKING COMPONENT (HOMEPAGE) --- */
.elem-booking-box {
  max-width: 880px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--soth-line, #E7E2DA);
  border-top: 4px solid var(--soth-red, #890D0D);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(18, 16, 14, 0.05);
  padding: 38px 40px;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .elem-booking-box {
    padding: 24px 18px;
  }
}

.elem-step-title {
  font-family: var(--soth-sans, 'Work Sans', sans-serif);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--soth-red, #890D0D);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Step 1: 3-Tier Date Buttons (OGGI, DOMANI, DOPODOMANI) */
.elem-days-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

@media (max-width: 640px) {
  .elem-days-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.elem-day-btn {
  background: #FFFFFF;
  border: 1.5px solid var(--soth-line, #E7E2DA);
  border-radius: 12px;
  padding: 20px 10px 16px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.22s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.elem-day-btn:hover {
  border-color: var(--soth-red, #890D0D);
  background: rgba(137, 13, 13, 0.02);
}

.elem-day-btn.active {
  border-color: var(--soth-red, #890D0D);
  background: rgba(137, 13, 13, 0.04);
  box-shadow: 0 4px 14px rgba(137, 13, 13, 0.1);
}

.elem-day-badge {
  position: absolute;
  top: -10px;
  background: var(--soth-red, #890D0D);
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 999px;
}

.elem-day-badge.gold {
  background: #8C6D37;
}

.elem-day-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--soth-dark, #12100E);
  letter-spacing: 0.04em;
}

.elem-day-btn.active .elem-day-name {
  color: var(--soth-red, #890D0D);
}

.elem-day-sub {
  font-size: 12px;
  color: var(--soth-muted, #6B645C);
  font-weight: 500;
}

.elem-day-status {
  font-size: 11px;
  font-weight: 600;
  color: #2E7D32;
  margin-top: 2px;
}

/* Step 2: Modality Buttons (CHIAMATA vs UFFICIO) */
.elem-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

@media (max-width: 640px) {
  .elem-mode-grid {
    grid-template-columns: 1fr;
  }
}

.elem-mode-btn {
  background: #FFFFFF;
  border: 1.5px solid var(--soth-line, #E7E2DA);
  border-radius: 12px;
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.22s ease;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.elem-mode-btn:hover {
  border-color: var(--soth-red, #890D0D);
  background: rgba(137, 13, 13, 0.02);
}

.elem-mode-btn.active {
  border-color: var(--soth-red, #890D0D);
  background: rgba(137, 13, 13, 0.04);
  box-shadow: 0 4px 14px rgba(137, 13, 13, 0.08);
}

.elem-mode-icon {
  width: 42px;
  height: 42px;
  background: rgba(137, 13, 13, 0.06);
  color: var(--soth-red, #890D0D);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.elem-mode-btn.active .elem-mode-icon {
  background: var(--soth-red, #890D0D);
  color: #FFFFFF;
}

.elem-mode-title {
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--soth-dark, #12100E);
}

.elem-mode-btn.active .elem-mode-title {
  color: var(--soth-red, #890D0D);
}

.elem-mode-desc {
  font-size: 11.5px;
  color: var(--soth-muted, #6B645C);
  margin-top: 2px;
  line-height: 1.35;
}

/* Time Window Pills */
.elem-time-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}

@media (max-width: 640px) {
  .elem-time-grid {
    grid-template-columns: 1fr;
  }
}

.elem-time-btn {
  background: #FFFFFF;
  border: 1px solid var(--soth-line, #E7E2DA);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--soth-dark, #12100E);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.elem-time-btn:hover {
  border-color: var(--soth-red, #890D0D);
}

.elem-time-btn.active {
  border-color: var(--soth-red, #890D0D);
  background: var(--soth-red, #890D0D);
  color: #FFFFFF;
}

/* Form Grid */
.elem-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

@media (max-width: 640px) {
  .elem-form-grid {
    grid-template-columns: 1fr;
  }
}

.elem-form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.elem-form-field.full-col {
  grid-column: 1 / -1;
}

.elem-form-field label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--soth-dark, #12100E);
}

.elem-form-field input,
.elem-form-field select {
  height: 44px;
  padding: 0 14px;
  background: #FAF8F5;
  border: 1px solid var(--soth-line, #E7E2DA);
  border-radius: 8px;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--soth-dark, #12100E);
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.elem-form-field input:focus,
.elem-form-field select:focus {
  outline: none;
  border-color: var(--soth-red, #890D0D);
  background: #FFFFFF;
}

/* Document Upload Dropzone */
.elem-upload-dropzone {
  background: #FAF8F5;
  border: 1.5px dashed var(--soth-red, #890D0D);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  margin-top: 6px;
  margin-bottom: 12px;
}

.elem-upload-dropzone:hover {
  background: rgba(137, 13, 13, 0.03);
}

.elem-upload-dropzone.has-file {
  background: #E8F5E9;
  border-color: #2E7D32;
  border-style: solid;
}

.elem-summary-box {
  background: #FAF8F5;
  border: 1px solid var(--soth-line, #E7E2DA);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 20px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
}

.elem-btn-submit {
  width: 100%;
  height: 52px;
  background: var(--soth-red, #890D0D);
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  font-family: var(--font-body, 'Work Sans', sans-serif);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(137, 13, 13, 0.22);
}

.elem-btn-submit:hover {
  background: var(--rosso-hover, #aa1212);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(137, 13, 13, 0.32);
}

.elem-btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  background: #FFFFFF;
  color: var(--rosso, #890D0D) !important;
  border: 1px solid rgba(137, 13, 13, 0.35);
  font-family: var(--font-body, 'Work Sans', sans-serif);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  text-decoration: none !important;
  margin-top: 10px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.elem-btn-wa:hover {
  background: rgba(137, 13, 13, 0.05);
  border-color: var(--rosso, #890D0D);
  color: var(--rosso-hover, #aa1212) !important;
}



/* ===== GLOBAL UI UNIFICATION — Bank Gothic luxury pill buttons, rounded boxes ===== */
.btn, .btn-solid, .btn-ghost, .btn-dark, .btn-line, .btn-primary, .btn-action,
.btn-anchor, .btn-nav, .btn-submit-main, .nav-wa-btn, .val-cta-btn,
.sothebys-btn-contact, .sothebys-btn-wa, .sothebys-btn-phone, .sothebys-tool-btn,
.prod-btn-dossier-jump, .prod-btn-wa-direct, .prod-btn-tool,
.shop-btn-primary, .shop-btn-secondary, .checkout-btn-wa, .elem-btn-submit, .elem-btn-wa,
.btn-valuta-cta, .btn-valuta-wa, .work-badge, .pf-btn-colloquio, .ap-intro-skip-btn,
button[type="submit"] {
  font-family: var(--font-display) !important;
  font-size: 13px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  box-sizing: border-box !important;
}

/* Global pf-btn-colloquio style (Exact match to media_1791034900880.png) */
.pf-btn-colloquio {
  font-family: var(--font-display) !important;
  letter-spacing: 0.06em !important;
  padding: 14px 28px !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  color: var(--crema, #F7F3EC) !important;
  border: 1px solid rgba(247, 243, 236, 0.45) !important;
  background: transparent !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

.pf-btn-colloquio:hover {
  background: #FFFFFF !important;
  color: var(--rosso, #890D0D) !important;
  border-color: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
  transform: translateY(-2px) !important;
}

/* Dark section buttons & Dark callout banners: exact match to PARLA CON NOI */
.hero .btn, .page-hero .btn, .hero-careers .btn, .hero .btn-solid, .hero .btn-ghost,
.page-hero .btn-solid, .page-hero .btn-ghost,
.sales-action-banner--dark .btn,
.sales-action-banner--dark a,
.sales-action-banner--dark .pf-btn-colloquio,
#servizi .sales-action-btns a,
#servizi .sales-action-btns .btn,
#servizi .sales-action-btns .pf-btn-colloquio,
section[style*="#100b0a"] .sales-action-btns a,
section[style*="#100b0a"] .sales-action-btns .btn,
.dark-sec .btn {
  background: transparent !important;
  border: 1px solid rgba(247, 243, 236, 0.45) !important;
  color: var(--crema, #F7F3EC) !important;
  box-shadow: none !important;
  border-radius: 999px !important;
  font-family: var(--font-display) !important;
  font-size: 13px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  padding: 14px 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}

.hero .btn:hover, .page-hero .btn:hover, .hero-careers .btn:hover, .hero .btn-solid:hover, .hero .btn-ghost:hover,
.page-hero .btn-solid:hover, .page-hero .btn-ghost:hover,
.sales-action-banner--dark .btn:hover,
.sales-action-banner--dark a:hover,
.sales-action-banner--dark .pf-btn-colloquio:hover,
#servizi .sales-action-btns a:hover,
#servizi .sales-action-btns .btn:hover,
#servizi .sales-action-btns .pf-btn-colloquio:hover,
section[style*="#100b0a"] .sales-action-btns a:hover,
section[style*="#100b0a"] .sales-action-btns .btn:hover,
.dark-sec .btn:hover {
  background: #FFFFFF !important;
  color: var(--rosso, #890D0D) !important;
  border-color: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
  transform: translateY(-2px) !important;
}

/* Light section buttons (white / crema backgrounds): refined red outline pill */
.sec:not(.contatti-sec):not(.hero):not(.page-hero):not(#servizi):not(.dark-sec) .btn-solid,
.sec:not(.contatti-sec):not(.hero):not(.page-hero):not(#servizi):not(.dark-sec) .btn-ghost,
.sec:not(.contatti-sec):not(.hero):not(.page-hero):not(#servizi):not(.dark-sec) .btn-primary,
.sec:not(.contatti-sec):not(.hero):not(.page-hero):not(#servizi):not(.dark-sec) .btn-dark,
.sec:not(.contatti-sec):not(.hero):not(.page-hero):not(#servizi):not(.dark-sec) .btn-line {
  background: transparent !important;
  border: 1.5px solid var(--rosso, #890D0D) !important;
  color: var(--rosso, #890D0D) !important;
  box-shadow: none !important;
}

.sec:not(.contatti-sec):not(.hero):not(.page-hero):not(#servizi):not(.dark-sec) .btn-solid:hover,
.sec:not(.contatti-sec):not(.hero):not(.page-hero):not(#servizi):not(.dark-sec) .btn-ghost:hover,
.sec:not(.contatti-sec):not(.hero):not(.page-hero):not(#servizi):not(.dark-sec) .btn-primary:hover,
.sec:not(.contatti-sec):not(.hero):not(.page-hero):not(#servizi):not(.dark-sec) .btn-dark:hover,
.sec:not(.contatti-sec):not(.hero):not(.page-hero):not(#servizi):not(.dark-sec) .btn-line:hover {
  background: var(--rosso, #890D0D) !important;
  border-color: var(--rosso, #890D0D) !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(137, 13, 13, 0.25) !important;
}

/* ========================================================================= */
/* UNIFIED CTA BUTTONS — Exact "PARLA CON NOI" Outline Pill Aesthetic       */
/* ========================================================================= */
.val-cta-btn,
.btn-pf-submit,
.btn-submit-val,
.btn-step-next,
.btn-submit-main,
.shop-btn-primary,
.elem-btn-submit {
  background: transparent !important;
  color: var(--rosso, #890D0D) !important;
  border: 1.5px solid var(--rosso, #890D0D) !important;
  border-radius: 999px !important;
  font-family: var(--font-display) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  box-shadow: none !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

.val-cta-btn span,
.val-cta-btn .arrow-icon,
.btn-pf-submit span,
.btn-pf-submit .arrow-icon,
.btn-submit-val span,
.btn-step-next span,
.btn-submit-main span,
.shop-btn-primary span,
.shop-btn-primary .shop-btn-price,
.elem-btn-submit span,
.elem-btn-submit .arrow-icon {
  color: var(--rosso, #890D0D) !important;
  transition: color 0.25s ease, background 0.25s ease !important;
}

.shop-btn-primary .shop-btn-price {
  background: rgba(137, 13, 13, 0.08) !important;
  border: 1px solid rgba(137, 13, 13, 0.2) !important;
  border-radius: 20px !important;
  padding: 3px 10px !important;
}

.val-cta-btn:hover,
.btn-pf-submit:hover,
.btn-submit-val:hover,
.btn-step-next:hover,
.btn-submit-main:hover,
.shop-btn-primary:hover,
.elem-btn-submit:hover {
  background: var(--rosso, #890D0D) !important;
  color: #FFFFFF !important;
  border-color: var(--rosso, #890D0D) !important;
  box-shadow: 0 8px 24px rgba(137, 13, 13, 0.25) !important;
  transform: translateY(-2px) !important;
}

.val-cta-btn:hover span,
.val-cta-btn:hover .arrow-icon,
.btn-pf-submit:hover span,
.btn-pf-submit:hover .arrow-icon,
.btn-submit-val:hover span,
.btn-step-next:hover span,
.btn-submit-main:hover span,
.shop-btn-primary:hover span,
.shop-btn-primary:hover .shop-btn-price,
.elem-btn-submit:hover span,
.elem-btn-submit:hover .arrow-icon {
  color: #FFFFFF !important;
}

.shop-btn-primary:hover .shop-btn-price {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

/* ===== Rounded card grids (I 5 Architetti, Territorio) & cinematic showcase ===== */
.kpi-grid.reveal {
  gap: 16px;
  border: none !important;
}
.kpi-grid.reveal .kpi-cell {
  background: #FFFFFF;
  border: 1px solid var(--linea);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(16, 11, 10, 0.04);
  overflow: hidden;
}
.kpi-grid.reveal .kpi-cell:hover {
  background: #FFFFFF;
  border-color: rgba(137, 13, 13, 0.35);
  box-shadow: 0 12px 30px rgba(16, 11, 10, 0.08);
  transform: translateY(-2px);
}
.kpi-grid.reveal .kpi-cell-cta {
  background: rgba(137, 13, 13, 0.035) !important;
  border: 1px solid rgba(137, 13, 13, 0.22) !important;
  border-left: 3px solid var(--rosso) !important;
}
.fading-showcase {
  border-radius: 18px;
  isolation: isolate;
}

/* ========================================================================= */
/* TESTIMONIANZE — BIG LUCA INSPIRED DIRECT RESPONSE LUXURY LAYOUT           */
/* ========================================================================= */
.testi-page {
  background-color: var(--ink-deep, #0B0E14);
  color: var(--crema, #F7F3EC);
  position: relative;
  overflow-x: hidden;
}

/* Testimonianze Header Styling:
   When at the top on testi-hero (which is deep red), header matches the red hero seamlessly.
   When scrolling down to dark sections, header smoothly blends into deep black with subtle red glow. */
body.testi-page header.site-header::before {
  background: radial-gradient(120vw 760px at 80% 0%, var(--rosso) 0%, var(--rosso-scuro) 45%, var(--ink-deep) 85%) !important;
  opacity: calc(1 - var(--header-scroll, 0)) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

body.testi-page header.site-header::after {
  background: 
    linear-gradient(90deg, transparent 0%, rgba(137, 13, 13, 0.45) 15%, #aa1212 50%, rgba(137, 13, 13, 0.45) 85%, transparent 100%) bottom / 100% 1.5px no-repeat,
    rgba(10, 12, 16, 0.96) !important;
  opacity: var(--header-scroll, 0) !important;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.5), 0 2px 14px rgba(137, 13, 13, 0.35) !important;
}

body.testi-page header.site-header.solid {
  background: rgba(10, 12, 16, 0.96) !important;
}

/* Ambient glow accents */
.testi-glow-left,
.testi-glow-right {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.testi-glow-left {
  background: var(--rosso, #890D0D);
  top: 15%;
  left: -200px;
}

.testi-glow-right {
  background: var(--oro, #C5A880);
  top: 45%;
  right: -200px;
}

.testi-sec {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ========================================================================= */
/* TESTI HERO — LUXURY CRIMSON BRAND IDENTITY (Fondo Rosso con Effetti Luce) */
/* ========================================================================= */
.testi-hero {
  text-align: center;
  padding: 130px 0 75px;
  position: relative;
  z-index: 1;
  background: radial-gradient(120% 110% at 75% 0%, #a71212 0%, #890D0D 32%, #5C0808 65%, #180505 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: inset 0 -40px 80px rgba(0, 0, 0, 0.45), 0 20px 45px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.testi-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.5) 0%, transparent 50%),
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: auto, auto, 24px 24px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

.testi-hero .wrap {
  position: relative;
  z-index: 2;
}

.testi-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}

.testi-hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #FFFFFF;
  max-width: 1080px;
  margin: 0 auto 20px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.testi-hero-title span.accent-red {
  color: #FFFFFF !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #FFFFFF !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.testi-hero-title span.accent-gold {
  color: var(--oro, #C5A880);
}

.testi-hero-sub {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.6vw, 18px);
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
  max-width: 820px;
  margin: 0 auto 28px;
  line-height: 1.55;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.testi-hero-lead {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  max-width: 760px;
  margin: 0 auto 40px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* KPI Counter Bar — Allargata, satinata e perfettamente armonizzata su fondo Rosso */
.testi-kpi-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  background: rgba(14, 5, 5, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 28px 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  align-items: center;
  justify-items: center;
  box-sizing: border-box;
}

@media (max-width: 860px) {
  .testi-kpi-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 22px 16px;
  }
}

@media (max-width: 480px) {
  .testi-kpi-bar {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.testi-kpi-item {
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.testi-kpi-val {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 800;
  color: #FFFFFF;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
  line-height: 1.15;
  margin-bottom: 6px;
  white-space: nowrap !important;
  letter-spacing: 0.02em;
}

.testi-kpi-lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  white-space: nowrap !important;
}

/* Video Section with Iconic Flanking Arrows */
.testi-video-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 1180px;
  margin: 36px auto 0;
  position: relative;
}

.testi-flanking-arrow {
  flex-shrink: 0;
  width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--oro, #C5A880);
}

@media (max-width: 1024px) {
  .testi-flanking-arrow {
    display: none;
  }
}

.testi-flanking-arrow svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(197, 168, 128, 0.3));
}

.testi-arrow-tag {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--oro);
  margin-top: 8px;
  text-align: center;
}

.testi-video-box {
  flex: 1;
  max-width: 820px;
  background: #000000;
  border-radius: 20px;
  border: 2px solid rgba(197, 168, 128, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(137, 13, 13, 0.25);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
}

.testi-video-box video,
.testi-video-box iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  object-fit: cover;
}

.testi-quote-highlight {
  margin-top: 32px;
  text-align: center;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

.testi-quote-highlight p {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.8vw, 22px);
  font-style: italic;
  font-weight: 400;
  color: #FFFFFF;
  line-height: 1.5;
  margin-bottom: 12px;
}

.testi-quote-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--oro, #C5A880);
  font-weight: 700;
}

/* Tabs for Video Selection */
.testi-video-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.testi-video-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(247, 243, 236, 0.8);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.testi-video-tab-btn:hover,
.testi-video-tab-btn.active {
  background: var(--rosso, #890D0D);
  border-color: var(--rosso, #890D0D);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(137, 13, 13, 0.35);
}

/* Two-Column Direct-Response Proof Section */
.testi-proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .testi-proof-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.testi-proof-grid.reverse {
  direction: rtl;
}

.testi-proof-grid.reverse > * {
  direction: ltr;
}

/* Layered Tilted Proof Cards */
.testi-tilted-stack {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testi-proof-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease;
}

.testi-proof-card.card-main {
  width: 85%;
  position: relative;
  z-index: 2;
  transform: rotate(-2deg);
}

.testi-proof-card.card-overlay {
  position: absolute;
  width: 65%;
  bottom: -20px;
  right: 0;
  z-index: 3;
  transform: rotate(4deg);
  border: 2px solid var(--oro, #C5A880);
  background: #141110;
}

.testi-proof-card img {
  width: 100%;
  height: auto;
  display: block;
}

.testi-proof-badge-seal {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--oro);
  color: var(--oro);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

/* Story and Result Box */
.testi-story-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.testi-author-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 14px;
}

.testi-author-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: #FFFFFF;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0 0 6px 0;
}

.testi-author-role {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--oro, #C5A880);
}

.testi-result-box {
  background: rgba(137, 13, 13, 0.12);
  border: 2px solid var(--rosso, #890D0D);
  border-radius: 16px;
  padding: 22px 24px;
}

.testi-result-quote {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.8vw, 20px);
  font-style: italic;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.45;
  margin: 0;
}

.testi-result-quote span.highlight {
  color: var(--oro, #C5A880);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.testi-arrow-hook {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--oro, #C5A880);
  font-weight: 700;
  margin-top: 6px;
}

.testi-arrow-hook svg {
  width: 42px;
  height: auto;
  flex-shrink: 0;
  animation: nudgeDown 1.8s infinite ease-in-out;
}

@keyframes nudgeDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.testi-story-body {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(247, 243, 236, 0.82);
  margin: 0;
}

/* WhatsApp Proof Screen Cards */
.testi-chat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  max-width: 1180px;
  margin: 40px auto 0;
}

.testi-chat-card {
  background: #15181E;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.testi-chat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 168, 128, 0.4);
}

.testi-chat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.testi-chat-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testi-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--rosso, #890D0D);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.testi-chat-sender {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
}

.testi-chat-sub {
  font-size: 11px;
  color: rgba(247, 243, 236, 0.55);
}

.testi-chat-bubble {
  background: #1C222C;
  border-radius: 14px;
  border-top-left-radius: 4px;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(247, 243, 236, 0.92);
  position: relative;
}

.testi-chat-bubble-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  font-size: 10.5px;
  color: rgba(247, 243, 236, 0.45);
  margin-top: 6px;
}

.testi-chat-check {
  color: #34B7F1;
  font-weight: 800;
}

/* Big Luca Style Classic Blockquote */
.testi-blockquote-card {
  background: #FFFFFF;
  color: #100b0a;
  border-radius: 20px;
  padding: 36px 36px 32px;
  position: relative;
  margin: 36px auto;
  max-width: 820px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.testi-blockquote-card::before {
  content: "“";
  position: absolute;
  top: -24px;
  left: 28px;
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 1;
  color: var(--rosso, #890D0D);
}

.testi-blockquote-card::after {
  content: "”";
  position: absolute;
  bottom: -44px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 1;
  color: var(--rosso, #890D0D);
}

.testi-blockquote-text {
  font-size: 17px;
  font-style: italic;
  line-height: 1.6;
  margin: 0 0 16px 0;
  color: #1A1A1A;
}

.testi-blockquote-author {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rosso-scuro, #6B0808);
  margin: 0;
}

/* Callout Section (Data-CTA) */
.testi-cta-sec {
  background: linear-gradient(180deg, #100b0a 0%, #080606 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 90px 0;
  text-align: center;
}

.testi-cta-box {
  max-width: 920px;
  margin: 0 auto;
}

.testi-cta-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.testi-cta-desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(247, 243, 236, 0.78);
  max-width: 720px;
  margin: 0 auto 36px;
}

.testi-cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   ATTESTATO PRESTAZIONE ENERGETICA (APE) LUXURY SCALE WIDGET
   (Exact Match to media_1791047646633.png: Dynamic 7-Step A-G Scale + House Pointer)
   ========================================================================== */
.ape-energy-card {
  background: #FFFFFF;
  border: 1px solid var(--soth-line, #E5E0D8);
  border-radius: 18px;
  padding: 34px 38px;
  margin: 36px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  position: relative;
  box-sizing: border-box;
}

.ape-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.ape-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ape-main-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 27px);
  color: #242424;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.ape-title-prefix {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #333333;
}

.ape-title-letter {
  font-family: var(--font-display);
  font-weight: 800;
  color: #008744;
  font-size: 1.15em;
  display: inline-block;
  transition: color 0.3s ease;
}

.ape-title-subgrade {
  font-family: var(--font-display);
  font-size: 0.72em;
  font-weight: 800;
  color: #008744;
  vertical-align: super;
  margin-left: -4px;
}

.ape-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(0, 135, 68, 0.08);
  border: 1px solid rgba(0, 135, 68, 0.25);
  color: #008744;
  transition: all 0.3s ease;
}

.ape-norm-badge {
  font-size: 12px;
  color: #888888;
  font-weight: 500;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ape-norm-badge svg {
  color: var(--rosso, #890D0D);
}

/* 7-Step Horizontal Scale Container */
.ape-scale-container {
  width: 100%;
  max-width: 580px;
  margin: 10px 0 24px 0;
}

.ape-scale-bar {
  display: flex;
  gap: 3.5px;
  width: 100%;
  align-items: stretch;
}

.ape-step {
  flex: 1;
  height: 48px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF !important;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  user-select: none;
  cursor: default;
}

.ape-step.step-a { background: #008744; }
.ape-step.step-b { background: #3BB346; }
.ape-step.step-c { background: #8BC34A; }
.ape-step.step-d { background: #FDD835; }
.ape-step.step-e { background: #FFB300; }
.ape-step.step-f { background: #FB8C00; }
.ape-step.step-g { background: #E53935; }

.ape-step.active {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
  position: relative;
  z-index: 2;
  filter: brightness(1.05);
}

/* Pointer Indicator Track & House Icon */
.ape-pointer-track {
  position: relative;
  width: 100%;
  height: 42px;
  margin-top: 5px;
}

.ape-house-pointer {
  position: absolute;
  top: 0;
  left: 7.14%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: left 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.ape-house-svg {
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}

/* Detailed Technical Grid */
.ape-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 28px;
  padding-top: 22px;
  border-top: 1px solid var(--soth-line, #E5E0D8);
}

.ape-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ape-detail-lbl {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #777777;
  font-weight: 600;
}

.ape-detail-val {
  font-size: 14px;
  color: #1A1A1A;
  font-weight: 600;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .ape-energy-card {
    padding: 24px 20px;
    border-radius: 16px;
  }
  .ape-step {
    height: 40px;
    font-size: 16px;
  }
  .ape-house-svg {
    width: 28px;
    height: 32px;
  }
  .ape-details-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ==========================================================================
   PROPERTY PRODUCT PAGE HERO CALL BUTTON (Direct Advisor Hotline)
   ========================================================================== */
.prop-hero-call-bar {
  margin: 4px 0 28px 0;
  display: flex;
  align-items: center;
}

.prop-action-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--rosso, #890D0D);
  color: #FFFFFF !important;
  text-decoration: none !important;
  font-family: var(--font-display, 'Work Sans', sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(137, 13, 13, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
  cursor: pointer;
}

.prop-action-call-btn:hover {
  background: #A31010;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(137, 13, 13, 0.38);
  color: #FFFFFF !important;
}

.prop-action-call-btn .call-pulse-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.prop-action-call-btn .call-btn-text {
  letter-spacing: 0.05em;
  color: #FFFFFF;
}

.prop-action-call-btn .call-btn-sub {
  font-size: 11px;
  font-weight: 600;
  color: #A3E635;
  letter-spacing: 0.04em;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
}

@media (max-width: 640px) {
  .prop-hero-call-bar {
    margin: 0 0 22px 0;
  }
  .prop-action-call-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 12px;
  }
  .prop-action-call-btn .call-btn-sub {
    display: none;
  }
}

/* ---------- TERRITORIO CINEMATIC CTA INTERRUPTER BANNERS ---------- */
.territorio-cta-banner {
  position: relative;
  width: 100%;
  min-height: 290px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--ink-deep, #0B0E14);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  margin: 18px 0 26px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.territorio-cta-banner-img {
  position: absolute;
  right: 0;
  top: 0;
  width: 68%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 1;
  filter: contrast(1.05) brightness(0.95);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.2) 14%, rgba(0, 0, 0, 0.85) 35%, black 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.2) 14%, rgba(0, 0, 0, 0.85) 35%, black 100%);
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.territorio-cta-banner:hover .territorio-cta-banner-img {
  transform: scale(1.03);
}

.territorio-cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 7, 6, 0.98) 0%, rgba(12, 7, 6, 0.92) 42%, rgba(12, 7, 6, 0.45) 70%, rgba(12, 7, 6, 0.1) 90%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.territorio-cta-card {
  position: relative;
  z-index: 5;
  margin: 32px 0 32px 36px;
  max-width: 600px;
  background: linear-gradient(135deg, rgba(18, 11, 10, 0.88) 0%, rgba(12, 7, 6, 0.94) 100%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  padding: 28px 32px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 4px solid var(--rosso);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.territorio-cta-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
}

.territorio-cta-tag {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oro);
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.territorio-cta-title {
  font-family: var(--font-display);
  font-size: clamp(16.5px, 1.55vw, 21px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.25;
  color: #FFFFFF;
  margin: 0 0 10px 0;
  letter-spacing: 0.02em;
}

.territorio-cta-desc {
  font-size: 13.5px;
  color: rgba(247, 243, 236, 0.82);
  line-height: 1.55;
  margin: 0 0 18px 0;
}

.territorio-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(247, 243, 236, 0.45);
  color: var(--crema, #F7F3EC);
  background: transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.territorio-cta-btn:hover {
  background: #FFFFFF;
  color: var(--rosso, #890D0D);
  border-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

@media (max-width: 900px) {
  .territorio-cta-banner-img {
    width: 100%;
    opacity: 0.28;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .territorio-cta-card {
    margin: 22px 18px;
    max-width: calc(100% - 36px);
    padding: 22px 20px;
  }
}

/* ==========================================================================
   SERHANT-INSPIRED ADVISOR TRACK RECORD, MARKET FOCUS & OPERATING METHOD
   Design System: Bank Gothic Titles, Clean Luxury Tables & Operational Cards
   ========================================================================== */

.ag-track-record-sec {
  padding: 85px 0 95px;
  background: #FFFFFF;
  border-top: 1px solid var(--linea, rgba(137, 13, 13, 0.15));
  border-bottom: 1px solid var(--linea, rgba(137, 13, 13, 0.15));
}

.ag-section-kicker {
  font-family: var(--font-display, 'Bank Gothic', sans-serif);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rosso, #890D0D);
  display: inline-block;
  margin-bottom: 10px;
}

.ag-section-title-large {
  font-family: var(--font-display, 'Bank Gothic', sans-serif);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 900;
  text-transform: uppercase;
  color: #100C0A;
  margin: 0 0 14px 0;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.ag-section-sub-large {
  font-size: 15.5px;
  line-height: 1.65;
  color: #5C544E;
  max-width: 780px;
  margin: 0 0 36px 0;
  font-weight: 300;
}

/* 1. OPERATING METHOD & HOW WE OPERATE (Metodo & Filosofia Operativa) */
.ag-oper-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
@media (max-width: 900px) {
  .ag-oper-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.ag-oper-card {
  background: #FAF8F5;
  border: 1px solid #E8E1D5;
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  transition: all 0.3s ease;
}
.ag-oper-card:hover {
  transform: translateY(-4px);
  border-color: var(--rosso, #890D0D);
  box-shadow: 0 12px 32px rgba(137, 13, 13, 0.08);
  background: #FFFFFF;
}

.ag-oper-num {
  font-family: var(--font-display, 'Bank Gothic', sans-serif);
  font-size: 20px;
  font-weight: 900;
  color: var(--rosso, #890D0D);
  margin-bottom: 12px;
  opacity: 0.85;
}

.ag-oper-title {
  font-family: var(--font-display, 'Bank Gothic', sans-serif);
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
  color: #100C0A;
  margin: 0 0 10px 0;
  letter-spacing: 0.02em;
}

.ag-oper-desc {
  font-size: 13.5px;
  color: #6B645C;
  line-height: 1.6;
  margin: 0;
}

/* 2. MARKET FOCUS & TERRITORIAL METRICS (Mercato & Aree Presidiate) */
.ag-market-box {
  background: linear-gradient(135deg, #100C0A 0%, #1F1714 100%);
  color: #FFFFFF;
  border-radius: 20px;
  padding: 38px 36px;
  margin-bottom: 56px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}
.ag-market-box::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(137, 13, 13, 0.45) 0%, transparent 70%);
  pointer-events: none;
}

.ag-market-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 24px;
  margin-bottom: 30px;
}

.ag-market-title {
  font-family: var(--font-display, 'Bank Gothic', sans-serif);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 900;
  text-transform: uppercase;
  color: #FFFFFF;
  letter-spacing: 0.03em;
  margin: 0 0 6px 0;
}

.ag-market-tagline {
  font-size: 14px;
  color: rgba(247, 243, 236, 0.72);
  margin: 0;
}

.ag-market-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ag-market-pill {
  font-family: var(--font-display, 'Bank Gothic', sans-serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  transition: all 0.25s ease;
}
.ag-market-pill:hover {
  background: var(--rosso, #890D0D);
  border-color: var(--rosso, #890D0D);
  transform: translateY(-2px);
}

.ag-market-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .ag-market-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .ag-market-stats-row {
    grid-template-columns: 1fr;
  }
}

.ag-market-stat-item .val {
  font-family: var(--font-display, 'Bank Gothic', sans-serif);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.ag-market-stat-item .lbl {
  font-family: var(--font-display, 'Bank Gothic', sans-serif);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.ag-market-stat-item .desc {
  font-size: 12px;
  color: rgba(247, 243, 236, 0.65);
  line-height: 1.45;
  margin: 0;
}

/* 3. HISTORIC TRANSACTIONS & PAST SALES TABLE (Tabella Storico Operazioni Stile Serhant) */
.ag-sales-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.ag-sales-title {
  font-family: var(--font-display, 'Bank Gothic', sans-serif);
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  color: #100C0A;
  margin: 0;
  letter-spacing: 0.02em;
}

.ag-sales-count-badge {
  font-family: var(--font-display, 'Bank Gothic', sans-serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(137, 13, 13, 0.08);
  border: 1px solid rgba(137, 13, 13, 0.2);
  color: var(--rosso, #890D0D);
}

.ag-sales-table-wrapper {
  background: #FFFFFF;
  border: 1px solid #E8E1D5;
  border-radius: 16px;
  overflow-x: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.ag-sales-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 760px;
}

.ag-sales-table thead th {
  font-family: var(--font-display, 'Bank Gothic', sans-serif);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #718096;
  background: #FAF8F5;
  padding: 18px 22px;
  border-bottom: 1px solid #E8E1D5;
  white-space: nowrap;
}

.ag-sales-table tbody tr {
  border-bottom: 1px solid #F0ECE4;
  transition: background-color 0.2s ease;
}
.ag-sales-table tbody tr:hover {
  background-color: #FDFBF8;
}
.ag-sales-table tbody tr:last-child {
  border-bottom: none;
}

.ag-sales-table td {
  padding: 18px 22px;
  font-size: 13.5px;
  color: #2D3748;
  vertical-align: middle;
}

.ag-prop-title-cell {
  font-family: var(--font-display, 'Bank Gothic', sans-serif);
  font-size: 14.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: #100C0A;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ag-prop-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #E8E1D5;
}

.ag-price-cell {
  font-family: var(--font-display, 'Bank Gothic', sans-serif);
  font-size: 15px;
  font-weight: 900;
  color: #100C0A;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ag-status-pill-sold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display, 'Bank Gothic', sans-serif);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: #DEF7EC;
  color: #03543F;
  border: 1px solid #BCF0DA;
  white-space: nowrap;
}
.ag-status-pill-offmarket {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display, 'Bank Gothic', sans-serif);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(137, 13, 13, 0.08);
  color: var(--rosso, #890D0D);
  border: 1px solid rgba(137, 13, 13, 0.2);
  white-space: nowrap;
}





.footer-admin-discreet {
  color: #151110 !important; /* quasi identico allo sfondo #100b0a */
  text-decoration: none !important;
  font-weight: 400;
  letter-spacing: 0.03em;
  font-size: 11px;
  opacity: 0.28; /* quasi invisibile */
  transition: color 0.4s ease, opacity 0.4s ease;
  cursor: default;
}
.footer-admin-discreet:hover {
  color: #2c2522 !important;
  opacity: 0.55;
  cursor: pointer;
}



/* Centered Product Narrative & Amenities */
.sothebys-narrative-block {
  text-align: center;
}
.sothebys-kicker {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.sothebys-sec-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.sothebys-prose {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 820px;
}
.sothebys-prose p {
  text-align: center;
}
.sothebys-amenities-section {
  text-align: center;
}
.sothebys-amenities-section .sothebys-sec-title {
  text-align: center;
}
.sothebys-amenities-grid {
  justify-items: center;
}
.sothebys-amenity-item {
  justify-content: center;
  text-align: center;
}

/* Centered Shop Card Preview — 100% Full Width (No White Side Bands) */
.shop-grid.serhant-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 36px !important;
  width: 100% !important;
}

.shop-card.serhant-card {
  width: 100% !important;
  box-sizing: border-box !important;
}

.shop-card.serhant-card .serhant-card-info {
  text-align: center !important;
  width: 100% !important;
}

.shop-card.serhant-card .serhant-price-row {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  position: relative !important;
  width: 100% !important;
}

.shop-card.serhant-card .serhant-price {
  text-align: center !important;
  margin: 0 auto !important;
}

.shop-card.serhant-card .serhant-more-btn {
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.shop-card.serhant-card .serhant-specs-grid {
  display: flex !important;
  justify-content: space-between !important;
  width: 100% !important;
  text-align: center !important;
}

.shop-card.serhant-card .serhant-spec-col {
  flex: 1 1 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

.shop-card.serhant-card .serhant-spec-lbl {
  text-align: center !important;
  width: 100% !important;
}

.shop-card.serhant-card .serhant-spec-val-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  text-align: center !important;
}

.shop-card.serhant-card .serhant-address-line {
  text-align: center !important;
  width: 100% !important;
  display: block !important;
}

.shop-card.serhant-card .serhant-address-line a {
  text-align: center !important;
  display: inline-block !important;
}

.shop-card.serhant-card .shop-btn-primary {
  justify-content: center !important;
  gap: 16px !important;
  text-align: center !important;
}

.shop-card.serhant-card .shop-btn-secondary {
  justify-content: center !important;
  text-align: center !important;
}

.shop-card.serhant-card .serhant-card-footer {
  justify-content: center !important;
  gap: 24px !important;
  text-align: center !important;
}



/* SOTHEBY'S TWO-COLUMN GRID & STICKY SIDEBAR FIX */
.sothebys-content-wrap > .wrap.sothebys-grid {
  display: grid !important;
  grid-template-columns: 1.15fr 1fr !important;
  gap: 44px !important;
  align-items: start !important;
  width: 100% !important;
}

@media (max-width: 1024px) {
  .sothebys-content-wrap > .wrap.sothebys-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
}

.sothebys-left-col {
  min-width: 0;
  width: 100%;
}

.sothebys-sidebar-col {
  min-width: 0;
  width: 100%;
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 96px !important;
  z-index: 20;
}

.sothebys-sticky-card {
  width: 100%;
}




/* Centered Property Cards (Real Estate Serhant Cards) with Luxury Framing */
.serhant-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(18, 16, 14, 0.12) !important;
  border-radius: 20px !important;
  padding: 16px !important;
  box-shadow: 0 6px 24px rgba(18, 16, 14, 0.05) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
}

.serhant-card:hover {
  border-color: rgba(137, 13, 13, 0.38) !important;
  box-shadow: 0 16px 42px rgba(137, 13, 13, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06) !important;
  transform: translateY(-4px) !important;
}

.serhant-card .serhant-card-media {
  border-radius: 14px !important;
  overflow: hidden !important;
}

.serhant-card .serhant-card-info {
  text-align: center !important;
  padding: 18px 8px 6px !important;
}

.serhant-card .serhant-price-row {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  position: relative !important;
  width: 100% !important;
  padding-bottom: 2px !important;
}

.serhant-card .serhant-price {
  text-align: center !important;
  margin: 0 auto !important;
  font-size: 27px !important;
  font-weight: 800 !important;
  color: #12100E !important;
  letter-spacing: -0.015em !important;
}

.serhant-card .serhant-more-btn {
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.serhant-card .serhant-specs-grid {
  display: flex !important;
  justify-content: space-between !important;
  width: 100% !important;
  text-align: center !important;
  padding: 12px 6px !important;
  margin: 8px 0 12px !important;
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  background: rgba(250, 248, 245, 0.5) !important;
  border-radius: 10px !important;
}

.serhant-card .serhant-spec-col {
  flex: 1 1 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

.serhant-card .serhant-spec-lbl {
  text-align: center !important;
  width: 100% !important;
}

.serhant-card .serhant-spec-val-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  text-align: center !important;
}

.serhant-card .serhant-address-line {
  text-align: center !important;
  width: 100% !important;
  display: block !important;
  margin-bottom: 12px !important;
}

.serhant-card .serhant-address-line a {
  text-align: center !important;
  display: inline-block !important;
}

.serhant-card .serhant-card-footer {
  justify-content: center !important;
  gap: 24px !important;
  text-align: center !important;
  padding-top: 10px !important;
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}



/* Responsive 2-Column Grid: Territorio Map + Booking Card */
.territorio-booking-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: stretch;
  margin-top: 32px;
  width: 100%;
}

@media (max-width: 980px) {
  .territorio-booking-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}


/* =========================================================================
   HEADER CIRCLE ACTION BUTTONS (FAVORITES & QUICK PHONE CALL)
   ========================================================================= */
.nav-circle-btn,
header.site-header .nav-circle-btn,
header.site-header.solid .nav-circle-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  background: transparent !important;
  color: #FFFFFF !important;
  cursor: pointer !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
  position: relative !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.nav-circle-btn svg {
  display: block;
  pointer-events: none;
  transition: transform 0.2s ease, fill 0.2s ease, stroke 0.2s ease;
}

.nav-circle-btn:hover,
header.site-header.solid .nav-circle-btn:hover {
  border-color: var(--rosso, #890D0D) !important;
  color: #FFFFFF !important;
  background: rgba(137, 13, 13, 0.35) !important;
  transform: translateY(-1px) scale(1.06) !important;
}

.nav-circle-fav.has-favs svg {
  stroke: #ff4757 !important;
  fill: #ff4757 !important;
}

.nav-fav-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 10px;
  background: var(--rosso, #890D0D);
  color: #FFFFFF;
  font-family: var(--font-body, -apple-system, sans-serif);
  font-size: 9.5px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

/* =========================================================================
   GENIS FAVORITES MODAL POPUP
   ========================================================================= */
.favs-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(10, 12, 16, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.favs-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.favs-modal-card {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: 85vh;
  background: #FFFFFF;
  border: 1px solid rgba(18, 16, 14, 0.12);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.favs-modal-overlay.open .favs-modal-card {
  transform: scale(1);
}

.favs-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: #FAF8F5;
}

.favs-modal-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display, -apple-system, sans-serif);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #12100E;
}

.favs-modal-close-btn {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.15);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #12100E;
  cursor: pointer;
  transition: all 0.2s ease;
}

.favs-modal-close-btn:hover {
  background: #12100E;
  color: #FFFFFF;
}

.favs-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}

.favs-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.favs-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: 12px;
  background: #FAF8F5;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.favs-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.favs-item-thumb {
  width: 76px;
  height: 76px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.favs-item-info {
  flex: 1;
  min-width: 0;
}

.favs-item-title {
  font-family: var(--font-display, -apple-system, sans-serif);
  font-size: 14px;
  font-weight: 700;
  color: #12100E;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.favs-item-title:hover {
  color: var(--rosso, #890D0D);
}

.favs-item-loc {
  font-size: 12px;
  color: #64748B;
  margin-bottom: 6px;
}

.favs-item-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--rosso, #890D0D);
}

.favs-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.favs-item-remove-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.2s ease;
  font-size: 15px;
}

.favs-item-remove-btn:hover {
  color: #EF4444;
}

.favs-empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #64748B;
}

.favs-empty-icon {
  font-size: 38px;
  margin-bottom: 12px;
  opacity: 0.7;
}

.favs-empty-title {
  font-family: var(--font-display, -apple-system, sans-serif);
  font-size: 16px;
  font-weight: 700;
  color: #12100E;
  margin-bottom: 8px;
}

.favs-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.favs-modal-catalog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--rosso, #890D0D);
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-display, -apple-system, sans-serif);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.favs-modal-catalog-btn:hover {
  background: #aa1212;
  box-shadow: 0 4px 14px rgba(137, 13, 13, 0.3);
}

.favs-modal-clear-btn {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  transition: all 0.2s ease;
}

.favs-modal-clear-btn:hover {
  color: #EF4444;
  border-color: #EF4444;
}

@media (max-width: 1060px) {
  nav.nav-links .nav-circle-btn,
  header.site-header.solid nav.nav-links .nav-circle-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    margin: 4px 0 !important;
  }
}


/* =========================================================================
   MOBILE RESPONSIVE & LAYOUT PERFECTION (MATCH DESKTOP LUXURY EXPERIENCE)
   ========================================================================= */

/* Prevent horizontal page blowup and black side bars on mobile */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
}

*, *::before, *::after {
  box-sizing: border-box !important;
}

/* Ensure mobile header stays within screen width */
header.site-header {
  width: 100% !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
}

header.site-header .wrap {
  width: 100% !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
  padding: 0 18px !important;
}

/* Hero Section on Mobile: Responsive headings without side overflow */
@media (max-width: 820px) {
  .hero {
    min-height: auto !important;
    padding-top: 100px !important;
    padding-bottom: 50px !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .hero .wrap {
    padding: 0 18px !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .hero h1,
  .page-hero h1,
  .page-hero.shop-hero h1,
  .hero-title-single-line,
  .single-line-heading,
  .single-line-title {
    white-space: normal !important;
    font-size: clamp(17px, 4.8vw, 22px) !important;
    line-height: 1.35 !important;
    max-width: 100% !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  .hero-payoff {
    white-space: normal !important;
    max-width: 100% !important;
    font-size: 11.5px !important;
    line-height: 1.4 !important;
    letter-spacing: 0.1em !important;
    padding-top: 12px !important;
    margin-top: 16px !important;
  }

  .hero-sub {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
  }

  .hero-ctas {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .hero-ctas .btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 13px 20px !important;
  }
}

/* Quick KPI Section: Pure desktop luxury style adapted cleanly to mobile */
.quick-kpi {
  background: var(--crema, #F7F3EC) !important;
  width: 100% !important;
  max-width: 100vw !important;
  border-top: 1px solid var(--linea, rgba(137, 13, 13, 0.2)) !important;
  border-bottom: 1px solid var(--linea, rgba(137, 13, 13, 0.2)) !important;
}

@media (max-width: 820px) {
  .quick-kpi .wrap {
    padding: 0 16px !important;
    width: 100% !important;
  }

  .kpi-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    border: none !important;
    padding: 24px 0 !important;
    width: 100% !important;
  }

  .kpi-cell,
  .kpi-cell-cta {
    background: #FFFFFF !important;
    border: 1px solid rgba(137, 13, 13, 0.15) !important;
    border-left: 4px solid var(--rosso, #890D0D) !important;
    border-radius: 14px !important;
    padding: 22px 20px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .kpi-num {
    font-size: 24px !important;
    color: var(--rosso, #890D0D) !important;
    font-weight: 900 !important;
  }

  .kpi-title {
    font-size: 14px !important;
    color: var(--ink, #1A1A1A) !important;
    margin-top: 8px !important;
    font-weight: 800 !important;
  }

  .kpi-desc {
    font-size: 13px !important;
    color: var(--ink-light, #3a332f) !important;
    line-height: 1.55 !important;
    margin-top: 6px !important;
  }

  .kpi-cta-link {
    margin-top: 14px !important;
    font-size: 11.5px !important;
    color: var(--rosso, #890D0D) !important;
    font-weight: 800 !important;
  }
}

/* Section titles on Mobile: Prevent cutoffs and maintain luxury alignment */
@media (max-width: 820px) {
  .section-head h2,
  .section-head-centered h2,
  h2.single-line-heading {
    white-space: normal !important;
    font-size: clamp(16px, 4.2vw, 20px) !important;
    line-height: 1.3 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    text-align: center !important;
    padding: 0 10px !important;
  }

  .section-head p.lead,
  .section-head-centered p.lead {
    font-size: 14px !important;
    line-height: 1.6 !important;
    padding: 0 10px !important;
  }

  /* 2-column grids into clean 1-column sequences */
  .grid-2,
  .territorio-booking-grid,
  .sothebys-content-wrap > .wrap.sothebys-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}


/* =========================================================================
   IPHONE & MOBILE OPTIMIZATION: FULL-VIEWPORT SCROLLABLE POPUPS & TOUCH CTAS
   ========================================================================= */

/* 1. Modal Overlays & Cards (Dossier, Contact, Share, Favorites, Hub) */
.modal-overlay,
.lead-modal-overlay,
.hub-modal-overlay,
.serhant-modal-overlay,
.fast-modal-overlay,
.favs-modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100vw !important;
  padding: 12px !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  z-index: 99999 !important;
}

.modal-card,
.lead-modal-card,
.serhant-modal-box,
.fast-modal-card,
.favs-modal-card {
  width: 100% !important;
  max-width: 540px !important;
  max-height: 92vh !important;
  max-height: 92dvh !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  margin: auto !important;
  box-sizing: border-box !important;
  border-radius: 18px !important;
}

@media (max-width: 600px) {
  .modal-overlay,
  .lead-modal-overlay,
  .hub-modal-overlay,
  .serhant-modal-overlay,
  .fast-modal-overlay,
  .favs-modal-overlay {
    padding: 8px !important;
    align-items: flex-start !important;
  }

  .modal-card,
  .lead-modal-card,
  .serhant-modal-box,
  .fast-modal-card,
  .favs-modal-card {
    padding: 24px 18px !important;
    max-height: 95vh !important;
    max-height: 95dvh !important;
    margin-top: 12px !important;
    margin-bottom: 24px !important;
  }

  /* Form Inputs inside Modals on iPhone */
  .modal-card input,
  .modal-card select,
  .modal-card textarea,
  .lead-modal-card input,
  .lead-modal-card select,
  .lead-modal-card textarea,
  .serhant-modal-box input,
  .serhant-modal-box select,
  .serhant-modal-box textarea {
    font-size: 16px !important; /* Prevents auto-zoom in iOS Safari */
    padding: 12px 14px !important;
    border-radius: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Modal Close Buttons */
  .modal-close,
  .lead-modal-close,
  .serhant-modal-close,
  .favs-modal-close-btn {
    top: 12px !important;
    right: 12px !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 20px !important;
  }

  /* 2. Touch CTA Buttons on Mobile: Consistent Size, Background & Padding */
  .btn,
  .btn-solid,
  .btn-ghost,
  .cta-nav,
  .kpi-cta-link,
  .hero-ctas .btn,
  .shop-btn-primary,
  .shop-btn-secondary {
    min-height: 48px !important; /* Apple HIG minimum touch target */
    padding: 12px 20px !important;
    font-size: 13px !important;
    box-sizing: border-box !important;
  }

  /* Ensure background consistency across all sections */
  body {
    background-color: var(--crema, #F7F3EC) !important;
  }
}
