/* La vila WLMS — Editorial design system. Inspired by world-class villa rental brands. */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Palette — refined Mediterranean */
  --ink: #1A2530;
  --ink-soft: #4A5764;
  --ink-mute: #7A8593;
  --line: #E5DFD3;
  --line-soft: #EFEAE0;
  --bg: #FBF8F2;
  --bg-warm: #F5EFE2;
  --bg-deep: #11202B;
  --cream: #F1E9D8;
  --terracotta: #BC6F4D;
  --terracotta-deep: #8F4F31;
  --sea: #2C5571;
  --sea-deep: #0E2B40;
  --gold: #C9A961;

  /* Type */
  --ff-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --ff-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --max: 80rem;
  --max-narrow: 56rem;
  --gutter: 1.5rem;
  --radius: 4px;
  --radius-lg: 10px;

  /* Motion */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(0, 0, .2, 1);
  --t-fast: .2s;
  --t-med: .35s;
  --t-slow: .8s;

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(17,32,43,.04), 0 2px 8px rgba(17,32,43,.04);
  --sh-md: 0 4px 12px rgba(17,32,43,.08), 0 12px 36px rgba(17,32,43,.08);
  --sh-lg: 0 12px 28px rgba(17,32,43,.12), 0 28px 72px rgba(17,32,43,.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--terracotta); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: var(--max-narrow); }

.skip { position: absolute; left: -9999px; top: 0; padding: .8rem 1rem; background: var(--ink); color: #fff; }
.skip:focus { left: 1rem; top: 1rem; z-index: 999; }

/* === Typography === */
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 500; color: var(--ink); line-height: 1.12; letter-spacing: -.005em; }
h1 { font-size: clamp(2.4rem, 4vw + 1.4rem, 4.6rem); font-weight: 500; }
h2 { font-size: clamp(1.85rem, 2.4vw + 1.1rem, 2.85rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.3rem, 1vw + 1rem, 1.55rem); margin-bottom: .5rem; }
h4 { font-size: 1.1rem; margin-bottom: .5rem; }

p { margin-bottom: 1rem; max-width: 38rem; color: var(--ink-soft); }
p.lead { font-family: var(--ff-display); font-size: clamp(1.25rem, 1.4vw + 1rem, 1.7rem); line-height: 1.45; color: var(--ink); font-weight: 400; max-width: 44rem; font-style: italic; }
p.large { font-size: 1.18rem; line-height: 1.7; }

