/* ============================================
   Escapa't Empordà — brand umbrella site
   Editorial boutique, warm cream + terracotta
   ============================================ */

:root {
  /* Light theme */
  --bg: #FBF6EA;
  --bg-alt: #F4ECDC;
  --bg-deep: #EBDFC5;
  --bg-card: #FFFDF6;
  --ink: #2A1E12;
  --ink-soft: #5A4632;
  --ink-mute: #8A7358;
  --line: #D9C9A8;
  --line-soft: #E8DCC0;
  --accent: #B8694A;          /* terracotta — house lead */
  --accent-deep: #8F4F37;
  --olive: #6B7A4F;            /* logo olive */
  --olive-deep: #4F5C3A;
  --stone: #A89878;

  /* per-house tones */
  --ametller: #6B7A4F;
  --canjoan: #B8694A;
  --loft: #3D3128;
  --lheura: #9C8A6E;

  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --sans: 'Inter', -apple-system, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius: 2px;
  --page-max: 1440px;
  --page-pad: 40px;
}

[data-theme="dark"] {
  --bg: #18120B;
  --bg-alt: #20180F;
  --bg-deep: #2A1F14;
  --bg-card: #241A11;
  --ink: #F4ECDC;
  --ink-soft: #D6C3A3;
  --ink-mute: #9B866A;
  --line: #3C2C1E;
  --line-soft: #2D2114;
  --accent: #D4825E;
  --accent-deep: #B8694A;
  --olive: #9DAD7F;
  --olive-deep: #7E8E61;
  --stone: #6E6048;

  --ametller: #9DAD7F;
  --canjoan: #D4825E;
  --loft: #C9B89A;
  --lheura: #C4B59A;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .4s ease, color .4s ease;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 5.5rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.1; }
h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.2; }
h4 { font-size: 1.05rem; line-height: 1.3; }

p { text-wrap: pretty; color: var(--ink-soft); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

::selection { background: var(--accent); color: var(--bg); }

/* ============= NAV ============= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.nav-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 18px var(--page-pad);
  gap: 40px;
}
.nav-brand {
  display: flex; align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.nav-brand .sprig {
  width: 26px; height: 32px;
  color: var(--ink);
}
.nav-brand .wordmark {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--ink);
  font-style: italic;
  white-space: nowrap;
  font-weight: 500;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  justify-content: center;
}
.nav-links li { white-space: nowrap; }
.nav-links a { position: relative; padding: 6px 0; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--accent);
}
.nav-right {
  display: flex; justify-content: flex-end; align-items: center; gap: 16px;
}

.lang-switch {
  display: flex; gap: 0;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-family: var(--mono);
}
.lang-switch button {
  background: none; border: none; cursor: pointer;
  padding: 4px 6px; color: inherit;
  letter-spacing: inherit;
  transition: color .2s;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.active { color: var(--accent); }
.lang-switch .sep { color: var(--line); user-select: none; padding: 0 2px; align-self: center; }

.theme-toggle {
  background: none;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  width: 34px; height: 34px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .2s;
  border-radius: 50%;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle svg { width: 14px; height: 14px; }

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ============= LAYOUT ============= */
.container {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

section { padding: 110px 0; }
section.tight { padding: 60px 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 400;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow.no-rule::before { display: none; }

.rule {
  width: 40px; height: 1px;
  background: var(--accent);
  margin: 24px 0;
}

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: all .3s ease;
  font-family: var(--sans);
  font-weight: 500;
  border-radius: var(--radius);
}
.btn:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
}
.btn.ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.light {
  background: transparent;
  color: #FBF6EA;
  border-color: rgba(251,246,234,.5);
}
.btn.light:hover { background: #FBF6EA; color: var(--ink); border-color: #FBF6EA; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid var(--accent);
  padding-bottom: 4px; transition: color .2s, gap .2s;
  font-weight: 500;
}
.text-link:hover { color: var(--accent); gap: 12px; }
.text-link svg { width: 12px; height: 12px; }

/* ============= PLACEHOLDER ============= */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(
      45deg,
      var(--bg-deep),
      var(--bg-deep) 10px,
      var(--bg-alt) 10px,
      var(--bg-alt) 20px
    );
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
  overflow: hidden;
}
.ph span { background: var(--bg); padding: 6px 10px; border: 1px solid var(--line); }

