/* ==========================================================================
   Crete Home 4u — Website stylesheet
   Tokens taken from the Figma file "Crete Home 4u — Website Redesign"
   (Style Guide + Hover Styles pages).
   ========================================================================== */

/* ---------- 0. Fonts (self-hosted, OFL licensed — Manrope & PT Serif Caption) ---------- */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-greek-400-normal.woff2") format("woff2"); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/manrope-greek-500-normal.woff2") format("woff2"); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/manrope-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-greek-600-normal.woff2") format("woff2"); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-greek-700-normal.woff2") format("woff2"); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "PT Serif Caption"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/pt-serif-caption-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "PT Serif Caption"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/pt-serif-caption-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---------- 1. Design tokens ---------- */
:root {
  /* Colour */
  --ink: #111111;          /* primary text / headings */
  --terra: #E6801F;        /* accent, buttons, links, icons */
  --terra-hover: #C7772C;  /* canonical hover (filled + outline + ghost) */
  --terra-press: #A9611F;  /* active / pressed */
  --gray: #6B6B6B;         /* secondary text */
  --muted: #9D9D9D;        /* placeholder / meta */
  --border: #E4E1DA;       /* hairlines */
  --bg-soft: #FAF8F5;      /* light neutral background */
  --tint: #FBEFE3;         /* warm terracotta tint band */
  --blush: #FAECE7;        /* soft CTA band / tag background */
  --footer: #0B0B0B;
  --whatsapp: #25D366;
  --success-bg: #E5F4EA;
  --success: #2D7A4B;
  --white: #FFFFFF;

  /* Type */
  --font-title: "PT Serif Caption", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-h1: 42px;
  --fs-h2: 28px;
  --fs-h3: 22px;
  --fs-lead: 20px;
  --fs-body: 18px;
  --fs-small: 16px;
  --fs-caption: 14px;
  --fs-meta: 13px;

  /* Layout */
  --container: 1312px;
  --gutter: 64px;
  --header-h: 82px;
  --radius-card: 12px;
  --radius-photo: 16px;
  --radius-field: 8px;
  --radius-chip: 20px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: .18s;
  --t-med: .35s;
  --t-slow: .6s;

  --shadow-card: 0 10px 30px rgba(17, 17, 17, .08);
  --shadow-pop: 0 12px 32px rgba(17, 17, 17, .12);
  --glow: 0 0 0 4px rgba(230, 128, 31, .16);
}

@media (max-width: 1199px) {
  :root { --gutter: 40px; }
}
@media (max-width: 719px) {
  :root {
    --gutter: 20px;
    --header-h: 64px;
    --fs-h1: 32px;
    --fs-h2: 26px;
    --fs-h3: 20px;
    --fs-lead: 17px;
    --fs-body: 16px;
  }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 400; margin: 0; letter-spacing: 0; }
h1 { font-size: var(--fs-h1); line-height: 1.2; }
h2 { font-size: var(--fs-h2); line-height: 1.25; }
h3 { font-size: var(--fs-h3); line-height: 1.3; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 4px; }
.sr-only { 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: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top var(--t-fast); }
.skip-link:focus { top: 12px; }

.container { width: min(var(--container), 100% - (var(--gutter) * 2)); margin-inline: auto; }
.container--narrow { width: min(760px, 100% - (var(--gutter) * 2)); margin-inline: auto; }
.container--text { width: min(720px, 100% - (var(--gutter) * 2)); margin-inline: auto; }

.lead { font-size: var(--fs-body); color: var(--gray); }
.text-gray { color: var(--gray); }
.text-muted { color: var(--muted); }
.caption { font-size: var(--fs-caption); line-height: 1.5; }
.meta { font-size: var(--fs-meta); color: var(--muted); }
.center { text-align: center; }

