/* === base.css === */
/* ==========================================================================
   Bedouin — base: font, design token, reset.
   Valori misurati sugli stili calcolati di bedouin.it (Chrome, 21-09-2026),
   non copiati dallo spec: dove i due divergono vince il sito vivo.
   ========================================================================== */

/* --- Font self-hosted ----------------------------------------------------
   Inter: file variabile, asse wght 100–900 (il CSS usa da 100 a 900). Nessun intervallo di peso
   dichiarato, come sul vivo: Chrome applica comunque il peso richiesto tramite l'asse.

   Il file intero (190 KB, 900 caratteri, assi opsz+wght) era la richiesta piu' pesante della pagina
   e in preload rubava la banda ai CSS che sbloccano il disegno (FCP 3,6 s). Diviso in due
   sottoinsiemi con unicode-range, come fa Google Fonts: le pagine italiane e inglesi scaricano solo
   il primo. L'asse opsz e' fissato a 14 (il suo valore di default) perche' nessuna regola usa
   font-optical-sizing o font-variation-settings.
     latin     64 KB  — tutto il sito tranne due caratteri
     latin-ext 75 KB  — solo dove compare "ā" (/prodotti/)
   Rigenerare dopo un aggiornamento di Inter: scripts/build_fonts.py */
@font-face {
  font-family: "Inter Display";
  src: url("../../fonts/InterVariable-latin.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+2264, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Display";
  src: url("../../fonts/InterVariable-latinext.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* DM Mono: i 12 file che Elementor scaricava da Google Fonts (latin + latin-ext). */
@font-face { font-family: "DM Mono"; font-style: italic; font-weight: 300; src: url("../../fonts/dmmono-75f3f285.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; font-display: swap; }
@font-face { font-family: "DM Mono"; font-style: italic; font-weight: 300; src: url("../../fonts/dmmono-9a087a1b.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; font-display: swap; }
@font-face { font-family: "DM Mono"; font-style: italic; font-weight: 400; src: url("../../fonts/dmmono-32e9ba6a.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; font-display: swap; }
@font-face { font-family: "DM Mono"; font-style: italic; font-weight: 400; src: url("../../fonts/dmmono-cb2a35ab.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; font-display: swap; }
@font-face { font-family: "DM Mono"; font-style: italic; font-weight: 500; src: url("../../fonts/dmmono-719d7d41.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; font-display: swap; }
@font-face { font-family: "DM Mono"; font-style: italic; font-weight: 500; src: url("../../fonts/dmmono-c32e5a77.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; font-display: swap; }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 300; src: url("../../fonts/dmmono-63d829a7.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; font-display: swap; }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 300; src: url("../../fonts/dmmono-c5d273fb.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; font-display: swap; }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 400; src: url("../../fonts/dmmono-9ad76cd0.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; font-display: swap; }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 400; src: url("../../fonts/dmmono-a175863f.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; font-display: swap; }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 500; src: url("../../fonts/dmmono-36c1af8e.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; font-display: swap; }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 500; src: url("../../fonts/dmmono-6a59878c.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; font-display: swap; }

/* artifex-hand-cf arriva da Adobe Fonts (kit hci5pck), caricato in functions.php. */

/* --- Design token --------------------------------------------------------
   Breakpoint (le media query non leggono le variabili: valori da ripetere a mano)
     mobile   ≤ 767px    Elementor mobile
     tablet   768–1024   Elementor tablet
     desktop  ≥ 1025px
     header   ≤ 991px    solo l'header passa a hamburger qui, non a 1024
   Il sito vivo NON ha breakpoint laptop/widescreen attivi: 1440 e 1920
   condividono gli stessi valori, cambia solo lo spazio disponibile. */
:root {
  /* colori del kit Elementor 15 */
  --color-beige: #fffae7;          /* Beige: sfondi chiari, testo su scuro */
  --color-nero: #1c1d20;           /* Nero: sezioni scure, footer */
  --color-mattone: #91441e;        /* Mattone: CTA */
  /* colori scritti a mano nei widget */
  --color-mattone-caldo: #8b4528;  /* testo CTA header, hover sottomenu */
  --color-testo: #1a1917;          /* testo su beige nelle pagine */
  --color-beige-supporto: #cec9b8; /* bordi, divisori */
  --color-ardesia: #2c313a;        /* voci sottomenu desktop, chiudi menu mobile, header crema */
  --color-header-line: #e5e5e5;    /* filo sotto l'header crema */
  --color-footer-label: #868582;   /* etichette colonne footer */
  --color-footer-credit: #929088;  /* "Designed by" */
  --color-body: #333;              /* testo di default (reset Hello Elementor) */
  --color-link: #c36;              /* link di default (reset Hello Elementor) */
  --color-link-hover: #336;
  --color-bg: #fff;                /* sfondo body: si vede nella fascia di 20px sopra la prima sezione */

  /* famiglie */
  --font-display: "artifex-hand-cf", "Artifex Hand CF", serif;
  --font-sans: "Inter Display", "Inter", sans-serif;
  --font-mono: "DM Mono", monospace;
  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

  /* scala tipografica misurata (header, menu, footer) */
  --fs-nav: 0.85rem;          /* 13.6px voci menu desktop, lingua */
  --fs-subnav: 0.8rem;        /* 12.8px sottomenu desktop e mobile */
  --fs-cta-header: 0.95rem;   /* 15.2px "Preventivo" */
  --fs-offcanvas: 1.6rem;     /* 25.6px voci menu mobile */
  --fs-footer-claim: 69px;    /* "Nomadic art of life" */
  --fs-footer-claim-m: 30px;
  --fs-footer-link: 18px;
  --fs-footer-link-m: 14px;
  --fs-footer-label: 12px;
  --fs-footer-legal: 14px;
  --fs-footer-legal-m: 12px;
  /* scala dei titoli di pagina (censimento del CSS Elementor sulle 19 pagine):
     ogni widget ha il suo valore in px, questi sono i piu' ricorrenti.
     Le pagine (milestone 3) useranno i valori esatti di ogni sezione. */
  --fs-title-xl: 61px;
  --fs-title-l: 50px;
  --fs-title-m: 29px;
  --fs-title-l-tablet: 46px;
  --fs-title-m-mobile: 24px;

  /* spaziature */
  --space-container: 10px;    /* padding di default dei container Elementor */
  --gap-container: 20px;      /* gap di default dei container Elementor */
  --gutter: 50px;             /* margine laterale delle fasce (desktop e tablet) */
  --gutter-mobile: 20px;
  --header-pad-y: 30px;
  --header-pad-x: 40px;
  --header-pad-mobile: 20px;

  /* movimento */
  --ease-out-power2: cubic-bezier(0.215, 0.61, 0.355, 1); /* = GSAP power2.out */
}

/* --- Reset ---------------------------------------------------------------
   Sottoinsieme del reset di Hello Elementor che il sito vivo eredita: le misure
   di header e footer dipendono da queste regole (line-height 1.5, colori link). */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-system);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-body);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin-block: 0.5rem 1rem;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.2;
  color: inherit;
}

p {
  margin-block: 0 0.9rem;
}

a {
  background-color: transparent;
  color: var(--color-link);
  text-decoration: none;
}

a:hover,
a:active {
  color: var(--color-link-hover);
}

b,
strong {
  font-weight: bolder;
}

img {
  border-style: none;
  height: auto;
  max-width: 100%;
}

ul,
ol,
li {
  margin-block: 0;
}

button {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

/* Lenis (scorrimento morbido, assets/js/smooth-scroll.js): regole della libreria */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* "Riduci movimento": cambi di stato istantanei (header crema, menu mobile, hover).
   Anche il ritardo va azzerato, altrimenti il pannello chiuso resta visibile 0.45s. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    animation-duration: 0.01ms !important;
  }
}

/* === header.css === */
/* ==========================================================================
   Header: barra fissa trasparente + menu mobile off-canvas.
   Fonte: CSS dei due widget HTML del template 13629 + il "CSS personalizzato"
   Elementor del secondo widget. Le due fonti si contraddicevano: qui c'e' il
   risultato finale della cascata, verificato sugli stili calcolati del sito vivo.
   ========================================================================== */

/* Contenitore di header e off-canvas: contiene solo elementi fissi, quindi e' alto 0.
   CORREZIONE rispetto al sito vivo: li' il container Elementor e' alto 20px (gap tra due
   widget vuoti) e lascia una fascia bianca sopra la prima sezione da 768px in su.
   Qui la fascia non c'e': nei confronti usare --ref-crop-top 20@768,1024,1440,1920.
   Lo z-index crea il contesto di impilamento (99999, da mobile 99, come sul vivo). */
.bedouin-header-wrap {
  position: relative;
  z-index: 99999;
}

/* Sentinella per header-sticky.js: quando esce dallo schermo si e' scrollato oltre 120px
   (la soglia "sticky start" impostata nel template Animation Addons). */
.bedouin-header-sentinel {
  position: absolute;
  top: 120px;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

/* --- Barra ---------------------------------------------------------------
   Trasparente in cima alla pagina, crema dopo lo scroll (.is-scrolled, header-sticky.js).
   CORREZIONE rispetto al sito vivo: li' le regole dello stato crema esistono ma nessuno
   script le attiva, e sopra le sezioni beige il menu bianco sparisce. */
.bedouin-site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  padding: var(--header-pad-y) var(--header-pad-x);
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s ease, padding 0.4s ease, border-bottom-color 0.4s ease;
}

.bedouin-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bedouin-header-logo {
  position: relative;
  display: block;
  height: 36px;
}

.bedouin-header-logo img {
  display: block;
  width: auto;
  height: 100%;
  transition: opacity 0.4s ease, transform 0.3s ease;
}

/* logo scuro sovrapposto, visibile solo nello stato crema */
.bedouin-header-logo .logo-dark {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.bedouin-header-logo:hover img {
  transform: scale(1.05);
}

/* --- Menu desktop -------------------------------------------------------- */
.bedouin-desktop-nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

.bedouin-desktop-nav a.menu-item,
.bedouin-desktop-nav .menu-item-wrapper > span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 5px;
  font-family: var(--font-sans);
  font-size: var(--fs-nav);
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-beige);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.4s ease;
}

.bedouin-desktop-nav .menu-item-parent,
.bedouin-desktop-nav .menu-item-parent:hover {
  color: inherit;
  text-decoration: none;
}

/* sottolineatura che si allarga */
.bedouin-desktop-nav a.menu-item::after,
.bedouin-desktop-nav .menu-item-wrapper > span::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-beige);
  transition: width 0.3s ease, background-color 0.4s ease;
}

.bedouin-desktop-nav a.menu-item:hover::after,
.bedouin-desktop-nav .menu-item-wrapper:hover > span::after,
.bedouin-desktop-nav .menu-item-wrapper:focus-within > span::after {
  width: 100%;
}

/* Voce con sottomenu. Il padding compensato dal margine negativo tiene aperto il
   sottomenu mentre il mouse scende. Vale anche per le voci del menu mobile (stessa classe). */
.bedouin-menu-item-has-children {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: -15px;
}

.bedouin-desktop-dropdown-arrow {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
}

.bedouin-menu-item-has-children:hover .bedouin-desktop-dropdown-arrow,
.bedouin-menu-item-has-children:focus-within .bedouin-desktop-dropdown-arrow {
  transform: rotate(180deg);
}

.bedouin-desktop-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 180px;
  padding: 20px 25px;
  background-color: var(--color-beige);
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.bedouin-menu-item-has-children:hover .bedouin-desktop-submenu,
.bedouin-menu-item-has-children:focus-within .bedouin-desktop-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.bedouin-desktop-submenu a {
  font-family: var(--font-sans);
  font-size: var(--fs-subnav);
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-ardesia);
  text-decoration: none;
  transition: color 0.3s ease;
}

.bedouin-desktop-submenu a:hover {
  color: var(--color-mattone-caldo);
}

/* --- Selettore lingua (markup di TranslatePress) --------------------------
   Gli !important battono il CSS del plugin, che arriva con selettori propri. */
.bedouin-lang-switcher {
  display: flex;
  align-items: center;
}

.desktop-lang::before {
  content: "";
  display: block;
  width: 1px;
  height: 15px;
  margin-right: 25px;
  margin-left: -5px;
  background-color: var(--color-beige);
  opacity: 0.4;
  transition: background-color 0.4s ease;
}

.bedouin-lang-switcher .trp-language-switcher {
  position: relative;
  border: none !important;
  background: transparent !important;
}

.bedouin-lang-switcher .trp-ls-shortcode-current-language {
  display: none !important;
}

.bedouin-lang-switcher .trp-ls-shortcode-language {
  display: block !important;
  position: static !important;
  width: auto !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.bedouin-lang-switcher a,
.bedouin-lang-switcher a span {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-nav) !important;
  font-weight: 500 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: var(--color-beige) !important;
  text-decoration: none !important;
  background: transparent !important;
  transition: opacity 0.3s ease, color 0.4s ease !important;
}

.bedouin-lang-switcher a:hover {
  opacity: 0.6;
}

.mobile-lang {
  display: none;
}

.desktop-lang {
  display: flex;
}

/* --- Azioni: CTA e hamburger --------------------------------------------- */
.bedouin-header-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.bedouin-header-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px 24px;
  font-family: var(--font-display);
  font-size: var(--fs-cta-header);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-mattone-caldo);
  background-color: var(--color-beige);
  border: 1px solid var(--color-beige);
  transition: color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), background-color 0.4s ease, border-color 0.4s ease;
}

/* riempimento mattone da sinistra all'hover */
.bedouin-header-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-color: var(--color-mattone-caldo);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bedouin-header-cta:hover {
  color: var(--color-beige);
}

.bedouin-header-cta:hover::before {
  transform: scaleX(1);
}

.bedouin-hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 12px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

.bedouin-hamburger-btn:focus:not(:focus-visible) {
  outline: none;
}

.bedouin-hamburger-btn span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--color-beige);
  transition: transform 0.3s ease, background-color 0.4s ease;
}

.bedouin-hamburger-btn:hover span:first-child {
  transform: translateY(-2px);
}

.bedouin-hamburger-btn:hover span:last-child {
  transform: translateY(2px);
}

/* --- Stato crema (dopo 120px di scroll) -----------------------------------
   Regole dello stato ".wcf-sticky-header" scritte nel widget 4e57ad56 del sito vivo. */
.bedouin-header-wrap.is-scrolled .bedouin-site-header {
  padding: 15px var(--header-pad-x);
  background-color: var(--color-beige);
  border-bottom-color: var(--color-header-line);
}

.is-scrolled .bedouin-header-logo .logo-light {
  opacity: 0;
}

.is-scrolled .bedouin-header-logo .logo-dark {
  opacity: 1;
}

.is-scrolled .bedouin-desktop-nav a.menu-item,
.is-scrolled .bedouin-desktop-nav .menu-item-wrapper > span {
  color: var(--color-ardesia);
}

.is-scrolled .bedouin-desktop-nav a.menu-item::after,
.is-scrolled .bedouin-desktop-nav .menu-item-wrapper > span::after {
  background-color: var(--color-ardesia);
}

.is-scrolled .bedouin-hamburger-btn span {
  background-color: var(--color-ardesia);
}

.is-scrolled .bedouin-header-cta {
  color: var(--color-mattone-caldo);
  background-color: transparent;
  border-color: var(--color-mattone-caldo);
}

/* Sul vivo la regola sopra (con !important) batteva anche l'hover: testo mattone sul
   riempimento mattone, cioe' "Preventivo" invisibile al passaggio del mouse. Corretto. */
.is-scrolled .bedouin-header-cta:hover {
  color: var(--color-beige);
}

.is-scrolled .bedouin-lang-switcher a,
.is-scrolled .bedouin-lang-switcher a span {
  color: var(--color-ardesia) !important;
}

.is-scrolled .desktop-lang::before {
  background-color: var(--color-ardesia);
}

@media (max-width: 991px) {
  .bedouin-site-header {
    padding: var(--header-pad-mobile);
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  .bedouin-header-wrap.is-scrolled .bedouin-site-header {
    padding: 15px var(--header-pad-mobile);
  }

  .bedouin-hamburger-btn {
    display: flex;
  }

  .bedouin-desktop-nav,
  .bedouin-header-cta,
  .desktop-lang {
    display: none;
  }

  .mobile-lang {
    display: flex;
  }

  .bedouin-header-actions {
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .bedouin-header-wrap {
    z-index: 99;
  }
}

/* ==========================================================================
   Menu mobile off-canvas
   ========================================================================== */
.bedouin-offcanvas-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(28, 29, 32, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.bedouin-offcanvas-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* Pannello che scorre da destra, in apertura e in chiusura.
   CORREZIONE rispetto al sito vivo: li' due regole in conflitto (right:-100% animato +
   translateX(100%) non animato) lo facevano aprire scorrendo e chiudere di scatto.
   Qui un solo meccanismo, transform (niente ricalcolo del layout).
   visibility nascosta a pannello chiuso, con ritardo pari alla transizione: l'ombra non
   sborda sul bordo destro della pagina e i link del menu chiuso escono dal giro del Tab. */
.bedouin-offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  width: 340px;
  max-width: 85vw;
  height: 100%;
  overflow-y: auto;
  background-color: var(--color-beige);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    visibility 0s linear 0.45s;
}

.bedouin-offcanvas.is-open {
  transform: translateX(0);
  visibility: visible;
  transition:
    transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    visibility 0s linear 0s;
}

@media (min-width: 992px) {
  .bedouin-offcanvas,
  .bedouin-offcanvas-overlay {
    display: none;
  }
}

.bedouin-offcanvas-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: 100%;
  padding: 2.5rem 2rem;
}

body.bedouin-menu-open {
  overflow: hidden;
  touch-action: none;
}

.bedouin-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-block;
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1;
  color: var(--color-ardesia);
  text-align: center;
  white-space: nowrap;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.bedouin-menu-close:hover {
  opacity: 0.5;
}

.bedouin-menu-nav {
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}

.bedouin-menu-nav > a {
  display: block;
  padding: 0.9rem 0;
  font-family: var(--font-display);
  font-size: var(--fs-offcanvas);
  color: var(--color-nero);
  text-decoration: none;
  border-bottom: 1px solid rgba(28, 29, 32, 0.08);
  transition: opacity 0.3s ease;
}

.bedouin-menu-nav > a:hover,
.bedouin-submenu-toggle:hover {
  color: var(--color-nero);
  opacity: 0.5;
}

.bedouin-submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.9rem 0;
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-offcanvas);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-nero);
  text-align: left;
  white-space: nowrap;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(28, 29, 32, 0.08);
  /* raggio ereditato sul sito vivo dallo stile pulsanti del kit Elementor:
     incurva appena le estremita' del filo inferiore */
  border-radius: 4px;
  box-shadow: none;
  appearance: none;
  user-select: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.bedouin-submenu-toggle:focus:not(:focus-visible) {
  outline: none;
}