/* ============= HERO ============= */
.hero {
  position: relative;
  height: calc(100vh - 75px);
  min-height: 640px;
  max-height: 880px;
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,19,12,.18) 0%, rgba(26,19,12,.05) 30%, rgba(26,19,12,.65) 100%);
}
.hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 100px var(--page-pad) 80px;
  color: #FBF6EA;
  max-width: var(--page-max);
  margin: 0 auto;
}
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #E6C8A8;
  margin-bottom: 28px;
  display: inline-flex; align-items: center; gap: 14px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; width: 28px; height: 1px; background: #E6C8A8; opacity: .6;
}
.hero h1.brand-title {
  color: #FBF6EA;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 1100px;
}
.hero h1.brand-title .amp {
  font-style: italic;
  color: #E6C8A8;
  font-weight: 300;
}
.hero-sub {
  margin-top: 36px;
  display: flex; flex-wrap: wrap;
  gap: 36px 56px;
  align-items: flex-end;
  justify-content: space-between;
}
.hero-sub p {
  color: #F4ECDC;
  font-size: 16px;
  line-height: 1.65;
  max-width: 480px;
  font-weight: 300;
}
.hero-locations {
  display: flex; gap: 36px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #E6C8A8;
}
.hero-locations div { display: flex; flex-direction: column; gap: 4px; }
.hero-locations strong {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0;
  text-transform: none;
  color: #FBF6EA;
  font-weight: 400;
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%; transform: translateX(-50%);
  color: #FBF6EA;
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: .65;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--mono);
}
.hero-scroll::after {
  content: '';
  width: 1px; height: 36px;
  background: currentColor;
  animation: pulse-line 2.4s ease-in-out infinite;
}
@keyframes pulse-line {
  0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============= INTRO ============= */
.intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: center;
}
.intro-text h2 {
  font-style: italic;
  font-weight: 300;
  margin-top: 24px;
}
.intro-text p {
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.75;
  max-width: 56ch;
}
.intro-text p + p { margin-top: 18px; }
.intro-img-wrap {
  aspect-ratio: 4/5;
  background: var(--bg-deep);
  overflow: hidden;
  position: relative;
}
.intro-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.intro-stamp {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  background: var(--bg);
  padding: 16px 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-left: 2px solid var(--accent);
}

/* ============= SECTION HEADER ============= */
.section-head {
  display: flex; flex-direction: column;
  gap: 18px;
  margin-bottom: 80px;
  max-width: 720px;
}
.section-head.center { margin-left: auto; margin-right: auto; align-items: center; text-align: center; }
.section-head.row {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 100%;
  gap: 60px;
}
.section-head h2 {
  font-style: italic;
  font-weight: 300;
}
.section-head p {
  font-size: 16px;
  line-height: 1.7;
  max-width: 56ch;
}

/* ============= HOUSES (editorial alternating) ============= */
.houses-bg {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.house-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 90px 0;
  border-bottom: 1px solid var(--line-soft);
}
.house-row:last-child { border-bottom: none; }
.house-row.flip { grid-template-columns: 1fr 1.15fr; }
.house-row.flip .house-img-block { order: 2; }
.house-row.flip .house-text { order: 1; }

.house-img-block {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-deep);
}
.house-img-block img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.house-row:hover .house-img-block img { transform: scale(1.04); }
.house-img-block .house-tag {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--bg);
  padding: 8px 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: 10px;
}
.house-img-block .house-tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--house-color, var(--accent));
}
.house-img-block .house-num {
  position: absolute;
  bottom: 0; right: 0;
  background: var(--bg);
  padding: 14px 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.house-text {
  display: flex; flex-direction: column;
  gap: 22px;
}
.house-text .house-place {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--house-color, var(--accent));
  display: inline-flex; align-items: center; gap: 10px;
}
.house-text .house-place::before {
  content: ''; width: 20px; height: 1px;
  background: currentColor;
}
.house-text h3 {
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.house-text > p {
  font-size: 16px;
  line-height: 1.75;
  max-width: 50ch;
  color: var(--ink-soft);
}

.house-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 24px;
}
.house-stats div {
  padding: 28px 0;
  border-right: 1px solid var(--line-soft);
}
.house-stats div:last-child { border-right: none; }
.house-stats .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--ink);
  line-height: 1;
  display: block;
}
.house-stats .lbl {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 6px;
  display: block;
}