.section { padding-block: 64px; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: 40px; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section__head p { margin-top: 8px; }
@media (max-width: 719px) {
  .section { padding-block: 48px; }
  .section__head { flex-direction: column; align-items: flex-start; margin-bottom: 22px; }
}

/* ---------- 3. Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 500; font-size: 16px; line-height: 1.3;
  padding: 12px 22px; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; white-space: nowrap;
  transition: background-color 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:active { transform: translateY(1px); }
.btn--primary { background: var(--terra); color: var(--white); }
.btn--primary:hover { background: var(--terra-hover); }
.btn--primary:active { background: var(--terra-press); }
.btn--outline { background: var(--white); color: var(--terra); border-color: var(--terra); }
.btn--outline:hover { color: var(--terra-hover); border-color: var(--terra-hover); }
.btn--ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost-light:hover { background: rgba(255,255,255,.22); }
.btn--whatsapp { background: var(--white); color: var(--ink); border-color: var(--border); }
.btn--whatsapp:hover { border-color: var(--whatsapp); color: var(--ink); }
.btn--whatsapp svg { color: var(--whatsapp); }
.btn--lg { padding: 14px 26px; }
.btn--sm { padding: 9px 18px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn.is-disabled { background: #F1EFEA; color: var(--muted); border-color: transparent; cursor: not-allowed; }
.btn .arrow { transition: transform var(--t-fast) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500; font-size: 16px; color: var(--terra);
  transition: color var(--t-fast) var(--ease);
}
.link-arrow:hover { color: var(--terra-hover); }
.link-arrow .arrow { display: inline-block; transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }
.link-arrow--sm { font-size: 13px; font-weight: 600; }

.text-link { color: var(--terra); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--terra-hover); }

/* ---------- 4. Chips, tags, badges ---------- */
.chip {
  display: inline-flex; align-items: center; padding: 8px 16px; border-radius: var(--radius-chip);
  background: var(--bg-soft); color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.35;
  border: 0; transition: color var(--t-fast), background-color var(--t-fast);
}
a.chip:hover, button.chip:hover, .chip.is-active { color: var(--terra); }

.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  border: 0; padding: 8px 14px; border-radius: var(--radius-pill);
  background: var(--bg-soft); color: var(--gray); font-size: 14px; font-weight: 500; line-height: 1.3;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.filter-chip:hover { color: var(--ink); background: #F1EEE8; }
.filter-chip.is-active { background: var(--terra); color: #fff; }
.filter-chip.is-active:hover { background: var(--terra-hover); }

.tag {
  display: inline-flex; align-items: center; padding: 5px 12px; border-radius: var(--radius-pill);
  background: var(--blush); color: var(--terra); font-size: 11px; font-weight: 600; line-height: 1.35; letter-spacing: .01em;
  align-self: flex-start;
}
.badge-sale {
  display: inline-flex; padding: 5px 14px; border-radius: var(--radius-chip);
  background: var(--border); color: var(--ink); font-size: 13px; font-weight: 500; line-height: 1.35;
}
.badge-status {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--radius-chip);
  background: var(--success-bg); color: var(--success); font-size: 13px; font-weight: 500;
}
.badge-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 90;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
  transition: background-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(17,17,17,.06); }
.site-header__inner {
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding-inline: 65px; max-width: 1600px; margin-inline: auto;
}
.logo img { width: 200px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  position: relative; font-size: 16px; color: var(--gray); padding-block: 6px; white-space: nowrap;
  transition: color var(--t-fast) var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--terra);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.wa-link { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; color: var(--whatsapp); transition: background-color var(--t-fast), transform var(--t-fast); }
.wa-link:hover { background: rgba(37, 211, 102, .1); transform: scale(1.06); }
.wa-link svg { width: 26px; height: 26px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; position: relative; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  position: absolute; left: 11px; width: 22px; height: 1.75px; background: currentColor; border-radius: 2px; content: "";
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast);
}
.menu-btn span { top: 21px; }
.menu-btn span::before { left: 0; top: -7px; }
.menu-btn span::after { left: 0; top: 7px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* Dark header variant (homepage, over the hero) */
.site-header--dark { position: fixed; left: 0; right: 0; background: rgba(0,0,0,.8); border-bottom-color: transparent; color: #fff; }
.site-header--dark .nav a { color: rgba(255,255,255,.88); }
.site-header--dark .nav a:hover, .site-header--dark .nav a[aria-current="page"] { color: #fff; }
.site-header--dark.is-scrolled { background: rgba(11,11,11,.94); box-shadow: 0 6px 24px rgba(0,0,0,.25); }

@media (max-width: 1239px) {
  .site-header__inner { padding-inline: var(--gutter); }
  .nav { gap: 20px; }
  .nav a { font-size: 15px; }
}
@media (max-width: 1099px) {
  .nav, .header-actions .btn { display: none; }
  .menu-btn { display: inline-block; }
  .header-actions { gap: 4px; }
}
@media (max-width: 719px) {
  .logo img { width: 150px; }
}

/* Mobile menu drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 85; background: var(--white);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility 0s linear var(--t-med);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--font-title); font-size: 26px; line-height: 1.2; padding: 14px 0; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; transition: color var(--t-fast), padding var(--t-fast);
}
.mobile-menu nav a::after { content: "→"; font-family: var(--font-body); font-size: 18px; color: var(--terra); }
.mobile-menu nav a:hover, .mobile-menu nav a[aria-current="page"] { color: var(--terra); }
.mobile-menu__contact { display: grid; gap: 10px; margin-top: auto; font-size: 15px; color: var(--gray); }
.mobile-menu__contact a:hover { color: var(--terra); }
body.menu-open { overflow: hidden; }
body.menu-open .site-header--dark { background: #0b0b0b; }

/* ---------- 6. Search bar (component) ---------- */
.searchbar {
  display: flex; align-items: center; gap: 8px; padding: 10px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-pill);
}
.searchbar--glow { box-shadow: 0 0 0 1px rgba(230,128,31,.2), 0 0 36px rgba(230,128,31,.45); border-color: transparent; }
.sb-field { position: relative; }
.sb-pill {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 10px 14px 10px 16px; border-radius: var(--radius-pill);
  background: var(--white); border: 1px solid var(--border); color: var(--ink);
  font-size: 14px; line-height: 1.35;
  transition: background-color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast), color var(--t-fast);
}
.sb-pill:hover { background: var(--bg-soft); border-color: #D6D2C9; }
.sb-pill .chev { width: 10px; height: 10px; color: var(--muted); transition: transform var(--t-med) var(--ease); }
.sb-field.is-filled .sb-pill { background: var(--bg-soft); font-weight: 500; }
.sb-field.is-open .sb-pill,
.sb-pill:focus-visible { border-color: var(--terra); box-shadow: var(--glow); outline: none; background: var(--white); }
.sb-field.is-open .sb-pill { border-width: 1.5px; padding: 9.5px 13.5px 9.5px 15.5px; }
.sb-field.is-open .chev { transform: rotate(180deg); }
.sb-menu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 40; min-width: 200px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card);
  box-shadow: var(--shadow-pop); padding: 6px 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility 0s linear var(--t-fast);
  max-height: 320px; overflow-y: auto;
}
.sb-field.is-open .sb-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sb-opt {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 10px 16px; border: 0; background: transparent; font-size: 14px; color: var(--ink); line-height: 1.4;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.sb-opt:hover, .sb-opt:focus-visible { background: var(--bg-soft); outline: none; }
.sb-opt[aria-selected="true"] { color: var(--terra); }
.sb-opt--check input { position: absolute; opacity: 0; pointer-events: none; }
.sb-opt--check .box {
  flex: none; width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid #CFCAC0; background: #fff;
  display: grid; place-items: center; transition: background-color var(--t-fast), border-color var(--t-fast);
}
.sb-opt--check .box svg { width: 10px; height: 10px; color: #fff; opacity: 0; transition: opacity var(--t-fast); }
.sb-opt--check input:checked + .box { background: var(--terra); border-color: var(--terra); }
.sb-opt--check input:checked + .box svg { opacity: 1; }
.sb-opt--check input:checked ~ .txt { color: var(--terra); }
.sb-opt--check input:focus-visible + .box { box-shadow: var(--glow); }
.sb-go { padding: 12px 24px; }

.filterbar { background: var(--bg-soft); padding-block: 14px; }
.filterbar__inner { display: flex; align-items: center; gap: 12px; min-height: 100px; }
.filterbar__icon { width: 44px; height: 44px; color: var(--border); flex: none; }
.filterbar__meta { font-size: 14px; color: var(--gray); margin-left: 8px; white-space: nowrap; }
.filterbar__meta strong { color: var(--ink); font-weight: 600; }
.filterbar__end { margin-left: auto; }
.searchbar--soft .sb-pill { background: var(--bg-soft); font-weight: 500; }

@media (max-width: 1199px) {
  .filterbar__inner { flex-wrap: wrap; min-height: 0; padding-block: 8px; }
  .filterbar__icon { display: none; }
}
@media (max-width: 899px) {
  .searchbar { border-radius: 24px; display: grid; grid-template-columns: 1fr 1fr; padding: 12px; }
  .sb-field .sb-pill { width: 100%; justify-content: space-between; }
  .sb-field--wide { grid-column: 1 / -1; }
  .sb-go { grid-column: 1 / -1; width: 100%; padding-block: 14px; }
  .sb-menu { left: 0; right: 0; min-width: 0; }
  .sb-field:nth-child(even) .sb-menu { left: auto; right: 0; }
  .filterbar__meta { margin-left: 0; }
}

/* ---------- 7. Forms ---------- */
.form-grid { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 719px) { .form-row { grid-template-columns: 1fr; } }
.field {
  width: 100%; border: 1px solid transparent; border-radius: var(--radius-field);
  background: var(--bg-soft); padding: 13px 16px; font-size: 16px; line-height: 1.4; color: var(--ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
  -webkit-appearance: none; appearance: none;
}
.field::placeholder { color: var(--muted); }
.field:hover { border-color: var(--border); }
.field:focus { outline: none; border-color: var(--terra); box-shadow: var(--glow); background: #fff; }
.field.is-invalid { border-color: #C9452E; box-shadow: 0 0 0 4px rgba(201,69,46,.12); }
.field--white { background: #fff; }
textarea.field { min-height: 120px; resize: vertical; }
select.field {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M1 3l4 4 4-4' fill='none' stroke='%239D9D9D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer;
}
select.field:invalid, select.field.is-placeholder { color: var(--muted); }
.form-note { font-size: 12px; color: var(--muted); text-align: center; }
.form-success {
  display: none; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: var(--radius-card);
  background: var(--success-bg); color: var(--success); font-size: 15px; line-height: 1.5;
}
.form-success svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
form.is-sent .form-success { display: flex; }
form.is-sent .form-body { display: none; }
.form-error { font-size: 13px; color: #C9452E; margin-top: -6px; }

/* ---------- 8. Cards ---------- */
/* 8a. Photo card — listing card with image + dark info band (Featured / Listings / You may also like) */
.photo-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 421 / 420; border-radius: var(--radius-photo); overflow: hidden; background: var(--ink); color: #fff;
  isolation: isolate;
}
.photo-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.photo-card__badge { position: absolute; top: 16px; right: 16px; }
.photo-card__body {
  position: relative; padding: 18px 20px 20px; display: grid; gap: 2px;
  background: rgba(0,0,0,.45);
  transition: background-color var(--t-med) var(--ease), padding var(--t-med) var(--ease);
}
.photo-card__title { font-family: var(--font-title); font-size: 24px; line-height: 1.3; }
.photo-card__price { font-weight: 500; font-size: 17px; }
.photo-card__spec { font-size: 13px; color: rgba(255,255,255,.9); }
.photo-card__more {
  display: grid; grid-template-rows: 0fr; opacity: 0;
  transition: grid-template-rows var(--t-med) var(--ease), opacity var(--t-med) var(--ease), margin var(--t-med) var(--ease);
}
.photo-card__more > div { overflow: hidden; }
.photo-card__more .btn { margin-top: 14px; padding: 11px 20px; font-size: 15px; }
.photo-card:hover .photo-card__img, .photo-card:focus-visible .photo-card__img { transform: scale(1.06); }
.photo-card:hover .photo-card__body, .photo-card:focus-visible .photo-card__body { background: rgba(0,0,0,.55); padding-bottom: 22px; }
.photo-card:hover .photo-card__more, .photo-card:focus-visible .photo-card__more { grid-template-rows: 1fr; opacity: 1; }
.photo-card:focus-visible { outline-offset: 4px; }
@media (hover: none) {
  .photo-card__more { grid-template-rows: 1fr; opacity: 1; }
  .photo-card__more .btn { display: none; }
}

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1099px) {
  .card-grid, .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .card-grid, .card-grid--4, .card-grid--2 { grid-template-columns: 1fr; gap: 16px; }
  .photo-card { aspect-ratio: 4 / 4.2; }
}

/* 8b. White content card (villages, blog, rentals) */
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-card); overflow: hidden; color: var(--ink);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med);
}
.card__media { position: relative; overflow: hidden; aspect-ratio: 421 / 200; background: var(--bg-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 20px; flex: 1; }
.card__body .link-arrow { margin-top: auto; padding-top: 4px; }
.card__title { font-family: var(--font-title); font-size: 20px; line-height: 1.35; transition: color var(--t-fast); }
.card__text { font-size: 14px; line-height: 1.55; color: var(--gray); }
.card__price { font-size: 15px; font-weight: 500; color: var(--terra); }
a.card:hover, .card.is-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: transparent; }
a.card:hover .card__media img { transform: scale(1.05); }
a.card:hover .link-arrow { color: var(--terra-hover); }
a.card:hover .link-arrow .arrow { transform: translateX(4px); }

/* 8c. Feature card (icon / number + text) */
.feature {
  background: #fff; border-radius: var(--radius-card); padding: 24px; display: grid; gap: 12px; align-content: start;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.feature--soft { background: var(--bg-soft); }
.feature--soft:hover { box-shadow: none; background: #F5F2EC; }
.feature__icon { width: 48px; height: 48px; object-fit: contain; }
.feature__num {
  width: 32px; height: 32px; border-radius: 50%; background: var(--terra); color: #fff;
  display: grid; place-items: center; font-size: 14px; font-weight: 600;
}
.feature p { font-size: 16px; color: var(--gray); line-height: 1.55; }
.feature--soft p { font-size: 15px; }

/* ---------- 9. Page intros & bands ---------- */
.page-intro { padding: 32px 0 20px; }
.page-intro--center { text-align: center; padding: 56px 0 40px; }
.page-intro--center .lead { max-width: 640px; margin: 10px auto 0; }
.page-intro .lead { max-width: 700px; margin-top: 6px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a:hover { color: var(--terra); }
.crumbs span[aria-hidden] { color: #C9C5BC; }

.image-hero {
  position: relative; min-height: 430px; display: grid; place-items: center; text-align: center; color: #fff;
  padding: 90px var(--gutter); overflow: hidden; isolation: isolate; background: var(--ink);
}
.image-hero__bg { position: absolute; inset: -12% 0; background-size: cover; background-position: center; z-index: -2; will-change: transform; }
.image-hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); z-index: -1; }
.image-hero h1 { max-width: 760px; margin-inline: auto; }
.image-hero p { max-width: 640px; margin: 12px auto 0; font-size: var(--fs-body); }
.image-hero--short { min-height: 360px; }

.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--blush); border-radius: var(--radius-card); padding: 40px 48px; min-height: 200px;
}
.cta-band--tint { background: var(--tint); }
.cta-band--compact { min-height: 0; padding: 22px 28px; }
.cta-band h2 + p, .cta-band h3 + p { margin-top: 4px; color: var(--gray); }
@media (max-width: 719px) {
  .cta-band { flex-direction: column; align-items: flex-start; padding: 28px 24px; min-height: 0; }
}

/* ---------- 10. Accordion / FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq details {
  background: var(--bg-soft); border-radius: var(--radius-field); overflow: hidden;
  transition: background-color var(--t-fast);
}
.faq details:hover { background: #F5F2EC; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 20px; font-weight: 600; font-size: var(--fs-body); line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; flex: none; width: 14px; height: 14px; color: var(--terra); }
.faq summary .plus::before, .faq summary .plus::after {
  content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform var(--t-med) var(--ease);
}
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] summary .plus::after { transform: rotate(0deg); }
.faq .faq__a { padding: 0 20px 18px; color: var(--gray); font-size: 16px; line-height: 1.6; }

/* ---------- 11. Pagination ---------- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 24px 0 48px; font-size: 16px; }
.pagination button, .pagination a {
  border: 0; background: transparent; color: var(--gray); min-width: 36px; height: 36px; padding: 0 10px; border-radius: var(--radius-pill);
  transition: background-color var(--t-fast), color var(--t-fast);
}
.pagination button:hover, .pagination a:hover { background: var(--bg-soft); color: var(--ink); }
.pagination [aria-current="page"] { color: var(--ink); font-weight: 600; background: var(--bg-soft); }
.pagination .next { padding-inline: 14px; }
.pagination [disabled] { opacity: .35; pointer-events: none; }

/* ---------- 12. Footer ---------- */
.site-footer { background: var(--footer); color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.5; }
.site-footer a { transition: color var(--t-fast); }
.site-footer a:hover { color: #fff; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px 0 26px; }
.footer__contact { display: grid; }
.footer__contact .name { color: rgba(255,255,255,.88); }
.footer__contact .mail { text-decoration: underline; text-underline-offset: 3px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 26px; height: 26px; border-radius: 5px; background: #9D9D9D; color: #0B0B0B; display: grid; place-items: center;
  transition: background-color var(--t-fast), transform var(--t-fast);
}
.footer__social a:hover { background: var(--terra); transform: translateY(-2px); color: #0B0B0B; }
.footer__social svg { width: 16px; height: 16px; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.12); padding: 24px 0 30px;
}
.footer__bottom strong { color: rgba(255,255,255,.92); font-weight: 600; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__legal a[aria-current="page"] { color: #fff; font-weight: 600; }
@media (max-width: 719px) {
  .footer__top { align-items: flex-start; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- 13. Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .4s; }
.no-js .reveal, .no-js .reveal-stagger > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 14. Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--radius-pill); font-size: 14px;
  opacity: 0; pointer-events: none; transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.has-sticky-bar .toast { bottom: 100px; }

/* ==========================================================================
   HOMEPAGE
   ========================================================================== */
.home-hero {
  position: relative; min-height: 900px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff; padding: calc(var(--header-h) + 70px) 24px 80px; overflow: hidden; isolation: isolate; background: #000;
}
.home-hero__bg {
  position: absolute; inset: -6% 0; z-index: -2; background: url("../img/hero-olive-woman.jpg") center 58% / cover no-repeat;
  animation: heroZoom 14s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.home-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.35) 100%);
}
.home-hero h1 { font-size: 64px; line-height: 1.12; max-width: 900px; }
.home-hero .hero-sub { font-size: 19px; line-height: 1.45; max-width: 640px; margin-top: 18px; color: rgba(255,255,255,.95); }
.home-hero .searchbar { margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin-top: 32px; font-size: 16px; }
.hero-trust li { list-style: none; display: inline-flex; align-items: center; gap: 10px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--terra); flex: none; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,.6);
}
.hero-scroll::before { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.hero-anim > * { animation: fadeUp .9s var(--ease) both; }
.hero-anim > *:nth-child(2) { animation-delay: .12s; }
.hero-anim > *:nth-child(3) { animation-delay: .24s; }
.hero-anim > *:nth-child(4) { animation-delay: .36s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 1099px) {
  .home-hero { min-height: 760px; }
  .home-hero h1 { font-size: 52px; }
}
@media (max-width: 899px) {
  .home-hero { min-height: 0; align-items: stretch; text-align: left; padding: calc(var(--header-h) + 64px) var(--gutter) 48px; }
  .home-hero__bg { background-position: 62% 40%; }
  .home-hero::after { background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.8) 100%); }
  .home-hero h1 { font-size: 40px; }
  .home-hero .hero-sub { font-size: 16px; }
  .home-hero .searchbar { margin-top: 24px; box-shadow: 0 0 24px rgba(230,128,31,.35); }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 24px; font-size: 15px; }
  .hero-scroll { display: none; }
}