.bedouin-dropdown-arrow {
  width: 18px;
  height: 18px;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.bedouin-menu-item-has-children.is-open .bedouin-dropdown-arrow {
  transform: rotate(180deg);
}

.bedouin-submenu {
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.bedouin-menu-item-has-children.is-open .bedouin-submenu {
  max-height: 300px;
  margin-top: 20px;
}

.bedouin-submenu a {
  display: block;
  padding: 0.5rem 0;
  font-family: var(--font-mono);
  font-size: var(--fs-subnav);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-nero);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.bedouin-submenu a:hover {
  color: var(--color-nero);
  opacity: 1;
}

.bedouin-menu-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  width: 100%;
  margin-top: auto;
  padding-top: 2rem;
  padding-bottom: 30px;
}

.bedouin-menu-socials {
  display: flex;
  gap: 1rem;
  margin-bottom: 32px;
}

.bedouin-menu-socials a {
  color: var(--color-nero);
  text-decoration: none;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.bedouin-menu-socials a:hover {
  color: var(--color-nero);
  opacity: 1;
}

.bedouin-menu-socials svg {
  width: 20px;
  height: 20px;
}

.bedouin-menu-cta {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 1.1rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: var(--color-beige);
  background-color: var(--color-nero);
  border: 1px solid var(--color-nero);
  transition: color 0.3s ease;
}

/* velo beige che entra da sinistra all'hover ed esce a destra */
.bedouin-menu-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-color: var(--color-beige);
  transform: translateX(-101%);
}

.bedouin-menu-cta:hover {
  color: var(--color-nero);
}

.bedouin-menu-cta:hover::before {
  animation: bedouinMenuSlideIn 0.4s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

.bedouin-menu-cta:not(:hover)::before {
  animation: bedouinMenuSlideOut 0.4s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes bedouinMenuSlideIn {
  from { transform: translateX(-101%); }
  to { transform: translateX(0); }
}

@keyframes bedouinMenuSlideOut {
  from { transform: translateX(0); }
  to { transform: translateX(101%); }
}

/* --- Barra di amministrazione di WordPress (la vede solo chi è collegato) -------------------
   È fissa in alto con z-index 100000, sopra il nostro header fisso: senza questa regola copre
   logo e menu. Sotto i 783px WordPress la fa scorrere con la pagina, quindi lì l'header resta a 0
   (con un margine fisso resterebbe uno spazio vuoto appena si scorre). */
@media screen and (min-width: 783px) {
  body.admin-bar .bedouin-site-header,
  body.admin-bar .bedouin-offcanvas {
    top: 32px;
  }

  body.admin-bar .bedouin-offcanvas {
    height: calc(100% - 32px);
  }
}

/* === footer.css === */
/* ==========================================================================
   Footer (template Elementor 12793).
   Misure dei container Elementor riportate 1:1: larghezze in %, padding di default
   di 10px solo dove il sito vivo non lo azzerava, altezze minime in vh.
   ========================================================================== */

/* --- Fascia scura -------------------------------------------------------- */
.site-footer__main {
  display: flex;
  flex-direction: column;
  min-height: 75vh;
  padding: 0 var(--gutter);
  background-color: var(--color-nero);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  align-items: center;
  gap: var(--gap-container);
  width: 100%;
  padding-top: 50px;
}

.site-footer__cols {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--gap-container);
  width: 95%;
  min-width: 0;
  padding: var(--space-container);
}

.site-footer__brand,
.site-footer__col {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--gap-container);
  min-width: 0;
}

/* le quattro colonne partono da 100% / 37% / 37% / 37% e si restringono in proporzione */
.site-footer__brand {
  width: 100%;
  padding: var(--space-container);
}

.site-footer__col {
  width: 37%;
}

.site-footer__col--1 {
  padding: var(--space-container);
}

.site-footer__claim {
  width: 368px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: var(--fs-footer-claim);
  font-weight: 100;
  line-height: 1;
  color: var(--color-beige);
}

.site-footer__label {
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: var(--fs-footer-label);
  font-weight: 500;
  line-height: 1;
  color: var(--color-footer-label);
}

.site-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__list li {
  position: relative;
  display: flex;
  align-items: center;
}

.site-footer__list li:not(:last-child) {
  padding-bottom: 5px;
}

.site-footer__list li:not(:first-child) {
  margin-top: 5px;
}

.site-footer__list a {
  display: flex;
  align-items: center;
  width: 100%;
  font-family: var(--font-display);
  font-size: var(--fs-footer-link);
  font-weight: 300;
}

.site-footer__list span {
  color: var(--color-beige);
  transition: color 0.3s;
}

/* --- Logotipo "bedouin" -------------------------------------------------- */
.site-footer__wordmark-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.site-footer__wordmark {
  width: 100%;
  margin-top: 50px;
  overflow: hidden;
  text-align: center;
}

/* SVG stirato alla misura del box, come sul sito vivo (object-fit: fill) */
.site-footer__wordmark img {
  display: inline-block;
  vertical-align: middle;
  width: 90vw;
  max-width: 100%;
  height: 31vh;
  object-fit: fill;
}

/* --- Barra legale beige -------------------------------------------------- */
.site-footer__bar {
  display: flex;
  flex-direction: column;
  padding: 0 var(--gutter);
  background-color: var(--color-beige);
}

.site-footer__bar-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: center;
  gap: var(--gap-container);
  width: 95%;
  min-height: 97px;
}

