/* =============================================================================
   Elysia — main stylesheet
   Base + component styles for the Villa Elysia theme. All values reference the
   custom properties in tokens.css. Loaded after fonts.css and tokens.css.
   ============================================================================= */

/* --- Reset / normalize ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-light);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* --- Typography ----------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  color: var(--color-text);
  line-height: 1.2;
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--ls-h1); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); }
h4 { font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: var(--ls-h4); }
h5 { font-size: var(--fs-h5); line-height: var(--lh-h5); }
h6 { font-size: var(--fs-h6); line-height: var(--lh-h6); }
p { max-width: 68ch; }
strong, b { font-weight: var(--fw-medium); }

/* --- Accessibility helpers ------------------------------------------------ */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  z-index: 1000; background: var(--color-ink); color: var(--color-white);
  padding: var(--space-2) var(--space-4); transition: top var(--transition);
}
.skip-link:focus { top: var(--space-2); }
.anchor { display: block; position: relative; top: calc(-1 * var(--header-h)); visibility: hidden; }

/* --- Layout containers ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide   { max-width: var(--content-wide); }
.container--narrow { max-width: 760px; }

/* --- Sections + tones ----------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section--light  { background: var(--color-sand);  color: var(--color-ink); }
.section--alt    { background: var(--color-cream); color: var(--color-ink); }
.section--dark   { background: var(--color-ink);   color: var(--color-white); }
.section--accent { background: var(--color-terracotta); color: var(--color-white); }
.section--dark h1, .section--dark h2, .section--dark h3,
.section--accent h1, .section--accent h2, .section--accent h3 { color: var(--color-white); }

/* --- Eyebrow -------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-3);
  font-family: var(--font-sans); font-size: var(--fs-eyebrow);
  font-weight: var(--fw-medium); letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase; color: var(--color-gold);
}
.eyebrow__tick { width: 28px; height: 1px; background: currentColor; opacity: 0.8; }
.eyebrow--on-dark { color: rgba(255, 255, 255, 0.82); }

/* --- Section heading ------------------------------------------------------ */
.section-heading { display: flex; flex-direction: column; gap: var(--space-4); margin-bottom: var(--space-7); }
.section-heading--center { align-items: center; text-align: center; }
.section-heading__title { max-width: 20ch; }
.section-heading--center .section-heading__title { max-width: 24ch; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans); font-size: var(--fs-button); font-weight: var(--fw-medium);
  letter-spacing: var(--ls-button); text-transform: uppercase;
  padding: 0.95rem 1.75rem; border: 1px solid transparent; border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn--outline { background: var(--color-cream); color: var(--color-taupe); border-color: var(--color-taupe); }
.btn--outline:hover { background: var(--color-taupe); color: var(--color-cream); }
.btn--solid { background: var(--color-terracotta); color: var(--color-white); }
.btn--solid:hover { background: var(--color-maroon-dark); }
.btn--dark { background: var(--color-maroon-dark); color: var(--color-white); }
.btn--dark:hover { background: var(--color-ink); }

/* --- Site header ---------------------------------------------------------- */
/* Solid ivory bar on every page (Figma "Rectangle 1848"), sticky at the top:
   terracotta logo left, taupe nav + outlined CTA grouped right. */
.site-header {
  position: sticky; top: 0; z-index: 100; width: 100%;
  background: var(--color-header-bg); border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-5); min-height: var(--header-h);
}
.site-header__end { display: flex; align-items: center; gap: clamp(var(--space-5), 3vw, var(--space-8)); }

.site-logo { display: inline-flex; align-items: center; }
.site-logo__img { display: block; width: auto; height: clamp(48px, 5vw, 72px); }
.custom-logo { display: block; width: auto; height: auto; max-height: clamp(48px, 5vw, 72px); }

.site-nav__menu { display: flex; align-items: center; gap: clamp(var(--space-4), 2vw, var(--space-6)); }
.site-nav__menu a {
  font-family: var(--font-sans); font-size: var(--fs-nav); font-weight: var(--fw-regular);
  letter-spacing: var(--ls-nav); text-transform: uppercase; color: var(--color-taupe);
  padding-block: var(--space-2); position: relative;
}
.site-nav__menu a:hover,
.site-nav__menu .current-menu-item > a { color: var(--color-terracotta); }
.site-header__cta {
  font-size: var(--fs-nav); font-weight: var(--fw-light);
  letter-spacing: 0.11em; padding: 0.62rem 1.5rem;
}
.site-nav__menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: currentColor; transition: width var(--transition);
}
.site-nav__menu a:hover::after,
.site-nav__menu .current-menu-item > a::after { width: 100%; }

.site-header__actions { display: flex; align-items: center; gap: var(--space-4); }

/* --- Language switcher (EL / EN) ------------------------------------------ */
.lang-switch {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-sans); font-size: var(--fs-nav);
  letter-spacing: var(--ls-nav); text-transform: uppercase;
}
.lang-switch__link {
  color: var(--color-taupe); transition: color var(--transition);
}
.lang-switch__link:hover,
.lang-switch__link.is-current { color: var(--color-terracotta); }
.lang-switch__sep { color: var(--color-taupe); opacity: 0.4; }

.mobile-nav__lang { align-self: flex-start; margin-top: var(--space-5); }
.mobile-nav__lang .lang-switch__link { color: var(--on-dark); }
.mobile-nav__lang .lang-switch__link:hover,
.mobile-nav__lang .lang-switch__link.is-current { color: var(--color-gold); }
.mobile-nav__lang .lang-switch__sep { color: rgba(255, 255, 255, 0.3); }

.site-footer__lang { font-size: 0.625rem; letter-spacing: 0.08em; }

