:root {
  --green-deep: #1e3a2d;
  --green-mid: #2b4f3d;
  --green-soft: #3c6650;
  --cream: #ffffff;
  --cream-2: #fafafa;
  --text-dark: #232620;
  --text-muted: #666a5f;
  --line: #dedad0;
  --gold: #d9a441;
  --radius: 20px;
}

fieldset {
  border: none;
}

strong {
  font-weight: bold;
}

button {
  cursor: pointer;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html.stopped {
  overflow: hidden;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px;
}

body.no-sticky {
  padding-bottom: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  color: var(--green-deep);
  line-height: 1.15;
}

h1,
h2 {
  line-height: 1.2;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 14px;
  display: block;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #295237;
  color: #fff;
  border: none;
  padding: 13px 26px;
  border-radius: 30px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.2s ease;
}

.btn:hover {
  background: var(--green-soft);
  transform: translateY(-1px);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn.btn-book {
  padding: 6px 6px 6px 26px;
  gap: 16px;
}

.btn-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e9e8e3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-icon-circle svg {
  width: 26px;
  height: 26px;
  display: block;
}

.sticky-bar .btn-icon-circle {
  background: #295237;
  color: #fff;
}

.btn-outline {
  background: #fff;
  border: 1px solid #295237;
  color: #295237;
  padding: 6px 6px 6px 26px;
  gap: 16px;
}

.btn-outline:hover {
  background: #fff;
}

.btn-outline .btn-icon-circle {
  background: #295237;
  color: #fff;
}

/* ---------- LAYOUT ---------- */
.wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

section {
  padding: 100px 0;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #fff;
  overflow: hidden;
  background: #233f33;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video.mbl {
  display: block;
}

.hero-video.dsk {
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 28, 22, 0.35) 0%,
    rgba(10, 28, 22, 0.05) 35%,
    rgba(8, 22, 17, 0.3) 100%
  );
  z-index: 1;
}

.hero-nav,
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-nav {
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  padding: 26px 40px;
}

.lang-switcher {
  position: relative;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgb(0 0 0 / 20%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 12px 21px;
  border-radius: 24px;
  font-size: 15px;
  letter-spacing: 0.06em;
  backdrop-filter: blur(2px);
  cursor: pointer;
}

.lang-pill svg {
  transition: transform 0.2s ease;
}

.lang-switcher.open .lang-pill svg {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s;
}

.lang-switcher.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  background: none;
  border: none;
  text-align: left;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  color: var(--text-dark);
  cursor: pointer;
}

.lang-menu button:hover {
  background: #295237;
  color: #fff;
}

.lang-menu button.active {
  color: var(--green-deep);
  font-weight: 500;
}

.lang-menu button.active:hover {
  color: #fff;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 24px 140px;
}

.logo-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 44px;
}

.logo-mark svg {
  width: auto;
  height: 180px;
}

.hero h1 {
  color: #fff;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 20px;
}

.hero p {
  max-width: 770px;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ---------- STRUTTURA ---------- */
.struttura-bleed {
  display: grid;
  grid-template-columns: minmax(280px, 440px) 1fr;
  align-items: center;
  gap: 48px;
  width: 100%;
  padding-left: max(40px, calc((100vw - 1180px) / 2 + 40px));
}

.struttura-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 20px;
}

.struttura-copy p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 32px;
  max-width: 420px;
}

/* ---------- GALLERIA EMOZIONALE ---------- */
.emotion-gallery {
  position: relative;
  min-width: 0;
}

.emotion-gallery .swiper .swiper-slide {
  display: flex;
  align-items: stretch;
  gap: 18px;
  height: 520px;
  overflow-x: auto;
  scroll-snap-type: none;
  scrollbar-width: none;
  cursor: grab;
  width: auto;
}

.emotion-gallery .swiper .swiper-slide .swiper-button-prev,
.emotion-gallery .swiper .swiper-slide .swiper-button-next {
  width: 42px;
  height: 42px;
}

.emotion-gallery .swiper-button-prev svg,
.emotion-gallery .swiper-button-next svg {
  font-size: 20px;
}

.emotion-track {
  display: flex;
  align-items: stretch;
  gap: 18px;
  height: 520px;
  overflow-x: auto;
  scroll-snap-type: none;
  scrollbar-width: none;
  cursor: grab;
}

.emotion-track::-webkit-scrollbar {
  display: none;
}