/* Three paths */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); }
.path {
  position: relative; min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; overflow: hidden; isolation: isolate;
}
.path__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.path__body {
  padding: 24px 32px 28px; background: rgba(0,0,0,.45); min-height: 90px;
  transition: background-color var(--t-med) var(--ease);
}
.path__title { font-family: var(--font-title); font-size: 32px; line-height: 1.3; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.path__title .arrow { font-family: var(--font-body); font-size: 22px; transition: transform var(--t-med) var(--ease), opacity var(--t-med); }
.path__more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows var(--t-med) var(--ease), opacity var(--t-med) var(--ease); }
.path__more > div { overflow: hidden; }
.path__more p { font-size: 16px; line-height: 1.5; margin-top: 6px; max-width: 420px; }
.path__more .btn { margin-top: 16px; padding: 12px 20px; font-size: 15px; }
.path:hover .path__img, .path:focus-visible .path__img { transform: scale(1.06); }
.path:hover .path__body, .path:focus-visible .path__body { background: rgba(0,0,0,.55); }
.path:hover .path__more, .path:focus-visible .path__more { grid-template-rows: 1fr; opacity: 1; }
.path:hover .path__title .arrow, .path:focus-visible .path__title .arrow { opacity: 0; transform: translateX(8px); }
.path:focus-visible { outline-offset: -4px; }
@media (hover: none) {
  .path__more { grid-template-rows: 1fr; opacity: 1; }
  .path__more .btn { display: none; }
  .path__title .arrow { display: none; }
}
@media (max-width: 1099px) { .path { min-height: 380px; } .path__body { padding: 20px 24px 24px; } .path__title { font-size: 28px; } }
@media (max-width: 719px) {
  .paths { grid-template-columns: 1fr; }
  .path { min-height: 220px; }
  .path__body { background: linear-gradient(180deg, rgba(17,17,17,0) 0%, rgba(17,17,17,.8) 100%); padding: 40px 20px 20px; }
  .path__title { font-size: 26px; }
  .path__title .arrow { display: inline; }
  .path__more p { font-size: 14px; }
}

