/* Cal Premset · full d'estils
   Colors i tipografia heretats de la web original:
   taupe #8F7B6D (barra i botons), gris pedra #EBEBEB (panells i peu), text #242323.
   Cinzel = la lletra del logotip; Jost = substitut lliure de Brandon Grotesque. */

@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/cinzel-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/cinzel-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/jost-latin-wght-normal.woff2") format("woff2"); }

:root {
  --taupe: #8F7B6D;
  --taupe-deep: #6B5A4E;
  --taupe-tint: #F3F0ED;
  --ink: #242323;
  --muted: #66615D;
  --stone: #EBEBEB;
  --line: #DAD4CE;
  --paper: #FFFFFF;

  --serif: "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: "Jost", "Brandon Grotesque", "Futura", system-ui, sans-serif;

  --bar: 72px;
  --gutter: clamp(16px, 4vw, 48px);
  --wrap: 1200px;
  --measure: 62ch;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 350;
  font-size: clamp(16px, 1rem + .15vw, 18px);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
strong { font-weight: 500; }

:focus-visible { outline: 2px solid var(--taupe); outline-offset: 3px; }
.on-dark :focus-visible, .site-header :focus-visible { outline-color: #fff; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ------------------------------------------------------------ type */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; letter-spacing: .01em; }
.h-display { font-size: clamp(2.6rem, 1.6rem + 5vw, 6rem); line-height: 1; }
.h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 4rem); }
.h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem); }
.h3 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); }
.lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); line-height: 1.6; font-weight: 300; max-width: 40ch; }
.prose { max-width: var(--measure); }
.muted { color: var(--muted); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--stone { background: var(--stone); }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 28px;
  background: var(--taupe); color: #fff; border: 1px solid var(--taupe);
  text-decoration: none; font-weight: 400; letter-spacing: .04em;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  cursor: pointer;
}
.btn:hover { background: var(--taupe-deep); border-color: var(--taupe-deep); }
.btn--ghost { background: transparent; color: var(--taupe-deep); }
.btn--ghost:hover { background: var(--taupe); color: #fff; }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.link {
  color: var(--taupe-deep); text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: .25em; text-decoration-color: rgba(107, 90, 78, .45);
  transition: text-decoration-color .2s;
}
.link:hover { text-decoration-color: currentColor; }

/* ------------------------------------------------------------ header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--bar);
  background: var(--taupe); color: #fff;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 24px; width: min(100% - 2 * var(--gutter), 1360px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: none; }
.brand img { width: 30px; height: auto; }
.brand span { font-family: var(--serif); font-size: 1.15rem; letter-spacing: .04em; white-space: nowrap; }

.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 1.6vw, 30px); }
.nav a {
  position: relative; text-decoration: none; text-transform: uppercase;
  font-size: .78rem; letter-spacing: .14em; font-weight: 400; padding: 6px 0; opacity: .88;
}
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.lang { display: flex; gap: 2px; font-size: .74rem; letter-spacing: .12em; }
.lang a { text-decoration: none; padding: 6px 7px; opacity: .65; }
.lang a:hover { opacity: 1; }
.lang a[aria-current="true"] { opacity: 1; border-bottom: 1px solid currentColor; }

.header-cta { min-height: 40px; padding: 0 18px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }

.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  position: absolute; left: 11px; width: 22px; height: 1.5px; background: #fff; content: "";
  transition: transform .3s var(--ease), opacity .2s;
}
.menu-btn span { top: 21px; }
.menu-btn span::before { left: 0; top: -7px; }
.menu-btn span::after { left: 0; top: 7px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }

/* transparent header over the home hero */
.is-home .site-header:not(.is-solid) { background: transparent; }
.is-home .site-header:not(.is-solid) .brand { opacity: 0; pointer-events: none; }
.site-header .brand { transition: opacity .35s var(--ease); }
.is-solid { box-shadow: 0 1px 0 rgba(0,0,0,.06); }