.site-footer__legal,
.site-footer__credit {
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: var(--fs-footer-legal);
  font-weight: 600;
  line-height: 1;
}

.site-footer__credit {
  color: var(--color-footer-credit);
}

.site-footer__credit a,
.site-footer__credit a:hover {
  color: inherit;
}

/* --- Tablet (≤1024) ------------------------------------------------------ */
@media (max-width: 1024px) {
  .site-footer__inner {
    padding-top: 100px;
  }

  .site-footer__cols {
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 60px 20px;
    width: 100%;
    padding: 0;
  }

  .site-footer__claim {
    width: 348px;
  }

  .site-footer__col {
    width: 32%;
    padding: 0;
  }

  .site-footer__col--2,
  .site-footer__col--3 {
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 30px;
  }

  .site-footer__col--3 {
    width: 30%;
  }

  .site-footer__list li:not(:last-child) {
    padding-bottom: 2.5px;
  }

  .site-footer__list li:not(:first-child) {
    margin-top: 2.5px;
  }

  .site-footer__wordmark {
    margin-top: 100px;
  }

  .site-footer__wordmark img {
    width: 86vw;
    max-width: 88vw;
    height: 156px;
  }

  .site-footer__bar-inner {
    width: 100%;
    min-height: 64px;
  }
}