.house-actions {
  display: flex;
  gap: 24px;
  margin-top: 12px;
  flex-wrap: wrap;
}

/* ============= QUOTE / TESTIMONIALS ============= */
.testimonials-bg { background: var(--bg); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.testimonial {
  padding: 50px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column;
  gap: 24px;
}
.testimonial:nth-child(3n) { border-right: none; }
.testimonial .stars {
  display: flex; gap: 4px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 4px;
}
.testimonial blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 300;
  flex: 1;
}
.testimonial blockquote::before {
  content: '"';
  font-size: 48px;
  line-height: 0;
  vertical-align: -10px;
  color: var(--accent);
  margin-right: 4px;
}
.testimonial cite {
  display: block;
  font-style: normal;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.testimonial cite strong {
  color: var(--ink);
  font-weight: 500;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 4px;
  text-transform: none;
}

/* ============= EMPORDA / EXPLORE ============= */
.emporda-bg {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}
.emporda-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 280px;
  gap: 4px;
}
.emporda-cell {
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
}
.emporda-cell .ph { width: 100%; height: 100%; }
.emporda-cell .label {
  position: absolute;
  bottom: 16px; left: 16px;
  background: var(--bg);
  padding: 8px 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.emporda-cell .title-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26,19,12,.7));
  display: flex; align-items: flex-end;
  padding: 24px;
  color: #FBF6EA;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  pointer-events: none;
}
.emporda-cell.span-6 { grid-column: span 6; }
.emporda-cell.span-4 { grid-column: span 4; }
.emporda-cell.span-3 { grid-column: span 3; }
.emporda-cell.span-5 { grid-column: span 5; }
.emporda-cell.span-7 { grid-column: span 7; }
.emporda-cell.row-span-2 { grid-row: span 2; }

