/* ==========================================================================
   Home (pagina Elementor 13596). Valori dal CSS Elementor della pagina e dai widget HTML
   del vivo, verificati sugli stili calcolati. I container Elementor diventano flex/blocchi
   semplici: dove Elementor metteva un gap o un padding di default (20px / 10px) e' scritto.
   Breakpoint del vivo: tablet ≤1024, mobile ≤767 (i widget HTML ne usano altri: 768, 991, 1199).
   ========================================================================== */

/* --- Titoli e testi ricorrenti -------------------------------------------- */
.home-intro__title,
.home-turnkey__title,
.home-services__title,
.home-experience__title,
.home-blog__title,
.home-blog__subtitle {
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -3px;
  color: #111;
}

.home-intro__p,
.home-turnkey__p {
  align-self: flex-start;
  width: 579px;
  max-width: 100%;
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 400;
  line-height: 33px;
  letter-spacing: -1px;
  color: var(--color-nero);
}

.home-intro__p p,
.home-turnkey__p p,
.home-experience__p p,
.home-cta__p p {
  margin-block-end: 0;
}

/* --- Hero ------------------------------------------------------------------ */
.home-hero {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  min-height: 100vh;
  padding: 50px 50px 20px;
  background: var(--color-nero) url("https://bedouin.it/wp-content/uploads/2026/06/TT-5002-hero.webp") center center / cover no-repeat;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #131414;
  opacity: 0.38;
}

.home-hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 55vh;
}

.home-hero__logo {
  display: block;
  width: 186px;
  height: auto;
}

.home-hero__title {
  width: 403px;
  max-width: 100%;
  margin: 0 0 30px;
  font-family: var(--font-sans);
  font-size: 38px;
  font-weight: 400;
  line-height: 42px;
  letter-spacing: -1.5px;
  text-align: center;
  color: var(--color-beige);
}

/* --- Titolo rotante, contatori, loghi -------------------------------------- */
.home-stats {
  padding: 120px 20px 80px;
  background-color: var(--color-nero);
}

.home-stats__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1240px;
  margin: 0 auto;
}

.home-stats__headline {
  align-self: center;
  width: 570px;
  max-width: 100%;
}

.home-stats__headline .headline-rotate {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  text-align: center;
  color: var(--color-beige);
}

.home-stats__headline .headline-rotate__word {
  font-family: var(--font-display);
  font-weight: 900;
}

/* Il blocco inglese (widget 485ee263) sul vivo è più grande dell'italiano su desktop: 43px contro 40.
   Da tablet in giù le regole dopo lo riportano a 31/28px, come sul vivo. */
.home-stats__headline--en {
  width: 603px;
}

.home-stats__headline--en .headline-rotate {
  font-size: 43px;
}

.home-stats__counters {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.home-stats__col {
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 19%;
  min-width: 0;
  padding: 40px 0;
}

.home-stats .counter__number {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-beige);
}

.home-stats .counter__title {
  font-family: var(--font-display);
  font-weight: 100;
  color: var(--color-beige-supporto);
}

.home-stats__logos {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: center;
  width: 100%;
  min-height: 87px;
}

/* --- Le tende che trasformano lo spazio naturale --------------------------- */
.home-intro {
  display: flex;
  padding-left: 50px;
  overflow-x: clip;
  background-color: var(--color-beige);
}

.home-intro__text {
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  width: 50%;
  min-width: 0;
  padding: 80px 0;
}

.home-intro__title {
  width: 680px;
  max-width: 100%;
  margin-bottom: 20px;
  font-size: 61px;
  line-height: 58px;
}

.home-intro__p--last {
  margin-bottom: 40px;
}

.home-intro__cta,
.home-turnkey__cta {
  align-self: flex-start;
}

.home-intro__media {
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  width: 50%;
  min-width: 0;
}

.home-intro__img {
  display: block;
  width: 100%;
  height: 815px;
  object-fit: cover;
  object-position: 40% 50%;
}

/* --- I nostri servizi ------------------------------------------------------ */
.home-services {
  min-height: 100vh;
  padding: 100px 50px;
  background-color: var(--color-beige);
}

.home-services__title {
  font-size: 61px;
  line-height: 71px;
}

.home-services__subtitle {
  margin: 0.5rem 0 0;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--color-nero);
}