/* --- Nav toggle + mobile nav ---------------------------------------------- */
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle__box { position: relative; width: 26px; height: 12px; }
.nav-toggle__line, .nav-toggle__line::before, .nav-toggle__line::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle__line { top: 50%; }
.nav-toggle__line::before { top: -6px; }
.nav-toggle__line::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__line { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__line::before { transform: translateY(6px) rotate(-90deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__line::after  { opacity: 0; }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 90;
  background: var(--color-ink); color: var(--color-white);
  display: flex; flex-direction: column; gap: var(--space-4);
  padding: var(--space-7) var(--gutter);
}
.mobile-nav[hidden] { display: none; }
body.nav-open { overflow: hidden; }
.mobile-nav__menu { display: flex; flex-direction: column; gap: var(--space-4); }
.mobile-nav__menu a {
  font-family: var(--font-display); font-size: var(--fs-h4); text-transform: uppercase;
}
.mobile-nav__cta { align-self: flex-start; margin-top: var(--space-4); }

/* --- Hero ----------------------------------------------------------------- */
.hero { position: relative; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; align-items: flex-end; color: var(--color-white); overflow: hidden; }
.hero__media {
  position: absolute; inset: 0; z-index: 0;
  /* Gradient is a fallback; the hero photo is set inline from the template
     (template-parts/home/hero.php) via elysia_asset_uri('images/hero.jpg'). */
  background: linear-gradient(135deg, #2a3f4a, #6c4a3a 60%, var(--color-terracotta));
  background-size: cover; background-position: center;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  /* Figma Home hero overlay (node 543:674/675, colour #120C08): a left-dark
     horizontal wash plus a bottom-up fade. */
  background:
    linear-gradient(to top, rgba(18,12,8,0.35) 0%, rgba(18,12,8,0) 50%),
    linear-gradient(to right, rgba(18,12,8,0.72) 0%, rgba(18,12,8,0.35) 55%, rgba(18,12,8,0.12) 100%);
}
.hero__inner { position: relative; z-index: 2; padding-bottom: clamp(4rem, 10vh, 9rem); padding-top: var(--space-6); }
/* Home hero is the site's largest heading (Figma 83.4px) — bigger than the inner page-hero (76px = --fs-h1). */
.hero__title { color: var(--color-white); max-width: min(100%, 90rem); margin-top: var(--space-5); font-size: clamp(3rem, 2rem + 4vw, 5.2rem); line-height: 1.15; }
.hero__title-accent { color: var(--color-cream); }
.hero__lead { color: var(--on-dark); font-size: 1.0625rem; margin-top: var(--space-5); max-width: 48ch; }
.hero__link {
  display: inline-flex; align-items: center; gap: var(--space-3); margin-top: var(--space-6);
  font-family: var(--font-sans); font-size: var(--fs-eyebrow); letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase; color: rgba(255,255,255,0.72);
}
.hero__link-arrow { transition: transform var(--transition); }
.hero__link:hover .hero__link-arrow { transform: translateX(6px); }
.hero__actions { display: flex; align-items: center; gap: clamp(var(--space-4), 3vw, var(--space-7)); margin-top: var(--space-7); flex-wrap: wrap; }
.hero__actions .hero__link { margin-top: 0; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: clamp(2rem, 6vh, 4rem); z-index: 2;
  writing-mode: vertical-rl; font-family: var(--font-sans); font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: rgba(255,255,255,0.55);
}

/* --- Stats band ----------------------------------------------------------- */
.stats { background: var(--color-terracotta); color: var(--color-white); }
.stats .container { padding-block: 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3);
  padding: var(--space-7) var(--space-6); text-align: left;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
/* Stat figures are smaller than the decorative card numerals (Figma ≈ 38px). */
.stat__num { font-family: var(--font-display); font-size: clamp(2rem, 1.6rem + 1.2vw, 2.375rem); line-height: 1; }
.stat__label {
  font-family: var(--font-sans); font-size: var(--fs-eyebrow); font-weight: var(--fw-medium);
  letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.32);
}

/* --- Scaffold placeholder sections ---------------------------------------- */
.section--placeholder .container { text-align: center; }
.section--placeholder .container { position: relative; }
.section--placeholder__note {
  margin-inline: auto; margin-top: var(--space-2); max-width: 60ch;
  font-size: var(--fs-body-sm); color: var(--color-text-muted); opacity: 0.9;
}
.section--placeholder.section--dark .section--placeholder__note,
.section--placeholder.section--accent .section--placeholder__note { color: var(--on-dark); }
.section--placeholder::after {
  content: ""; display: block; width: 100%; max-width: var(--content-max);
  margin: var(--space-6) auto 0; height: 1px; background: var(--line);
}

/* --- Footer --------------------------------------------------------------- */
/* Ivory band (Figma footer): brand blurb · Σελίδες · Στοιχεία Επικοινωνίας. */
.site-footer { background: var(--color-footer-bg); color: var(--color-taupe); }
.site-footer__inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1.15fr;
  gap: clamp(var(--space-6), 5vw, var(--space-10));
  padding-block: clamp(3.5rem, 2rem + 4vw, 5.5rem);
}
.site-footer__logo { display: inline-block; }
.site-footer__logo img { display: block; width: clamp(118px, 10vw, 158px); height: auto; }
.site-footer__desc {
  margin-top: var(--space-5); max-width: 30rem;
  font-family: var(--font-body); font-weight: var(--fw-medium);
  font-size: var(--fs-small); line-height: 1.85; color: var(--color-taupe);
}
.site-footer__title {
  font-family: var(--font-display); font-weight: var(--fw-regular);
  font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.25rem); line-height: 1.12;
  color: var(--color-terracotta);
}
.site-footer__rule { display: block; width: 74px; height: 1px; background: var(--color-gold); margin: var(--space-4) 0 var(--space-5); }
.site-footer__contact .site-footer__rule { width: 66px; }