/* --- Mobile (≤767) ------------------------------------------------------- */
@media (max-width: 767px) {
  .site-footer__main {
    min-height: 49vh;
    padding: 0 var(--gutter-mobile);
  }

  .site-footer__inner {
    padding-top: 50px;
  }

  .site-footer__cols {
    justify-content: space-between;
    gap: 40px 20px;
    margin-bottom: -27px;
  }

  .site-footer__brand {
    width: 44%;
    padding: 0;
  }

  .site-footer__claim {
    width: 100%;
    font-size: var(--fs-footer-claim-m);
  }

  .site-footer__col {
    width: 46%;
    align-items: flex-start;
  }

  .site-footer__col--3 {
    width: 46%;
  }

  .site-footer__list li:not(:last-child) {
    padding-bottom: 2px;
  }

  .site-footer__list li:not(:first-child) {
    margin-top: 2px;
  }

  .site-footer__list a {
    font-size: var(--fs-footer-link-m);
  }

  .site-footer__wordmark {
    margin: 30px 0 -10px;
  }

  .site-footer__wordmark img {
    width: 93%;
    max-width: 92vw;
    height: 85px;
  }

  .site-footer__bar {
    padding: 10px var(--gutter-mobile);
  }

  .site-footer__bar-inner {
    flex-wrap: nowrap;
    gap: 0;
    min-height: 9px;
  }

  .site-footer__legal {
    width: 183px;
    max-width: 183px;
    font-size: var(--fs-footer-legal-m);
    line-height: 1.5em;
  }

  .site-footer__credit {
    width: 87px;
    max-width: 87px;
    font-size: var(--fs-footer-legal-m);
    line-height: 15px;
    text-align: end;
  }
}