/* widget HTML 3f1e6aae, CSS del vivo */
.bedouin-services-section {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 80px 0;
  background-color: transparent;
}

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

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

.bedouin-service-card:hover {
  color: inherit;
}

.bedouin-service-image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 25px;
  overflow: hidden;
  background-color: #e5e5e5;
}

.bedouin-service-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bedouin-service-card:hover .bedouin-service-image-wrapper img {
  transform: scale(1.06);
}

.bedouin-service-content {
  display: flex;
  flex-direction: column;
}

.bedouin-service-subtitle {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-mattone-caldo);
}

.bedouin-service-title,
.bedouin-feature-title {
  position: relative;
  margin: 0 0 15px;
  padding-bottom: 15px;
  font-family: var(--font-display);
  color: var(--color-ardesia);
}

.bedouin-service-title {
  font-size: 2rem;
}

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

.bedouin-service-card:hover .bedouin-service-title::after,
.bedouin-feature-card:hover .bedouin-feature-title::after {
  transform: scaleX(2);
}

.bedouin-service-text {
  margin: 0 0 25px;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  color: #5a5e65;
}

.bedouin-service-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-nero);
  transition: gap 0.3s ease;
}

.bedouin-service-btn::after {
  content: "→";
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.bedouin-service-card:hover .bedouin-service-btn {
  gap: 12px;
}

/* --- Tende stretch e glamping chiavi in mano ------------------------------- */
.home-turnkey {
  display: flex;
  padding-left: 50px;
  overflow-x: clip;
  background-color: var(--color-beige);
}

.home-turnkey__text {
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  width: 50%;
  min-width: 0;
  padding: 50px 0;
}

.home-turnkey__title {
  width: 646px;
  max-width: 100%;
  margin-bottom: 20px;
  font-size: 61px;
  line-height: 58px;
}

.home-turnkey__p--last {
  margin-bottom: 30px;
}

.home-turnkey__media {
  position: relative;
  flex: 0 1 auto;
  width: 50%;
  min-width: 0;
  padding: 0 0 20px 20px;
}

.home-turnkey__photo {
  position: absolute;
  inset: 0;
  background: url("https://bedouin.it/wp-content/uploads/2026/03/bedouin-glamping-nomade-1147x1536.jpg") center center / cover no-repeat;
}

/* --- Tende Bedouin (widget HTML 1d2728e4, CSS del vivo) -------------------- */
.home-tents {
  position: relative;
  z-index: 2;
  padding: 80px 50px 50px;
  overflow: hidden;
  background-color: var(--color-beige);
}

.bedouin-custom-section {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 80px 0;
  background-color: transparent;
}

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

.bedouin-top-title-wrapper {
  display: flex;
  flex-direction: column;
}

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

.bedouin-section-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);
}

.bedouin-top-text-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.bedouin-intro-text {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 28px;
  line-height: 33px;
  letter-spacing: -1px;
  color: var(--color-nero);
}

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

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

.bedouin-feature-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.bedouin-feature-image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 25px;
  overflow: hidden;
  background-color: #e5e5e5;
  border-radius: 2px;
}

.bedouin-feature-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bedouin-feature-card:hover .bedouin-feature-image-wrapper img {
  transform: scale(1.06);
}

.bedouin-feature-content {
  display: flex;
  flex-direction: column;
}

.bedouin-feature-title {
  font-size: 1.6rem;
}

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

/* --- Trasforma un evento in esperienza ------------------------------------- */
.home-experience {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 90vh;
  padding: 120px 60px 150px;
  background: url("https://bedouin.it/wp-content/uploads/2026/03/Bedouin-foto-sfondo-1-1536x1013.jpg") center center / cover;
}

.home-experience::before,
.home-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-nero);
}

.home-experience::before {
  opacity: 0.63;
}

.home-experience__inner,
.home-cta__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home-experience__title {
  align-self: center;
  width: 563px;
  max-width: 100%;
  margin-bottom: 40px;
  font-size: 61px;
  line-height: 64px;
  text-align: center;
  color: var(--color-beige);
}

.home-experience__p {
  align-self: center;
  width: 755px;
  max-width: 100%;
  margin-bottom: 10px;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 400;
  line-height: 29px;
  letter-spacing: -1px;
  text-align: center;
  color: var(--color-beige);
}