.site-footer__menu { display: flex; flex-direction: column; gap: var(--space-2); }
.site-footer__menu a,
.footer-info__label {
  font-family: var(--font-sans); font-weight: var(--fw-extralight);
  font-size: var(--fs-nav); line-height: 1.55; letter-spacing: -0.02em;
  text-transform: uppercase; color: var(--color-terracotta);
}
.site-footer__menu a { display: inline-block; width: fit-content; transition: color var(--transition); }
.site-footer__menu a:hover { color: var(--color-burnt-orange); }

.footer-info { display: flex; flex-direction: column; gap: var(--space-5); }
.footer-info__item { display: flex; flex-direction: column; gap: var(--space-1); }
.footer-info__value {
  font-family: var(--font-sans); font-weight: var(--fw-medium);
  font-size: var(--fs-small); line-height: 1.65; color: var(--color-taupe);
}
.footer-info__value a {
  color: var(--color-taupe); border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.footer-info__value a:hover { color: var(--color-terracotta); border-bottom-color: currentColor; }

.site-footer__bar { border-top: 1px solid var(--line-strong); }
.site-footer__bar-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-5); }
.site-footer__copy, .site-footer__credit {
  font-family: var(--font-body); font-weight: var(--fw-light);
  font-size: 0.625rem; letter-spacing: 0.08em; color: var(--color-terracotta);
}
.site-footer__credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.site-footer__credit a:hover { text-decoration-color: transparent; }

/* --- Blog / fallback ------------------------------------------------------ */
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--space-7); }
.post-card__title { font-size: var(--fs-h4); margin-block: var(--space-3); }
.page-title { margin-bottom: var(--space-5); }
.entry-content > * + * { margin-top: var(--space-4); }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1024px) {
  .site-nav, .site-header__cta, .site-header__lang { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats:not(.stats--specs) .stat:nth-child(2) { border-right: 0; }
  .stats:not(.stats--specs) .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .site-footer__inner { grid-template-columns: 1fr; gap: var(--space-6); }
  .site-footer__bar-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
}

/* =============================================================================
   Home sections
   ============================================================================= */

/* Shared: accent word + arrow link */
.accent { color: var(--color-burnt-orange); }
.accent-terracotta { color: var(--color-terracotta); }
.arrow-link {
  display: inline-flex; align-items: center; gap: var(--space-4); margin-top: var(--space-3);
  font-family: var(--font-sans); font-size: var(--fs-eyebrow); font-weight: var(--fw-medium);
  letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--color-terracotta);
}
.arrow-link__line { width: 34px; height: 1px; background: currentColor; transition: width var(--transition); }
.arrow-link:hover .arrow-link__line { width: 54px; }

/* Hero: accent line sits on its own row */
.hero__title-accent { display: block; }

/* Welcome / intro */
.welcome { background: var(--color-sand); padding-block: 0; }
.welcome__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, var(--space-9)); align-items: stretch; }
.welcome__text { display: flex; flex-direction: column; justify-content: center; gap: var(--space-4); max-width: none; }
/* Home marquee headings (welcome + booking) are the larger Figma H2 (44.1px). */
.welcome__title,
.booking__title { font-size: clamp(2rem, 1.6rem + 2vw, 2.75rem); line-height: 1.22; }
.welcome__title { margin-block: var(--space-2) var(--space-1); }
.welcome__media { margin: 0; overflow: hidden; height: 100%; min-height: 360px; }
.welcome__media img { width: 100%; height: 100%; object-fit: cover; }

/* Features */
.features { background: var(--color-white); }
.features__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: var(--space-6); margin-bottom: var(--space-8); }
.features__title { max-width: min(100%, 30rem); margin-top: var(--space-4); }
.features__tagline { max-width: none; text-align: right; color: var(--color-text-muted); font-size: var(--fs-body-sm); }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; list-style: none; }
.feature-card {
  background: rgba(243, 236, 220, 0.4); border: 0;
  padding: clamp(1.75rem, 3vw, 2.75rem); display: flex; flex-direction: column; gap: var(--space-3);
}
.feature-card__num { font-family: var(--font-display); font-size: var(--fs-numeral); line-height: 1; letter-spacing: var(--ls-numeral); color: var(--color-terracotta); }
.feature-card__title { font-size: 1.15rem; margin-top: var(--space-2); }
.feature-card__body { color: var(--color-text-muted); font-size: var(--fs-body-sm); max-width: none; }
.features__cta { margin-top: var(--space-8); text-align: center; }

/* Location strip */
.location { background: var(--color-terracotta); color: var(--color-white); }
.location__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding-block: var(--space-6); flex-wrap: wrap; }
.location__place { display: flex; align-items: center; gap: var(--space-4); }
.location__pin { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.28); }
.location__text { display: flex; flex-direction: column; gap: var(--space-1); }
.location__text strong { font-family: var(--font-display); font-weight: var(--fw-regular); font-size: var(--fs-h6); letter-spacing: 0.06em; }
.location__text span { font-family: var(--font-sans); font-size: var(--fs-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--on-dark-muted); }
.location__distances { display: flex; align-items: stretch; }
.distance { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); padding-inline: clamp(0.6rem, 1.3vw, 1.25rem); border-left: 1px solid rgba(255,255,255,0.18); }
.distance:first-child { border-left: 0; padding-left: 0; }
.distance__value { font-family: var(--font-display); font-size: var(--fs-h4); }
.distance__label { font-family: var(--font-sans); font-size: var(--fs-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--on-dark); }

/* Gallery mosaic (edge-to-edge) */
.gallery { background: var(--color-sand); }
.gallery__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 1fr); gap: 4px; aspect-ratio: 3.2 / 1; }
.gallery__tile { position: relative; overflow: hidden; margin: 0; }
.gallery__tile--large { grid-row: 1 / 3; grid-column: 1; }
.gallery__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.gallery__tile:hover img { transform: scale(1.04); }
.gallery__caption {
  position: absolute; left: var(--space-4); bottom: var(--space-4); z-index: 2; color: var(--color-white);
  font-family: var(--font-sans); font-size: var(--fs-eyebrow); letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase; text-shadow: 0 1px 10px rgba(0,0,0,0.65);
}