/* --- Animazioni d'ingresso (footer-reveal.js) -----------------------------
   Le classi .reveal-pending le mette lo script: senza JS, o con "riduci movimento",
   il footer resta visibile e fermo. Equivalenti CSS delle animazioni GSAP del sito vivo. */
.reveal-pending[data-reveal="fade-left"] {
  opacity: 0;
  transform: translateX(-50px);
}

.reveal-pending[data-reveal="wipe"] {
  transform: translateY(-100%);
}

.reveal-pending[data-reveal="wipe"] img {
  transform: translateY(100%) scale(1.3);
}

.reveal-pending.is-revealed[data-reveal="fade-left"] {
  opacity: 1;
  transform: none;
  transition:
    opacity 1.5s var(--ease-out-power2) var(--reveal-delay, 0s),
    transform 1.5s var(--ease-out-power2) var(--reveal-delay, 0s);
}

.reveal-pending.is-revealed[data-reveal="wipe"],
.reveal-pending.is-revealed[data-reveal="wipe"] img {
  transform: none;
  transition: transform 1.5s var(--ease-out-power2);
}

/* === components/button.css === */
/* ==========================================================================
   Bottone (widget "wcf--button" di Animation Addons, effetto "rollover-left").
   All'hover un fondo mattone entra da sinistra e il testo diventa beige; uscendo
   il fondo si ritira verso destra. Sul vivo animava width/left/right: qui lo stesso
   movimento con transform: scaleX (niente ricalcolo del layout).
     .btn--outline  bordo mattone, fondo trasparente   (es. "scopri le nostre tende")
     .btn--solid    fondo beige, senza bordo            (es. sopra le foto scure)
   La larghezza la decide il contenitore: il bottone lo riempie (width 100%), come sul
   vivo; per un bottone largo quanto il testo basta un contenitore che non si allarga
   (in una colonna flex: align-self: flex-start).
   ========================================================================== */
.btn {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 20px 30px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--color-mattone);
  transition: color 0.4s var(--ease-out-power2), background-color 0.4s var(--ease-out-power2);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--color-mattone);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.4s cubic-bezier(0.42, 0, 0.58, 1);
}

.btn:hover,
.btn:focus-visible {
  color: var(--color-beige);
}

.btn:hover::after,
.btn:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.btn--outline {
  border: 1px solid var(--color-mattone);
  background-color: transparent;
}

.btn--solid {
  border: 0;
  background-color: var(--color-beige);
}

@media (max-width: 1024px) {
  .btn {
    font-size: 16px;
  }
}

/* === components/reveal.css === */
/* ==========================================================================
   Animazioni d'ingresso allo scroll (reveal.js). Due meccanismi:

   1. [data-anim]  — l'elemento entra da una posizione spostata e trasparente.
      Rifa' il "fade" di Animation Addons (GSAP "from") e le animazioni d'ingresso di
      Elementor (es. fadeInRight). Si regola con variabili CSS nell'attributo style:
        --anim-x / --anim-y   spostamento di partenza (es. -40px, 50px, 100%)   default 0
        --anim-duration       durata                                          default 1s
        --anim-delay          ritardo                                         default 0s
        --anim-ease           curva            default power2.out di GSAP
      Parte quando l'elemento arriva all'85% dell'altezza dello schermo ("top 85%").
      data-anim-watch="parent" = osserva il genitore (per chi parte fuori dal suo box,
      es. spostato del 100%: altrimenti non entrerebbe mai nello schermo).

   2. [data-inview="0.15"] — lo script mette subito .inview-pending e aggiunge .is-inview
      quando l'elemento e' visibile per la frazione indicata. Lo stile dei due stati lo scrive
      il componente, e deve nascondere solo con .inview-pending (cosi' senza JS si vede):
        .x.inview-pending { opacity: 0; }   .x.inview-pending.is-inview { opacity: 1; }
      (es. .bdn-anim nei pannelli della home, copiato dal widget del vivo).

   Senza JS o con "riduci movimento": tutto visibile e fermo (le classi .anim-pending
   le mette solo lo script).
   ========================================================================== */