.home-experience__p--last {
  margin-bottom: 40px;
}

.home-experience__cta,
.home-cta__cta {
  align-self: center;
  padding-top: 30px;
}

/* --- Produzione eventi, lista tablet/mobile (widget HTML 17202bc, CSS del vivo) --- */
.home-production-list {
  display: none;
}

.bdn-svc-mobile-intro {
  padding: 8vh 6vw 6vh;
  background: #1a1917;
}

.bdn-svc-mobile-intro__label {
  display: block;
  margin-bottom: 32px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 250, 231, 0.4);
}

.bdn-svc-mobile-intro__title {
  max-width: 500px;
  margin: 0 0 32px;
  font-family: var(--font-display);
  font-size: clamp(32px, 8vw, 52px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--color-beige);
}

.bdn-svc-mobile-intro__body {
  max-width: 480px;
  margin: 0 0 20px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 250, 231, 0.6);
}

.bdn-svc-mobile-intro__body:last-child {
  margin-bottom: 0;
}

.bdn-svc-mobile-intro__body strong {
  font-weight: 600;
  color: var(--color-beige);
}

.bdn-svc-mobile {
  padding: 0 6vw 10vh;
  background: #1a1917;
}

.bdn-svc-mobile__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255, 250, 231, 0.08);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ingresso allo scroll: .inview-pending la mette reveal.js, quindi senza JS la lista si vede */
.bdn-svc-mobile__item.inview-pending {
  opacity: 0;
  transform: translateY(24px);
}

.bdn-svc-mobile__item:first-child {
  padding-top: 36px;
  border-top: 1px solid rgba(255, 250, 231, 0.08);
}

.bdn-svc-mobile__item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.bdn-svc-mobile__item.inview-pending.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.bdn-svc-mobile__item:nth-child(2) { transition-delay: 0.08s; }
.bdn-svc-mobile__item:nth-child(3) { transition-delay: 0.16s; }
.bdn-svc-mobile__item:nth-child(4) { transition-delay: 0.24s; }
.bdn-svc-mobile__item:nth-child(5) { transition-delay: 0.32s; }

.bdn-svc-mobile__num {
  flex-shrink: 0;
  width: 72px;
  padding-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(48px, 12vw, 72px);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: rgba(255, 250, 231, 0.12);
  user-select: none;
}

.bdn-svc-mobile__text {
  flex: 1;
  min-width: 0;
}

.bdn-svc-mobile__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(22px, 5.5vw, 30px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--color-beige);
}

.bdn-svc-mobile__desc {
  max-width: 380px;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 250, 231, 0.55);
}

/* --- Produzione eventi, pannelli orizzontali (widget HTML 1484bdb, 5217c1a1 e seguenti) --- */
.home-production {
  display: block;
}

.home-production__intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* ingresso dei testi e delle foto dei pannelli (reveal.js, data-inview): come sopra, senza JS si vedono */
.bdn-anim {
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.bdn-anim.inview-pending {
  opacity: 0;
  transform: translateY(30px);
}

.bdn-anim.inview-pending.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.bdn-delay-1 { transition-delay: 0.1s; }
.bdn-delay-2 { transition-delay: 0.25s; }
.bdn-delay-3 { transition-delay: 0.4s; }
.bdn-delay-5 { transition-delay: 0.7s; }

.bdn-panel--intro {
  position: relative;
  display: flex;
  align-items: flex-start;
  width: 100%;
  height: 100vh;
  padding: 18vh 50px 0;
  overflow: hidden;
  background-color: var(--color-beige);
}

/* Il widget del vivo dava opacita' .45 all'occhiello e .7 al testo, ma la sua regola
   .bdn-anim.is-inview { opacity: 1 } vince: a riposo sono pieni. Si replica il risultato. */
.bdn-intro__eyebrow {
  display: block;
  margin-bottom: 24px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-testo);
}

.bdn-intro__heading {
  margin: 0 0 32px;
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 78px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-testo);
}

.bdn-intro__body {
  max-width: 520px;
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 400;
  line-height: 29px;
  letter-spacing: -1px;
  color: var(--color-testo);
}

.bdn-intro__body strong {
  font-weight: 600;
  color: var(--color-testo);
}