/* Booking */
.booking { background: var(--color-sand); }
.booking__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, var(--space-9)); align-items: center; }
.booking__intro { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); max-width: 42ch; }
.booking__title { margin-block: var(--space-2); }
.booking__intro .btn { margin-top: var(--space-3); }
.booking__details { display: flex; flex-direction: column; }
.booking__row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-5); border-bottom: 1px solid var(--line); }
.booking__row:first-child { border-top: 1px solid var(--line); }
.booking__label { font-family: var(--font-sans); font-size: var(--fs-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--color-text-muted); }
.booking__value { font-family: var(--font-display); font-size: var(--fs-h6); text-align: right; }
.booking__value a { color: inherit; border-bottom: 1px solid transparent; transition: color var(--transition), border-color var(--transition); }
.booking__value a:hover { color: var(--color-terracotta); border-bottom-color: currentColor; }

/* Home sections — responsive */
@media (max-width: 1024px) {
  .welcome__grid, .booking__grid { grid-template-columns: 1fr; }
  .welcome__media { order: -1; }
  .features__head { grid-template-columns: 1fr; align-items: start; }
  .features__tagline { text-align: left; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .features__grid { grid-template-columns: 1fr; }
  .location__inner { justify-content: flex-start; }
  /* Two distances per line (2×2) on mobile; drop the desktop row dividers. */
  .location__distances { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5) var(--space-4); width: 100%; }
  .location__distances .distance { border-left: 0; padding-inline: 0; align-items: flex-start; }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; }
  .gallery__tile { aspect-ratio: 4 / 3; }
  .gallery__tile--large { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; }
  .booking__value { text-align: left; }
  /* "Άμεση κράτηση" onto its own line; drop the middot before it. */
  .booking__value .value-break,
  .cta__value .value-break { display: block; }
  .booking__value .value-break__sep,
  .cta__value .value-break__sep { display: none; }
}
@media (max-width: 480px) {
  .gallery__grid { grid-template-columns: 1fr; }
  .distance:first-child { padding-left: 0; }
}

/* =============================================================================
   Inner-page components (Vila, and shared by other pages)
   ============================================================================= */

/* Inner-page hero (image + gradient, content bottom-left, below the solid header) */
.page-hero { position: relative; min-height: clamp(520px, 78vh, 800px); display: flex; align-items: flex-end; color: var(--color-white); overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.page-hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(28,20,16,0.5) 0%, rgba(28,20,16,0.05) 42%, rgba(28,20,16,0.78) 100%); }
/* Match the Home hero overlay exactly (Figma node 543:674/675, colour #120C08):
   a left-dark horizontal wash plus a bottom-up fade. Scoped to Porto Rafti. */
.page-porto-rafti .page-hero__scrim {
  background:
    linear-gradient(to top, rgba(18,12,8,0.35) 0%, rgba(18,12,8,0) 50%),
    linear-gradient(to right, rgba(18,12,8,0.72) 0%, rgba(18,12,8,0.35) 55%, rgba(18,12,8,0.12) 100%);
}
.page-hero__inner { position: relative; z-index: 2; padding-top: var(--space-6); padding-bottom: clamp(3rem, 8vh, 6rem); }
.page-hero__title { color: var(--color-white); max-width: min(100%, 90rem); }
.page-hero__title .accent-cream { display: block; color: var(--color-cream); }
.page-hero__lead { color: var(--on-dark); margin-top: var(--space-5); max-width: 60ch; font-size: 1.0625rem; }

/* Specs bar — reuse .stats with five columns + unit */
.stats--specs .stats__grid { grid-template-columns: repeat(5, 1fr); }
.stat__unit { font-size: 0.5em; color: var(--on-dark); }

/* Generic media + text split (Vila intro; reusable) */
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, var(--space-9)); align-items: stretch; }
.media-split__body { display: flex; flex-direction: column; justify-content: center; gap: var(--space-4); max-width: none; }
.media-split__body p { max-width: none; }
.media-split__media { margin: 0; overflow: hidden; height: 100%; min-height: 360px; }
.media-split__media img { width: 100%; height: 100%; object-fit: cover; }

/* Image caption overlay — quote + label at the foot of full-bleed media
   (home welcome, about vision, vila intro). The text used to be baked into the
   photo; it now lives as real, translatable HTML over a legibility scrim. */
.welcome__media,
.media-split__media { position: relative; }
/* Black gradient over the image (Figma node 543:846): darkest ink at the foot,
   fading to transparent by 60% — above the photo, below the caption text. */
.welcome__media::after,
.about-vision .media-split__media::after,
.vila-intro .media-split__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(28, 20, 16, 0.45), rgba(28, 20, 16, 0) 60%);
}
.media-caption {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  display: flex; flex-direction: column; gap: var(--space-3);
  padding: clamp(1.5rem, 3.5vw, 3rem);
}
.media-caption--label { padding-block: clamp(1.25rem, 2.5vw, 2rem); }
.media-caption__quote {
  margin: 0; max-width: none;
  font-family: var(--font-display); font-style: italic; font-weight: var(--fw-regular);
  font-size: clamp(1.0625rem, 0.85rem + 0.7vw, 1.4375rem); line-height: 1.42;
  color: var(--color-cream);
}
.media-caption__label {
  font-family: var(--font-sans); font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow); text-transform: uppercase;
  color: var(--color-gold);
}

/* Full-bleed media (image edge-to-edge, no column gap) — same treatment as the
   Paroxes amenity rows. Scoped to the porto-rafti/vila/about splits + the home
   welcome (NOT about-share / paroxes-intro). Un-constrains the .container wrapper
   to full width and moves the gutter onto the text column so copy stays inset. */