/* Featured */
.featured { padding: 72px 0 56px; }
.featured h2 { font-size: 36px; line-height: 1.3; margin-bottom: 32px; }
.featured__foot { margin-top: 32px; }
@media (max-width: 719px) {
  .featured { padding: 48px 0; }
  .featured h2 { font-size: 28px; margin-bottom: 22px; }
  .scroll-row {
    display: grid; grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none;
  }
  .scroll-row::-webkit-scrollbar { display: none; }
  .scroll-row > * { scroll-snap-align: start; }
  .scroll-row .photo-card { aspect-ratio: 300 / 380; }
}

/* Parallax sections */
.parallax { position: relative; overflow: hidden; isolation: isolate; color: #fff; }
.parallax__bg {
  position: absolute; left: 0; right: 0; top: -25%; bottom: -25%; z-index: -2;
  background-size: cover; background-position: center; will-change: transform; transform: translate3d(0,0,0);
}
.parallax__shade { position: absolute; inset: 0; z-index: -1; }

.build-teaser { min-height: 750px; display: flex; align-items: center; }
.build-teaser .parallax__bg { background-image: url("../img/woman-field.jpg"); background-position: 60% center; }
.build-teaser .parallax__shade {
  background:
    linear-gradient(180deg, rgba(230,128,31,.28) 0%, rgba(230,128,31,0) 45%),
    linear-gradient(90deg, rgba(17,17,17,.78) 0%, rgba(17,17,17,.45) 42%, rgba(17,17,17,0) 70%);
}
.build-teaser__content { max-width: 560px; display: grid; gap: 16px; }
.build-teaser h2 { font-size: 40px; line-height: 1.3; }
.build-teaser p { font-size: 18px; max-width: 520px; }
.build-teaser .btn { justify-self: start; margin-top: 8px; }
.steps-inline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.steps-inline span {
  font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

.area-teaser { min-height: 501px; display: flex; align-items: center; padding-block: 48px; }
.area-teaser .parallax__bg { background-image: url("../img/sea-cave.jpg"); background-position: 70% center; }
.area-teaser .parallax__shade { background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.05) 75%); }
.area-teaser__content { max-width: 520px; display: grid; gap: 20px; }
.area-teaser p { font-size: 18px; }
.area-teaser .chips { display: flex; flex-wrap: wrap; gap: 12px; }
.area-teaser .chip { background: var(--bg-soft); }
.area-teaser .chip:hover { color: var(--terra); background: #fff; }

@media (max-width: 719px) {
  .build-teaser { min-height: 560px; align-items: flex-end; padding-block: 40px; }
  .build-teaser .parallax__shade { background: linear-gradient(180deg, rgba(17,17,17,0) 20%, rgba(17,17,17,.6) 55%, rgba(17,17,17,.92) 100%); }
  .build-teaser h2 { font-size: 32px; }
  .build-teaser p { font-size: 16px; }
  .area-teaser { min-height: 0; padding-block: 56px; }
  .area-teaser .parallax__shade { background: rgba(0,0,0,.55); }
  .area-teaser p { font-size: 16px; }
  .area-teaser .chips { gap: 8px; }
}

/* Testimonial spotlight */
.testimonial { background: var(--bg-soft); padding: 80px 0; text-align: center; }
.testimonial__mark { font-family: var(--font-title); font-size: 80px; line-height: 1; color: var(--terra); height: 56px; }
.testimonial__slides { position: relative; display: grid; margin-top: 12px; }
.testimonial__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease), visibility 0s linear .6s; }
.testimonial__slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.testimonial blockquote { margin: 0 auto; max-width: 760px; font-family: var(--font-title); font-size: 34px; line-height: 1.32; }
.testimonial cite { display: block; margin-top: 20px; font-style: normal; font-weight: 500; font-size: 15px; color: var(--terra); }
.dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 28px; }
.dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; padding: 0; background: var(--border); transition: background-color var(--t-fast), transform var(--t-fast); }
.dots button:hover { background: #CFCAC0; }
.dots button[aria-current="true"] { background: var(--gray); transform: scale(1.33); }
@media (max-width: 719px) {
  .testimonial { padding: 56px 0; }
  .testimonial blockquote { font-size: 26px; }
}

/* Get in touch band */
.touch-band { position: relative; padding: 56px 0; text-align: center; color: #fff; isolation: isolate; overflow: hidden; background: #5F5F5F; }
.touch-band__bg { position: absolute; inset: 0; z-index: -2; background: url("../img/stone-texture.jpg") center / cover; filter: grayscale(1); }
.touch-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(40,40,40,.55); }
.touch-band h2 { margin-bottom: 20px; }
.touch-form { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.touch-form .field { width: 170px; background: #fff; padding: 10px 14px; font-size: 14px; }
.touch-form .btn { padding: 10px 22px; }
.touch-band .wa-line { margin-top: 18px; font-size: 14px; }
.touch-band .wa-line a { color: var(--whatsapp); font-weight: 600; }
.touch-band .wa-line a:hover { text-decoration: underline; text-underline-offset: 3px; }
.touch-band .form-success { max-width: 520px; margin: 0 auto; text-align: left; }
@media (max-width: 719px) {
  .touch-form { flex-direction: column; }
  .touch-form .field { width: 100%; padding: 13px 14px; }
  .touch-form .btn { width: 100%; padding: 14px; }
}

/* ==========================================================================
   LISTINGS
   ========================================================================== */
.results { padding: 32px 0 12px; }
.empty-results { display: none; text-align: center; padding: 48px 20px; border: 1px dashed var(--border); border-radius: var(--radius-card); color: var(--gray); }
.empty-results h3 { color: var(--ink); margin-bottom: 8px; }
.empty-results.is-visible { display: block; }
.sort { position: relative; }
.sort .sb-menu { left: auto; right: 0; }

/* ==========================================================================
   PROPERTY DETAIL
   ========================================================================== */
.detail-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0 16px; }
.detail-top .crumbs { margin: 0; font-size: 14px; }

.gallery-grid {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 206px 206px; gap: 8px;
  border-radius: var(--radius-card); overflow: hidden;
}
.gallery-grid button { border: 0; padding: 0; background: var(--bg-soft); overflow: hidden; position: relative; }
.gallery-grid button:first-child { grid-row: 1 / 3; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter var(--t-med); }
.gallery-grid button::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background-color var(--t-med); }
.gallery-grid button:hover::after { background: rgba(0,0,0,.12); }
.gallery-grid button:hover img { transform: scale(1.03); }
.gallery-grid .show-all {
  position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border); padding: 9px 18px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500; transition: background-color var(--t-fast), transform var(--t-fast);
}
.gallery-grid .show-all::after { display: none; }
.gallery-grid .show-all:hover { background: var(--bg-soft); transform: translateY(-1px); }
.gallery-grid .show-all svg { width: 16px; height: 16px; }