/* ============= CTA / FOOTER PRELUDE ============= */
.cta-bg {
  background: #2A1E12;
  color: #FBF6EA;
  position: relative;
  overflow: hidden;
}
.cta-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(184,105,74,.15), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(107,122,79,.12), transparent 50%);
  pointer-events: none;
}
.cta-content {
  position: relative;
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; gap: 28px;
}
.cta-content .eyebrow { color: #E6C8A8; }
.cta-content .eyebrow::before { background: #E6C8A8; }
.cta-content h2 {
  color: #FBF6EA;
  font-style: italic;
  font-weight: 300;
  max-width: 14ch;
}
.cta-content p {
  color: #D6C3A3;
  font-size: 1.05rem;
  max-width: 50ch;
  font-size: 16px;
  line-height: 1.7;
}
.cta-content .btn { background: #FBF6EA; color: #2A1E12; border-color: #FBF6EA; }
.cta-content .btn:hover { background: #B8694A; color: #FBF6EA; border-color: #B8694A; }
.cta-content a:not(.btn) { color: #FBF6EA; }
.cta-content a:not(.btn):hover { color: #E6C8A8; }

/* ============= FOOTER ============= */
.footer {
  background: var(--bg);
  color: var(--ink);
  padding: 80px 0 32px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .sprig { width: 32px; color: var(--ink); margin-bottom: 18px; }
.footer-brand .wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 18px;
  display: block;
  font-weight: 500;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 36ch;
  color: var(--ink-soft);
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 22px;
  font-weight: 400;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color .2s;
  font-family: var(--serif);
  font-style: italic;
}
.footer-col a:hover { color: var(--accent); }

.footer-meta {
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  flex-wrap: wrap; gap: 16px;
}

/* ============= PAGE HERO (interior pages) ============= */
.page-hero {
  padding: 100px 0 60px;
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { margin-bottom: 22px; }
.page-hero h1 {
  font-style: italic;
  font-weight: 300;
  max-width: 16ch;
}
.page-hero .lead {
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.65;
  max-width: 60ch;
  color: var(--ink-soft);
}

/* ============= ABOUT (sobre nosaltres) ============= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-text h2 {
  font-style: italic;
  font-weight: 300;
  margin-bottom: 28px;
}
.about-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 18px;
}
.about-img {
  aspect-ratio: 3/4;
  background: var(--bg-deep);
  position: sticky;
  top: 100px;
  overflow: hidden;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 60px;
  border-top: 1px solid var(--line);
}
.value {
  padding: 48px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
}
.value:nth-child(3n) { border-right: none; }
.value .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent);
}
.value h3 {
  font-style: italic;
  font-weight: 300;
  font-size: 1.6rem;
}
.value p { font-size: 14px; line-height: 1.7; }

/* ============= CONTACT ============= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: start;
}
.contact-info {
  display: flex; flex-direction: column;
  gap: 36px;
}
.contact-info h3 {
  font-style: italic; font-weight: 300;
  margin-bottom: 8px;
}
.contact-block {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.contact-block .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 10px;
}
.contact-block .val {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
}
.contact-block .val a:hover { color: var(--accent); }
.contact-block .secondary {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-style: normal;
}

.contact-form {
  background: var(--bg-card);
  padding: 48px;
  border: 1px solid var(--line);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--accent); }
.form-field textarea { min-height: 100px; resize: vertical; }

/* ============= ALLOTJAMENTS LIST PAGE ============= */
.alloj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}
.alloj-card {
  display: flex; flex-direction: column;
  gap: 20px;
}
.alloj-card .img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-deep);
  position: relative;
}
.alloj-card .img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s cubic-bezier(.2,.7,.2,1);
}
.alloj-card:hover .img-wrap img { transform: scale(1.03); }
.alloj-card .img-wrap .tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--bg);
  padding: 6px 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: 8px;
}
.alloj-card .img-wrap .tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--house-color, var(--accent));
}
.alloj-card h3 {
  font-style: italic;
  font-weight: 300;
  font-size: 2rem;
  margin-top: 8px;
}
.alloj-card .meta {
  display: flex; gap: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.alloj-card .meta span { display: flex; align-items: center; gap: 8px; }
.alloj-card .meta span strong { color: var(--ink); font-weight: 500; }
.alloj-card p { font-size: 15px; line-height: 1.7; }
.alloj-card .actions { display: flex; gap: 20px; margin-top: 4px; flex-wrap: wrap; }

/* ============= RESPONSIVE ============= */
@media (max-width: 980px) {
  /* Mobile drawer */
  .nav-links {
    display: none;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(86vw, 360px);
    background: var(--bg);
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 96px 32px 32px;
    z-index: 50;
    box-shadow: -20px 0 40px rgba(0,0,0,0.06);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line-soft); }
  .nav-links a {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 300;
    padding: 18px 0;
    display: block;
    width: 100%;
  }
  .nav-links a.active::after { display: none; }
  .nav-links a.active { color: var(--accent); font-style: italic; }
  .nav-links::after {
    content: '';
    position: absolute;
    bottom: 24px; left: 32px; right: 32px;
    height: 1px;
    background: var(--line);
  }
  .nav-mobile-extras {
    display: flex !important;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    width: 100%;
  }
  .mobile-menu-btn { display: inline-flex; position: relative; z-index: 60; }
  body.menu-open { overflow: hidden; }
  body.menu-open::before {
    content: '';
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.32);
    z-index: 45;
    backdrop-filter: blur(2px);
  }

  section { padding: 80px 0; }
  .intro, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-img { position: static; aspect-ratio: 4/3; }
  .house-row, .house-row.flip {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 60px 0;
  }
  .house-row.flip .house-img-block { order: 0; }
  .house-row.flip .house-text { order: 0; }
  .testimonials-grid, .values-grid { grid-template-columns: 1fr; }
  .testimonial, .value {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .alloj-grid { grid-template-columns: 1fr; }
  .emporda-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 220px; }
  .emporda-cell.span-6, .emporda-cell.span-7, .emporda-cell.span-5 { grid-column: span 6; }
  .emporda-cell.span-4, .emporda-cell.span-3 { grid-column: span 3; }
  .hero-locations { gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 32px; }
  /* lang+theme on desktop hidden on mobile, only inside drawer */
  .nav-right > .lang-switch, .nav-right > .theme-toggle { display: none !important; }
  /* prevent any horizontal overflow */
  html, body { overflow-x: hidden; max-width: 100vw; }
  img, svg, video { max-width: 100%; height: auto; }
}