.location-intro .container,
.vila-intro .container,
.about-vision .container,
.about-porto .container,
.welcome .container { max-width: none; padding-inline: 0; }
.location-intro .media-split,
.vila-intro .media-split,
.about-vision .media-split,
.about-porto .media-split,
.welcome__grid { gap: 0; }
.location-intro .media-split__body,
.vila-intro .media-split__body,
.about-vision .media-split__body,
.about-porto .media-split__body,
.welcome__text { padding-inline: clamp(1.5rem, 4vw, 3.75rem); }
.vila-intro { background: var(--color-sand); padding-block: 0; }

/* Rooms — alternating image / text rows */
.rooms { background: var(--color-white); }
.rooms__head { display: flex; flex-direction: column; gap: var(--space-4); margin-bottom: var(--space-8); }
.room-row { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.room-row + .room-row { margin-top: 0; }
.room-row__media { margin: 0; overflow: hidden; min-height: 360px; }
.room-row__media img { width: 100%; height: 100%; object-fit: cover; }
.room-row__body { display: flex; flex-direction: column; justify-content: center; gap: var(--space-3); padding: clamp(1.75rem, 4vw, var(--space-8)); background: var(--color-cream); }
.room-row--reverse .room-row__media { order: 2; }
.room-row--reverse .room-row__body { order: 1; }
.room__num { font-family: var(--font-display); font-size: var(--fs-numeral); line-height: 1; letter-spacing: var(--ls-numeral); color: #C39A6B2E; }
.room__title { font-size: var(--fs-h4); }
.room__sub { font-family: var(--font-sans); font-size: var(--fs-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--color-text-muted); }
.room__body { color: var(--color-text-muted); font-size: var(--fs-body-sm); max-width: 54ch; }

/* Full specs — six category columns with dashed lists */
.full-specs { background: var(--color-white); }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8) var(--space-6); margin-top: var(--space-7); background: var(--color-sand); padding: clamp(var(--space-6), 4vw, var(--space-8)); }
.spec-cat__label { font-family: var(--font-sans); font-size: var(--fs-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--color-gold); }
.spec-cat__title { font-size: var(--fs-h5); margin: var(--space-2) 0 var(--space-4); }
.spec-list { display: flex; flex-direction: column; gap: var(--space-3); }
.spec-list li { position: relative; padding-left: var(--space-4); font-family: var(--font-body); font-size: var(--fs-body-sm); color: var(--color-text-muted); }
.spec-list li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 12px; height: 1px; background: var(--color-gold); }

/* CTA band (terracotta) with bordered detail table */
.cta { background: var(--color-terracotta); color: var(--color-white); }
.cta .eyebrow { color: rgba(255,255,255,0.82); }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, var(--space-9)); align-items: center; }
.cta__intro { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); max-width: none; }
.cta__intro p { max-width: none; }
.cta__title { color: var(--color-white); margin-block: var(--space-2); }
.cta__intro p { color: var(--on-dark); }
.arrow-link--on-dark { color: var(--color-white); }
.cta__details { border: 1px solid rgba(255,255,255,0.22); }
.cta__row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); padding: var(--space-5); border-bottom: 1px solid rgba(255,255,255,0.16); }
.cta__row:last-child { border-bottom: 0; }
.cta__label { font-family: var(--font-sans); font-size: var(--fs-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--on-dark-muted); }
.cta__value { font-family: var(--font-display); font-size: var(--fs-h6); text-align: right; color: var(--color-white); }
.cta__value a { color: inherit; border-bottom: 1px solid rgba(255,255,255,0.4); transition: border-color var(--transition); }
.cta__value a:hover { border-bottom-color: var(--color-white); }
/* Solid CTA button inverts to a light fill so it stays legible on the terracotta band.
   Not on .cta--light (sand), where the default terracotta solid is correct. */
.cta:not(.cta--light) .btn--solid { background: var(--color-cream); color: var(--color-terracotta); border-color: var(--color-cream); }
.cta:not(.cta--light) .btn--solid:hover { background: var(--color-white); color: var(--color-terracotta); }
/* Vila CTA button uses the dark maroon solid (Figma) instead of the cream
   inversion — higher specificity so it wins order-independently. */
.page-vila .cta:not(.cta--light) .btn--solid { background: var(--color-maroon-dark); color: var(--color-white); border-color: var(--color-maroon-dark); }
.page-vila .cta:not(.cta--light) .btn--solid:hover { background: var(--color-ink); color: var(--color-white); }