.emotion-track.dragging {
  cursor: grabbing;
}

.g-item {
  flex: 0 0 auto;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}

.emotion-gallery .slider-arrow {
  z-index: 4;
}

/* ---------- SLIDER ---------- */
.slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3.1;
  background: #000;
  touch-action: pan-y;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s ease;
}

.slider-track .slide {
  flex: 0 0 100%;
  height: 100%;
}

.slider-track .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}

.slider-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0;
}

.slider-dots button.active {
  background: #fff;
}

.slider-counter {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(20, 30, 24, 0.55);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 5px 11px;
  border-radius: 14px;
  z-index: 3;
}

/* Variante compatta per card camere */
.slider.slider-card {
  aspect-ratio: 4/3;
  margin-bottom: 22px;
}

.slider.slider-card .slider-arrow {
  width: 32px;
  height: 32px;
}

.slider.slider-card .slider-arrow.prev {
  left: 10px;
}

.slider.slider-card .slider-arrow.next {
  right: 10px;
}

.slider.slider-card .slider-dots {
  bottom: 10px;
}

.slider.slider-card .slider-dots button {
  width: 6px;
  height: 6px;
}

/* ---------- CAMERE ---------- */
.camere-section {
  background: var(--cream-2);
  text-align: center;
}

.camere-section .eyebrow {
  text-align: center;
}

.camere-section h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 640px;
  margin: 0 auto 60px;
}

.camere-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  text-align: left;
}

.camera-card {
  /* max-width: 343px; */
  min-width: 0; /* <-- impedisce il blowout della colonna grid */
  width: 100%;
}

.camera-card .ph {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 22px;
}

.camera-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.camera-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  min-height: 66px;
}

.camera-card .swiper {
  margin-bottom: 22px;
  border-radius: var(--radius);
  /* width: 100%;
  min-width: 0;
  overflow: hidden; */
}

.camera-card .swiper-slide {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
}

.camera-card .swiper-button-prev,
.camera-card .swiper-button-next {
  width: 36px;
  height: 36px;
}

.camera-card .swiper-button-prev svg,
.camera-card .swiper-button-next svg {
  font-size: 14px;
}

.camera-card .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.camere-cta {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

/* ---------- RECENSIONI ---------- */
.recensioni {
  text-align: center;
}

.recensioni h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin-bottom: 16px;
}

.recensioni p {
  max-width: 560px;
  margin: 0 auto 76px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.reviews-embed {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  background: #fbfaf6;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 30px;
}

.reviews-embed strong {
  color: var(--green-deep);
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.reviews-embed code {
  background: var(--cream-2);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
}

/* ---------- DOVE SIAMO ---------- */
.dove-siamo-section {
  background: var(--cream-2);
}

.dove-siamo {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.dove-siamo h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 22px;
}

.dove-siamo address {
  font-style: normal;
  color: var(--text-dark);
  font-size: 0.92rem;
  margin-bottom: 18px;
  line-height: 1.7;
}

.dove-siamo .contacts {
  margin-bottom: 28px;
}

.dove-siamo .contacts a {
  display: block;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 4px;
}

.dove-siamo .ph {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
}

.dove-siamo .ph .swiper {
  height: 100%;
}

.dove-siamo .ph .swiper img {
  height: 100%;
  width: 100%;
  border-radius: var(--radius);
}

/* ---------- FAQ ---------- */
.faq h2 {
  text-align: center;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-bottom: 50px;
}

.faq-list {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fafafa;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 500;
  color: #295237;
  cursor: pointer;
}

.faq-question .icon {
  font-size: 1.3rem;
  color: var(--green-deep);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #fafafa;
}

.faq-item.open .faq-answer {
  max-height: 800px;
}

.faq-answer-inner {
  padding: 8px 24px 32px;
}

.faq-answer-inner .qa {
  margin-bottom: 28px;
}

.faq-answer-inner .qa a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-answer-inner .qa:last-child {
  margin-bottom: 0;
}

.faq-answer-inner .qa h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.faq-answer-inner .qa p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---------- TOP BAR (pagine contenuto) ---------- */
.topbar {
  background: var(--green-deep);
  padding: 22px 0;
}

.topbar .wrap {
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-mark-sm {
  display: flex;
  align-items: center;
}

.logo-mark-sm svg {
  height: 56px;
  width: auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 30px;
  transition: background 0.2s ease;
}

.back-link:hover {
  background: rgba(255, 255, 255, 0.12);
}

.back-link svg {
  width: 16px;
  height: 16px;
}

/* ---------- CONTENT (pagine articolo) ---------- */
.content {
  padding: 72px 0 90px;
}

.content .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
  margin-bottom: 14px;
}

.content h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 10px;
}

.content .updated {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 48px;
}

.content h2 {
  font-size: 1.4rem;
  margin-top: 44px;
  margin-bottom: 14px;
}

.content p,
.content ul,
.content li {
  color: var(--text-dark);
  font-size: 0.96rem;
}

.content ul {
  margin: 0 0 16px 20px;
}

.content li {
  margin-bottom: 8px;
}

.content strong {
  color: var(--green-deep);
  font-weight: 600;
}

.content a.inline-link {
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: 0.9rem;
}

.content table th,
.content table td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--line);
}