.home-production__textpath {
  --text-path-size: 150px;
  position: absolute;
  top: 117px;
  right: 112px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 35px;
  font-weight: 400;
  text-align: right;
}

.home-production__arrow {
  position: absolute;
  top: 156px;
  right: 148px;
  z-index: 1;
  display: inline-block;
}

.home-production__arrow img {
  display: inline-block;
  width: 76px;
  vertical-align: middle;
}

.bdn-panel--svc {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100vw;
  height: 100vh;
  padding: 0 5vw 0 50px;
  overflow: hidden;
  background: #1a1917;
}

.bdn-svc__inner {
  position: relative;
  z-index: 2;
  width: 45%;
}

.bdn-svc__title {
  max-width: 560px;
  margin: 0 0 36px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 70px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-beige);
}

.bdn-svc__divider {
  width: 40px;
  height: 1px;
  margin-bottom: 28px;
  background: rgba(255, 250, 231, 0.16);
}

.bdn-svc__desc {
  max-width: 440px;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 400;
  line-height: 29px;
  letter-spacing: -1px;
  color: rgba(255, 250, 231, 0.85);
}

.bdn-svc__visual {
  position: relative;
  z-index: 2;
  display: flex;
  width: 45%;
  margin-right: 12%;
}

.bdn-img-1,
.bdn-img-2 {
  width: 50%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
}

.bdn-img-1 {
  position: relative;
  z-index: 1;
}

.bdn-img-2 {
  position: absolute;
  top: 15%;
  right: 15%;
  z-index: 3;
  box-shadow: -15px 15px 40px rgba(0, 0, 0, 0.5);
}

.bdn-svc__bg-num {
  position: absolute;
  right: 40px;
  bottom: -0.05em;
  z-index: 0;
  font-family: var(--font-display);
  font-size: clamp(120px, 22vw, 260px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(255, 250, 231, 0.12);
  pointer-events: none;
  user-select: none;
}

.bdn-svc__counter {
  position: absolute;
  bottom: 44px;
  left: 50px;
  z-index: 2;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255, 250, 231, 0.18);
}

/* --- Invito alla produzione ----------------------------------------------- */
.home-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 70vh;
  padding: 150px 60px;
  background: url("https://bedouin.it/wp-content/uploads/2026/05/bedouin-tenda-123.jpg") center center / cover no-repeat;
}

.home-cta::before {
  opacity: 0.26;
}

.home-cta__p {
  position: relative;
  z-index: 2;
  align-self: center;
  width: 652px;
  max-width: 100%;
  margin-top: 30px;
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 400;
  line-height: 31px;
  letter-spacing: -1px;
  text-align: center;
  color: var(--color-beige);
}

.home-cta__cta {
  position: relative;
  z-index: 2;
}

/* --- Blog ------------------------------------------------------------------ */
.home-blog {
  position: relative;
  z-index: 2;
  padding: 90px 50px 150px;
  background-color: var(--color-beige);
}

.home-blog__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1600px;
  margin: 0 auto;
}

.home-blog__title {
  font-size: 128px;
  line-height: 115px;
}

.home-blog__subtitle {
  align-self: flex-start;
  margin-bottom: 60px;
  padding: 30px 30px 0 0;
  font-family: var(--font-sans);
  font-size: 32px;
  line-height: 32px;
  letter-spacing: -2px;
}

/* --- Domande frequenti ----------------------------------------------------- */
.home-faq {
  padding: 10px;
  background-color: var(--color-beige);
}

/* ==========================================================================
   Tablet (≤1024)
   ========================================================================== */