/* Inner-page components — responsive */
@media (max-width: 1024px) {
  .media-split, .cta__grid { grid-template-columns: 1fr; }
  .media-split__media { order: -1; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .room-row { grid-template-columns: 1fr; }
  .room-row__media, .room-row--reverse .room-row__media { order: -1; min-height: 240px; }
  .room-row__body, .room-row--reverse .room-row__body { order: 0; }
  .spec-grid { grid-template-columns: 1fr; }
  .stats--specs .stats__grid { grid-template-columns: repeat(3, 1fr); }
  /* Clean dividers for the 3-col wrap: no right border on the right edge,
     a full bottom border under the top row of three. */
  .stats--specs .stat:nth-child(3n) { border-right: 0; }
  .stats--specs .stat:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .stats--specs .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { min-width: 0; }
}

/* =============================================================================
   Porto Rafti page components
   ============================================================================= */

/* Hero extras: breadcrumb + glass distance pills */
.page-hero--tall { min-height: clamp(600px, 88vh, 900px); }
.page-hero__breadcrumb { display: flex; gap: var(--space-2); margin-bottom: var(--space-5); font-family: var(--font-sans); font-size: var(--fs-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: rgba(255,255,255,0.7); }
.page-hero__breadcrumb a:hover { color: var(--color-white); }
.hero-pills { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.hero-pill { display: flex; flex-direction: column; align-items: center; gap: var(--space-1); padding: var(--space-3) var(--space-5); border: 1px solid #C39A6B4D; background: rgba(255,255,255,0.08); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-pill__value { font-family: var(--font-display); font-size: var(--fs-h5); color: var(--color-gold); }
.hero-pill__label { font-family: var(--font-sans); font-size: var(--fs-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: rgba(255,255,255,0.6); }

.location-intro { background: var(--color-sand); padding-block: 0; }
.location-intro p { color: var(--color-taupe); }

/* Highlights — 2×2 image cards */
.highlights { background: var(--color-cream); }
.highlights__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: var(--space-6); margin-bottom: var(--space-8); }
.highlights__head .eyebrow { margin-bottom: var(--space-4); }
.highlights__tagline { max-width: none; text-align: right; color: var(--color-text-muted); font-size: var(--fs-body-sm); }
.highlights__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.highlight-card { background: var(--color-cream); display: flex; flex-direction: column; }
.highlight-card__media { margin: 0; aspect-ratio: 894 / 280; overflow: hidden; }
.highlight-card__media img { width: 100%; height: 100%; object-fit: cover; }
.highlight-card__body { padding: clamp(1.5rem, 3vw, var(--space-7)); display: flex; flex-direction: column; gap: var(--space-2); }
.highlight-card__label { font-family: var(--font-sans); font-size: var(--fs-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--color-gold); }
.highlight-card__title { font-size: var(--fs-h5); }
.highlight-card__text { color: var(--color-text-muted); font-size: var(--fs-body-sm); margin-top: var(--space-2); }

/* Excursions — terracotta band with maroon cards */
.excursions { background: var(--color-terracotta); color: var(--color-white); }
.excursions .eyebrow { color: var(--color-gold); }
.excursions__head { display: flex; flex-direction: column; gap: var(--space-4); margin-bottom: var(--space-7); max-width: 60ch; }
.excursions__title { color: var(--color-white); }
.excursions__title .accent { color: var(--color-gold); }
.excursions__intro { color: var(--on-dark); font-size: var(--fs-body); max-width: 56ch; }
.excursions__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); }
.excursion-card { background: var(--color-maroon-dark); padding: clamp(1.75rem, 3vw, var(--space-7)); display: flex; flex-direction: column; gap: var(--space-1); }
.excursion-card__num { font-family: var(--font-display); font-size: 2.5rem; line-height: 1; color: rgba(255,255,255,0.5); }
.excursion-card__title { font-size: var(--fs-h6); color: rgba(255,255,255,0.92); margin-top: var(--space-2); }
.excursion-card__place { font-family: var(--font-sans); font-size: var(--fs-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--color-gold); }
.excursion-card__text { color: var(--on-dark); font-size: var(--fs-body-sm); margin-top: var(--space-2); }

/* CTA split — colored panel + image */
.cta-split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.cta-split__panel { background: var(--color-terracotta); color: var(--color-white); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--space-4); padding: clamp(2.5rem, 6vw, var(--space-10)) clamp(2rem, 5vw, var(--space-9)); }
.cta-split__panel .eyebrow { color: var(--color-gold); }
.cta-split__title { color: var(--color-white); max-width: none; }
.cta-split__panel p { color: var(--on-dark); max-width: 46ch; }
.cta-split__panel .btn { margin-top: var(--space-3); }
.cta-split__media { margin: 0; min-height: 360px; overflow: hidden; }
.cta-split__media img { width: 100%; height: 100%; object-fit: cover; }
/* Porto Rafti CTA-split — Figma light variant: sand panel + terracotta heading.
   Paroxes keeps the dark terracotta panel, so scope this to the Porto Rafti page.
   The outline button (cream fill / taupe text) already reads on sand; only the
   paragraph needs a dark colour (its base --on-dark white is invisible here). */
.page-porto-rafti .cta-split__panel { background: var(--color-sand); color: var(--color-ink); }
.page-porto-rafti .cta-split__title { color: var(--color-terracotta); }
.page-porto-rafti .cta-split__panel p { color: var(--color-text-muted); }

/* Porto Rafti — responsive */
@media (max-width: 1024px) {
  .highlights__head { grid-template-columns: 1fr; }
  .highlights__tagline { text-align: left; }
  .cta-split { grid-template-columns: 1fr; }
  .cta-split__media { order: -1; min-height: 280px; }
}
@media (max-width: 768px) {
  .highlights__grid { grid-template-columns: 1fr; }
  .excursions__grid { grid-template-columns: 1fr; }
  /* Distance pills: full-width, two per line (was a wrapping flex row). */
  .hero-pills { display: grid; grid-template-columns: 1fr 1fr; }
}

/* =============================================================================
   Paroxes (Amenities) page components
   ============================================================================= */

.accent-gold { color: var(--color-gold); }
.paroxes-intro { background: var(--color-sand); }

/* Framed image (intro) — decorative gold outline squares */
.framed-media { position: relative; }
.framed-media__frame { position: absolute; z-index: 2; width: 72px; height: 72px; border: 1px solid rgba(195,154,107,0.65); pointer-events: none; }
.framed-media__frame--tr { top: 20px; right: 20px; }
.framed-media__frame--bl { bottom: 20px; left: 20px; }

/* Amenities — full-bleed alternating image / cream panel rows with checklists */
.amenities { background: var(--color-cream); }
.amenity-row { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.amenity-row__media { margin: 0; overflow: hidden; min-height: 400px; }
.amenity-row__media img { width: 100%; height: 100%; object-fit: cover; }
.amenity-row__body { background: var(--color-cream); display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 4vw, 3.75rem) clamp(1.5rem, 4vw, 3.75rem); }
.amenity-row--reverse .amenity-row__media { order: 2; }
.amenity-row--reverse .amenity-row__body { order: 1; }
.amenity__num { font-family: var(--font-display); font-size: var(--fs-numeral); line-height: 1; letter-spacing: var(--ls-numeral); color: #C39A6B2E; }
.amenity__title { font-size: var(--fs-h4); margin-top: var(--space-1); }
.amenity__sub { font-family: var(--font-sans); font-size: var(--fs-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--color-text-muted); margin-top: var(--space-3); }
.amenity__body { color: var(--color-text-muted); font-size: var(--fs-body-sm); margin-top: var(--space-3); max-width: 54ch; }
.amenity-list { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-4); }
.amenity-list li { position: relative; padding-left: var(--space-4); font-family: var(--font-body); font-size: var(--fs-body-sm); color: var(--color-taupe); }
.amenity-list li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 8px; height: 1px; background: var(--color-gold); }