/* desktop: hide drawer extras */
.nav-mobile-extras { display: none; }

@media (max-width: 600px) {
  :root { --page-pad: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .nav-brand .wordmark { font-size: 14px; }
  .nav { padding: 18px 0; }
  .house-stats { grid-template-columns: 1fr 1fr 1fr; gap: 0; margin-top: 18px; }
  .house-stats div { padding: 18px 8px; }
  .house-stats .num { font-size: 24px; }
  .house-stats .lbl { font-size: 8px; }
  .testimonial { padding: 36px 24px; }
  /* hero */
  .hero h1 { font-size: clamp(2.5rem, 11vw, 4rem); }
  .hero-locations { grid-template-columns: 1fr 1fr; }
  /* CTA */
  .cta-bg { padding: 70px 0 !important; }
  .cta-content h2 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .cta-content p { font-size: 0.95rem; line-height: 1.6; }
  /* page hero */
  .page-hero { padding-top: 120px !important; padding-bottom: 60px !important; }
  /* alloj-card */
  .alloj-card .img-wrap { aspect-ratio: 4/3; }
  /* houses section title */
  .section-head.row { grid-template-columns: 1fr; gap: 24px; }
  /* house-row image aspect */
  .house-img-block { aspect-ratio: 4/3; }
  .house-num { font-size: 12px !important; top: 16px !important; right: 16px !important; bottom: auto !important; }
  .house-tag { padding: 8px 12px !important; font-size: 10px !important; }
  /* contact form */
  .contact-form { padding: 24px; }
  .contact-grid { gap: 40px; }
  /* facts band */
  .facts-band .container { grid-template-columns: 1fr 1fr; }
  .facts-band .fact { padding: 12px 16px !important; border-bottom: 1px solid var(--line); }
  .facts-band .fact:nth-child(odd) { border-right: 1px solid var(--line); }
  /* gallery */
  .gallery .container { grid-template-columns: 1fr !important; gap: 12px; }
  .gallery .g { grid-column: span 1 !important; aspect-ratio: 4/3 !important; }
  /* descr block first letter */
  .descr-block .body p:first-child::first-letter { font-size: 4em; }
  .descr-block .body p { font-size: 1.05rem !important; }
  /* rooms */
  .room-row { padding: 20px 0; }
  .room-row .name { font-size: 1.25rem; }
  /* detail-cta */
  .detail-cta { padding: 70px 0 !important; }
  .detail-cta .side-card { padding: 24px; }
  .detail-cta .side-card .price { font-size: 44px; }
  /* descr-block stats */
  .house-hero { padding-top: 100px; }
  .house-hero h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .house-hero .stats-strip { gap: 24px; }
  .house-hero .stats-strip .stat .n { font-size: 28px; }
  /* sobre nosaltres values */
  .values-grid .value { padding: 32px 0; }
  /* footer */
  .footer-meta { flex-direction: column; gap: 12px; align-items: flex-start; }
  /* generic: smaller h2 */
  h2 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  h1 { font-size: clamp(2.4rem, 11vw, 4rem); }
  /* tighter sections everywhere */
  section { padding: 60px 0 !important; }
  .container { padding: 0 var(--page-pad); }
  /* hero img column */
  .hero-img-wrap { aspect-ratio: 4/5; }
  /* lead text */
  .lead, p.lead { font-size: 1.05rem !important; line-height: 1.55; }
  /* CTA hero buttons stack */
  .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta .btn, .hero-cta .btn-ghost { width: 100%; text-align: center; }
  /* Allotjaments grid spacing */
  .alloj-card { margin-bottom: 8px; }
  /* Sobre nosaltres timeline */
  .timeline-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  /* eyebrow + breadcrumb */
  .eyebrow { font-size: 9.5px; letter-spacing: .22em; }
  /* dali-grid (empordà page) */
  .dali-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  /* contact info card */
  .contact-info-card, .info-block { padding: 28px !important; }
  .info-block + .info-block { margin-top: 20px; }
  /* testimonials full width text */
  .testimonial blockquote { font-size: 1.1rem !important; line-height: 1.55; }
}


/* ============================================
   House detail page
   ============================================ */

.house-hero {
  padding: 110px 0 0;
  position: relative;
}
.house-hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; padding-bottom: 60px; }
.house-hero .meta-line {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.house-hero .meta-line .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--house-c, var(--accent)); }
.house-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 6.5vw, 5.6rem);
  line-height: .98;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.house-hero h1 em { font-style: italic; color: var(--house-c, var(--accent)); font-weight: 400; }