.anim-pending {
  opacity: 0;
  transform: translate(var(--anim-x, 0), var(--anim-y, 0));
}

.anim-pending.is-animated {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--anim-duration, 1s) var(--anim-ease, var(--ease-out-power2)) var(--anim-delay, 0s),
    transform var(--anim-duration, 1s) var(--anim-ease, var(--ease-out-power2)) var(--anim-delay, 0s);
}

/* === components/text-split.css === */
/* ==========================================================================
   Testo che entra lettera per lettera o parola per parola allo scroll (animazione di testo
   "char"/"word" di Animation Addons, GSAP SplitText). Comportamento in text-split.js.

     <h2 class="text-split" data-text-split="char" data-text-delay="0.15">…</h2>
     <div class="text-split" data-text-split="word" data-text-delay="0.25"><p>…</p></div>

   Valori del vivo: ogni pezzo parte spostato di 20px a destra e trasparente, 1s, 0.02s fra un
   pezzo e il successivo, curva power1.out (predefinita di GSAP), dopo data-text-delay secondi,
   quando il testo arriva all'85% dello schermo.

   A riposo il testo del vivo resta spezzato da SplitText in lettere inline-block: niente
   crenatura ne' legature fra le lettere. Le due regole qui sotto danno lo stesso disegno anche
   quando il testo non viene spezzato (senza JS, "riduci movimento"): stesso ingombro, stessi a capo.
   ========================================================================== */
.text-split {
  font-kerning: none;
  font-variant-ligatures: none;
}

.text-split__word,
.text-split__char {
  position: relative;
  display: inline-block;
}

.text-split.is-pending .text-split__unit {
  opacity: 0;
  transform: translateX(20px);
}

.text-split.is-pending.is-revealed .text-split__unit {
  opacity: 1;
  transform: none;
  transition:
    opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) var(--text-split-delay, 0s),
    transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) var(--text-split-delay, 0s);
}

/* === pages/page-vendita.css === */
/* ==========================================================================
   Vendita (pagina Elementor 14123). Valori dal CSS Elementor della pagina e dai widget HTML
   del vivo (vendita-intro, vendita-showcase, vendita-perche, v-bullets, v-quote-mark,
   vendita-faq), verificati sugli stili calcolati. I widget HTML tengono le loro classi.
   Breakpoint del vivo: tablet ≤1024, mobile ≤767; la FAQ ne usa uno suo (768).
   Container Elementor: gap di default 20px fra i widget, padding di default 10px dove il vivo
   non lo azzerava (card delle formule, citazione, invito finale).
   ========================================================================== */

/* --- Ricorrenti -------------------------------------------------------------- */
.vendita-kicker {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-mattone);
}

.vendita-kicker--light {
  color: var(--color-beige);
}

/* Bottoni "wcf--button" piccoli (formule, invito finale): 13px, bordo sottile, larghi quanto il testo. */
.vendita-formule__cta,
.vendita-cta__cta {
  display: flex;
  justify-content: center;
}

.vendita-formule__cta .btn,
.vendita-cta__cta .btn {
  width: auto;
  padding: 17px 35px;
  font-size: 13px;
  line-height: 13px;
  letter-spacing: 1.5px;
  text-align: center;
}

/* --- Hero (653250b8) --------------------------------------------------------- */
.vendita-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  min-height: 100vh;
  padding: 0 5vw 6vw;
  background: url("https://bedouin.it/wp-content/uploads/2026/05/bedouin-fattoria-mansi.jpg") center center / cover no-repeat;
}

.vendita-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, #1c1d2000 0%, #1d1313 62%);
  opacity: 0.83;
}

.vendita-hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.vendita-hero__title {
  width: 801px;
  max-width: 100%;
  margin: 0;
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 600;
  line-height: 56px;
  letter-spacing: -2px;
  color: var(--color-beige);
}

.vendita-hero__text {
  width: 47%;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: -0.5px;
  color: var(--color-beige);
}

.vendita-hero__cta {
  align-self: flex-start;
}

.vendita-hero .btn {
  border-color: var(--color-beige);
  color: var(--color-beige);
}

/* --- Il catalogo Bedouin (widget HTML d57baeee) ------------------------------ */
.vendita-intro {
  width: 100%;
  padding: 5vw;
  background-color: var(--color-beige);
}

.vendita-intro-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.8fr;
  column-gap: 4vw;
  margin-bottom: 5vw;
}

.vendita-intro-col h2 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 3rem;
  letter-spacing: -2px;
  color: var(--color-nero);
}

.vendita-intro-col p {
  margin: 0 0 16px;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: -0.5px;
  color: var(--color-nero);
}

.vendita-intro-banner {
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

/* Il widget chiedeva height:100% + object-position bottom, ma sul vivo vinceva "img { height: auto }"
   di Elementor: la foto resta alla sua proporzione e il riquadro ne mostra la parte ALTA. Replicato. */
.vendita-intro-banner-img {
  display: block;
  width: 100%;
  height: auto;
}

/* --- Le formule (c80575db) --------------------------------------------------- */
.vendita-formule {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 8vw 5vw;
  background-color: var(--color-beige);
}

.vendita-formule__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
  padding-bottom: 60px;
}

.vendita-formule__head .vendita-kicker {
  text-align: center;
}

.vendita-formule__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: 3.2vw;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.8px;
  text-align: center;
  color: var(--color-testo);
}

.vendita-formule__intro,
.vendita-formule__foot-text {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  text-align: center;
  color: var(--color-testo);
}

.vendita-formule__cards {
  display: flex;
  gap: 24px;
  width: 100%;
  max-width: 1300px;
  margin-inline: auto;
  padding: 10px;
}

.vendita-formula {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  padding: 32px 15px;
  background-color: #f3f0e3;
}

.vendita-formula .vendita-kicker {
  margin-bottom: 12px;
}

.vendita-formula__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: 1.6vw;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.3px;
  color: var(--color-testo);
}

.vendita-formula__text {
  margin-bottom: 20px;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-testo);
}