/* Check-list (protocol split panel, on dark) */
.check-list { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-2); }
.check-list li { display: flex; gap: var(--space-3); align-items: flex-start; font-family: var(--font-body); font-size: var(--fs-body-sm); color: var(--on-dark); }
.check-list li::before { content: "✓"; color: var(--color-gold); flex-shrink: 0; }

/* Light CTA variant (Paroxes) — reuses .cta__* structure on a light surface */
.cta--light { background: var(--color-sand); color: var(--color-text); }
.cta--light .eyebrow { color: var(--color-gold); }
.cta--light .cta__title { color: var(--color-ink); }
.cta--light .cta__intro p { color: var(--color-text-muted); }
.cta--light .cta__details { border: 1px solid var(--line); }
.cta--light .cta__row { border-bottom: 1px solid var(--line); }
.cta--light .cta__label { color: var(--color-text-muted); }
.cta--light .cta__value { color: var(--color-ink); }
.cta--light .cta__value a { border-bottom-color: var(--line-strong); }
.cta--light .cta__value a:hover { color: var(--color-terracotta); border-bottom-color: currentColor; }

/* Paroxes — responsive */
@media (max-width: 768px) {
  .amenity-row { grid-template-columns: 1fr; }
  .amenity-row__media, .amenity-row--reverse .amenity-row__media { order: -1; min-height: 240px; }
  .amenity-row__body, .amenity-row--reverse .amenity-row__body { order: 0; }
}

/* =============================================================================
   About page components
   ============================================================================= */

/* Reversed media-split (image left, text right) — used by About */
.media-split--reverse .media-split__media { order: -1; }

/* Vision + "Γιατί Πόρτο Ράφτη" share the same sand surface and sit flush —
   drop the padding between them (keep vision's top gap + porto's bottom gap). */
.about-vision { background: var(--color-sand); padding-block: 0; }
.about-porto  { background: var(--color-sand); padding-block: 0; }
.about-share  { background: var(--color-sand); }
.about-share p { color: var(--color-taupe); }

/* Philosophy — three light "principle" columns */
.principles { background: var(--color-white); }
.principles__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: var(--space-6); margin-bottom: var(--space-8); }
.principles__head .eyebrow { margin-bottom: var(--space-4); }
.principles__tagline { max-width: none; text-align: right; color: var(--color-text-muted); font-size: var(--fs-body-sm); }
.principles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8) var(--space-6); }
.principle { background: #FCFAF6; padding: clamp(1.5rem, 3vw, var(--space-7)); }
.principle__num { font-family: var(--font-display); font-size: var(--fs-numeral); line-height: 1; letter-spacing: var(--ls-numeral); color: var(--color-gold); }
.principle__title { font-size: var(--fs-h5); margin: var(--space-3) 0; }
.principle__body { color: var(--color-text-muted); font-size: var(--fs-body-sm); }

/* About — responsive */
@media (max-width: 1024px) {
  .principles__head { grid-template-columns: 1fr; }
  .principles__tagline { text-align: left; }
}
@media (max-width: 768px) {
  .principles__grid { grid-template-columns: 1fr; }
}

/* =============================================================================
   Contact page components
   ============================================================================= */

.page-hero--short { min-height: clamp(440px, 62vh, 620px); }

/* Two-panel split: form (sand) + info (cream), full-bleed */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.contact-split__form,
.contact-split__info { padding: clamp(2.5rem, 5vw, 5rem) clamp(1.5rem, 4vw, 4rem); }
.contact-split__form { background: var(--color-sand); }
/* Info panel is a dark terracotta band (Figma) — flip its text to the site's
   on-dark treatment: white headings/values, gold eyebrow, muted-white detail. */
.contact-split__info { background: var(--color-terracotta); color: var(--color-white); }
.contact-split__info .contact-split__title { color: var(--color-white); }
.contact-split__info .eyebrow { color: var(--color-gold); }
.contact-split__info .info-block__value { color: #FFFFFFCC; }
.contact-split__info .info-block__detail { color: var(--on-dark); }
.contact-split__info .info-block + .info-block { border-top-color: var(--line-strong); }
.contact-split__info .info-links li a { color: #FFFFFF80; }
.contact-split__info .info-links li a:hover { color: var(--color-gold); }
.contact-split__title { font-size: var(--fs-h3); margin: var(--space-4) 0; }
.contact-split__intro { color: var(--color-text-muted); font-size: var(--fs-body-sm); margin-bottom: var(--space-6); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: var(--space-5); }
.contact-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.field { display: flex; flex-direction: column; gap: var(--space-2); margin: 0; }
.field label,
.field-row .field > label {
  font-family: var(--font-body); font-size: var(--fs-eyebrow); font-weight: var(--fw-regular);
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-text-muted);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong);
  border-radius: 0; padding: 0.625rem 0 0.6875rem; font-family: var(--font-body); font-size: var(--fs-body);
  color: var(--color-ink); transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(122, 106, 88, 0.4); }
.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible { outline: none; border-bottom-color: var(--color-terracotta); box-shadow: 0 1px 0 0 var(--color-terracotta); }
.field-consent { display: flex; align-items: flex-start; gap: var(--space-3); font-family: var(--font-body); font-size: var(--fs-small); color: var(--color-text-muted); }
.field-consent input { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; accent-color: var(--color-terracotta); }
.contact-form__submit { width: 100%; }
.contact-form__note { text-align: center; font-size: var(--fs-small); color: rgba(122, 106, 88, 0.6); }

/* Form notices */
.form-notice { padding: var(--space-4) var(--space-5); font-size: var(--fs-body-sm); margin-bottom: var(--space-5); border-left: 3px solid; }
.form-notice--success { background: rgba(195, 154, 107, 0.14); border-color: var(--color-terracotta); color: var(--color-ink); }
.form-notice--error { background: rgba(88, 29, 14, 0.08); border-color: var(--color-maroon-dark); color: var(--color-maroon-dark); }

/* Info column */
.info-block + .info-block { margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--line); }
.info-block__label { display: block; font-family: var(--font-sans); font-size: var(--fs-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--color-gold); margin-bottom: var(--space-3); }
.info-block__value { display: block; font-family: var(--font-display); font-weight: var(--fw-regular); font-size: var(--fs-h5); color: var(--color-ink); }
.info-block__detail { color: var(--color-text-muted); font-size: var(--fs-body-sm); margin-top: var(--space-2); }
.info-links { margin-top: var(--space-3); }
.info-links li a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-4) 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-sans); font-size: var(--fs-small); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text);
  transition: color var(--transition);
}
.info-links li a:hover { color: var(--color-terracotta); }
.info-links__arrow { transition: transform var(--transition); }
.info-links li a:hover .info-links__arrow { transform: translateX(6px); }

