/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/


.alternate{
  font-family:"Libre Bodoni";
  font-style:italic;
  font-size: clamp(34px, 26.62px + 2.05vw, 64px);
}


.hero-image{
    margin-inline: auto;
  overflow: hidden;

  clip-path: inset(0 50% 0 50%);
  animation: heroReveal 2.2s cubic-bezier(.76, 0, .24, 1) forwards;
}


@keyframes heroReveal {
  from {
    clip-path: inset(0 50% 0 50%);
  }

  to {
    clip-path: inset(0 0 0 0);
  }
}

.visual-journey-intro {
  margin-inline: auto;
  padding: clamp(5rem, 8vw, 9rem) clamp(1.25rem, 4vw, 4rem) 0;
}


.visual-journey-intro h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 600;
}

.visual-journey-intro > p:not(.visual-journey-kicker) {
  max-width: 620px;
  margin: 1.5rem 0 0;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

.visual-journey-pin {
  padding-inline: clamp(1.25rem, 4vw, 4rem);
}

.visual-journey-track {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 4rem);
  width: max-content;
  will-change: transform;
}

.journey-card {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  isolation: isolate;
  transform-origin: center center;
}

.journey-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88),
    rgba(0, 0, 0, 0.35) 55%,
    rgba(0, 0, 0, 0.22)
  );
  opacity: 1;
  transition: opacity 0.35s ease, background 0.35s ease;
  pointer-events: none;
}

.journey-card img {
  width: 110%;
  min-width: 110%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.08);
}

.journey-card-large {
  width: clamp(320px, 42vw, 720px);
  height: clamp(460px, 72vh, 760px);
}

.journey-card-small {
  width: clamp(280px, 28vw, 480px);
  height: clamp(360px, 56vh, 590px);
}

.journey-card-wide {
  width: clamp(420px, 55vw, 880px);
  height: clamp(320px, 54vh, 560px);
}

.journey-card-tall {
  width: clamp(300px, 34vw, 560px);
  height: clamp(500px, 78vh, 820px);
}

.journey-number {
  position: absolute;
  top: clamp(1rem, 2vw, 2rem);
  left: clamp(1rem, 2vw, 2rem);
  z-index: 3;
  font-size: clamp(3rem, 7vw, 8rem);
  line-height: 0.8;
  font-weight: 700;
  letter-spacing: -0.08em;
  color: rgba(255, 255, 255, 0.22);
}

.journey-content {
  position: absolute;
  left: clamp(1.25rem, 2vw, 2rem);
  right: clamp(1.25rem, 2vw, 2rem);
  bottom: clamp(1.25rem, 2vw, 2rem);
  z-index: 3;
}