@media (max-width: 1080px) {
  .nav, .site-header .lang, .header-cta { display: none; }
  .menu-btn { display: block; }
}

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 49; background: var(--taupe); color: #fff;
  padding: calc(var(--bar) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 32px; overflow-y: auto;
  visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility 0s .3s;
}
.menu-open .drawer { visibility: visible; opacity: 1; transition: opacity .3s var(--ease); }
.menu-open .site-header { background: var(--taupe); }
.menu-open .site-header .brand { opacity: 1; pointer-events: auto; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li a {
  display: block; text-decoration: none; font-family: var(--serif);
  font-size: clamp(1.6rem, 6vw, 2.2rem); padding: 6px 0; line-height: 1.3;
}
.drawer li a[aria-current="page"] { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.drawer .lang { font-size: .9rem; }
.drawer .drawer-contact { margin-top: auto; font-size: .95rem; line-height: 1.9; opacity: .9; }
.drawer .drawer-contact a { text-decoration: none; }
.no-scroll { overflow: hidden; }

/* ------------------------------------------------------------ slider (crossfade) */
.slider { position: relative; overflow: hidden; background: #3a332e; }
.slider .slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease);
}
.slider .slide.is-active { opacity: 1; }
.slider .slide img { width: 100%; height: 100%; object-fit: cover; }
.slider .slide.is-active img { animation: drift 9s linear both; }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
.slider-dots {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 28px; display: flex; gap: 6px;
}
.slider-dots button {
  width: 34px; height: 30px; border: 0; background: none; cursor: pointer; padding: 0; position: relative;
}
.slider-dots button::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(255,255,255,.45);
}
.slider-dots button[aria-current="true"]::before { background: #fff; }
.slider-arrows { position: absolute; z-index: 3; left: var(--gutter); bottom: 22px; display: flex; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.55); color: #fff;
  transition: background-color .2s;
}
.icon-btn:hover { background: rgba(255,255,255,.28); }
.icon-btn svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------ home hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; color: #fff; }
.hero .slider { position: absolute; inset: 0; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 50% 48%, rgba(36,35,35,.42) 0%, rgba(36,35,35,0) 100%),
    linear-gradient(180deg, rgba(36,35,35,.55) 0%, rgba(36,35,35,0) 28%),
    linear-gradient(0deg, rgba(36,35,35,.6) 0%, rgba(36,35,35,.08) 55%);
}
.hero-inner {
  position: absolute; z-index: 2; inset: 0; display: grid; place-content: center; justify-items: center;
  text-align: center; padding: var(--bar) var(--gutter) 96px;
}
.hero-leaf { width: clamp(56px, 7vw, 92px); margin-bottom: 18px; }
.hero h1 { letter-spacing: .03em; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-tag { margin-top: 18px; font-size: clamp(1rem, .9rem + .4vw, 1.25rem); font-weight: 300; letter-spacing: .06em; }
.hero-place { margin-top: 2px; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.hero-actions { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.hero .anim { opacity: 0; transform: translateY(14px); animation: rise 1.1s var(--ease) forwards; }
.hero .anim-1 { animation-delay: .15s; }
.hero .anim-2 { animation-delay: .45s; }
.hero .anim-3 { animation-delay: .8s; }
.hero .anim-4 { animation-delay: 1.1s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ inner page hero */
.page-hero { position: relative; height: clamp(380px, 68vh, 760px); margin-top: var(--bar); color: #fff; }
.page-hero .slider { position: absolute; inset: 0; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(36,35,35,.62) 0%, rgba(36,35,35,0) 55%);
}
.page-hero .wrap { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(72px, 9vw, 104px); }
.page-hero h1 { text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.page-hero .slider-dots { bottom: 24px; }
.page-head { padding-top: calc(var(--bar) + clamp(56px, 8vw, 112px)); padding-bottom: clamp(24px, 4vw, 48px); }

.intro-row { display: grid; gap: clamp(24px, 4vw, 64px); grid-template-columns: 1fr; }
@media (min-width: 900px) { .intro-row { grid-template-columns: 5fr 7fr; align-items: start; } }

/* ------------------------------------------------------------ home blocks */
.welcome { display: grid; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) { .welcome { grid-template-columns: 6fr 5fr; } }
.welcome h2 { margin-bottom: 28px; max-width: 20ch; }
.welcome-img { position: relative; }
.welcome-img img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.welcome-img .leaf-mark {
  position: absolute; width: 84px; right: -20px; bottom: -28px; opacity: .95;
  background: #fff; padding: 14px 16px;
}
@media (max-width: 899px) { .welcome-img .leaf-mark { right: 12px; } }

.facts {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line);
}
@media (min-width: 640px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts li { padding: 18px 12px 0 0; }
.facts b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.9rem; color: var(--taupe-deep); line-height: 1.1; }
.facts span { font-size: .92rem; color: var(--muted); }

.panels-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.panels-head h2 { max-width: 22ch; }
.panels { display: grid; gap: clamp(16px, 2vw, 28px); }
@media (min-width: 820px) { .panels { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.panel { position: relative; display: block; text-decoration: none; color: #fff; overflow: hidden; background: #3a332e; }
.panel img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1.2s var(--ease), opacity .4s; }
.panel:hover img { transform: scale(1.04); }
.panel-text {
  position: absolute; inset: auto 0 0 0; padding: 26px 24px 24px;
  background: linear-gradient(0deg, rgba(36,35,35,.82) 0%, rgba(36,35,35,0) 100%);
}
.panel h3 { font-size: 1.7rem; margin-bottom: 8px; }
.panel p { margin: 0; font-size: .98rem; line-height: 1.55; opacity: .92; max-width: 34ch; }
@media (min-width: 820px) {
  .panel:nth-child(2) { margin-top: 56px; }
}

.cta-band { background: var(--taupe); color: #fff; }
.cta-band .wrap { display: grid; gap: 28px; align-items: center; }
@media (min-width: 820px) { .cta-band .wrap { grid-template-columns: 1fr auto; } }
.cta-band p { margin: 10px 0 0; opacity: .9; max-width: 52ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ------------------------------------------------------------ history */
.story { display: grid; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 960px) { .story { grid-template-columns: 7fr 5fr; } }
.story .lead { max-width: none; margin-bottom: 1.4em; }
.story-quote {
  margin: 0; padding: 0 0 0 24px; border-left: 2px solid var(--taupe);
  font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); line-height: 1.35; color: var(--taupe-deep);
  align-self: start; position: sticky; top: calc(var(--bar) + 40px);
}
.mosaic { display: grid; gap: 12px; grid-template-columns: repeat(6, 1fr); margin-top: clamp(48px, 6vw, 88px); }
.mosaic button { padding: 0; border: 0; cursor: zoom-in; background: none; display: block; overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaic button:hover img { transform: scale(1.03); }
.mosaic .m1 { grid-column: span 4; aspect-ratio: 16 / 10; }
.mosaic .m2 { grid-column: span 2; }
.mosaic .m3, .mosaic .m4, .mosaic .m5 { grid-column: span 2; aspect-ratio: 4 / 3; }
@media (max-width: 700px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .mosaic .m1 { grid-column: span 2; }
  .mosaic .m2, .mosaic .m3, .mosaic .m4, .mosaic .m5 { grid-column: span 1; aspect-ratio: 1; }
  .mosaic .m5 { display: none; }
}

/* ------------------------------------------------------------ la casa (section-cut) */
.house { display: grid; gap: clamp(24px, 4vw, 72px); grid-template-columns: minmax(0, 1fr); }
.house > * { min-width: 0; }
.room-title h3 { min-width: 0; }
@media (min-width: 1000px) { .house { grid-template-columns: 230px minmax(0, 1fr); } }

.section-cut { position: sticky; top: calc(var(--bar) + 32px); align-self: start; }
.section-cut .cut-label { font-size: .85rem; color: var(--muted); margin: 0 0 14px; }
.section-cut .roof { width: 100%; height: 34px; display: block; color: var(--taupe); }
.section-cut ol { list-style: none; margin: 0; padding: 0; border: 1.5px solid var(--taupe); border-top: 0; }
.section-cut li + li { border-top: 1px solid var(--line); }
.section-cut a {
  display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 8px;
  min-height: 52px; padding: 6px 14px; text-decoration: none; color: var(--ink); font-size: .95rem;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.section-cut a b { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--taupe); transition: color .3s; }
.section-cut a:hover { background: var(--taupe-tint); }
.section-cut a.is-current { background: var(--taupe); color: #fff; }
.section-cut a.is-current b { color: #fff; }
.section-cut .ground { height: 8px; background: repeating-linear-gradient(-45deg, var(--taupe) 0 1.5px, transparent 1.5px 7px); margin-top: 0; }

@media (max-width: 999px) {
  .section-cut { top: var(--bar); z-index: 10; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); margin-inline: calc(-1 * var(--gutter)); padding: 8px var(--gutter); border-bottom: 1px solid var(--line); }
  .section-cut .cut-label, .section-cut .roof, .section-cut .ground { display: none; }
  .section-cut ol { display: flex; flex-direction: row-reverse; justify-content: flex-end; border: 0; overflow-x: auto; gap: 6px; scrollbar-width: none; }
  .section-cut ol::-webkit-scrollbar { display: none; }
  .section-cut li + li { border-top: 0; }
  .section-cut a { min-height: 40px; grid-template-columns: auto auto; padding: 4px 12px; border: 1px solid var(--line); white-space: nowrap; font-size: .88rem; }
}

.floor { padding-bottom: clamp(56px, 7vw, 104px); }
.floor + .floor { border-top: 1px solid var(--line); padding-top: clamp(40px, 5vw, 72px); }
.floor-head { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; align-items: baseline; margin-bottom: 28px; }
.floor-num { font-family: var(--serif); font-size: clamp(3.4rem, 2.6rem + 3vw, 5.6rem); line-height: .85; color: var(--taupe); grid-row: span 2; }
.floor-head p { margin: 0; color: var(--muted); max-width: 52ch; }
.room { margin-top: 32px; }
.room-title { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.room-title .count { font-size: .85rem; color: var(--muted); white-space: nowrap; }

.strip { position: relative; }
.strip-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(78%, 1fr); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.strip-track::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .strip-track { grid-auto-columns: calc((100% - 12px) / 1.6); } }
.strip-track button { scroll-snap-align: start; padding: 0; border: 0; background: var(--stone); cursor: zoom-in; overflow: hidden; }
.strip-track img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s var(--ease); }
.strip-track button:hover img { transform: scale(1.03); }
.strip-nav { position: absolute; top: 50%; left: 12px; right: 12px; display: flex; justify-content: space-between; pointer-events: none; transform: translateY(-50%); }
.strip-nav .icon-btn { pointer-events: auto; background: rgba(36,35,35,.35); backdrop-filter: blur(4px); }
.strip-nav .icon-btn[disabled] { opacity: 0; pointer-events: none; }
@media (hover: none) { .strip-nav { display: none; } }

/* ------------------------------------------------------------ services */
.services { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(3, 1fr); } }
.services li {
  display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start;
  padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line);
}
.services svg { width: 52px; height: 52px; color: var(--taupe); }
.services h3 { font-family: var(--sans); font-weight: 400; font-size: 1.08rem; line-height: 1.4; letter-spacing: 0; margin: 4px 0 2px; }
.services p { margin: 0; font-size: .95rem; color: var(--muted); line-height: 1.5; }

/* ------------------------------------------------------------ entorn */
.env-group + .env-group { margin-top: clamp(64px, 8vw, 112px); }
.env-group > h2 { margin-bottom: clamp(24px, 3vw, 40px); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.acts { display: grid; gap: clamp(36px, 4vw, 56px) clamp(20px, 3vw, 40px); }
@media (min-width: 680px) { .acts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .acts { grid-template-columns: repeat(3, 1fr); } }
.act button { display: block; width: 100%; padding: 0; border: 0; background: var(--stone); cursor: zoom-in; overflow: hidden; margin-bottom: 18px; }
.act img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.act button:hover img { transform: scale(1.03); }
.act h3 { margin-bottom: 10px; }
.act p { font-size: .98rem; line-height: 1.65; color: #3d3a38; }
@media (min-width: 680px) { .act--wide { grid-column: span 2; } .act--wide img { aspect-ratio: 16 / 9; } }
@media (min-width: 680px) and (max-width: 1039px) { .act--wide img { aspect-ratio: 4 / 3; } }

/* ------------------------------------------------------------ reserves */
.book { display: grid; gap: clamp(24px, 3vw, 40px); }
@media (min-width: 960px) { .book { grid-template-columns: 5fr 7fr; } }
.price-card { background: var(--stone); padding: clamp(28px, 4vw, 48px); }
.price-card .label { margin: 0 0 4px; color: var(--muted); }
.price { font-family: var(--serif); font-size: clamp(3.4rem, 2.6rem + 3vw, 5rem); line-height: 1; color: var(--ink); }
.price small { font-family: var(--sans); font-size: 1rem; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.min-nights { display: inline-block; margin: 20px 0 16px; padding: 6px 14px; border: 1px solid var(--taupe); color: var(--taupe-deep); font-size: .92rem; }
.price-card .note { font-size: .92rem; color: var(--muted); margin: 0; }
.avail { border: 1px solid var(--line); padding: clamp(28px, 4vw, 48px); display: grid; gap: 18px; align-content: start; }
.avail .how { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.avail .how a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; padding: 6px 0; }
.avail .how a:hover span { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.avail .how svg { width: 22px; height: 22px; color: var(--taupe); }
.avail .sync { margin: 0; font-size: .9rem; }

/* dates assenyalades: same colours as the 2025 calendar */
:root { --c3: #F7E3CC; --c4: #DCE8CF; --c5: #F4EBB3; --c6: #DEDAEE; --ce: #EECFDD; }
.c-min3 { background: var(--c3); } .c-min4 { background: var(--c4); } .c-min5 { background: var(--c5); }
.c-min6 { background: var(--c6); } .c-energy { background: var(--ce); }
.dates-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; margin-bottom: 28px; }
.dates-head .prose { margin: 12px 0 0; max-width: 60ch; }
.year-tabs { display: inline-flex; border: 1px solid var(--taupe); }
.year-tabs button { border: 0; background: transparent; padding: 10px 22px; cursor: pointer; font-family: var(--serif); font-size: 1.1rem; color: var(--taupe-deep); min-height: 44px; }
.year-tabs button[aria-selected="true"] { background: var(--taupe); color: #fff; }
.legend { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.sw { display: inline-block; width: 18px; height: 18px; flex: none; }
.sw-def { background: #fff; border: 1px solid var(--line); }
.dates-body { display: grid; gap: clamp(24px, 3vw, 40px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .dates-body { grid-template-columns: minmax(0, 1fr) 300px; } }
.year-panel { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.year-panel[hidden] { display: none; }
.month { background: var(--paper); padding: 16px 16px 18px; }
.month h4 { font-family: var(--serif); font-weight: 500; font-size: 1rem; margin: 0 0 10px; color: var(--ink); }
.mgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px 0; font-size: .85rem; font-variant-numeric: tabular-nums; text-align: center; }
.mgrid .wd { font-size: .72rem; color: var(--muted); padding-bottom: 4px; }
.mgrid .d { padding: 4px 0; line-height: 1.5; }
.mgrid .d[class*="c-"] { cursor: help; }
.mgrid .d.is-past { opacity: .35; }
.mgrid .d.is-today { outline: 1.5px solid var(--taupe-deep); outline-offset: -1.5px; font-weight: 500; }
.upcoming { align-self: start; background: var(--paper); padding: 22px 22px 10px; position: sticky; top: calc(var(--bar) + 24px); }
.upcoming h3 { margin-bottom: 10px; }
.upcoming ul { list-style: none; margin: 0; padding: 0; }
.upcoming li { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-size: .92rem; font-variant-numeric: tabular-nums; }
.upcoming li[hidden] { display: none; }
.upcoming .u-min { font-size: .85rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 1099px) { .upcoming { position: static; } }
.conds { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .conds { grid-template-columns: repeat(2, 1fr); gap: 0 40px; } }
.conds div { padding: 24px 0; border-bottom: 1px solid var(--line); }
.conds h3 { font-family: var(--sans); font-weight: 500; font-size: 1.02rem; letter-spacing: 0; margin-bottom: 6px; }
.conds p { margin: 0; color: #3d3a38; }

/* ------------------------------------------------------------ contacte */
.contact { display: grid; gap: clamp(40px, 6vw, 96px); }
@media (min-width: 960px) { .contact { grid-template-columns: 7fr 4fr; } }
.form { display: grid; gap: 22px; }
.form .row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: .9rem; margin-bottom: 6px; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-weight: 350; color: var(--ink);
  border: 0; border-bottom: 1px solid #bdb5ae; background: transparent; padding: 10px 0; border-radius: 0;
  transition: border-color .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--taupe); padding-bottom: 9px; }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #a33a2b; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--taupe); flex: none; }
.check.is-invalid { color: #a33a2b; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }
.form-status { margin: 0; min-height: 1.5em; font-size: .95rem; }
.form-status.ok { color: var(--taupe-deep); }
.form-status.err { color: #a33a2b; }
.cards { display: grid; gap: 0; align-content: start; border-top: 1px solid var(--line); }
.cards a, .cards div { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.cards svg { width: 24px; height: 24px; color: var(--taupe); margin-top: 3px; }
.cards small { display: block; color: var(--muted); font-size: .85rem; }
.cards a:hover strong { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }

/* ------------------------------------------------------------ privacy */
.legal h2 { font-size: 1.3rem; margin: 2.2em 0 .6em; }
.legal ol { padding-left: 0; list-style: none; counter-reset: s; max-width: var(--measure); }
.legal li { counter-increment: s; }
.legal li h2::before { content: counter(s) ". "; color: var(--taupe); }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--stone); color: var(--ink); padding-block: clamp(48px, 6vw, 80px) 28px; font-size: .95rem; }
.foot-grid { display: grid; gap: 36px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 4fr 3fr 3fr 2fr; } }
.foot-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: 14px; }
.foot-brand img { width: 34px; }
.foot-brand span { font-family: var(--serif); font-size: 1.35rem; }
.site-footer h2 { font-family: var(--sans); font-size: .95rem; font-weight: 500; letter-spacing: 0; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; line-height: 2; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #c9c2bb; border-radius: 50%; }
.social a:hover { background: var(--taupe); border-color: var(--taupe); color: #fff; text-decoration: none; }
.social svg { width: 18px; height: 18px; }
.foot-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid #d6d0ca; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--muted); font-size: .85rem; }
.site-footer .lang { font-size: .85rem; }
.site-footer .lang a { opacity: .7; }
.site-footer .lang a[aria-current="true"] { opacity: 1; }

/* ------------------------------------------------------------ lightbox */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(24, 22, 21, .96); color: #fff;
}
.lightbox::backdrop { background: rgba(24, 22, 21, .96); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter); font-size: .9rem; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 var(--gutter); }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; }
.lb-bottom { display: flex; justify-content: center; gap: 12px; padding: 16px; }
.lb-caption { opacity: .8; }

/* ------------------------------------------------------------ reveal (one moment only: images on the home page) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero .anim { opacity: 1; transform: none; }
}

@media (max-width: 1099px) { .upcoming { order: -1; } .upcoming ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); column-gap: 24px; } }
@media (max-width: 560px) {
  .year-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .month { padding: 10px 6px 12px; }
  .month h4 { font-size: .85rem; margin-bottom: 6px; }
  .mgrid { font-size: .72rem; }
  .mgrid .wd { font-size: .62rem; }
  .mgrid .d { padding: 2px 0; }
}