.house-hero .lead {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 42ch;
  margin: 0 0 36px;
}
.house-hero .stats-strip {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.house-hero .stats-strip .stat .n {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  font-style: italic;
}
.house-hero .stats-strip .stat .l {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 8px;
}
.house-hero .hero-img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius);
}
.house-hero .hero-img img { width: 100%; height: 100%; object-fit: cover; }
.house-hero .hero-tag {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--bg);
  color: var(--ink);
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.house-hero .index {
  position: absolute; top: 40px; right: 40px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* Quick facts band */
.facts-band {
  background: var(--bg-alt);
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.facts-band .container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.facts-band .fact {
  padding: 8px 24px;
  border-right: 1px solid var(--line);
}
.facts-band .fact:last-child { border-right: none; }
.facts-band .fact:first-child { padding-left: 0; }
.facts-band .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 10px;
}
.facts-band .val {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
}

/* Description block */
.descr-block { padding: 110px 0 80px; }
.descr-block .container {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 100px;
  align-items: start;
}
.descr-block .side .eyebrow { display: block; margin-bottom: 18px; }
.descr-block .side h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.descr-block .side h2 em { font-style: italic; color: var(--house-c, var(--accent)); font-weight: 400; }
.descr-block .body p {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 24px;
  font-weight: 300;
}
.descr-block .body p strong { color: var(--ink); font-weight: 500; }
.descr-block .body p:first-child::first-letter {
  font-family: var(--serif);
  font-size: 5.5em;
  font-weight: 400;
  float: left;
  line-height: .85;
  margin: 4px 12px -4px 0;
  color: var(--house-c, var(--accent));
  font-style: italic;
}

/* Gallery (asymmetric) */
.gallery {
  padding: 40px 0 110px;
}
.gallery .container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.gallery .g {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.gallery .g img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s ease; }
.gallery .g:hover img { transform: scale(1.04); }
.gallery .g.tall { grid-column: span 5; aspect-ratio: 4/5; }
.gallery .g.wide { grid-column: span 7; aspect-ratio: 7/5; }
.gallery .g.third { grid-column: span 4; aspect-ratio: 1/1; }
.gallery .g.half { grid-column: span 6; aspect-ratio: 6/5; }
.gallery .g.full { grid-column: span 12; aspect-ratio: 12/5; }

/* Amenities grid */
.amenities {
  background: var(--bg-deep);
  padding: 100px 0;
  position: relative;
}
.amenities .head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.amenities h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.amenities h2 em { font-style: italic; color: var(--house-c, var(--accent)); font-weight: 400; }
.amenities .head p {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 300;
  margin: 0;
  max-width: 50ch;
}
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.amenity {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.amenity .num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.amenity h4 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 8px;
}
.amenity p {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* Rooms list */
.rooms {
  padding: 110px 0;
}
.rooms .head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  align-items: end;
}
.rooms h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.rooms h2 em { font-style: italic; color: var(--house-c, var(--accent)); font-weight: 400; }
.rooms-list { border-top: 1px solid var(--line); }
.room-row {
  display: grid;
  grid-template-columns: 60px 1fr 2fr 1fr;
  gap: 40px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.room-row .idx { font-family: var(--mono); font-size: 11px; letter-spacing: .26em; color: var(--house-c, var(--accent)); }
.room-row .name { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--ink); font-style: italic; }
.room-row .desc { font-family: var(--sans); font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.room-row .cap { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); text-align: right; }

/* Detail CTA */
.detail-cta {
  background: var(--house-c, var(--accent));
  color: var(--bg);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.detail-cta .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.detail-cta .eyebrow { color: rgba(255,255,255,0.7); }
.detail-cta h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 18px 0 28px;
}
.detail-cta h2 em { font-style: italic; }
.detail-cta p {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  font-weight: 300;
  margin: 0 0 36px;
  max-width: 48ch;
}
.detail-cta .actions { display: flex; flex-wrap: wrap; gap: 20px; }
.detail-cta .btn-light {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--bg);
  padding: 16px 32px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: opacity .2s;
}
.detail-cta .btn-light:hover { opacity: .85; }
.detail-cta .btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 16px 32px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.detail-cta .btn-ghost:hover { background: rgba(255,255,255,0.08); }
.detail-cta .side-card {
  background: rgba(0,0,0,0.18);
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.18);
}
.detail-cta .side-card .lbl { color: rgba(255,255,255,0.6); font-family: var(--mono); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; }
.detail-cta .side-card .price { font-family: var(--serif); font-size: 56px; font-weight: 300; color: #fff; line-height: 1; margin: 12px 0 4px; }
.detail-cta .side-card .price em { font-style: italic; }
.detail-cta .side-card .price-note { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: rgba(255,255,255,0.65); }
.detail-cta .side-card hr { border: 0; border-top: 1px solid rgba(255,255,255,0.18); margin: 28px 0; }
.detail-cta .side-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.detail-cta .side-card li { font-family: var(--sans); font-size: 13.5px; color: rgba(255,255,255,0.85); display: flex; gap: 10px; }
.detail-cta .side-card li::before { content: '→'; color: rgba(255,255,255,0.5); }

/* Other houses (recommended) */
.other-houses { padding: 110px 0; }
.other-houses .head { margin-bottom: 50px; display: flex; justify-content: space-between; align-items: end; gap: 40px;}
.other-houses h2 { font-family: var(--serif); font-size: clamp(1.8rem, 2.8vw, 2.4rem); font-weight: 300; color: var(--ink); margin: 0; }
.other-houses h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
.other-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.other-card { display: block; text-decoration: none; color: inherit; }
.other-card .ph { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); margin-bottom: 18px; }
.other-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.other-card:hover .ph img { transform: scale(1.04); }
.other-card .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.other-card h4 { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--ink); margin: 0 0 6px; }
.other-card p { font-family: var(--sans); font-size: 13px; color: var(--ink-mute); margin: 0; }