/* Elenco puntato delle formule (widget HTML 2b4e1635 e gemelli) */
.v-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
}

.v-bullets li {
  position: relative;
  padding: 6px 0 6px 28px;
  border-top: 1px solid rgba(28, 29, 32, 0.18);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-nero);
}

.v-bullets li:first-child {
  border-top: 1px solid rgba(28, 29, 32, 0.3);
}

.v-bullets li::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  width: 14px;
  height: 1px;
  background: var(--color-mattone);
}

.vendita-formule__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  padding-top: 60px;
}

.vendita-formule__foot-text {
  margin-bottom: 20px;
}

.vendita-formule__cta {
  margin-top: 8px;
}

.vendita-formule__cta .btn {
  border-color: var(--color-testo);
  color: var(--color-testo);
}

.vendita-formule__cta .btn:hover,
.vendita-formule__cta .btn:focus-visible {
  color: var(--color-beige);
}

/* --- Tende in vendita e a noleggio (widget HTML c1ec6293) -------------------- */
.vendita-showcase {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 5vw;
  background-color: var(--color-nero);
  color: #f9f3e6;
}

.vendita-showcase-layout {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 5vw;
  align-items: start;
}

.vendita-showcase-text {
  position: sticky;
  top: 5vw;
  padding-top: 1rem;
}

.vendita-showcase-text h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 45px;
  line-height: 1.02;
  letter-spacing: -0.08em;
  color: #f9f3e6;
}

.vendita-showcase-subtitle {
  margin: 0 0 1.8rem;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f9f3e6;
}

.vendita-showcase-subtitle::after {
  content: "";
  display: block;
  width: 40px;
  height: 1.5px;
  margin-top: 1.4rem;
  background-color: #b56a34;
}

.vendita-showcase-paragraph {
  margin: 0 0 2.2rem;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.01em;
  color: #f9f3e6;
  opacity: 0.85;
}

.vendita-showcase-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b56a34;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.vendita-showcase-cta:hover {
  gap: 1rem;
  color: #b56a34;
  text-decoration: none;
}

.vendita-showcase-cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.vendita-showcase-cta:hover svg {
  transform: translateX(3px);
}

.vendita-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.vendita-showcase-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.vendita-showcase-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 0.65rem;
  overflow: hidden;
  border-radius: 2px;
  background-color: #323338;
}

.vendita-showcase-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.vendita-showcase-card:hover .vendita-showcase-img-wrap img {
  transform: scale(1.06);
}

.vendita-showcase-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #f9f3e6;
}

.vsb-stack {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  pointer-events: none;
}

.vsb {
  padding: 5px 9px;
  border-radius: 1px;
  background-color: rgba(255, 250, 231, 0.94);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-nero);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.vsb:first-child {
  background-color: var(--color-mattone);
  color: var(--color-beige);
}

/* --- Perché Bedouin (widget HTML 64b9b437) ----------------------------------- */
.vendita-perche {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 80px 5vw;
  background-color: var(--color-beige);
}

.vendita-perche-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 70px;
}

.vendita-perche-title-wrap {
  display: flex;
  flex-direction: column;
}

.vendita-perche-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 61px;
  line-height: 58px;
  letter-spacing: -3px;
  color: var(--color-nero);
}

.vendita-perche-subtitle {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--color-nero);
}

.vendita-perche-text-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.vendita-perche-intro {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 400;
  line-height: 33px;
  letter-spacing: -1px;
  color: var(--color-nero);
}

.vendita-perche-intro strong {
  font-weight: 600;
  color: var(--color-nero);
}

.vendita-perche-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.vendita-perche-card {
  display: flex;
  flex-direction: column;
}

.vendita-perche-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 25px;
  overflow: hidden;
  border-radius: 2px;
  background-color: #e5e5e5;
}

.vendita-perche-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.vendita-perche-card:hover .vendita-perche-img-wrap img {
  transform: scale(1.06);
}

.vendita-perche-card-title {
  position: relative;
  margin: 0 0 15px;
  padding-bottom: 15px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-ardesia);
}

.vendita-perche-card-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 1.5px;
  background-color: var(--color-mattone-caldo);
  transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.vendita-perche-card:hover .vendita-perche-card-title::after {
  width: 60px;
}

.vendita-perche-card-text {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.6;
  color: #5a5e65;
}

/* --- Citazione (7997107c) ---------------------------------------------------- */
.vendita-quote {
  padding: 10vw 5vw;
  background-color: var(--color-beige);
}

.vendita-quote__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 940px;
  margin-inline: auto;
  padding: 10px;
}

.v-quote-mark {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 120px;
  line-height: 0.7;
  text-align: center;
  color: var(--color-mattone);
}

.vendita-quote__text {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.4vw;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.5px;
  text-align: center;
  color: var(--color-testo);
}

/* --- FAQ (widget HTML 0fae5647) ---------------------------------------------
   Sul vivo la domanda era un <button>: prendeva dal kit Elementor DM Mono 16px e il padding
   20px 30px dei bottoni (vincevano sul CSS del widget). Qui e' un <summary> con gli stessi
   valori calcolati. La risposta si apre scorrendo come sul vivo (0.4s) dove il browser anima
   l'altezza di <details>; altrimenti si apre subito. */
.vendita-faq-wrap {
  padding: 5vw;
  background-color: var(--color-beige);
}

.vendita-faq-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  overflow-x: hidden;
}

.vendita-faq-main-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 3.5rem;
  text-align: center;
  color: var(--color-ardesia);
}

.vendita-faq-subtitle {
  margin-bottom: 70px;
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 400;
  text-align: center;
  color: #5a5e65;
}

.vendita-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px 40px;
}

.vendita-faq-category {
  width: 100%;
  margin-bottom: 50px;
}

.vendita-faq-category h3 {
  margin: 0 0 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--color-header-line);
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-ardesia);
}

.vendita-faq-item {
  width: 100%;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid var(--color-header-line);
  border-radius: 4px;
  background-color: var(--color-beige);
  interpolate-size: allow-keywords;
}

.vendita-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 20px 30px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  overflow-wrap: break-word;
  color: var(--color-ardesia);
  outline: none;
}

.vendita-faq-question::-webkit-details-marker {
  display: none;
}

.vendita-faq-question:hover,
.vendita-faq-question:focus-visible {
  color: #5a5e65;
}