.eyebrow {
  display: inline-block;
  font-family: var(--ff-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}
.eyebrow.muted { color: var(--ink-mute); }
.eyebrow.light { color: rgba(255,255,255,.78); }

.divider { width: 48px; height: 1px; background: var(--terracotta); margin: 1rem 0 1.5rem; border: 0; }
.divider.center { margin: 1rem auto 1.5rem; }
.divider.light { background: rgba(255,255,255,.5); }

/* === Header === */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(251,248,242,.0);
  border-bottom: 1px solid transparent;
  padding: 1.1rem 0;
  transition: background var(--t-med) var(--ease), border-color var(--t-med) var(--ease), padding var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.site-header.is-scrolled,
.site-header.is-light {
  background: rgba(251,248,242,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
  padding: .85rem 0;
  box-shadow: var(--sh-sm);
}
.brand-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand {
  font-family: var(--ff-display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.05;
}
.brand small {
  display: block;
  font-family: var(--ff-sans);
  font-size: .66rem;
  font-weight: 500;
  color: var(--ink-mute);
  margin-top: .15rem;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.site-header:not(.is-scrolled):not(.is-light) .brand { color: #fff; }
.site-header:not(.is-scrolled):not(.is-light) .brand small { color: rgba(255,255,255,.75); }

nav.primary { display: none; align-items: center; gap: 2rem; }
nav.primary a {
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--ink);
  position: relative;
  padding: .35rem 0;
  text-decoration: none;
}
.site-header:not(.is-scrolled):not(.is-light) nav.primary a { color: #fff; }
nav.primary a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px; background: currentColor;
  transition: right var(--t-med) var(--ease);
}
nav.primary a:hover::after, nav.primary a[aria-current="page"]::after { right: 0; }

.lang-switch { display: flex; gap: .25rem; padding-left: 1.25rem; margin-left: .25rem; border-left: 1px solid currentColor; opacity: .7; }
.lang-switch a {
  font-family: var(--ff-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  padding: .25rem .55rem;
  border-radius: 2px;
  text-transform: uppercase;
}
.lang-switch a[aria-current="true"] { background: rgba(0,0,0,.08); }
.site-header:not(.is-scrolled):not(.is-light) .lang-switch a[aria-current="true"] { background: rgba(255,255,255,.18); }

/* Mobile menu toggle */
.menu-toggle {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: inherit;
}
.menu-toggle span {
  position: relative;
  width: 22px; height: 2px;
  background: currentColor;
  display: block;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.menu-toggle span::before, .menu-toggle span::after {
  content: ''; position: absolute; left: 0; right: 0;
  height: 2px; background: currentColor;
  transition: transform var(--t-fast) var(--ease);
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-toggle.is-open span { background: transparent; }
.menu-toggle.is-open span::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span::after { transform: translateY(-7px) rotate(-45deg); }
.site-header:not(.is-scrolled):not(.is-light) .menu-toggle { color: #fff; }
.site-header.is-scrolled .menu-toggle, .site-header.is-light .menu-toggle { color: var(--ink); }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  padding: 6rem 2rem 2rem;
  transform: translateY(-100%);
  transition: transform var(--t-med) var(--ease);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav a {
  display: block;
  font-family: var(--ff-display);
  font-size: 2rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mobile-nav .lang-switch { padding-left: 0; margin-top: 2rem; border-left: 0; opacity: 1; }
.mobile-nav .lang-switch a { font-family: var(--ff-sans); font-size: .8rem; padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 2px; }

/* === Hero === */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  background-color: var(--bg-deep);
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  color: #fff;
  overflow: hidden;
  padding: 8rem 0 5rem;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,43,64,.45) 0%, rgba(14,43,64,.15) 35%, rgba(14,43,64,.85) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero .eyebrow {
  color: rgba(255,255,255,.85);
  border-top: 1px solid rgba(255,255,255,.45);
  padding-top: .8rem;
  display: inline-block;
}
.hero h1 {
  color: #fff;
  font-weight: 400;
  margin: 0 0 1.5rem;
  max-width: 22ch;
  text-shadow: 0 2px 30px rgba(0,0,0,.3);
}
.hero h1 em { font-style: italic; color: var(--cream); }
.hero .subhead {
  font-family: var(--ff-sans);
  font-size: clamp(1rem, .8vw + .85rem, 1.18rem);
  line-height: 1.6;
  color: rgba(255,255,255,.9);
  max-width: 38rem;
  margin-bottom: 2.25rem;
  font-weight: 400;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; align-items: center; }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  font-family: var(--ff-sans);
  font-size: .7rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
  opacity: .85;
  transition: opacity var(--t-fast) var(--ease);
}
.scroll-cue:hover { color: #fff; opacity: 1; }
.scroll-cue::after {
  content: '';
  width: 1px; height: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,0));
  animation: scrollPulse 2.4s var(--ease) infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* Hero soft (interior pages without cover photo) */
.hero-soft {
  background: var(--bg);
  color: var(--ink);
  min-height: auto;
  padding: 10rem 0 4rem;
  align-items: flex-start;
}
.hero-soft::before { display: none; }
.hero-soft h1 { color: var(--ink); text-shadow: none; max-width: 28ch; }
.hero-soft .subhead { color: var(--ink-soft); }
.hero-soft .eyebrow { border-top-color: var(--terracotta); color: var(--terracotta); }

/* === Sections === */
section { padding: 6rem 0; position: relative; }
section.tight { padding: 4rem 0; }
section.tinted { background: var(--bg-warm); }
section.cream { background: var(--cream); }
section.dark { background: var(--bg-deep); color: rgba(255,255,255,.86); }
section.dark h1, section.dark h2, section.dark h3, section.dark h4 { color: #fff; }
section.dark p { color: rgba(255,255,255,.78); }
section.dark .eyebrow { color: var(--gold); }

.section-head { max-width: 44rem; margin: 0 0 3rem; }
.section-head.center { margin: 0 auto 3.5rem; text-align: center; }

/* === Quick facts strip === */
.quick-facts {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.quick-facts ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
}
.quick-facts li {
  padding: 1.6rem 1rem;
  text-align: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quick-facts li:nth-child(2n) { border-right: 0; }
.quick-facts li:nth-last-child(-n+2) { border-bottom: 0; }
.quick-facts .label { display: block; font-size: .7rem; color: var(--ink-mute); letter-spacing: .26em; text-transform: uppercase; font-weight: 500; margin-bottom: .35rem; }
.quick-facts .value { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 500; color: var(--ink); line-height: 1.1; }

/* === Editorial split === */
.split {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  align-items: center;
}
.split-image { overflow: hidden; border-radius: var(--radius); box-shadow: var(--sh-md); position: relative; }
.split-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease); }
.split-image.landscape img { aspect-ratio: 4 / 3; }
.split-image:hover img { transform: scale(1.04); }
.split-image .caption {
  position: absolute;
  bottom: 1rem; left: 1rem;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(6px);
  padding: .35rem .8rem;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}

/* === Pull quote / signature block === */
.pullquote {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(1.5rem, 1.8vw + 1rem, 2.2rem);
  line-height: 1.35;
  color: var(--ink);
  max-width: 38rem;
  padding: 2rem 0;
  border-top: 1px solid var(--terracotta);
  border-bottom: 1px solid var(--terracotta);
  margin: 1rem 0;
}
.pullquote-attrib { font-family: var(--ff-sans); font-style: normal; font-size: .8rem; color: var(--ink-mute); letter-spacing: .14em; text-transform: uppercase; margin-top: 1rem; display: block; }

/* === By the numbers === */
.numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
.number-stat .number {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 4vw + .5rem, 4.4rem);
  line-height: 1;
  color: var(--terracotta);
  display: block;
  margin-bottom: .35rem;
  font-weight: 500;
}
.number-stat .number small { font-size: .55em; vertical-align: top; margin-left: .2rem; color: var(--ink-mute); }
.number-stat .label { font-family: var(--ff-sans); font-size: .82rem; color: var(--ink-soft); line-height: 1.45; max-width: 22ch; display: block; }
.number-stat .label strong { display: block; font-weight: 600; color: var(--ink); margin-bottom: .15rem; letter-spacing: .04em; text-transform: uppercase; font-size: .75rem; }

/* === Benefit grid === */
.benefits { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.benefit {
  padding: 0;
  background: transparent;
}
.benefit-icon {
  width: 44px; height: 44px;
  color: var(--terracotta);
  margin-bottom: 1.1rem;
}
.benefit-icon svg { width: 100%; height: 100%; }
.benefit h3 { margin-bottom: .5rem; font-size: 1.3rem; }
.benefit p { margin-bottom: 0; font-size: .98rem; }

/* === Mosaic gallery === */
.mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .6rem;
}
.mosaic figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--line-soft); position: relative; cursor: pointer; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; transition: transform 1.2s var(--ease); }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic figure::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,.18) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease);
}
.mosaic figure:hover::after { opacity: 1; }
.mosaic .span-2 { grid-column: span 2; }
.mosaic .span-2 img { aspect-ratio: 16 / 10; }
.mosaic .tall img { aspect-ratio: 4 / 5; }

/* === Article cards === */
.article-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.article-card {
  background: transparent;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.article-card .img-wrap {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line-soft);
  margin-bottom: 1.1rem;
}
.article-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.article-card:hover .img-wrap img { transform: scale(1.04); }
.article-card .card-eyebrow { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--terracotta); margin-bottom: .5rem; font-weight: 600; }
.article-card h3 { margin-bottom: .5rem; }
.article-card p { font-size: .98rem; }
.article-card .read-more {
  font-family: var(--ff-sans);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  margin-top: .25rem;
  display: inline-block;
  position: relative;
  padding-bottom: .25rem;
}
.article-card .read-more::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform-origin: right;
  transition: transform var(--t-med) var(--ease);
}
.article-card:hover .read-more::after { transform-origin: left; transform: scaleX(1.05); }