.content table th {
  background: var(--cream-2);
  color: var(--green-deep);
  font-weight: 600;
}

.back-bottom {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.back-link-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-deep);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.back-link-dark svg {
  width: 16px;
  height: 16px;
}

.back-link-dark:hover {
  text-decoration: underline;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 0 90px;
}

footer .wrap {
  max-width: 1400px;
  padding: 0 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 36px;
}

.footer-top h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 500;
}

.footer-top p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}
.footer-top p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-social span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-social a {
  width: 34px;
  height: 34px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
}

.footer-social a svg {
  width: 17px;
  height: 17px;
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  flex-wrap: wrap;
}

.footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom div:last-child {
  display: flex;
  align-items: center;
  gap: 26px;
}

/* .footer-bottom a:hover {
  text-decoration: underline;
} */

/* ---------- STICKY BAR ---------- */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--green-mid);
  color: #fff;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 50;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.sticky-bar.slide-in {
  transform: translateY(0);
}

.sticky-bar.sticky-hidden {
  transform: translateY(100%);
}

.sticky-bar p {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 500;
  color: #fff;
}

.sticky-bar .btn {
  background: #fff;
  color: var(--green-deep);
}

.sticky-bar .btn:hover {
  background: var(--cream);
}

/* Cookie */
.cookies-layer {
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 0;
  background-color: #fff;
  transform: translateY(100%);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
  z-index: 99999;
}

.cookies-layer.on {
  transition: transform 0.3s ease;
  transform: translateY(0);
}

.cookies-layer p {
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
  font-family: sans-serif;
}

.cookies-layer p > a {
  text-decoration: underline;
  transition: opacity 0.3s;
}

.cookies-layer p > a:hover {
  opacity: 0.5;
}

.cookies-layer .cookies__button > a,
.cookies-layer .cookies__button > button,
.cookies-layer .cookies__button > span {
  width: 100%;
}

/* ---------- CLOSE BUTTON ---------- */
.cookies-layer__close {
  position: absolute;
  right: 10px;
  top: 10px;
}