.journey-content p {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  line-height: 1.2;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.journey-content h3 {
  margin: 0;
  max-width: 520px;
  font-size: clamp(1.8rem, 3vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 600;
}

.journey-card-cta {
    width: clamp(320px, 42vw, 680px);
    height: clamp(420px, 66vh, 680px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 4vw, 4rem);
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 32%), linear-gradient(135deg, #886761, #886761);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
}

.journey-card-cta::after {
  display: none;
}

.journey-cta-inner {
  position: relative;
  z-index: 3;
}

.journey-cta-inner p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journey-cta-inner h3 {
  margin: 0;
  max-width: 520px;
  font-size: clamp(2rem, 3.6vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 600;
}

.journey-cta-inner a {
  display: inline-flex;
  margin-top: 2rem;
  padding: 1rem 1.3rem;
  border-radius: 999px;
  color: #111214;
  background: #ffffff;
  text-decoration: none;
  line-height: 1;
  font-weight: 600;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.journey-cta-inner a:hover {
  transform: translateY(-2px);
  opacity: 0.86;
}

.journey-progress {
  position: absolute;
  left: clamp(1.25rem, 4vw, 4rem);
  right: clamp(1.25rem, 4vw, 4rem);
  bottom: clamp(1.25rem, 3vw, 2.5rem);
  height: 2px;
  background: #8867612e;
  overflow: hidden;
  z-index: 10;
}

.journey-progress-bar {
  width: 100%;
  height: 100%;
  background: #886761;
  transform: scaleX(0);
  transform-origin: left center;
}
.journey-card:hover::after {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72),
    rgba(0, 0, 0, 0.08) 55%,
    rgba(0, 0, 0, 0.18)
  );
  opacity: 0.6;
}

.ox-amenities:hover svg{
  fill:#ffffff!important;
}
.am-2:hover svg{
  fill:#886761!important;
}

:root {
  --paramar-brown: #886761;
  --paramar-brown-soft: #a98679;
  --paramar-brown-dark: #58423d;
  --paramar-sand: #efe5d6;
  --paramar-sand-strong: #e0d0bd;
  --paramar-cream: #fbf7ef;
  --paramar-cream-solid: #f8f3ea;
  --paramar-ink: #2f2925;
  --paramar-muted: #82746c;
  --paramar-line: rgba(136, 103, 97, 0.18);
  --paramar-line-strong: rgba(136, 103, 97, 0.32);
  --paramar-glass: rgba(248, 243, 234, 0.86);
  --paramar-shadow: rgba(47, 41, 37, 0.18);
}

/* offset anchor */
#gli-spazi,
#gallery,
#storia,
#servizi,
#localita,
#esplora,
#contatti {
  scroll-margin-top: 40px;
}

/* wrapper flottante */
.paramar-anchor {
  position: fixed;
  right: clamp(1rem, 2vw, 2rem);
  top: 50%;
  transform: translateY(-50%) translateX(26px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  display: grid;
  gap: 0.7rem;
  transition:
    opacity 0.45s ease,
    transform 0.65s cubic-bezier(0.19, 1, 0.22, 1);
}

.paramar-anchor.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

/* bottone esplora */
.paramar-anchor-toggle {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 48px;
  padding: 0.85rem 1rem;
  background:
    linear-gradient(135deg, var(--paramar-brown), var(--paramar-brown-dark));
  color: var(--paramar-cream);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  box-shadow:
    0 18px 45px rgba(47, 41, 37, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition:
    transform 0.35s cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.paramar-anchor-toggle:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 58px rgba(47, 41, 37, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.paramar-anchor-toggle-icon {
  position: relative;
  width: 1.15rem;
  height: 1.15rem;
  display: inline-block;
  flex: 0 0 auto;
}

.paramar-anchor-toggle-icon span {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

.paramar-anchor-toggle-icon span:first-child {
  transform: translateY(-4px);
}

.paramar-anchor-toggle-icon span:last-child {
  transform: translateY(4px);
}

.paramar-anchor.is-open .paramar-anchor-toggle-icon span:first-child {
  transform: rotate(45deg);
}

.paramar-anchor.is-open .paramar-anchor-toggle-icon span:last-child {
  transform: rotate(-45deg);
}

/* pannello */
.paramar-anchor-panel {
  width: 292px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.42), rgba(248,243,234,0.82)),
    var(--paramar-glass);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid var(--paramar-line);
  box-shadow:
    0 26px 74px rgba(47, 41, 37, 0.17),
    inset 0 1px 0 rgba(255, 255, 255, 0.54);
  transform: translateX(18px) scale(0.985);
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transition:
    opacity 0.36s ease,
    transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.paramar-anchor.is-open .paramar-anchor-panel {
  transform: translateX(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.paramar-anchor-link {
  position: relative;
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  align-items: center;
  gap: 0.85rem;
  min-height: 64px;
  padding: 1rem 1.1rem;
  color: var(--paramar-muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(136, 103, 97, 0.13);
  transition:
    color 0.28s ease,
    background 0.28s ease,
    padding-left 0.38s cubic-bezier(0.19, 1, 0.22, 1);
}

.paramar-anchor-link:last-child {
  border-bottom: 0;
}

.paramar-anchor-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14%;
  width: 3px;
  height: 72%;
  background: var(--paramar-brown);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.34s ease;
}

.paramar-anchor-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(136, 103, 97, 0.13), rgba(239, 229, 214, 0.34));
  opacity: 0;
  transition: opacity 0.28s ease;
  z-index: -1;
}

.paramar-anchor-link:hover,
.paramar-anchor-link.is-active {
  color: var(--paramar-brown-dark);
  padding-left: 1.28rem;
}

.paramar-anchor-link:hover::before,
.paramar-anchor-link.is-active::before {
  transform: scaleY(1);
  transform-origin: top;
}

.paramar-anchor-link:hover::after,
.paramar-anchor-link.is-active::after {
  opacity: 1;
}

.paramar-anchor-icon {
  width: 2.45rem;
  height: 2.45rem;
  display: grid;
  place-items: center;
  color: var(--paramar-brown);
  background: rgba(136, 103, 97, 0.08);
  border: 1px solid rgba(136, 103, 97, 0.15);
  transition:
    color 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease,
    transform 0.38s cubic-bezier(0.19, 1, 0.22, 1);
}

.paramar-anchor-icon svg {
  width: 1.28rem;
  height: 1.28rem;
  fill: currentColor;
}

.paramar-anchor-link:hover .paramar-anchor-icon,
.paramar-anchor-link.is-active .paramar-anchor-icon {
  color: var(--paramar-cream);
  background: var(--paramar-brown);
  border-color: var(--paramar-brown);
  transform: translateX(2px);
}

.paramar-anchor-content {
  display: grid;
  gap: 0.32rem;
}

.paramar-anchor-num {
  font-size: 0.88rem;
  line-height: 1;
  letter-spacing: 0.08em;
  color: rgba(136, 103, 97, 0.58);
  font-weight: 500;
}

.paramar-anchor-text {
  font-size: 0.96rem;
  line-height: 1;
  letter-spacing: 0.105em;
  text-transform: uppercase;
  font-weight: 500;
}

/* progress laterale */
.paramar-anchor-progress {
  position: absolute;
  right: -0.75rem;
  top: 0.2rem;
  width: 2px;
  height: calc(100% - 0.4rem);
  background: rgba(136, 103, 97, 0.16);
  overflow: hidden;
}

.paramar-anchor-progress span {
  display: block;
  width: 100%;
  height: 0%;
  background:
    linear-gradient(180deg, var(--paramar-brown), var(--paramar-brown-soft));
  transition: height 0.14s linear;
}

/* focus accessibile */
.paramar-anchor-toggle:focus-visible,
.paramar-anchor-link:focus-visible {
  outline: 1px solid var(--paramar-brown);
  outline-offset: 4px;
}
/* mobile: bottom bar a 4 pulsanti pieni */
@media (max-width: 767px) {
  .paramar-anchor {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    transform: translateY(100%);
    display: block;
    z-index: 9999;
  }

  .paramar-anchor.is-visible {
    transform: translateY(0);
  }

  .paramar-anchor-toggle {
    display: none;
  }

  .paramar-anchor-panel {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;

    background:
      linear-gradient(180deg, rgba(255,255,255,0.72), rgba(248,243,234,0.98));

    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    border-top: 1px solid rgba(136, 103, 97, 0.22);

    box-shadow: 0 -18px 48px rgba(47, 41, 37, 0.16);

    transform: none;
    opacity: 1;
    pointer-events: auto;

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .paramar-anchor-link {
    width: 100%;
    min-width: 0;
    flex: none;

    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;

    gap: 0.34rem;
    min-height: 76px;
    padding: 0.72rem 0.35rem 0.78rem;

    border-bottom: 0;
    border-right: 1px solid rgba(136, 103, 97, 0.12);

    text-align: center;
  }

  .paramar-anchor-link:last-child {
    border-right: 0;
  }

  .paramar-anchor-link:hover,
  .paramar-anchor-link.is-active {
    padding-left: 0.35rem;
  }

  .paramar-anchor-link::before {
    top: auto;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 3px;

    transform: scaleX(0);
    transform-origin: right;
  }

  .paramar-anchor-link:hover::before,
  .paramar-anchor-link.is-active::before {
    transform: scaleX(1);
    transform-origin: left;
  }

  .paramar-anchor-link::after {
    background:
      linear-gradient(180deg, rgba(136, 103, 97, 0.08), rgba(239, 229, 214, 0.52));
  }

  .paramar-anchor-icon {
    width: 1.82rem;
    height: 1.82rem;
    background: transparent;
    border-color: transparent;
  }

  .paramar-anchor-icon svg {
    width: 1.24rem;
    height: 1.24rem;
  }

  .paramar-anchor-link:hover .paramar-anchor-icon,
  .paramar-anchor-link.is-active .paramar-anchor-icon {
    transform: translateY(-1px);
  }

  .paramar-anchor-content {
    gap: 0;
    text-align: center;
  }

  .paramar-anchor-num {
    display: none;
  }

  .paramar-anchor-text {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.075em;
    line-height: 1.05;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .paramar-anchor-progress {
    right: auto;
    left: 0;
    top: 0;

    width: 100%;
    height: 2px;
  }

  .paramar-anchor-progress span {
    width: 0%;
    height: 100%;
    background:
      linear-gradient(90deg, var(--paramar-brown), var(--paramar-brown-soft));
  }

  body {
    padding-bottom: 78px;
  }

  #gli-spazi,
  #gallery,
  #servizi,
  #contatti {
    scroll-margin-top: 24px;
  }
}

/* Mobile fallback */
@media (max-width: 767px) {
  .visual-journey-section {
    overflow: hidden;
  }

  .visual-journey-pin {
    height: auto;
    min-height: unset;
    display: block;
    padding: 0 clamp(1rem, 5vw, 1.5rem) clamp(4rem, 12vw, 6rem);
    overflow: visible;
  }

  .visual-journey-track {
    width: 100%;
    overflow-x: auto;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    padding-bottom: 1.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .visual-journey-track::-webkit-scrollbar {
    display: none;
  }

  .journey-card,
  .journey-card-large,
  .journey-card-small,
  .journey-card-wide,
  .journey-card-tall,
  .journey-card-cta {
    width: 82vw;
    height: 460px;
    scroll-snap-align: start;
  }

  .journey-card-cta {
    padding: 2rem;
  }

  .journey-progress {
    display: none;
  }
}

.paramar-filter-gallery {
  --gallery-gap: clamp(0.8rem, 1.6vw, 1.35rem);
  --paramar-gallery-columns: 3;
  color: var(--paramar-ink, #2f2925);
}

.paramar-filter-gallery-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: clamp(1.2rem, 2.2vw, 2rem);
  justify-content: center;
}

.paramar-filter-gallery-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0.85rem 1.15rem;
    border: 1px solid rgba(136, 103, 97, 0.24);
    background: rgba(136, 103, 97, 0.1);
    color: #c9c9c9;
    cursor: pointer;
    font: inherit;
    font-size: 1.2rem;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    font-weight: 600;
}

.paramar-filter-gallery-button:focus-visible {
  outline: 3px solid rgba(251, 247, 239, 0.45);
  outline-offset: 3px;
}

.paramar-filter-gallery-button:hover,
.paramar-filter-gallery-button.is-active {
  border-color: var(--paramar-brown, #ffffff);
  background: var(--paramar-brown, #ffffff);
  color: var(--paramar-cream, #886761);
  box-shadow: 0 12px 26px rgba(136, 103, 97, 0.18);
}

.paramar-filter-gallery-button:hover {
  transform: translateY(-1px);
}

.paramar-filter-gallery-grid {
  display: grid;
  grid-template-columns: repeat(var(--paramar-gallery-columns), minmax(0, 1fr));
  grid-auto-rows: 8px;
  grid-auto-flow: dense;
  gap: var(--gallery-gap);
}

.paramar-filter-gallery-item {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: rgba(136, 103, 97, 0.08);
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
  grid-row-end: span var(--paramar-masonry-span, 32);
}

.paramar-filter-gallery-grid[data-masonry] .paramar-filter-gallery-item {
  aspect-ratio: auto;
}

.paramar-filter-gallery-item.is-hidden {
  display: none;
}

.paramar-filter-gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.paramar-filter-gallery-item:hover img {
  transform: scale(1.06);
}

.paramar-filter-gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem 1rem 1rem;
  background: linear-gradient(to top, rgba(47, 41, 37, 0.78), rgba(47, 41, 37, 0));
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.3;
}

.paramar-filter-gallery-empty {
  color: var(--paramar-muted, #82746c);
}
.rooms-video-story {
  position: relative;
  min-height: 420vh;
  background: #ffffff;
  color: #2f2925;
}

.rooms-video-story__inner {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  overflow: hidden;
  background: #ffffff;
}

.rooms-video-story__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 2.2rem;

  /* più simile agli uptitle del sito */
  font-size: clamp(0.95rem, 1.05vw, 1.12rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;

  color: rgba(47, 41, 37, 0.62);
}

.rooms-video-story__eyebrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  height: 1.15em;
  color: currentColor;
  opacity: 0.85;
}

.rooms-video-story__eyebrow-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rooms-video-story__location {
    margin: 0 0 0.85rem;
    line-height: 1.2;
    font-family: "Libre Bodoni";
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    letter-spacing: 0;
    color: rgba(136, 103, 97, 0.82);
    font-style: italic;
}

.rooms-video-story__texts {
  position: relative;
  min-height: 420px;
}

.rooms-video-story__text {
  position: absolute;
  inset: 0 auto auto 0;
  max-width: 720px;
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
}

.rooms-video-story__text.is-active {
  opacity: 1;
  transform: translateY(0);
}


.rooms-video-story__number {
  display: inline-block;
  margin-bottom: 1.45rem;
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: 0.8;
  letter-spacing: -0.08em;
  color: rgba(136, 103, 97, 0.14);
}


.rooms-video-story__text h2 {
  margin: 0;
  font-size: clamp(3.5rem, 8vw, 8.5rem);
  line-height: 0.82;
  letter-spacing: -0.07em;
  font-weight: 500;
  color: #8a6a64;
}

.rooms-video-story__text p:last-child {
  max-width: 560px;
  margin: 1.65rem 0 0;
  line-height: 1.55;
  font-weight: 400;
  color: rgba(47, 41, 37, 0.74);
}

.rooms-video-story__media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rooms-video-story__video-frame {
  position: relative;
  width: min(34vw, 390px);
  aspect-ratio: 9 / 16;
  background: #f7f7f7;
  overflow: hidden;
  box-shadow:
    0 34px 90px rgba(47, 41, 37, 0.16),
    0 0 0 1px rgba(136, 103, 97, 0.12);
}

.rooms-video-story__video-frame::before {
  content: "";
  position: absolute;
  inset: 1rem;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.rooms-video-story__badge {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 8;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.rooms-video-story__badge span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #8a6a64;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rooms-video-story__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transform: scale(1.08) translateY(48px);
  clip-path: inset(14% 8% 14% 8%);
  filter: saturate(0.95) contrast(0.96);
}

.rooms-video-story__video.is-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  clip-path: inset(0% 0% 0% 0%);
}

.rooms-video-story__mini-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.rooms-video-story__mini-list span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(47, 41, 37, 0.38);
}

.rooms-video-story__mini-list span.is-active {
  color: #8a6a64;
}

.rooms-video-story {
  position: relative;
  min-height: 420vh;
  background: #ffffff;
  color: #2f2925;
}

.rooms-video-story__inner {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  overflow: hidden;
  background: #ffffff;
}

.rooms-video-story__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 2.2rem;

  /* più simile agli uptitle del sito */
  font-size: clamp(0.95rem, 1.05vw, 1.12rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;

  color: rgba(47, 41, 37, 0.62);
}

.rooms-video-story__eyebrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  height: 1.15em;
  color: currentColor;
  opacity: 0.85;
}

.rooms-video-story__eyebrow-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rooms-video-story__texts {
  position: relative;
  min-height: 420px;
}

.rooms-video-story__text {
  position: absolute;
  inset: 0 auto auto 0;
  max-width: 720px;
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
}

.rooms-video-story__text.is-active {
  opacity: 1;
  transform: translateY(0);
}

.rooms-video-story__number {
  display: inline-block;
  margin-bottom: 1.45rem;
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: 0.8;
  letter-spacing: -0.08em;
  color: rgba(136, 103, 97, 0.14);
}


.rooms-video-story__text h2 {
  margin: 0;
  font-size: clamp(3.5rem, 8vw, 8.5rem);
  line-height: 0.82;
  letter-spacing: -0.07em;
  font-weight: 500;
  color: #8a6a64;
}

.rooms-video-story__text p:last-child {
  max-width: 560px;
  margin: 1.65rem 0 0;
  line-height: 1.55;
  font-weight: 400;
  color: rgba(47, 41, 37, 0.74);
}

.rooms-video-story__media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rooms-video-story__video-frame {
  position: relative;
  width: min(34vw, 390px);
  aspect-ratio: 9 / 16;
  background: #f7f7f7;
  overflow: hidden;
  box-shadow:
    0 34px 90px rgba(47, 41, 37, 0.16),
    0 0 0 1px rgba(136, 103, 97, 0.12);
}

.rooms-video-story__video-frame::before {
  content: "";
  position: absolute;
  inset: 1rem;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.rooms-video-story__badge {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 8;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.rooms-video-story__badge span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #8a6a64;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rooms-video-story__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transform: scale(1.08) translateY(48px);
  clip-path: inset(14% 8% 14% 8%);
  filter: saturate(0.95) contrast(0.96);
}

.rooms-video-story__video.is-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  clip-path: inset(0% 0% 0% 0%);
}

.rooms-video-story__mini-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.rooms-video-story__mini-list span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(47, 41, 37, 0.38);
}

.rooms-video-story__mini-list span.is-active {
  color: #8a6a64;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.rooms-video-story__room-logo {
  display: block;
  width: min(100%, 560px);
  max-height: 100px;
  object-fit: contain;
  object-position: left center;
  margin: 0.4rem 0 1.4rem;
}

@media (max-width: 991px) {
  .rooms-video-story__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 5rem 1.5rem;
  }

  .rooms-video-story__texts {
    min-height: 280px;
  }

  .rooms-video-story__video-frame {
    width: min(68vw, 360px);
  }
}

@media (max-width: 767px) {
  .rooms-video-story {
    min-height: auto;
  }

  .rooms-video-story__inner {
    position: relative;
    height: auto;
    display: block;
    padding: 4rem 1.25rem;
  }

  .rooms-video-story__texts {
    min-height: auto;
  }

  .rooms-video-story__text {
    position: relative;
    opacity: 1 !important;
    transform: none !important;
    margin-bottom: 2rem;
    pointer-events: auto;
  }

  .rooms-video-story__text:not(.is-active) {
    display: none;
  }

  .rooms-video-story__number {
    font-size: 4rem;
  }

  .rooms-video-story__text h2 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .rooms-video-story__video-frame {
    width: min(100%, 360px);
    margin: 0 auto;
  }

  .rooms-video-story__video {
    display: none;
  }

  .rooms-video-story__video.is-active {
    display: block;
  }
}

@media (max-width: 991px) {
  .rooms-video-story__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 5rem 1.5rem;
  }

  .rooms-video-story__texts {
    min-height: 280px;
  }

  .rooms-video-story__video-frame {
    width: min(68vw, 360px);
  }
}

@media (max-width: 767px) {
  .rooms-video-story {
    min-height: auto;
  }

  .rooms-video-story__inner {
    position: relative;
    height: auto;
    display: block;
    padding: 4rem 1.25rem;
  }

  .rooms-video-story__texts {
    min-height: auto;
  }

  .rooms-video-story__text {
    position: relative;
    opacity: 1 !important;
    transform: none !important;
    margin-bottom: 2rem;
    pointer-events: auto;
  }

  .rooms-video-story__text:not(.is-active) {
    display: none;
  }

  .rooms-video-story__number {
    font-size: 4rem;
  }

  .rooms-video-story__text h2 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .rooms-video-story__video-frame {
    width: min(100%, 360px);
    margin: 0 auto;
  }

  .rooms-video-story__video {
    display: none;
  }

  .rooms-video-story__video.is-active {
    display: block;
  }
}

@media (max-width: 991px) {
  .paramar-filter-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .paramar-filter-gallery-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .paramar-filter-gallery-button {
    width: 100%;
    min-width: 0;
    padding-inline: 0.8rem;
    font-size: 1.1rem;
  }

  .paramar-filter-gallery-controls .paramar-filter-gallery-button:first-child {
    grid-column: 1 / -1;
  }

  .paramar-filter-gallery-grid {
    grid-template-columns: 1fr;
  }
}

.paramar-gallery-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.paramar-gallery-buttons-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--paramar-brown, #886761);
  border-radius: 0;
  color: var(--paramar-brown-dark, #58423d);
  background: transparent;
  text-decoration: none;
  line-height: 1;
  letter-spacing: 0.08em;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.paramar-gallery-buttons-link:hover {
  transform: translateY(-1px);
}

.paramar-gallery-buttons-link-gallery {
  color: var(--paramar-cream, #fbf7ef);
  background: var(--paramar-brown, #886761);
}

.paramar-gallery-buttons-link-gallery:hover {
  color: var(--paramar-cream, #fbf7ef);
}

.rooms-video-story__text.is-active {
  pointer-events: auto;
  z-index: 3;
}

.rooms-video-story__text:not(.is-active) {
  z-index: 1;
}

.rooms-video-story__description {
  max-width: 560px;
  margin: 1.65rem 0 0;
  line-height: 1.55;
  color: rgba(47, 41, 37, 0.74);
}

.rooms-video-story__text .paramar-gallery-buttons {
  position: relative;
  z-index: 5;
  margin-top: 2.35rem;
  pointer-events: auto;
}

.rooms-video-story__mobile-video-frame {
  display: none;
}

.rooms-video-story {
  min-height: calc(var(--rooms-count, 4) * 105vh);
}

.rooms-video-story__mini-list [data-room-mini] {
  transition:
    color 0.25s ease,
    opacity 0.25s ease;
}

@media (max-width: 767px) {
  .rooms-video-story {
    min-height: auto !important;
    overflow-x: clip;
  }

  .rooms-video-story__inner {
    position: relative !important;
    min-height: 0 !important;
    height: auto !important;
    display: block !important;
    padding: 4.75rem 0 !important;
    overflow: visible !important;
  }

  .rooms-video-story__texts {
    width: 100%;
    min-height: 0 !important;
    display: grid;
    gap: 6.5rem;
  }

  .rooms-video-story__text {
    position: relative !important;
    inset: auto !important;
    max-width: 100%;
    padding-inline: 1.25rem;
    margin-bottom: 0 !important;
    opacity: 1;
    transform: none !important;
    display: block !important;
    pointer-events: auto !important;
    will-change: opacity, transform;
    overflow-x: clip;
  }

  .rooms-video-story__text + .rooms-video-story__text::before {
    content: "";
    display: block;
    width: 1px;
    height: 72px;
    margin: 0 auto 3.2rem;
    background: linear-gradient(
      to bottom,
      rgba(136, 103, 97, 0),
      rgba(136, 103, 97, 0.42),
      rgba(136, 103, 97, 0)
    );
  }

  .rooms-video-story__text:not(.is-active) {
    display: block !important;
  }

  .rooms-video-story__number {
    margin-bottom: 0.9rem;
    font-size: clamp(3.6rem, 19vw, 5.8rem);
  }

  .rooms-video-story__location {
    margin-bottom: 0.65rem;
  }

  .rooms-video-story__room-logo {
    width: min(100%, 430px);
    max-height: 72px;
    margin-bottom: 1.15rem;
  }

  .rooms-video-story__description {
    margin-top: 0;
    line-height: 1.58;
  }

  .rooms-video-story__text .paramar-gallery-buttons {
    margin-top: 1.25rem;
  }

  .rooms-video-story__media {
    display: none !important;
  }

  .rooms-video-story__mobile-video-frame {
    position: relative;
    display: block;
    width: min(100%, calc(100svw - 2.5rem));
    max-width: 520px;
    aspect-ratio: 9 / 16;
    margin: 2rem auto 0;
    transform: none;
    overflow: hidden;
    background: #f7f7f7;
    box-shadow:
      0 24px 58px rgba(47, 41, 37, 0.13),
      0 0 0 1px rgba(136, 103, 97, 0.12);
    will-change: opacity, transform, clip-path;
  }

  .rooms-video-story__mobile-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }
}

.paramar-whatsapp-button {
  position: fixed;
  right: clamp(1rem, 2vw, 1.5rem);
  bottom: clamp(1rem, 2vw, 1.5rem);
  z-index: 10000;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #25d366;
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}

.paramar-whatsapp-button:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(37, 211, 102, 0.45);
}

.paramar-whatsapp-button svg {
  width: 31px;
  height: 31px;
  display: block;
  fill: currentColor;
}

@media (max-width: 767px) {
  .paramar-whatsapp-button {
    right: 1rem;
    bottom: 5.5rem;
    width: 54px;
    height: 54px;
  }
}