@media (max-width: 1024px) {
  .home-hero__title {
    width: 348px;
    font-size: 36px;
    line-height: 37px;
  }

  .home-stats {
    padding: 90px 20px 60px;
  }

  .home-stats__headline {
    width: 448px;
  }

  .home-stats__headline .headline-rotate {
    font-size: 31px;
  }

  .home-stats__counters {
    gap: 30px 40px;
    margin-top: 20px;
  }

  .home-stats__col {
    padding: 30px 0;
  }

  .home-stats .counter__number {
    font-size: 50px;
  }

  .home-stats__logos {
    min-height: 0;
  }

  .home-intro {
    flex-wrap: wrap;
    padding: 0 30px;
  }

  .home-intro__text {
    padding: 60px 30px 80px 0;
  }

  .home-intro__title {
    width: 100%;
    margin-bottom: 50px;
    font-size: 50px;
    line-height: 56px;
  }

  .home-intro__p,
  .home-intro__p--last {
    margin: -30px 0 40px;
    font-size: 20px;
    line-height: 28px;
  }

  .home-intro__cta {
    width: 388px;
    max-width: 100%;
  }

  .home-intro__media {
    min-height: 482px;
  }

  .home-intro__img {
    height: 448px;
  }

  .home-services {
    padding: 50px 30px;
  }

  .home-services__title {
    font-size: 50px;
    line-height: 58px;
  }

  .home-services__subtitle {
    margin-bottom: 40px;
    font-size: 16px;
  }

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

  .home-turnkey {
    flex-wrap: wrap;
    padding: 0 0 0 30px;
  }

  .home-turnkey__title {
    font-size: 50px;
    line-height: 58px;
  }

  .home-turnkey__p {
    font-size: 20px;
    line-height: 28px;
  }

  .home-turnkey__p--last {
    margin-bottom: 40px;
  }

  .home-turnkey__media {
    min-height: 482px;
    margin-top: -100px;
    padding: 0;
  }

  .home-turnkey__photo {
    background-position: 0 -384px;
  }

  .home-tents {
    padding: 50px 30px 100px;
  }

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

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

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

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

  .home-experience {
    min-height: 54vh;
  }

  .home-experience__title {
    font-size: 50px;
    line-height: 58px;
  }

  .home-experience__p {
    width: 535px;
    font-size: 20px;
    line-height: 28px;
  }

  .home-production-list {
    display: block;
  }

  .home-cta {
    min-height: 74vh;
  }

  .home-cta__p {
    width: 450px;
    margin-top: -30px;
    font-size: 24px;
    line-height: 32px;
  }

  .home-blog {
    padding: 90px 30px 50px;
  }

  .home-blog__title {
    font-size: 50px;
    line-height: 58px;
  }

  .home-blog__subtitle {
    padding: 0;
  }

  /* pannelli orizzontali: da tablet in colonna (CSS del vivo) */
  .bdn-panel--svc {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    padding: 12vh 5vw 8vh;
  }

  .bdn-svc__inner {
    width: 100%;
    margin-bottom: 50px;
  }

  .bdn-svc__desc {
    max-width: 100%;
    font-size: 18px;
    line-height: 26px;
  }

  .bdn-svc__visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-right: 0;
    padding-bottom: 10%;
  }

  .bdn-img-1,
  .bdn-img-2 {
    width: 40%;
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .bdn-img-1 {
    position: relative;
    left: auto;
    z-index: 1;
    margin-right: 25%;
  }

  .bdn-img-2 {
    position: absolute;
    top: 20%;
    right: 5%;
    z-index: 3;
  }

  .bdn-svc__bg-num {
    display: none;
  }

  .bdn-svc__title {
    font-size: clamp(32px, 8vw, 50px);
  }

  .bdn-svc__counter {
    bottom: 20px;
    left: 5vw;
  }

  .home-production__arrow {
    top: calc(37vw - 132px);
    right: 13vw;
  }
}

/* Solo tablet (768–1024): larghezze che Elementor dava in questa fascia e non su mobile */
@media (min-width: 768px) and (max-width: 1024px) {
  .home-stats__col {
    width: 25%;
  }

  .home-stats__logos {
    width: 644px;
  }

  .home-intro__text,
  .home-intro__media,
  .home-turnkey__text,
  .home-turnkey__media {
    width: 100%;
  }
}

/* Pannello intro: il widget del vivo usa 768px, non 767 */
@media (max-width: 768px) {
  .bdn-panel--intro {
    align-items: flex-start;
    width: 100%;
    padding: 15vh 20px 0;
  }

  .bdn-intro__heading {
    font-size: clamp(28px, 9vw, 44px);
  }

  .bdn-intro__body {
    font-size: 18px;
    line-height: 26px;
  }
}

/* ==========================================================================
   Mobile (≤767)
   ========================================================================== */