.cookies-layer__close > button {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  font-size: 25px;
  border: 1px solid #666;
  color: #666;
  background-color: #fff;
  transition: all 0.35s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.cookies-layer__close > button:hover {
  background-color: #eee;
}

.cookies-layer__close > button:before {
  content: "\00D7";
  line-height: 0;
}

/* ---------- CONTAINER ---------- */
.cookies-layer__container {
  padding: 25px 15px;
  max-width: 1024px;
  margin: 0 auto;
}

.cookies-layer__container > div:nth-child(1) {
  margin: 0 0 20px;
}

.cookies-layer__container > div:nth-child(2) {
  display: flex;
  justify-content: flex-end;
}

.cookies-layer__container .cookies__button:not(:last-of-type) {
  margin-right: 20px;
}

/* ---------- TITLE ---------- */
.cookies-layer__title {
  display: block;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 10px;
  font-family: sans-serif;
}

/* ============================================= */
/* COOKIES POPUP */
/* ============================================= */

.cookies-popup {
  opacity: 0;
  backface-visibility: hidden;
  visibility: hidden;
  transform: translateY(100%);
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  z-index: 999999;
}

.cookies-popup.is--open {
  transform: translateY(0);
  opacity: 1;
  backface-visibility: visible;
  visibility: visible;
}

.cookies-popup.is--open .cookies-popup__inner {
  opacity: 1;
  transform: translateX(0);
}

.cookies-popup__inner {
  padding: 30px;
  height: auto;
  width: 760px;
  margin: auto;
  max-width: calc(100% - 30px);
  max-height: calc(100% - 30px);
  background-color: #fff;
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.3s,
    transform 0.3s;
  overflow-y: auto;
}

.cookies-popup__close {
  font-size: 22px;
  height: 30px;
  position: absolute;
  right: 10px;
  top: 10px;
  opacity: 1;
  transition: opacity 0.5s ease;
  width: 30px;
  z-index: 5;
  color: #000;
  border: none;
  background-color: transparent;
}

.cookies-popup__close:before {
  content: "\00D7";
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookies-popup__close:hover {
  opacity: 0.5;
}

.cookies-popup__title {
  display: block;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  text-align: center;
  font-family: sans-serif;
}

/* Buttons */
.cookies__button.--manage > a,
.cookies__button.--manage > button,
.cookies__button.--manage > span {
  border: 1px solid #666;
  background-color: #fff;
  color: #666;
}

.cookies__button > a,
.cookies__button > button,
.cookies__button > span {
  align-items: center;
  color: #fff;
  border: 1px solid var(--green-deep);
  background-color: var(--green-deep);
  display: flex;
  font-size: 12px;
  font-weight: 700;
  height: 45px;
  justify-content: center;
  min-width: 130px;
  overflow: hidden;
  padding: 0 10px;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  font-family: sans-serif;
  text-decoration: none;
}

.cookies__button > a:hover:before,
.cookies__button > button:hover:before,
.cookies__button > span:hover:before {
  opacity: 0.3;
}

.cookies__button > a:before,
.cookies__button > button:before,
.cookies__button > span:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: #000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Form */
.cookies-popup__form {
  display: flex;
  flex-wrap: wrap;
  margin-top: 25px;
  max-width: none;
}

.cookies-popup__form .cookies__button > a,
.cookies-popup__form .cookies__button > button,
.cookies-popup__form .cookies__button > span {
  margin: 0 auto;
}

.cookies-popup__term {
  width: 100%;
  border-top: 1px solid #dedede;
  margin-top: 0;
  padding: 20px 0;
  text-align: left;
}

.cookies-popup__term:last-child {
  border-bottom: 1px solid #dedede;
}

.cookies-popup__term > div {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.cookies-popup__term p {
  font-size: 13px;
  letter-spacing: normal;
  line-height: 1.4;
  margin: 0 0 15px;
}

.cookies-popup__term p strong {
  color: #000;
  display: block;
  font-size: 14px;
  margin-bottom: 7px;
}

.cookies-popup__term p a {
  text-decoration: underline;
}

.cookies-popup__term label {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: 11px;
  font-weight: 700;
  position: relative;
}

.cookies-popup__term label:not(:last-child) {
  margin-right: 35px;
}

.cookies-popup__term label.disabled {
  cursor: default;
  opacity: 0.5;
}

.cookies-popup__term label input {
  height: 15px;
  margin-right: 5px;
  opacity: 0;
  position: relative;
  z-index: 5;
  width: 15px;
}

.cookies-popup__term label input:not([disabled]) {
  cursor: pointer;
}

.cookies-popup__term label input:checked + span:before {
  border-color: #000;
  content: "\2713";
}

.cookies-popup__term label span:before {
  content: "";
  align-items: center;
  border: 1px solid #000;
  border-radius: 50%;
  color: #000;
  display: flex;
  height: 15px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 0;
  width: 15px;
}

.cookies-popup__submit {
  margin-top: 25px;
  text-align: center;
  width: 100%;
}

.cookies-popup__form-text {
  color: #666;
  font-size: 14px;
  margin-top: 15px;
  text-align: center;
}

.cookies-popup__form-text a {
  text-decoration: underline;
  transition: opacity 0.5s;
}

.cookies-popup__form-text a:hover {
  opacity: 0.5;
}

/* CMS */
.block-txt .cookies__button,
.block-text .cookies__button {
  display: inline-block;
  margin-top: 30px;
}

/* Table */
.table__wrapper {
  margin-bottom: 20px;
  overflow-x: auto;
  position: relative;
}

.table__wrapper table {
  border: 1px solid #dedede;
  width: 100%;
}

.table__wrapper table th,
.table__wrapper table td {
  padding: 10px;
}

.table__wrapper table th {
  background-color: #dedede;
  border-right-color: #fff;
  text-align: left;
}

.table__wrapper table td a {
  text-decoration: underline;
}

.table__wrapper table td a:hover {
  opacity: 0.6;
}

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* popup */
/* ============================================= */

.popup {
  display: flex;
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 999;
  padding: var(--padding-x);
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  backface-visibility: hidden;
  visibility: hidden;
  transition: all 0.75s cubic-bezier(0.19, 1, 0.22, 1);
  pointer-events: none;
  color: #000;
}

.popup.open {
  opacity: 1;
  backface-visibility: visible;
  visibility: visible;
  transition: none;
  transition-delay: 0s;
  pointer-events: auto;
}

.popup.open #cmsPopups .popup__box {
  clip-path: inset(50% round 20px);
}

.popup.open #cmsPopups .popup__box[data-closed="true"] {
  transition:
    opacity 0.75s var(--transition-ease),
    clip-path 0.75s cubic-bezier(0.19, 1, 0.22, 1);
}

.popup.open #cmsPopups .popup__box.active {
  clip-path: inset(0% round 20px);
  transition: clip-path 0.75s cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: 0.5s;
}