.vendita-faq-question:focus-visible {
  outline: 2px solid var(--color-mattone);
  outline-offset: -4px;
}

.vendita-faq-question::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--color-ardesia);
}

.vendita-faq-item[open] > .vendita-faq-question::after {
  content: "−";
}

.vendita-faq-item::details-content {
  height: 0;
  overflow: clip;
  transition: height 0.4s ease, content-visibility 0.4s allow-discrete;
}

.vendita-faq-item[open]::details-content {
  height: auto;
}

.vendita-faq-answer-content {
  padding: 0 25px 25px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  color: #666;
}

/* --- Invito finale (f7829869) ------------------------------------------------ */
.vendita-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  padding: 10vw 5vw;
  background: var(--color-nero) url("https://bedouin.it/wp-content/uploads/2026/03/Savannah-Fede-1011.jpg") center center / cover no-repeat;
}

.vendita-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-nero);
  opacity: 0.78;
}

.vendita-cta__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 880px;
  padding: 10px;
}

.vendita-cta .vendita-kicker {
  text-align: center;
}

.vendita-cta__title {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: 4.4vw;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1px;
  text-align: center;
  color: var(--color-beige);
}

.vendita-cta__text {
  margin-bottom: 8px;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.55;
  text-align: center;
  color: var(--color-beige);
}

.vendita-cta__cta {
  margin-top: 24px;
}

.vendita-cta__cta .btn {
  border-color: var(--color-beige);
  color: var(--color-beige);
}

/* --- Tablet (≤1024) ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .vendita-hero__title {
    width: 75%;
    font-size: 5vw;
  }

  .vendita-hero__text {
    width: 594px;
    max-width: 100%;
    font-size: 2.2vw;
  }

  .vendita-intro-col h2 {
    font-size: 43px;
    line-height: 48px;
    letter-spacing: -3px;
  }

  .vendita-intro-inner {
    grid-template-columns: 1fr;
    row-gap: 32px;
    margin-bottom: 40px;
  }

  .vendita-intro-banner {
    height: 40vh;
  }

  .vendita-formule__title {
    font-size: 41px;
  }

  .vendita-formule__cards {
    flex-direction: column;
    padding: 0;
  }

  .vendita-formula__title {
    font-size: 31px;
  }

  .vendita-showcase-layout {
    grid-template-columns: 1fr;
    gap: 3vw;
  }

  .vendita-showcase-text {
    position: static;
    max-width: 600px;
  }

  .vendita-showcase-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .vendita-perche-title {
    font-size: 50px;
    line-height: 48px;
    letter-spacing: -3px;
  }

  .vendita-perche-intro {
    font-size: 20px;
    line-height: 28px;
    letter-spacing: -1px;
  }

  .vendita-perche-top {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 50px;
  }

  .vendita-perche-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
  }

  .vendita-quote__text {
    font-size: 31px;
  }

  .vendita-cta__title {
    font-size: 46px;
  }
}

/* --- FAQ: breakpoint del widget (768) ---------------------------------------- */
@media (max-width: 768px) {
  .vendita-faq-section {
    padding: 40px 0;
  }

  .vendita-faq-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .vendita-faq-main-title {
    font-size: 2.8rem;
  }

  .vendita-faq-answer-content {
    padding: 0 20px 20px;
  }
}

/* --- Mobile (≤767) ----------------------------------------------------------- */
@media (max-width: 767px) {
  .vendita-kicker {
    font-size: 12px;
  }

  /* Foto della hero su mobile: CSS aggiuntivo del Customizer del vivo ("BEDOUIN-HERO-MOBILE-FIX"),
     che col cambio di tema sparirebbe. */
  .vendita-hero {
    min-height: 696px;
    padding: 0 5vw 20vw;
    background-image: url("https://bedouin.it/wp-content/uploads/2026/03/bedouin-dar-surya-tepee.jpg");
    background-position: center center;
  }

  .vendita-hero::before {
    opacity: 0.89;
  }

  .vendita-hero__title {
    width: 100%;
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -1.1px;
  }

  .vendita-hero__text {
    font-size: 17px;
    line-height: 23px;
  }

  .vendita-hero__cta {
    align-self: stretch;
  }

  .vendita-hero .btn {
    padding: 20px 0;
  }

  .vendita-intro {
    padding: 32px 20px;
  }

  .vendita-intro-col p {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 26px;
  }

  .vendita-intro-inner {
    row-gap: 16px;
  }

  .vendita-formule {
    padding: 0 20px 80px;
  }

  .vendita-formule__title {
    font-size: 32px;
  }

  .vendita-formule__intro,
  .vendita-formule__foot-text {
    font-size: 16px;
  }

  .vendita-formula {
    padding: 32px 10px 20px;
  }

  .vendita-formula__title {
    font-size: 24px;
  }

  .vendita-formula__text {
    font-size: 15px;
  }

  .vendita-showcase {
    padding: 8vw 5vw;
  }

  .vendita-showcase-text h2 {
    font-size: 2.1rem;
  }

  .vendita-showcase-paragraph {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .vendita-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
  }

  .vendita-showcase-card-title {
    font-size: 0.95rem;
  }

  .vsb-stack {
    bottom: 8px;
    left: 8px;
    gap: 4px;
  }

  .vsb {
    padding: 4px 7px;
    font-size: 9px;
    letter-spacing: 1px;
  }

  .vendita-perche {
    padding: 60px 5vw;
  }

  .vendita-perche-text-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .vendita-perche-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .vendita-perche-img-wrap {
    aspect-ratio: 4 / 3;
  }

  .vendita-quote {
    padding: 100px 24px;
  }

  .v-quote-mark {
    font-size: 80px;
  }

  .vendita-quote__text {
    font-size: 24px;
  }

  .vendita-faq-wrap {
    padding: 40px 16px;
  }

  .vendita-cta {
    padding: 100px 24px;
  }

  .vendita-cta__title {
    font-size: 36px;
  }

  .vendita-cta__text {
    font-size: 17px;
  }
}

/* "Riduci movimento": base.css azzera le transizioni di elementi, ::before e ::after, ma non
   dello pseudo-elemento ::details-content: la risposta della FAQ si apre subito. */
@media (prefers-reduced-motion: reduce) {
  .vendita-faq-item::details-content {
    transition: none;
  }
}