@media (max-width: 1024px) {
  .house-hero .container { grid-template-columns: 1fr; gap: 50px; }
  .house-hero .index { display: none; }
  .descr-block .container { grid-template-columns: 1fr; gap: 40px; }
  .descr-block { padding: 80px 0 60px; }
  .facts-band .container { grid-template-columns: 1fr 1fr 1fr; }
  .facts-band .fact { border-bottom: 1px solid var(--line); padding: 16px 20px !important; }
  .amenities-grid { grid-template-columns: 1fr 1fr; }
  .amenities .head, .rooms .head { grid-template-columns: 1fr; gap: 24px; }
  .room-row { grid-template-columns: 30px 1fr; gap: 14px; }
  .room-row .desc, .room-row .cap { grid-column: 2; text-align: left; }
  .gallery .container { grid-template-columns: repeat(6, 1fr); }
  .gallery .g.tall, .gallery .g.wide { grid-column: span 6; aspect-ratio: 4/3; }
  .gallery .g.third, .gallery .g.half { grid-column: span 3; aspect-ratio: 1/1; }
  .detail-cta .container { grid-template-columns: 1fr; gap: 50px; }
  .detail-cta { padding: 80px 0; }
  .other-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .facts-band .container { grid-template-columns: 1fr 1fr; }
  .amenities-grid { grid-template-columns: 1fr; }
  .descr-block .body p:first-child::first-letter { font-size: 4em; }
}

/* ============= i18n MULTILINGUAL ============= */
[data-i18n-es], [data-i18n-en], [data-i18n-fr] { display: none; }
body[data-lang="ES"] [data-i18n-ca] { display: none; }
body[data-lang="ES"] [data-i18n-es] { display: revert; }
body[data-lang="EN"] [data-i18n-ca] { display: none; }
body[data-lang="EN"] [data-i18n-en] { display: revert; }
body[data-lang="FR"] [data-i18n-ca] { display: none; }
body[data-lang="FR"] [data-i18n-fr] { display: revert; }

/* Emp-cell filter (empordà.html) */
.emp-cell.hidden { display: none; }