/* === Testimonial / quote === */
.testimonial {
  text-align: center;
  max-width: 50rem;
  margin: 0 auto;
}
.testimonial-mark {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 5rem;
  line-height: 1;
  color: var(--terracotta);
  display: block;
  margin-bottom: -1rem;
}
.testimonial p {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 1.6vw + 1rem, 2rem);
  line-height: 1.45;
  color: var(--ink);
  max-width: 100%;
  font-weight: 400;
  margin-bottom: 1.75rem;
}
.testimonial cite {
  display: block;
  font-family: var(--ff-sans);
  font-style: normal;
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--ff-sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.1rem 2rem;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn::after { content: '→'; font-family: var(--ff-sans); transition: transform var(--t-fast) var(--ease); }
.btn:hover { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.btn:hover::after { transform: translateX(4px); }

.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

.btn-text {
  display: inline-flex;
  align-items: center; gap: .55rem;
  font-family: var(--ff-sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: .35rem 0;
  border-bottom: 1px solid var(--ink);
}
.btn-text::after { content: '→'; transition: transform var(--t-fast) var(--ease); }
.btn-text:hover { color: var(--terracotta); border-bottom-color: var(--terracotta); }
.btn-text:hover::after { transform: translateX(4px); }

/* === Feature list === */
ul.features { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: 1fr; gap: 0; max-width: 56rem; }
ul.features li {
  padding: 1.1rem 0 1.1rem 2rem;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  color: var(--ink-soft);
}
ul.features li::before {
  content: '';
  position: absolute;
  left: 0; top: 1.55rem;
  width: 14px; height: 1px;
  background: var(--terracotta);
}

/* === CTA card === */
.cta-card {
  background: var(--ink);
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: var(--radius);
}
.cta-card h2 { color: #fff; margin: 0 auto .8rem; max-width: 26ch; }
.cta-card p { color: rgba(255,255,255,.85); max-width: 38rem; margin: 0 auto 2rem; }

/* === Article body (long-form pages) === */
article > h2, article > h3 { margin-top: 2.5rem; }
article > h2:first-child, article > h3:first-child { margin-top: 0; }
article > p, article > ul li, article > ol li { max-width: 36rem; }
article > ul, article > ol { padding-left: 1.5rem; margin: 0 0 1.25rem 0; }
article > li { margin-bottom: .35rem; }
article a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
article a:hover { color: var(--terracotta); }
.meta { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 2rem; font-weight: 500; }

/* === Footer === */
.site-footer {
  background: var(--bg-deep);
  color: rgba(255,255,255,.78);
  padding: 5rem 0 1.5rem;
  font-family: var(--ff-sans);
  font-size: .92rem;
}
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: #fff; }
.site-footer h4 { color: #fff; font-family: var(--ff-display); font-size: 1.4rem; margin-bottom: 1.1rem; font-weight: 500; }
.site-footer p { color: rgba(255,255,255,.65); }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; margin-bottom: 3rem; }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { margin-bottom: .6rem; font-size: .92rem; }
.footer-grid h5 {
  color: rgba(255,255,255,.5);
  font-family: var(--ff-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.5rem;
  display: flex; flex-direction: column; gap: .5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .04em;
}

/* === Scroll-reveal === */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal].is-visible { opacity: 1; transform: none; transition: none; }
  .scroll-cue::after { animation: none; }
}

/* === Responsive === */
@media (min-width: 600px) {
  .quick-facts ul { grid-template-columns: repeat(4, 1fr); }
  .quick-facts li { border-bottom: 0; }
  .quick-facts li:last-child { border-right: 0; }
  .benefits { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; }
  .article-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .mosaic { grid-template-columns: repeat(3, 1fr); gap: .8rem; }
  .mosaic .span-2 { grid-column: span 2; }
  .numbers { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}

@media (min-width: 900px) {
  body { font-size: 1.125rem; }
  .container { padding: 0 2rem; }
  nav.primary { display: flex; }
  .menu-toggle { display: none; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; }
  .article-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .benefits { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
  .mosaic { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .mosaic .span-2 { grid-column: span 2; }
  .mosaic .span-2 img { aspect-ratio: 4 / 3; }
  .numbers { grid-template-columns: repeat(4, 1fr); gap: 3rem; }
  .split { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .split.golden { grid-template-columns: 5fr 7fr; }
  .split.golden.reverse { grid-template-columns: 7fr 5fr; }
  .split.reverse .split-text { order: 2; }
  section { padding: 7rem 0; }
  .cta-card { padding: 6rem 2rem; }
}

@media (min-width: 1200px) {
  .split { gap: 6rem; }
}

/* ==============================================================
   CINEMATIC PATTERNS — photo-first sections, parallax bands,
   bottom-anchored hero titles, atmosphere quotes over imagery.
   ============================================================== */

/* Hero — bottom-anchored title, like a boutique villa landing */
.hero.cinema {
  min-height: 100vh;
  align-items: flex-end;
  padding: 8rem 0 4rem;
}
.hero.cinema::before {
  background:
    linear-gradient(180deg, rgba(14,32,43,.30) 0%, rgba(14,32,43,.05) 30%, rgba(14,32,43,.10) 55%, rgba(14,32,43,.85) 100%);
}
.hero.cinema .container { width: 100%; }
.hero.cinema h1 {
  font-size: clamp(2.8rem, 6vw + 1rem, 6.5rem);
  line-height: 1; letter-spacing: -.01em;
  font-weight: 400;
  margin: .3rem 0 1.2rem;
  max-width: 18ch;
}
.hero.cinema .place {
  display: inline-flex; align-items: center; gap: .8rem;
  font-family: var(--ff-sans);
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: .8rem;
}
.hero.cinema .place::before {
  content: ''; width: 28px; height: 1px; background: rgba(255,255,255,.7);
}
.hero.cinema .subhead {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(1.15rem, 1vw + .9rem, 1.5rem);
  line-height: 1.45;
  color: rgba(255,255,255,.92);
  max-width: 40rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

/* Full-bleed photo band — the photo IS the section */
.bleed {
  position: relative;
  width: 100%;
  min-height: 70vh;
  background-color: var(--bg-deep);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.bleed.tall { min-height: 92vh; }
.bleed.short { min-height: 50vh; }
.bleed.fixed { background-attachment: fixed; }
@media (max-width: 900px) {
  .bleed.fixed { background-attachment: scroll; }
}

/* Bleed with caption overlay (lower-left) */
.bleed-caption {
  position: relative;
  width: 100%;
  min-height: 80vh;
  background-color: var(--bg-deep);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.bleed-caption::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.65) 100%);
  pointer-events: none;
}
.bleed-caption .container {
  position: relative; z-index: 2;
  padding-top: 6rem; padding-bottom: 3rem;
}
.bleed-caption .eyebrow {
  color: rgba(255,255,255,.85);
  border-top: 1px solid rgba(255,255,255,.5);
  padding-top: .7rem;
}
.bleed-caption h2 {
  color: #fff; font-weight: 400;
  font-size: clamp(2rem, 3vw + 1rem, 3.6rem);
  max-width: 22ch;
  margin: 0 0 1rem;
}
.bleed-caption h2 em { color: var(--cream); font-style: italic; }
.bleed-caption p {
  color: rgba(255,255,255,.88);
  max-width: 38rem;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(1.05rem, .8vw + .85rem, 1.3rem);
}

/* Atmosphere quote band — italic line of poetry over a photo */
.atmosphere {
  position: relative;
  width: 100%;
  min-height: 75vh;
  background-color: var(--bg-deep);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  padding: 5rem var(--gutter);
}
.atmosphere::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.4), rgba(0,0,0,.55));
}
.atmosphere .container { position: relative; z-index: 2; }
.atmosphere blockquote {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 2.4vw + 1rem, 3rem);
  line-height: 1.3;
  color: #fff;
  max-width: 30ch;
  margin: 0 auto;
  letter-spacing: -.005em;
}
.atmosphere blockquote::before, .atmosphere blockquote::after {
  display: block;
  font-style: normal;
  font-size: .65rem;
  letter-spacing: .32em;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  margin: 0 auto;
}
.atmosphere blockquote::before {
  content: '— Villajoyosa —';
  margin-bottom: 2rem;
}
.atmosphere cite {
  display: block;
  margin-top: 2rem;
  font-style: normal;
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}

/* Postcard split — photo even more dominant, less padding around it */
.postcard {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  align-items: stretch;
  background: var(--bg);
}
.postcard .pc-image {
  position: relative;
  min-height: 60vh;
  background-size: cover;
  background-position: center;
}
.postcard .pc-image img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.postcard .pc-text {
  padding: 4rem var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
}
.postcard .pc-text-inner {
  max-width: 32rem;
  margin: 0 auto;
}
.postcard.dark .pc-text { background: var(--bg-deep); color: rgba(255,255,255,.9); }
.postcard.dark .pc-text h2 { color: #fff; font-weight: 400; }
.postcard.dark .pc-text h2 em { color: var(--cream); }
.postcard.dark .pc-text p { color: rgba(255,255,255,.78); }
.postcard.dark .pc-text .eyebrow { color: rgba(255,255,255,.7); }
.postcard.dark .pc-text .divider { background: rgba(255,255,255,.4); }
.postcard.warm .pc-text { background: var(--bg-warm); }
.postcard.cream .pc-text { background: var(--cream); }

/* Collection strip — 3 photos in a row, edge to edge */
.collection {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--ink);
}
.collection figure {
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
  aspect-ratio: 4 / 5;
}
.collection figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.collection figure:hover img { transform: scale(1.04); }
.collection figcaption {
  position: absolute;
  left: 1.5rem; bottom: 1.5rem; right: 1.5rem;
  z-index: 2;
  color: #fff;
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: .005em;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.collection figcaption small {
  display: block;
  font-family: var(--ff-sans);
  font-size: .65rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: .35rem;
  font-weight: 500;
}
.collection figure::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Marquee photo — one massive image with section frame */
.marquee {
  padding: 0;
  overflow: hidden;
  background: var(--bg);
}
.marquee .marquee-image {
  width: 100%;
  aspect-ratio: 21 / 9;
  background-size: cover;
  background-position: center;
}
.marquee.short .marquee-image { aspect-ratio: 21 / 7; }

/* Index card — soft bg-warm intro under cinematic hero */
.intro-narrow {
  padding: 5rem var(--gutter);
  background: var(--bg);
  text-align: center;
}
.intro-narrow .eyebrow { color: var(--terracotta); }
.intro-narrow h2 {
  font-size: clamp(1.8rem, 2.4vw + 1rem, 2.8rem);
  max-width: 22ch;
  margin: .5rem auto 1.5rem;
  font-weight: 400;
}
.intro-narrow p.lead {
  margin: 0 auto 1rem;
  text-align: center;
  font-style: italic;
  color: var(--ink-soft);
  max-width: 38rem;
}
.intro-narrow .divider { margin: 2rem auto; }

/* Stats inline strip — reduced visual weight, all on one line */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-strip .stat {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--line);
}
.stats-strip .stat:last-child { border-right: 0; }
.stats-strip .stat-num {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem);
  color: var(--terracotta);
  font-weight: 400;
  line-height: 1;
  display: block;
  margin-bottom: .35rem;
}
.stats-strip .stat-label {
  font-family: var(--ff-sans);
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* Section spacing reset for cinematic flow */
.no-pad { padding: 0; }
.tight { padding: 3rem 0; }

@media (min-width: 720px) {
  .stats-strip { grid-template-columns: repeat(4, 1fr); }
  .collection { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .postcard { grid-template-columns: 7fr 5fr; min-height: 80vh; }
  .postcard.reverse { grid-template-columns: 5fr 7fr; }
  .postcard.reverse .pc-image { order: 2; }
  .postcard .pc-image { min-height: 80vh; }
  .postcard .pc-text { padding: 6rem 4rem; }
  .bleed-caption .container { padding-top: 8rem; padding-bottom: 4.5rem; }
  .intro-narrow { padding: 8rem var(--gutter); }
}
@media (min-width: 1200px) {
  .postcard .pc-text { padding: 7rem 5rem; }
}

/* Print */
@media print {
  .site-header, .site-footer, .hero, .scroll-cue, .mobile-nav, .menu-toggle { display: none; }
  body { background: #fff; color: #000; }
  section { padding: 1rem 0; }
}