.popup.open.popup--fullscreen .popup__box {
  clip-path: inset(0% round 0px);
}

.popup.open .popup__bg {
  opacity: 1;
  backface-visibility: visible;
  visibility: visible;
}

.popup.open .popup__box {
  clip-path: inset(0% round 20px);
  transition: clip-path 0.75s cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: 0s;
}

.popup.open .popup__close,
.popup.open .popup__header,
.popup.open .popup__content {
  opacity: 1;
  transition-delay: 0.15s;
}

/* FULLSCREEN */
.popup.popup--fullscreen {
  padding: 0;
}

.popup.popup--fullscreen .popup__container {
  max-width: 100%;
  height: 100%;
}

.popup.popup--fullscreen .popup__box {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  border-radius: 0;
  clip-path: inset(20% round 0px);
}

.popup.popup--fullscreen .popup__content {
  width: 100%;
  height: 100%;
}

.popup.popup--fullscreen .popup__close {
  position: absolute;
  z-index: 2;
  right: 20px;
  margin-right: 0;
}

.popup.popup--fullscreen .swiper-pagination {
  bottom: 20px;
}

.popup.popup--fullscreen .swiper-pagination-bullet {
  transition: all 0.3s ease !important;
}

.popup.popup--fullscreen .swiper-pagination-bullet-active {
  background-color: #000;
}

.popup.popup--fullscreen .swiper-button-next,
.popup.popup--fullscreen .swiper-button-prev {
  color: #000;
  background-color: #fff;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 20px;
  transition: all 0.75s cubic-bezier(0.19, 1, 0.22, 1);
}

.popup.popup--fullscreen .swiper-button-next:after,
.popup.popup--fullscreen .swiper-button-prev:after {
  display: none;
}

.popup.popup--fullscreen .swiper-button-prev {
  left: 20px;
}

.popup.popup--fullscreen .swiper-button-next {
  right: 20px;
}

/* BACKGROUND */
.popup__bg {
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
  height: 100%;
  width: 100%;
  padding: var(--padding-x);
  background-color: rgba(0, 0, 0, 0.6);
  transition: all 0.75s cubic-bezier(0.19, 1, 0.22, 1);
  opacity: 0;
  backface-visibility: hidden;
  visibility: hidden;
  pointer-events: none;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

/* CONTAINER */
.popup__container {
  position: relative;
  width: 100%;
  max-width: 1385px;
  margin: auto;
}

#cmsPopups .popup__container {
  max-width: 560px;
}

#removeFromWishlistAlertPopup .popup__container {
  max-width: 560px;
  text-align: center;
}

/* CLOSE BUTTON */
.popup__close {
  position: absolute;
  top: 40px;
  right: 50px;
  border-radius: 50%;
  border: solid 1px #878c91;
  color: #000;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  opacity: 0;
  transition: all 0.75s cubic-bezier(0.19, 1, 0.22, 1);
}

#cmsPopups .popup__close {
  margin-right: -25px;
}

/* BOX */
.popup__box {
  background-color: #fff;
  border-radius: 20px;
  padding: 40px 50px 45px;
  clip-path: inset(50% round 20px);
  transition-delay: 0.75s;
}