/* FAQ */
.faq { background: var(--color-sand); }
.faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4) var(--space-6); }
.faq-item { background: #F3ECDC; padding: clamp(1.5rem, 3vw, var(--space-7)); }
.faq-item__q { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; margin-bottom: var(--space-3); }
.faq-item__a { color: var(--color-text-muted); font-size: var(--fs-body-sm); max-width: 52ch; }

/* Contact — responsive */
@media (max-width: 1024px) {
  .contact-split { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq-item { padding: var(--space-5); }
}
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
}

/* --- Motion preference ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* =============================================================================
   Scroll reveal — subtle entrance motion (transform + opacity only; GPU).
   Every hidden state is gated behind html.reveal-on, which main.js adds ONLY
   when IntersectionObserver is supported AND prefers-reduced-motion is not set
   AND targets exist. No JS / no IO / reduced motion => gate absent => all
   content is fully visible in its natural state. The observer adds .is-visible
   to each element as it scrolls in; no layout properties animate (no jank/CLS).
   ============================================================================= */

/* 1 — HOME feature cards: gentle staggered fade + rise. */
html.reveal-on .features__grid .feature-card {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 620ms cubic-bezier(0.4, 0, 0.2, 1);
}
html.reveal-on .features__grid .feature-card.is-visible {
  opacity: 1;
  transform: none;
}
/* Tasteful stagger for the six cards (grid source order). */
html.reveal-on .features__grid .feature-card:nth-child(2) { transition-delay: 70ms; }
html.reveal-on .features__grid .feature-card:nth-child(3) { transition-delay: 140ms; }
html.reveal-on .features__grid .feature-card:nth-child(4) { transition-delay: 210ms; }
html.reveal-on .features__grid .feature-card:nth-child(5) { transition-delay: 280ms; }
html.reveal-on .features__grid .feature-card:nth-child(6) { transition-delay: 350ms; }

/* 2 + 3 — VILA room & PAROXES amenity IMAGES: Ken-Burns settle inside the
   existing overflow:hidden figure. Transform (scale) ONLY — opacity is never
   touched, so the image is always painted (zero flash) and this reads purely as
   "movement", distinct from the card fade and the About fade. Scale stays >= 1
   so the object-fit:cover image always fills the frame. The observer watches
   the figure; the child <img> is what animates. */
html.reveal-on .room-row__media img,
html.reveal-on .amenity-row__media img {
  transform: scale(1.08);
  transform-origin: center;
  transition: transform 1300ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
html.reveal-on .room-row__media.is-visible img,
html.reveal-on .amenity-row__media.is-visible img {
  transform: scale(1);
}

/* 4 — ABOUT bodies: slow, restrained fade (longer + softer than the cards). */
html.reveal-on .about-vision .media-split__body,
html.reveal-on .about-porto .media-split__body {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1100ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 1100ms cubic-bezier(0.4, 0, 0.2, 1);
}
html.reveal-on .about-vision .media-split__body.is-visible,
html.reveal-on .about-porto .media-split__body.is-visible {
  opacity: 1;
  transform: none;
}

/* Defensive belt-and-braces: if the gate is ever present under reduced motion
   (e.g. an OS toggle in the frame before the JS change-listener fires), never
   hold content hidden. Complements the JS guard and the global reduced-motion
   rule above. */
@media (prefers-reduced-motion: reduce) {
  html.reveal-on .features__grid .feature-card,
  html.reveal-on .room-row__media img,
  html.reveal-on .amenity-row__media img,
  html.reveal-on .about-vision .media-split__body,
  html.reveal-on .about-porto .media-split__body {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =============================================================================
   Mobile / stacked vertical breathing room for the full-bleed text columns.
   At <=1024px .welcome__grid and .media-split collapse to a single column: the
   media bleeds full-width above the copy, and the text column keeps its
   horizontal gutter (padding-inline: clamp(1.5rem,4vw,3.75rem)) but has ZERO
   vertical padding — cramped. Add padding-block to the TEXT COLUMN ONLY. The
   section keeps padding-block:0 and .container keeps padding-inline:0, and the
   image is a separate grid child, so the edge-to-edge full-bleed is preserved.
   ============================================================================= */
@media (max-width: 1024px) {
  .welcome__text,
  .about-vision .media-split__body,
  .about-porto .media-split__body,
  .location-intro .media-split__body {
    padding-block: clamp(2.5rem, 8vw, 4rem);
  }
}