/* Mobile carousel (Airbnb style) */
.m-carousel { display: none; position: relative; margin-inline: calc(var(--gutter) * -1); }
.m-carousel__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.m-carousel__track::-webkit-scrollbar { display: none; }
.m-carousel__track button { flex: 0 0 100%; scroll-snap-align: start; border: 0; padding: 0; aspect-ratio: 390 / 320; background: var(--bg-soft); }
.m-carousel__track img { width: 100%; height: 100%; object-fit: cover; }
.m-carousel__actions { position: absolute; top: 16px; right: 16px; display: flex; gap: 10px; }
.round-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.16); transition: transform var(--t-fast);
}
.round-btn:hover { transform: scale(1.06); }
.round-btn svg { width: 16px; height: 16px; }
.round-btn.is-saved svg { fill: var(--terra); color: var(--terra); }
.m-carousel__count {
  position: absolute; right: 16px; bottom: 36px; background: rgba(17,17,17,.72); color: #fff;
  font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: var(--radius-pill);
}
.m-carousel__lip { position: absolute; left: 0; right: 0; bottom: -1px; height: 24px; background: #fff; border-radius: 24px 24px 0 0; }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 371px; gap: 32px; padding: 32px 0 72px; align-items: start; }
.detail-main { display: grid; gap: 24px; max-width: 909px; }
.detail-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.detail-actions { display: flex; gap: 4px; flex: none; }
.ghost-action {
  display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 8px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; transition: background-color var(--t-fast);
}
.ghost-action:hover { background: var(--bg-soft); }
.ghost-action svg { width: 16px; height: 16px; }
.ghost-action.is-saved svg { fill: var(--terra); color: var(--terra); }
.detail-price { font-size: 20px; font-weight: 500; color: var(--terra); margin-top: 10px; }
.specs { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 12px 40px; background: var(--bg-soft); border-radius: var(--radius-field); padding: 16px 20px; }
.specs dt { font-size: 12px; color: var(--muted); }
.specs dd { margin: 2px 0 0; font-family: var(--font-title); font-size: 18px; }
.detail-block h2 { font-size: 22px; line-height: 1.3; margin-bottom: 8px; }
.detail-block p { color: var(--ink); }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; list-style: none; margin-top: 4px; }
.feature-list li { display: flex; gap: 10px; align-items: center; font-size: 16px; }
.feature-list svg { width: 18px; height: 18px; color: var(--terra); flex: none; }
.map-card { position: relative; border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16 / 7; background: #EEF0EA; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card .btn { position: absolute; left: 16px; bottom: 16px; }

.enquiry {
  position: sticky; top: calc(var(--header-h) + 24px);
  border: 1px solid var(--border); border-radius: var(--radius-card); padding: 20px 20px 16px; background: #fff; display: grid; gap: 10px;
}
.enquiry h2 { font-size: 22px; margin-bottom: 4px; }
.enquiry .field { font-size: 14px; padding: 11px 14px; }
.enquiry .btn { padding-block: 11px; }

.sticky-bar { display: none; }

@media (max-width: 1099px) {
  .detail-layout { grid-template-columns: 1fr; }
  .enquiry { position: static; }
}
@media (max-width: 719px) {
  .detail-top { padding: 16px 0 4px; order: 2; }
  .gallery-grid { display: none; }
  .m-carousel { display: block; }
  .property-page .detail-head { display: flex; flex-direction: column; }
  .property-page .detail-head .m-carousel { order: 1; }
  .detail-layout { padding-top: 8px; gap: 28px; }
  .detail-actions { display: none; }
  .specs { grid-template-columns: repeat(2, 1fr); gap: 12px 20px; }
  .specs dd { font-size: 16px; font-family: var(--font-body); font-weight: 500; }
  .feature-list { grid-template-columns: 1fr; }
  .map-card { aspect-ratio: 4 / 3; }
  .enquiry { border: 0; border-radius: 0; background: var(--bg-soft); margin-inline: calc(var(--gutter) * -1); padding: 28px var(--gutter); }
  .enquiry .field { background: #fff; }
  .sticky-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; align-items: center; justify-content: space-between; gap: 12px;
    background: #fff; border-top: 1px solid var(--border); padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 16px rgba(0,0,0,.06);
  }
  .sticky-bar .price { font-weight: 500; font-size: 18px; line-height: 1.3; }
  .sticky-bar .sub { font-size: 13px; color: var(--gray); }
  .has-sticky-bar .site-footer { padding-bottom: 84px; }
}

/* Photo tour modal */
.photo-tour {
  position: fixed; inset: 0; z-index: 150; background: #fff; overflow-y: auto; overscroll-behavior: contain;
  transform: translateY(100%); visibility: hidden;
  transition: transform .45s var(--ease), visibility 0s linear .45s;
}
.photo-tour.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.tour-bar {
  position: sticky; top: 0; z-index: 2; height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 64px; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--border);
}
.tour-bar__title { font-weight: 500; font-size: 16px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tour-bar__actions { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.tour-bar__actions .btn { margin-left: 12px; padding: 10px 22px; }
.close-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg-soft); display: grid; place-items: center;
  transition: background-color var(--t-fast);
}
.close-btn:hover { background: #EFECE6; }
.close-btn svg { width: 16px; height: 16px; }
.tour-body { max-width: 1440px; margin: 0 auto; padding: 48px 64px 96px; display: grid; gap: 56px; }
.tour-intro .meta { font-size: 14px; color: var(--gray); margin-top: 8px; }
.room-nav { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.room-nav a { width: 180px; display: grid; gap: 10px; }
.room-nav .thumb { aspect-ratio: 180 / 132; border-radius: 8px; overflow: hidden; }
.room-nav img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.room-nav a:hover img { transform: scale(1.06); }
.room-nav strong { font-weight: 500; font-size: 14px; display: block; line-height: 1.3; }
.room-nav span { font-size: 13px; color: var(--gray); }
.tour-section { display: grid; grid-template-columns: 320px 1fr; gap: 48px; padding-top: 56px; border-top: 1px solid var(--border); scroll-margin-top: 90px; }
.tour-section p { font-size: 14px; color: var(--gray); margin-top: 8px; }
.tour-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tour-photos button { border: 0; padding: 0; border-radius: 8px; overflow: hidden; background: var(--bg-soft); }
.tour-photos button.full { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.tour-photos button.half { aspect-ratio: 468 / 560; }
.tour-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity var(--t-med); }
.tour-photos button:hover img { opacity: .92; }
@media (max-width: 899px) {
  .tour-bar { padding: 0 16px; grid-template-columns: auto 1fr auto; gap: 12px; }
  .tour-bar__actions .btn, .tour-bar__actions .ghost-action span { display: none; }
  .tour-body { padding: 24px 16px 64px; gap: 32px; }
  .room-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .room-nav a { flex: 0 0 140px; }
  .tour-section { grid-template-columns: 1fr; gap: 16px; padding-top: 32px; }
  .tour-photos { grid-template-columns: 1fr; }
  .tour-photos button.half { aspect-ratio: 4 / 3; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: #111; color: #fff; display: grid; grid-template-rows: 72px 1fr 72px;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 64px; }
.lightbox__close {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px; border: 0; color: #fff; background: rgba(255,255,255,.1);
  padding: 10px 16px 10px 14px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 500; transition: background-color var(--t-fast);
}
.lightbox__close:hover { background: rgba(255,255,255,.2); }
.lightbox__close svg { width: 14px; height: 14px; }
.lightbox__count { font-size: 14px; font-weight: 500; }
.lightbox__actions { justify-self: end; display: flex; gap: 4px; }
.lightbox__actions .ghost-action { color: #fff; }
.lightbox__actions .ghost-action:hover { background: rgba(255,255,255,.1); }
.lightbox__stage { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: 48px; padding: 0 64px; min-height: 0; }
.lightbox__figure { margin: 0; height: 100%; min-height: 0; display: grid; place-items: center; touch-action: pan-y; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 176px); max-height: calc(100dvh - 176px); object-fit: contain; border-radius: 4px; transition: opacity .25s var(--ease); }
.lightbox__figure img.is-loading { opacity: 0; }
.lb-nav {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff;
  display: grid; place-items: center; transition: background-color var(--t-fast), border-color var(--t-fast), opacity var(--t-fast);
}
.lb-nav:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.lb-nav[disabled] { opacity: .35; pointer-events: none; }
.lb-nav svg { width: 20px; height: 20px; }
.lightbox__caption { display: flex; justify-content: center; align-items: center; gap: 12px; font-size: 14px; padding: 0 24px; text-align: center; }
.lightbox__caption .room { font-weight: 500; }
.lightbox__caption .desc { color: var(--muted); }
@media (max-width: 719px) {
  .lightbox { grid-template-rows: 64px 1fr 64px; }
  .lightbox__bar { padding: 0 16px; }
  .lightbox__actions .ghost-action span { display: none; }
  .lightbox__stage { grid-template-columns: 1fr; padding: 0; gap: 0; }
  .lb-nav { display: none; }
  .lightbox__figure img { max-height: calc(100dvh - 140px); border-radius: 0; }
  .lightbox__caption { font-size: 13px; }
  .lightbox__caption .desc { display: none; }
}
body.modal-open { overflow: hidden; }

/* ==========================================================================
   OTHER PAGES
   ========================================================================== */
/* Blog */
.blog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.search-input { position: relative; }
.search-input input {
  width: 260px; border: 1px solid transparent; background: var(--bg-soft); border-radius: var(--radius-pill);
  padding: 10px 16px 10px 38px; font-size: 14px; transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
}
.search-input input::placeholder { color: var(--muted); }
.search-input input:focus { outline: none; border-color: var(--terra); box-shadow: var(--glow); background: #fff; }
.search-input svg { position: absolute; left: 14px; top: 50%; width: 15px; height: 15px; transform: translateY(-50%); color: var(--muted); }
@media (max-width: 639px) { .search-input, .search-input input { width: 100%; } }

.post-featured {
  display: grid; grid-template-columns: 600px 1fr; border: 1px solid var(--border); border-radius: var(--radius-photo); overflow: hidden; background: #fff;
  transition: box-shadow var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.post-featured:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.post-featured__media { overflow: hidden; min-height: 360px; }
.post-featured__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-featured:hover img { transform: scale(1.04); }
.post-featured__body { padding: 32px; display: flex; flex-direction: column; gap: 14px; justify-content: center; max-width: 590px; }
.post-featured h2 { transition: color var(--t-fast); }
.post-featured:hover h2 { color: var(--terra); }
.post-featured p { font-size: 16px; color: var(--gray); }
@media (max-width: 1099px) { .post-featured { grid-template-columns: 1fr 1fr; } }
@media (max-width: 719px) {
  .post-featured { grid-template-columns: 1fr; }
  .post-featured__media { min-height: 0; aspect-ratio: 16 / 10; }
  .post-featured__body { padding: 20px; }
  .post-featured h2 { font-size: 24px; }
}
.post-card .card__media { aspect-ratio: 644 / 200; }
.post-card .card__title { font-size: 20px; }
.post-card:hover .card__title { color: var(--terra); }
.post-card--small .card__media { aspect-ratio: 424 / 150; }
.post-card--small .card__title { font-size: 17px; }
.blog-empty { display: none; padding: 40px 0; color: var(--gray); text-align: center; }
.blog-empty.is-visible { display: block; }

/* Article */
.article-head { text-align: center; padding: 40px 0 24px; display: grid; gap: 14px; justify-items: center; }
.article-head h1 { max-width: 820px; }
.article-hero { border-radius: var(--radius-photo); overflow: hidden; aspect-ratio: 1312 / 480; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.prose { padding: 40px 0 16px; display: grid; gap: 18px; }
.prose p { font-size: 18px; line-height: 1.7; }
.prose h2 { margin-top: 12px; }
.prose blockquote {
  margin: 8px 0; background: var(--bg-soft); border-radius: var(--radius-card); padding: 20px 24px;
  font-family: var(--font-title); font-size: 22px; line-height: 1.45; border-left: 3px solid var(--terra);
}
@media (max-width: 719px) {
  .article-hero { aspect-ratio: 4 / 3; }
  .prose p { font-size: 16px; }
  .prose blockquote { font-size: 19px; }
}

/* Projects masonry */
.masonry { columns: 3; column-gap: 20px; }
.masonry > * { break-inside: avoid; margin-bottom: 20px; }
.project { display: block; width: 100%; border: 0; padding: 0; background: none; text-align: left; }
.project__media { border-radius: var(--radius-card); overflow: hidden; position: relative; }
.project__media img { width: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.project__media::after {
  content: "View"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -40%); opacity: 0;
  background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: var(--radius-pill);
  transition: opacity var(--t-med), transform var(--t-med) var(--ease);
}
.project:hover .project__media img { transform: scale(1.05); }
.project:hover .project__media::after { opacity: 1; transform: translate(-50%, -50%); }
.project__cap { font-size: 13px; color: var(--gray); padding-top: 8px; }
.project.is-hidden { display: none; }
@media (max-width: 1099px) { .masonry { columns: 2; } }
@media (max-width: 599px) { .masonry { columns: 1; } }

/* Buyer's guide */
.anchor-nav { position: sticky; top: var(--header-h); z-index: 20; background: var(--bg-soft); border-block: 1px solid var(--border); }
.anchor-nav ul { display: flex; justify-content: center; gap: 8px 28px; list-style: none; padding: 20px 0; overflow-x: auto; scrollbar-width: none; }
.anchor-nav ul::-webkit-scrollbar { display: none; }
.anchor-nav a { white-space: nowrap; font-weight: 500; font-size: 16px; color: var(--terra); padding-bottom: 4px; border-bottom: 1.5px solid transparent; transition: color var(--t-fast), border-color var(--t-fast); }
.anchor-nav a:hover { color: var(--terra-hover); }
.anchor-nav a.is-active { color: var(--ink); border-color: var(--terra); }
@media (max-width: 899px) { .anchor-nav ul { justify-content: flex-start; padding: 14px var(--gutter); } .anchor-nav .container { width: 100%; } }
.guide-body { display: grid; gap: 42px; padding: 40px 0 16px; }
.guide-body section { display: grid; gap: 10px; }
.steps { list-style: none; display: grid; gap: 10px; counter-reset: step; }
.steps li { display: flex; gap: 12px; align-items: flex-start; counter-increment: step; }
.steps li::before {
  content: counter(step); flex: none; width: 28px; height: 28px; margin-top: 1px; border-radius: 50%; background: var(--blush); color: var(--terra);
  display: grid; place-items: center; font-size: 13px; font-weight: 600;
}

/* Legal */
.legal { padding: 8px 0 72px; display: grid; gap: 32px; }
.legal h2 { font-size: 26px; margin-bottom: 8px; }
.legal p { color: var(--gray); font-size: 17px; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: minmax(0, 700px) 420px; gap: 40px; padding: 8px 0 72px; align-items: start; }
.contact-card { background: var(--bg-soft); border-radius: var(--radius-card); padding: 24px; display: grid; gap: 16px; }
.contact-card dt { font-size: 12px; color: var(--muted); }
.contact-card dd { margin: 2px 0 0; font-weight: 500; font-size: 16px; }
.contact-card dd a { transition: color var(--t-fast); }
.contact-card dd a:hover { color: var(--terra); }
.contact-card .mail { color: var(--terra); }
.contact-card .mail:hover { color: var(--terra-hover) !important; }
@media (max-width: 1099px) { .contact-layout { grid-template-columns: 1fr; } }

/* About */
.story { padding: 56px 0 64px; text-align: center; }
.story .container--narrow { display: grid; gap: 14px; }
.story p { text-align: left; color: var(--gray); }
.quote-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.quote-card { background: var(--bg-soft); border-radius: var(--radius-card); padding: 20px 24px; display: grid; gap: 10px; }
.quote-card p { font-size: 20px; line-height: 1.35; max-width: 420px; }
.quote-card cite { font-style: normal; font-family: var(--font-title); font-size: 13px; color: var(--terra); }
.quote-icon { width: 72px; height: auto; color: var(--ink); margin-bottom: 16px; }
@media (max-width: 719px) { .quote-cards { grid-template-columns: 1fr; } .quote-card p { font-size: 18px; } }

/* Build: inline CTA form */
.inline-form { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.inline-form .field { width: 170px; padding: 10px 14px; font-size: 14px; }
.inline-form + .btn, .inline-form .btn { margin-top: 0; }
@media (max-width: 719px) { .inline-form { flex-direction: column; } .inline-form .field { width: 100%; padding: 13px 14px; } }

.split-teaser { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 36px 0; }
@media (max-width: 719px) { .split-teaser { flex-direction: column; align-items: flex-start; } }

/* ---------- Additions ---------- */
/* Featured cards: second photo fades in on hover (Figma hover frame) */
.photo-card__img--alt { opacity: 0; transition: opacity .6s var(--ease), transform .9s var(--ease); }
.photo-card:hover .photo-card__img--alt, .photo-card:focus-visible .photo-card__img--alt { opacity: 1; }

/* Square filter pills (Rentals) */
.sb-field--square .sb-pill { border-radius: var(--radius-field); padding: 8px 14px; color: var(--gray); background: #fff; border-color: transparent; }
.sb-field--square .sb-pill:hover { color: var(--ink); border-color: var(--border); background: #fff; }
.sb-field--square.is-filled .sb-pill { color: var(--ink); background: #fff; border-color: var(--border); }
.sb-field--square.is-open .sb-pill { padding: 7.5px 13.5px; }
.filterbar__inner--rentals { flex-wrap: wrap; }
@media (max-width: 719px) {
  .filterbar__inner--rentals { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .filterbar__inner--rentals .sb-pill { width: 100%; justify-content: space-between; }
  .filterbar__inner--rentals .filterbar__meta { grid-column: 1; align-self: center; }
  .filterbar__inner--rentals .sb-field:nth-child(even) .sb-menu { left: auto; right: 0; }
  .filterbar__inner--rentals .sb-menu { min-width: 180px; }
}

/* Property page: filter bar only on larger screens */
@media (max-width: 719px) { .filterbar-desktop { display: none; } }
@media (max-width: 1199px) { .filterbar .searchbar { flex: 1 1 auto; } }
@media (max-width: 899px) { .filterbar .searchbar { flex: 1 1 100%; width: 100%; } }
@media (max-width: 719px) { .detail-layout { padding-bottom: 0; } }
.map-card { aspect-ratio: 16 / 6; display: grid; place-items: center; color: var(--gray); font-size: 14px; }
.map-card::before { content: "Kamilari, South Crete"; }
@media (max-width: 719px) { .map-card { aspect-ratio: 4 / 3; } }
/* Stacking fixes: dropdown menus must sit above the following content */
.home-hero .searchbar { position: relative; z-index: 5; }
.filterbar { position: relative; z-index: 30; }
/* Photo tour: prevent wide images from forcing horizontal overflow */
.tour-body { grid-template-columns: minmax(0, 1fr); }
.tour-section > * { min-width: 0; }
@media (max-width: 719px) { .lightbox__caption .sep { display: none !important; } }