#cmsPopups .popup__box {
  padding-left: 40px;
  padding-right: 40px;
  padding-bottom: 40px;
}

.popup__box[data-closed="true"] {
  opacity: 0;
  clip-path: inset(20% round 20px);
  transition:
    opacity 0.75s var(--transition-ease),
    clip-path 0.75s cubic-bezier(0.19, 1, 0.22, 1);
  position: absolute;
  width: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.popup__box.hide {
  display: none;
}

.popup__box.active {
  clip-path: inset(0% round 20px);
  transition: clip-path 0.75s cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: 0s;
}

/* WRAPPER */
.popup__box-wrapper #loginPopup .popup {
  display: flex;
  flex-wrap: nowrap;
}

.popup__box-wrapper #loginPopup .popup > div {
  width: 100%;
  flex-shrink: 0;
}

.popup__box-wrapper #loginPopup .popup > div.slide-out {
  display: none;
}

/* IMAGE */
.popup__img {
  margin: -66px -80px 40px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  overflow: hidden;
}

.popup__img img,
.popup__img video {
  width: 100%;
}

.popup__img .mbl {
  display: none;
}

/* HEADER */
.popup__header {
  margin-bottom: 35px;
}

#removeFromWishlistAlertPopup .popup__header {
  margin-bottom: 30px;
  margin-top: 15px;
}

.popup__header:last-of-type {
  margin-bottom: 0;
}

.popup__header .popup__title + .txt {
  margin-top: 15px;
}

.popup__header .txt {
  font-size: 16px;
  letter-spacing: 0.36px;
}

#removeFromWishlistAlertPopup .popup__header .txt {
  font-weight: 500;
}

.popup__header .button {
  margin-top: 30px;
}

/* TITLE */
.popup__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.27;
  letter-spacing: -1.92px;
  color: var(--color-primary);
}

/* CONTENT */
.popup__content {
  opacity: 0;
  transition: all 0.75s cubic-bezier(0.19, 1, 0.22, 1);
}

/* SLIDER */
.popup__slider {
  height: 100%;
  width: 100%;
}

.popup__slider .swiper {
  height: 100%;
  width: 100%;
}

/* LOGIN FOOTER */
.popup__login-ft > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.popup__login-ft > p {
  margin: 0;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.36px;
}

.popup__login-ft a {
  text-decoration: underline;
}

/* ALERT BUTTONS */
.popup__alert-buttons {
  display: flex;
  justify-content: center;
}

.popup__alert-buttons-item {
  margin: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 40px;
  border-radius: 28px;
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 500;
  background-color: #f2f2f2;
  color: #000;
  line-height: 1;
  text-transform: uppercase;
  transition: background-color 0.75s cubic-bezier(0.19, 1, 0.22, 1);
}

.popup__alert-buttons-item:hover {
  background-color: #ccc;
}

/* QR */
.popup__qr-button {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  z-index: 2;
}

html.touchevents .popup__qr-button {
  display: none;
}

.popup__qr-layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 3;
  opacity: 0;
  backface-visibility: hidden;
  visibility: hidden;
  display: flex;
  transition: all 0.75s cubic-bezier(0.19, 1, 0.22, 1);
  pointer-events: none;
}

html.touchevents .popup__qr-layer {
  display: none;
}

.popup__qr-layer.open {
  opacity: 1;
  backface-visibility: visible;
  visibility: visible;
  pointer-events: auto;
}

.popup__qr-layer.open .popup__qr-layer-image {
  transform: scale(1);
  opacity: 1;
  backface-visibility: visible;
  visibility: visible;
}

.popup__qr-layer-image {
  width: 400px;
  height: 400px;
  margin: auto;
  transform: scale(0.8);
  opacity: 0;
  backface-visibility: hidden;
  visibility: hidden;
  transition: all 0.75s cubic-bezier(0.19, 1, 0.22, 1);
  -webkit-user-select: none;
  user-select: none;
}

.popup__qr-layer-image img {
  width: 100%;
  height: 100%;
}

.swiper {
  border-radius: var(--radius);
}

.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--green-deep);
  transition: background 0.2s ease;
  z-index: 3;
}

.swiper-horizontal .swiper-button-prev,
.swiper-horizontal .swiper-button-next {
  margin-top: 0;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: #fff;
}

.swiper-button-prev {
  left: 16px;
}