@media (max-width: 767px) {
  .home-hero {
    min-height: 698px;
    padding: 80px 30px 30px;
    background-image: url("https://bedouin.it/wp-content/uploads/2026/03/Bedouin-matrimonio-bagno-piero.jpg");
  }

  .home-hero__content {
    min-height: 35vh;
  }

  .home-hero__logo {
    width: 178px;
  }

  .home-hero__title {
    width: 310px;
    margin: 0;
    font-size: 25px;
    line-height: 28px;
    letter-spacing: -0.5px;
  }

  .home-stats {
    padding: 60px 15px;
  }

  .home-stats__headline {
    width: 245px;
  }

  .home-stats__headline .headline-rotate {
    font-size: 28px;
  }

  .home-stats__counters {
    flex-wrap: wrap;
    gap: 30px 0;
    margin-top: 0;
    padding-top: 20px;
  }

  .home-stats__col {
    width: 50%;
    padding: 20px 0 0;
  }

  .home-stats__col:nth-child(n + 3) {
    padding: 0;
  }

  .home-stats__logos {
    width: 100%;
    min-height: 5vh;
  }

  .home-intro {
    padding: 0;
  }

  .home-intro__text {
    width: 100%;
    padding: 60px 20px 0;
  }

  .home-intro__title {
    margin-bottom: 40px;
  }

  .home-intro__p {
    margin: 0 0 10px;
  }

  .home-intro__p--last {
    margin: 0 0 20px;
  }

  .home-intro__cta {
    width: 100%;
    margin-bottom: 50px;
  }

  .home-intro__media {
    width: 100%;
    min-height: 55vh;
    margin: 0 20px;
  }

  .home-intro__img {
    height: 56vh;
  }

  .home-services {
    padding: 100px 0 50px;
  }

  .home-services__title {
    padding: 0 20px;
    font-size: 56px;
    line-height: 56px;
  }

  .home-services__subtitle {
    margin: 0;
    padding: calc(10px + 0.5rem) 20px 40px;
    font-size: 14px;
  }

  .home-services .bedouin-services-section {
    margin-top: -66px;
    padding: 60px 20px;
  }

  .bedouin-services-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .bedouin-service-image-wrapper {
    aspect-ratio: 4 / 3;
  }

  .home-turnkey {
    padding: 0;
  }

  .home-turnkey__text {
    order: 99999;
    width: 100%;
    padding: 60px 0;
  }

  .home-turnkey__title {
    margin: 0;
    padding: 0 20px 2px;
  }

  .home-turnkey__p {
    margin: 0;
    padding: 0 20px;
  }

  .home-turnkey__p--last {
    padding-bottom: 20px;
  }

  .home-turnkey__cta {
    align-self: center;
    width: 100%;
    padding: 0 20px;
  }

  .home-turnkey__cta .btn {
    padding: 20px 0;
  }

  .home-turnkey__media {
    width: 100%;
    min-height: 55vh;
    margin: 0 20px;
  }

  .home-turnkey__photo {
    background-position: 0 0;
  }

  .home-tents {
    padding: 0 20px 50px;
  }

  .bedouin-custom-section {
    padding: 60px 0;
  }

  .bedouin-top-text-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .bedouin-features-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .bedouin-feature-image-wrapper {
    aspect-ratio: 4 / 3;
  }

  .home-experience {
    padding: 60px 20px;
  }

  .home-experience__title {
    width: 100%;
    margin: 0;
    padding: 0 0 40px;
    font-size: 36px;
    line-height: 39px;
    letter-spacing: -2px;
    text-align: start;
  }

  .home-experience__p,
  .home-experience__p--last {
    align-self: flex-start;
    width: 100%;
    margin: 0;
    padding: 0 0 10px;
    text-align: start;
  }

  .home-experience__p--last {
    padding-bottom: 40px;
  }

  .home-experience__cta,
  .home-cta__cta {
    align-self: flex-start;
    width: 100%;
    padding-top: 0;
    padding-bottom: 50px;
  }

  .home-production {
    display: none;
  }

  .home-cta {
    padding: 80px 20px 0;
    background-position: center left;
  }

  .home-cta__p {
    align-self: flex-start;
    width: 100%;
    margin: 0;
    padding: 0 0 40px;
    line-height: 28px;
    text-align: start;
  }

  .home-cta__cta .btn {
    font-size: 14px;
  }

  .home-blog {
    padding: 50px 20px;
  }

  .home-blog__title {
    margin-left: -8px;
    font-size: 64px;
  }
}