.swiper-button-next {
  right: 16px;
}

.swiper-button-prev svg,
.swiper-button-next svg {
  height: auto;
  width: auto;
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: 10px;
}

.swiper-pagination {
  display: flex;
  justify-content: center;
}

.swiper-pagination-bullet {
  background-color: rgba(255, 255, 255, 0.8);
}
.swiper-pagination-bullet-active {
  background-color: #fff;
}

/* Error */
/*==================
    Errors
==================*/

.error {
  padding-bottom: 0;
}

.error__container {
  align-items: center;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  height: 100vh;
  justify-content: center;
  text-align: center;
  position: relative;
}

.error__container:before {
  background-color: rgba(0, 0, 0, 0.5);
  content: "";
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 5;
}

.error__caption {
  padding: 0 30px;
  position: relative;
  z-index: 10;
}

.error__caption img {
  margin-bottom: 30px;
  height: 80px;
  width: 80px;
}

.error__title {
  color: #fff;
  font-size: 35px;
  margin-bottom: 15px;
  font-weight: 300;
}

.error__text {
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
}

.error__text p {
  margin-bottom: 0;
}

.error__text a {
  text-decoration: underline;
  transition: opacity 0.5s;
  word-break: break-word;
}

.error__text a:hover {
  opacity: 0.6;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .wrap {
    padding: 0 24px;
  }
  section {
    padding: 70px 0;
  }
  .dove-siamo {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .struttura-bleed {
    display: block;
    padding-left: 24px;
    padding-right: 24px;
  }
  .struttura-copy {
    margin-bottom: 36px;
  }
  .emotion-track {
    height: 380px;
    gap: 14px;
  }

  .emotion-gallery .swiper .swiper-slide {
    height: 380px;
    gap: 14px;
  }

  .camere-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .footer-top {
    flex-direction: column;
  }
  .sticky-bar p {
    font-size: 19px;
  }
  .faq-question {
    font-size: 21px;
  }
}

@media (max-width: 700px) {
  .topbar .wrap,
  footer .wrap {
    padding: 0 24px;
  }
  .content {
    padding: 48px 0 64px;
  }
  .logo-mark-sm svg {
    height: 42px;
  }
  .back-link span {
    display: none;
  }
  .back-link {
    padding: 10px;
  }
}

@media (max-width: 600px) {
  .hero-nav {
    padding: 20px;
  }
  .hero-content {
    padding: 20px 16px 70px;
  }
  .logo-mark svg {
    height: 120px;
  }
  .faq-question {
    font-size: 18px;
    padding: 18px 20px;
  }
  .emotion-track {
    height: 300px;
  }

  .emotion-gallery .swiper .swiper-slide {
    height: 300px;
  }

  .sticky-bar {
    padding: 14px 20px;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .sticky-bar p {
    font-size: 15px;
    text-align: center;
  }
  .sticky-bar .btn {
    align-self: stretch;
    justify-content: center;
  }
  body {
    padding-bottom: 117px;
  }
  .cookies-layer__container > div:nth-child(1) {
    margin-right: 40px;
  }

  .popup__close {
    top: 30px;
    right: 40px;
  }

  .popup__box {
    padding: 30px 40px 40px;
  }
  .popup__header {
    margin-bottom: 30px;
    margin-top: 10px;
  }
}

@media only screen and (max-width: 425px) {
  .cookies-layer p {
    font-size: 10px;
  }
  .cookies-layer__close {
    top: 25px;
    right: 15px;
  }
  .cookies-layer__title {
    font-size: 17px;
    margin-right: 50px;
  }
}

@media only screen and (min-width: 768px) {
  .cookies-layer__close {
    right: 20px;
    top: 10px;
  }
  .hero-video.mbl {
    display: none;
  }

  .hero-video.dsk {
    display: block;
  }

  .hero h1 {
    font-size: 38px;
  }
  .hero p {
    font-size: 18px;
  }
  .cookies-layer__container {
    padding: 20px;
  }
  .popup__title {
    font-size: 34px;
  }
}

@media only screen and (min-width: 1024px) {
  .cookies-layer p {
    font-size: 13px;
  }
  .cookies-layer__title {
    font-size: 23px;
    line-height: 1.3;
    margin-bottom: 15px;
  }
  .cookies__button > a,
  .cookies__button > button,
  .cookies__button > span {
    font-size: 13px;
    min-width: 200px;
  }
  .popup__title {
    font-size: 44px;
  }
}
@media only screen and (min-width: 1440px) {
  .cookies-layer__close {
    right: 20px;
    top: 20px;
  }
  .cookies-layer__container {
    padding: 30px 20px;
  }
  .error__title {
    font-size: 70px;
    margin-bottom: 30px;
  }
  .error__text {
    font-size: 18px;
  }
}

@media only screen and (max-width: 1440px) {
  .cookies-layer__close > button {
    width: 30px;
    height: 30px;
    font-size: 20px;
    line-height: 20px;
  }
  .popup__header .txt {
    font-size: 16px;
  }
  #removeFromWishlistAlertPopup .popup__header .txt {
    font-size: 18px;
  }
  .popup__login-ft > p {
    font-size: 16px;
  }
  .popup__alert-buttons-item {
    padding: 12px 30px;
    font-size: 14px;
  }
}

@media only screen and (max-width: 767px) {
  .cookies-layer__container > div:nth-child(2) {
    flex-wrap: wrap;
  }

  .cookies-layer__container .cookies__button {
    width: 100%;
  }
  .cookies-layer__container .cookies__button:not(:last-of-type) {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

@media only screen and (max-width: 1023px) {
  .cookies-layer__container .cookies__button {
    width: 50%;
  }
}

@media screen and (min-width: 820px) {
  .cookies-popup__inner {
    max-width: calc(100% - 60px);
    max-height: calc(100% - 60px);
  }
  .cookies-popup__close {
    font-size: 28px;
    right: 30px;
    top: 30px;
  }
  .cookies-popup__title {
    font-size: 25px;
  }
  .cookies-popup__term p {
    margin: 0 0 20px;
  }
  .cookies-popup__term p strong {
    font-size: 13px;
  }
  .cookies-popup__term label {
    font-size: 12px;
  }
  .cookies-popup__term label input {
    height: 20px;
    width: 20px;
  }

  .cookies-popup__term label span:before {
    height: 20px;
    width: 20px;
  }
  .cookies-popup__submit {
    margin-top: 50px;
  }

  .cookies-popup__form-text {
    font-size: 16px;
  }

  .table__wrapper {
    margin-bottom: 0;
  }

  .table__wrapper table th,
  .table__wrapper table td {
    padding: 10px 15px;
  }
  .error__title {
    font-size: 55px;
    margin-bottom: 20px;
  }

  .error__text {
    font-size: 16px;
    line-height: 1.6;
  }
}

@media screen and (min-width: 1366px) {
  .cookies-popup__inner {
    padding: 55px;
  }
  .hero h1 {
    font-size: 55px;
  }
  .hero p {
    font-size: 20px;
  }
  .cookies-popup__title {
    font-size: 28px;
  }
  .cookies-popup__form {
    margin: 35px 0 0;
  }
  .cookies-popup__form-text {
    font-size: 18px;
    margin-top: 25px;
  }
  .popup__title {
    font-size: 50px;
  }
}

@media only screen and (max-width: 1180px) {
  .popup.popup--fullscreen .popup__close {
    top: 20px;
  }

  .popup__container {
    max-width: 600px;
  }

  #cmsPopups .popup__close {
    margin-right: -10px;
  }
  .popup__close {
    top: 35px;
    right: 45px;
    z-index: 5;
  }
  .popup__box {
    padding: 35px 45px 45px;
  }
  #cmsPopups .popup__box {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 40px;
  }
}

@media only screen and (max-width: 820px) {
  .popup__close {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
  .popup__img .mbl {
    display: block;
  }
  .popup__img .dsk {
    display: none;
  }
  .popup__header .txt {
    font-size: 15px;
  }
  #removeFromWishlistAlertPopup .popup__header .txt {
    font-size: 16px;
  }
  .popup__login-ft > p {
    font-size: 15px;
  }
}

@media only screen and (max-width: 450px) {
  .popup__close {
    right: 25px;
  }
  .popup__box {
    padding: 30px 25px;
  }
  .popup__header .txt {
    font-size: 13px;
  }
  #removeFromWishlistAlertPopup .popup__header .txt {
    font-size: 16px;
  }
  .popup__login-ft > p {
    font-size: 13px;
  }
  .error__caption img {
    height: 50px;
    width: 50px;
  }
}
