/* ==========================================================================
   Homzy front-end styles
   1. Design tokens      5. Header & navigation   9. Property detail
   2. Base & typography  6. Homepage              10. Footer
   3. Layout helpers     7. Search & form fields  11. WordPress content
   4. Buttons & links    8. Property cards/grid   12. Motion preferences
   ========================================================================== */

/* Self-hosted fonts (latin subset): no third-party requests. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-600.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-var.woff2") format("woff2"); }

/* 1. Design tokens */
:root {
  /* Three-colour palette: burgundy (primary), cream (background), charcoal (text and footer). */
  --color-primary: #6b1e2e;
  --color-primary-dark: #4f1421;
  --color-charcoal: #2a2626;
  --color-accent: #a0485a;        /* lighter burgundy, readable on cream */
  --color-accent-light: #ecd3bf;  /* blush cream for use on burgundy and charcoal */
  --color-background: #f7f1e8;
  --color-surface: #fffcf7;
  --color-surface-alt: #efe4d6;
  --color-text: #2a2626;
  --color-text-muted: #625b58;
  --color-text-on-dark: #f7f1e8;
  --color-text-on-dark-muted: #cfc4bd;
  --color-border: #e6dccd;
  --color-border-strong: #cdbfae;

  /* Cormorant Garamond for editorial headings, Manrope for readable UI and body text. */
  --font-heading: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --text-xs: .75rem;
  --text-sm: .875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-h3: 1.25rem;
  --text-h2: clamp(2rem, 1.4rem + 2.2vw, 2.875rem);
  --text-h1: clamp(2.625rem, 1.5rem + 4vw, 4.5rem);

  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --section-space: clamp(3.5rem, 2rem + 6vw, 6.5rem);

  --radius-small: .5rem;
  --radius-medium: .875rem;
  --radius-large: 1.5rem;
  --radius-pill: 999px;

  --shadow-small: 0 1px 2px rgb(28 27 25 / 6%), 0 2px 8px rgb(28 27 25 / 4%);
  --shadow-medium: 0 4px 12px rgb(28 27 25 / 6%), 0 16px 40px rgb(28 27 25 / 8%);

  --container-width: 1200px;
  --gutter: clamp(1rem, .5rem + 2.5vw, 2.5rem);
  --header-height: 4.5rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --duration: .2s;
}

/* 2. Base & typography */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 1rem); -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; color: var(--color-text); background: var(--color-background); font: 400 var(--text-base)/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 2px; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
h1, h2, h3, p, figure, address { margin: 0; }
h1, h2 { font-family: var(--font-heading); font-weight: 600; line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--color-accent); }
p { text-wrap: pretty; }
address { font-style: normal; }
.icon { flex-shrink: 0; width: 1.25rem; height: 1.25rem; }
.eyebrow { margin-bottom: var(--space-4); color: var(--color-accent); font-size: var(--text-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.lead { max-width: 36rem; color: var(--color-text-muted); font-size: var(--text-lg); }
.small-note { margin-top: var(--space-3); color: var(--color-text-muted); font-size: var(--text-sm); }
.is-pending { color: var(--color-text-muted); }
.is-pending small { font-size: var(--text-xs); }
.screen-reader-text, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 1rem; left: 1rem; z-index: 1000; padding: .75rem 1rem; border-radius: var(--radius-small); background: var(--color-surface); box-shadow: var(--shadow-medium); }

/* 3. Layout helpers */
.container { width: min(var(--container-width), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-4) var(--space-6); margin-bottom: var(--space-7); }
.section-heading .eyebrow { margin-bottom: var(--space-3); }
.section-heading-center { flex-direction: column; align-items: center; text-align: center; }
.page-header { max-width: 44rem; padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) var(--space-7); }
.page-header h1 { margin-bottom: var(--space-4); }
.empty-state { display: grid; justify-items: center; gap: var(--space-4); padding: var(--space-8) var(--space-5); border: 1px dashed var(--color-border-strong); border-radius: var(--radius-large); text-align: center; }
.empty-state > .icon { width: 2rem; height: 2rem; color: var(--color-primary); }
.empty-state p { max-width: 34rem; color: var(--color-text-muted); }
.empty-state-page { margin-block: clamp(3rem, 8vw, 6rem); border: 0; }
.empty-state-page .button-row { justify-content: center; margin-top: var(--space-3); }

/* 4. Buttons & links */
.button { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 3rem; padding: .75rem 1.5rem; border: 1px solid var(--color-primary); border-radius: var(--radius-pill); background: var(--color-primary); color: #fff; font-size: var(--text-sm); font-weight: 600; letter-spacing: .01em; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background-color var(--duration) var(--ease), border-color var(--duration) var(--ease), color var(--duration) var(--ease), box-shadow var(--duration) var(--ease); }
.button:hover { border-color: var(--color-primary-dark); background: var(--color-primary-dark); box-shadow: var(--shadow-small); }
.button-secondary { border-color: var(--color-border-strong); background: transparent; color: var(--color-text); }
.button-secondary:hover { border-color: var(--color-text); background: transparent; box-shadow: none; }
.button-light { border-color: var(--color-accent-light); background: var(--color-accent-light); color: var(--color-primary-dark); }
.button-light:hover { border-color: #f5e4d6; background: #f5e4d6; }
.button-small { min-height: 2.75rem; padding: .5rem 1.25rem; }
.button-block { width: 100%; }
.button:disabled { border-color: var(--color-border); background: var(--color-surface-alt); color: var(--color-text-muted); box-shadow: none; cursor: not-allowed; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.arrow-link { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 2.75rem; color: var(--color-primary); font-size: var(--text-sm); font-weight: 600; text-decoration: none; }
.arrow-link .arrow { transition: transform var(--duration) var(--ease); }
.arrow-link:hover .arrow, .property-card:hover .arrow { transform: translateX(4px); }
a.arrow-link:hover { text-decoration: underline; }

/* 5. Header & navigation (menu stays expanded when JavaScript is unavailable) */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; background: var(--color-background); transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--color-border); box-shadow: 0 6px 20px rgb(28 27 25 / 5%); }
.header-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: var(--header-height); }
.wordmark { color: var(--color-primary-dark); font: 600 2rem/1 var(--font-heading); letter-spacing: -.02em; text-decoration: none; }
.wordmark span { color: var(--color-accent); }
.wordmark { display: inline-flex; align-items: center; }
.wordmark .wordmark-badge { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-right: .6rem; border-radius: .5rem; background: var(--color-primary); color: var(--color-text-on-dark); font: 600 1.4rem/1 var(--font-heading); letter-spacing: 0; }
.site-header .wordmark .wordmark-badge, .site-footer .wordmark .wordmark-badge { background: var(--color-text-on-dark); color: var(--color-primary); }
.site-logo img { width: auto; max-width: 160px; max-height: 48px; }
.primary-navigation { display: flex; flex-direction: column; gap: var(--space-4); width: 100%; padding-bottom: var(--space-4); }
.menu { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-6); margin: 0; padding: 0; list-style: none; }
.primary-navigation .menu a { position: relative; display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--color-text); font-size: .9375rem; font-weight: 500; text-decoration: none; }
.primary-navigation .menu a::after { content: ""; position: absolute; right: 0; bottom: .55rem; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--duration) var(--ease); }
.primary-navigation .menu a:hover::after, .primary-navigation .current-menu-item > a::after, .primary-navigation .menu a[aria-current="page"]::after { transform: scaleX(1); }
.primary-navigation .current-menu-item > a { color: var(--color-primary); }
.menu-toggle { display: none; align-items: center; gap: var(--space-2); min-height: 2.75rem; padding: .5rem .875rem; border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill); background: transparent; font-size: var(--text-sm); font-weight: 600; cursor: pointer; }
.menu-toggle-lines, .menu-toggle-lines span, .menu-toggle-lines::before, .menu-toggle-lines::after { display: block; width: 16px; height: 1.5px; background: currentColor; transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease); }
.menu-toggle-lines { position: relative; background: transparent; }
.menu-toggle-lines::before, .menu-toggle-lines::after { content: ""; position: absolute; left: 0; }
.menu-toggle-lines::before { top: -5px; }
.menu-toggle-lines::after { top: 5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines span { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after { transform: translateY(-5px) rotate(-45deg); }
.navigation-ready .menu-toggle { display: inline-flex; }
.navigation-ready .primary-navigation { position: absolute; top: 100%; right: calc(-1 * var(--gutter)); left: calc(-1 * var(--gutter)); padding: var(--space-3) var(--gutter) var(--space-6); border-bottom: 1px solid var(--color-border); background: var(--color-background); box-shadow: 0 16px 24px rgb(28 27 25 / 6%); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease), visibility 0s linear var(--duration); }
.navigation-ready .primary-navigation.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.navigation-ready .primary-navigation .menu { flex-direction: column; gap: 0; }
.navigation-ready .primary-navigation .menu a { width: 100%; min-height: 3rem; border-bottom: 1px solid var(--color-border); font-size: var(--text-lg); }
.navigation-ready .primary-navigation .menu a::after { display: none; }

/* Header colour: burgundy bar with cream text so the header stands apart from the page. */
.site-header { background: var(--color-primary); color: var(--color-text-on-dark); }
.site-header.is-scrolled { border-bottom-color: transparent; box-shadow: 0 6px 20px rgb(28 27 25 / 18%); }
.site-header .wordmark { color: var(--color-text-on-dark); }
.site-header .wordmark span { color: var(--color-accent-light); }
.site-header .primary-navigation .menu a { color: var(--color-text-on-dark); }
.site-header .primary-navigation .current-menu-item > a, .site-header .primary-navigation .menu a:hover { color: var(--color-accent-light); }
.site-header .header-cta { border-color: var(--color-accent-light); background: var(--color-accent-light); color: var(--color-primary-dark); }
.site-header .header-cta:hover { border-color: #fff; background: #fff; }
.site-header .menu-toggle { border-color: rgb(255 255 255 / 35%); color: var(--color-text-on-dark); }
.site-header :focus-visible { outline-color: var(--color-accent-light); }
@media (max-width: 899px) {
  .navigation-ready .site-header .primary-navigation { border-bottom-color: transparent; background: var(--color-primary); box-shadow: 0 16px 24px rgb(28 27 25 / 18%); }
  .navigation-ready .site-header .primary-navigation .menu a { border-bottom-color: rgb(255 255 255 / 14%); }
}

/* 6. Homepage */
.hero { padding-block: var(--space-5) calc(var(--space-7) + var(--space-5)); background: var(--color-surface-alt); }
.hero-inner { display: grid; gap: var(--space-6); align-items: center; }
.hero h1 { margin-bottom: var(--space-5); }
.hero .lead { margin-bottom: var(--space-6); }
.hero-media { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius-large); background: var(--color-border); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.search-section { position: relative; margin-top: calc(-1 * var(--space-7)); padding-bottom: var(--space-4); }
.feature { padding-block: var(--section-space); background: var(--color-primary); color: var(--color-text-on-dark); }
.feature .eyebrow, .feature .arrow-link { color: var(--color-accent-light); }
.feature-inner { display: grid; gap: var(--space-6); align-items: center; }
.feature-media { overflow: hidden; aspect-ratio: 5 / 4; border-radius: var(--radius-large); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy h2 { margin-bottom: var(--space-5); }
.feature-copy > p:not(.eyebrow) { max-width: 32rem; margin-bottom: var(--space-5); color: var(--color-text-on-dark-muted); font-size: var(--text-lg); }
.benefit-grid { display: grid; gap: var(--space-6) var(--space-5); }
.benefit { padding-top: var(--space-5); border-top: 1px solid var(--color-border-strong); }
.benefit .icon { box-sizing: content-box; width: 1.5rem; height: 1.5rem; margin-bottom: var(--space-4); padding: .75rem; border-radius: 50%; background: var(--color-primary); color: var(--color-accent-light); }
.benefit h3 { margin-bottom: var(--space-2); font-size: var(--text-lg); }
.benefit p { color: var(--color-text-muted); font-size: .9375rem; }
.final-cta { display: grid; justify-items: center; gap: var(--space-4); margin-bottom: var(--section-space); padding: clamp(2.5rem, 1.5rem + 5vw, 5rem) var(--space-5); border-radius: var(--radius-large); background: var(--color-accent-light); color: var(--color-primary-dark); text-align: center; }
.final-cta .button-row { justify-content: center; }
.final-cta p { max-width: 32rem; margin-bottom: var(--space-3); color: var(--color-primary); }
.final-cta .button-light { border-color: var(--color-primary); background: var(--color-primary); color: #fff; }
.final-cta .button-light:hover { border-color: var(--color-primary-dark); background: var(--color-primary-dark); }

/* 7. Search & form fields */
.field { position: relative; min-width: 0; }
.field label { display: block; margin-bottom: var(--space-1); color: var(--color-text); font-size: var(--text-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field select { width: 100%; min-width: 0; min-height: 2.75rem; padding: .5rem .75rem; border: 1px solid var(--color-border); border-radius: var(--radius-small); background: var(--color-surface); font-size: .9375rem; color-scheme: light; transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease); }
.field input:hover, .field select:hover { border-color: var(--color-border-strong); }
.field input:focus-visible, .field select:focus-visible { border-color: var(--color-primary); outline: none; box-shadow: 0 0 0 3px rgb(160 72 90 / 25%); }

/* Custom dropdown: replaces the browser's pop-up list with an on-brand list under the field. */
.custom-select { position: relative; }
.custom-select .native-select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.custom-select-button { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); width: 100%; min-height: 2.75rem; padding: .5rem .75rem; border: 1px solid var(--color-border); border-radius: var(--radius-small); background: var(--color-surface); font-size: .9375rem; text-align: left; cursor: pointer; transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease); }
.custom-select-button:hover { border-color: var(--color-border-strong); }
.custom-select-button:focus-visible, .custom-select.is-open .custom-select-button { border-color: var(--color-primary); outline: none; box-shadow: 0 0 0 3px rgb(160 72 90 / 25%); }
.custom-select-button.is-placeholder .custom-select-value { color: var(--color-text-muted); }
.custom-select-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.custom-select-button::after { content: ""; flex-shrink: 0; width: .5rem; height: .5rem; margin-top: -.25rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform var(--duration) var(--ease); }
.custom-select.is-open .custom-select-button::after { margin-top: .25rem; transform: rotate(-135deg); }
.custom-select-list { position: absolute; top: calc(100% + .375rem); right: 0; left: 0; z-index: 30; max-height: min(20rem, 60vh); margin: 0; padding: var(--space-2); overflow-y: auto; border: 1px solid var(--color-border); border-radius: var(--radius-medium); background: var(--color-surface); box-shadow: var(--shadow-medium); list-style: none; overscroll-behavior: contain; }
.custom-select-list[hidden] { display: none; }
.custom-select-option { position: relative; display: grid; gap: .125rem; padding: .625rem 2.25rem .625rem .75rem; border-radius: var(--radius-small); cursor: pointer; }
.custom-select-option.is-active { background: var(--color-surface-alt); }
.custom-select-option[aria-selected="true"] { color: var(--color-primary); font-weight: 600; }
.custom-select-option[aria-selected="true"]::after { content: ""; position: absolute; top: 50%; right: .875rem; width: .375rem; height: .75rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-65%) rotate(45deg); }
.custom-select-option.is-placeholder { color: var(--color-text-muted); }
.custom-select-option small { color: var(--color-text-muted); font-size: var(--text-xs); font-weight: 500; }
.custom-select-list:focus { outline: none; }
.date-box .custom-select.is-open .custom-select-button { box-shadow: none; }
.custom-select.is-invalid .custom-select-button { border-color: #b3261e; }
.date-box .custom-select-button { min-height: 2rem; padding: 0; border: 0; background: transparent; box-shadow: none; }

/* Place search ("Where to?") */
.place-search { position: relative; }
.place-search input { width: 100%; }
.place-search input::-webkit-search-cancel-button { cursor: pointer; }
.place-search-list { min-width: 100%; }
.place-option { padding-left: 2.5rem; }
.place-option::before { content: ""; position: absolute; top: 50%; left: .75rem; width: 1.125rem; height: 1.125rem; background: currentColor; opacity: .55; transform: translateY(-50%); -webkit-mask: var(--place-icon) center / contain no-repeat; mask: var(--place-icon) center / contain no-repeat; }
.place-option.is-city, .place-option.is-area { --place-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M12 21s-6.5-6-6.5-11a6.5 6.5 0 0 1 13 0c0 5-6.5 11-6.5 11z'/%3E%3Ccircle cx='12' cy='10' r='2.3'/%3E%3C/svg%3E"); }
.place-option.is-stay { --place-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M4 10.5 12 4l8 6.5V20H4z'/%3E%3Cpath d='M10 20v-5h4v5'/%3E%3C/svg%3E"); }
.place-empty { padding: .75rem; color: var(--color-text-muted); font-size: var(--text-sm); }
.archive-search { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); max-width: 40rem; margin-bottom: var(--space-5); }
.archive-search .place-search { flex: 1 1 10rem; }
.archive-search input[type="search"] { min-height: 3rem; padding: .5rem 1rem; border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill); background: var(--color-surface); font-size: 1rem; }
.archive-search input[type="search"]:focus-visible { border-color: var(--color-primary); outline: none; box-shadow: 0 0 0 3px rgb(160 72 90 / 25%); }

/* Property card photo carousel */
.property-image .carousel-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.property-image .carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.property-body { position: relative; }
.carousel-arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 2rem; height: 2rem; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / 92%); color: var(--color-text); box-shadow: var(--shadow-small); cursor: pointer; opacity: 0; transform: translateY(-50%); transition: opacity var(--duration) var(--ease); }
.carousel-arrow .icon { width: 1rem; height: 1rem; }
.carousel-prev { left: .75rem; }
.carousel-next { right: .75rem; }
.property-card:hover .carousel-arrow { opacity: 1; }
.at-start .carousel-prev, .at-end .carousel-next { visibility: hidden; }
.carousel-dots { position: absolute; right: 0; bottom: .75rem; left: 0; z-index: 2; display: flex; justify-content: center; gap: .3125rem; pointer-events: none; }
.carousel-dots span { width: .375rem; height: .375rem; border-radius: 50%; background: rgb(255 255 255 / 60%); box-shadow: 0 0 2px rgb(0 0 0 / 30%); transition: transform var(--duration) var(--ease), background-color var(--duration) var(--ease); }
.carousel-dots span.is-active { background: #fff; transform: scale(1.3); }
@media (hover: none) { .carousel-arrow { display: none; } }

/* Share buttons */
.property-header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-5); margin-top: var(--space-3); }
.property-header-row .property-header-location { margin-top: 0; }
.share-actions { display: flex; gap: var(--space-2); }
.share-button { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 2.5rem; padding: .375rem .875rem; border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill); background: transparent; color: var(--color-text); font-size: var(--text-sm); font-weight: 600; text-decoration: none; cursor: pointer; transition: border-color var(--duration) var(--ease), background-color var(--duration) var(--ease); }
.share-button:hover { border-color: var(--color-text); background: var(--color-surface); }
.share-button .icon { width: 1rem; height: 1rem; }

/* Things to know */
.know-grid { display: grid; gap: var(--space-5); }
.know-item h3 { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); font-size: 1rem; }
.know-item h3 .icon { color: var(--color-primary); }
.know-item ul { display: grid; gap: var(--space-2); margin: 0; padding: 0; color: var(--color-text-muted); font-size: .9375rem; list-style: none; }
.know-item a { color: var(--color-primary); font-weight: 600; }

/* Location map (click to load) */
.property-main address { margin-bottom: var(--space-4); }
.map-facade { display: grid; justify-items: start; gap: var(--space-3); padding: var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-medium); background: radial-gradient(circle at 85% 30%, rgb(160 72 90 / 10%), transparent 45%), linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-alt) 100%); }
.map-facade > .icon { width: 1.75rem; height: 1.75rem; color: var(--color-primary); }
.map-facade p { color: var(--color-text-muted); font-size: var(--text-sm); }
.map-frame { overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--radius-medium); background: var(--color-surface-alt); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* Full-screen photo viewer */
.lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(18 14 14 / 96%); color: #fff; }
.lightbox::backdrop { background: rgb(18 14 14 / 96%); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr; }
.lightbox-open { overflow: hidden; }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; padding: var(--space-3) var(--gutter); }
.lightbox-count { font-size: var(--text-sm); font-weight: 600; letter-spacing: .04em; }
.lightbox-close, .lightbox-nav { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid rgb(255 255 255 / 30%); border-radius: 50%; background: rgb(255 255 255 / 8%); color: #fff; font-size: 1.25rem; line-height: 1; cursor: pointer; transition: background-color var(--duration) var(--ease); }
.lightbox-close:hover, .lightbox-nav:hover { background: rgb(255 255 255 / 20%); }
.lightbox :focus-visible { outline-color: var(--color-accent-light); }
.lightbox-figure { display: grid; grid-template-rows: 1fr auto; place-items: center; min-height: 0; margin: 0; padding: 0 var(--gutter) var(--space-5); touch-action: pan-y; }
.lightbox-figure img { max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; border-radius: var(--radius-small); user-select: none; -webkit-user-drag: none; }
.lightbox-figure figcaption { padding-top: var(--space-3); color: rgb(255 255 255 / 75%); font-size: var(--text-sm); text-align: center; }
.lightbox-nav { position: fixed; top: 50%; font-size: 2rem; transform: translateY(-50%); }
.lightbox-prev { left: var(--space-4); }
.lightbox-next { right: var(--space-4); }
@media (max-width: 639px) { .lightbox-nav { top: auto; bottom: var(--space-4); transform: none; } }

/* Booking confirmation */
.booking-confirmation { display: grid; gap: var(--space-4); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border: 1px solid var(--color-border); border-radius: var(--radius-large); background: var(--color-surface); box-shadow: var(--shadow-small); }
.confirmation-icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: #eaf5ee; color: #1e5631; }
.confirmation-icon .icon { width: 1.75rem; height: 1.75rem; stroke-width: 2.4; }
.booking-confirmation > h2 { font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.375rem); }
.booking-confirmation > p { color: var(--color-text-muted); }
.confirmation-summary { display: grid; gap: var(--space-4); padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-medium); }
.confirmation-summary img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-small); }
.confirmation-summary h3 { font-size: var(--text-lg); }
.confirmation-summary h3 a { text-decoration: none; }
.confirmation-summary dl { display: grid; gap: var(--space-2); margin: var(--space-3) 0 0; }
.confirmation-summary dl div { display: flex; justify-content: space-between; gap: var(--space-3); padding-bottom: var(--space-2); border-bottom: 1px solid var(--color-border); }
.confirmation-summary dl div:last-child { border-bottom: 0; font-weight: 700; }
.confirmation-summary dt { color: var(--color-text-muted); }
.confirmation-summary dd { margin: 0; font-weight: 600; text-align: right; }
.next-title { margin-top: var(--space-2); font-size: 1rem; }
.next-steps { display: grid; gap: var(--space-2); margin: 0; padding-left: 1.25rem; color: var(--color-text-muted); }
@media (min-width: 640px) {
  .know-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .confirmation-summary { grid-template-columns: 180px minmax(0, 1fr); align-items: start; }
}

/* Guest stepper: typeable number with − / + buttons */
.guest-stepper { display: flex; align-items: center; gap: var(--space-2); }
.guest-stepper input { flex: 1; min-width: 3rem; text-align: center; font-weight: 600; -moz-appearance: textfield; }
.guest-stepper input::-webkit-outer-spin-button, .guest-stepper input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.stepper-button { display: inline-grid; flex-shrink: 0; place-items: center; width: 2.25rem; height: 2.25rem; padding: 0; border: 1px solid var(--color-border-strong); border-radius: 50%; background: var(--color-surface); color: var(--color-text); font-size: 1.125rem; line-height: 1; cursor: pointer; transition: border-color var(--duration) var(--ease), color var(--duration) var(--ease); }
.stepper-button:hover:not(:disabled) { border-color: var(--color-text); }
.stepper-button:disabled { opacity: .35; cursor: not-allowed; }
.date-box .guest-stepper { padding-block: .125rem; }
.date-box .guest-stepper { justify-content: space-between; }

/* 8. Property cards & grid */
.property-grid { display: grid; gap: var(--space-7) var(--space-5); }
.property-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.property-image { position: relative; overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: var(--space-4); border-radius: var(--radius-medium); background: var(--color-surface-alt); }
.property-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.property-card:hover .property-image img { transform: scale(1.03); }
.image-placeholder { display: grid; place-content: center; justify-items: center; gap: var(--space-2); width: 100%; height: 100%; min-height: 12rem; background: var(--color-surface-alt); color: var(--color-text-muted); font-size: var(--text-sm); }
.image-placeholder .icon { width: 2.25rem; height: 2.25rem; color: var(--color-primary); }
.property-body { display: flex; flex: 1; flex-direction: column; }
.property-title { font-size: var(--text-h3); }
.property-card-link { text-decoration: none; }
.property-card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius-medium); }
.property-card-link:focus-visible { outline: none; }
.property-card-link:focus-visible::after { outline: 2px solid var(--color-accent); outline-offset: 6px; }
.property-card:hover .property-card-link { text-decoration: underline; }
.property-location { margin-top: var(--space-1); color: var(--color-text-muted); font-size: .9375rem; }
.property-meta { margin-top: var(--space-1); color: var(--color-text-muted); font-size: var(--text-sm); }
.property-bottom { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-2); margin-top: auto; padding-top: var(--space-4); }
.price strong { font-size: var(--text-lg); font-weight: 600; }
.price span { color: var(--color-text-muted); font-size: var(--text-sm); }
.property-bottom .arrow-link { min-height: 0; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); margin-top: var(--space-8); }
.page-numbers { display: inline-grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; padding: .25rem .875rem; border: 1px solid var(--color-border); border-radius: var(--radius-pill); font-size: var(--text-sm); text-decoration: none; transition: border-color var(--duration) var(--ease); }
a.page-numbers:hover { border-color: var(--color-text); }
.page-numbers.current { border-color: var(--color-primary); background: var(--color-primary); color: #fff; }
.property-archive { padding-bottom: var(--section-space); }

/* 9. Property detail */
.single-property { padding-bottom: var(--section-space); }
.breadcrumbs { padding-block: var(--space-5) var(--space-4); }
.breadcrumbs ol { display: flex; gap: var(--space-2); min-width: 0; margin: 0; padding: 0; list-style: none; color: var(--color-text-muted); font-size: var(--text-sm); white-space: nowrap; }
.breadcrumbs li { flex-shrink: 0; }
.breadcrumbs li[aria-current] { flex-shrink: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.breadcrumbs li + li::before { content: "/"; margin-right: var(--space-2); color: var(--color-border-strong); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--color-text); text-decoration: underline; }
.property-header { margin-bottom: var(--space-5); }
.property-header .eyebrow { margin-bottom: var(--space-2); }
.property-header-location { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-3); color: var(--color-text-muted); }
.property-header-location .icon { width: 1.125rem; height: 1.125rem; }
.property-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); margin-bottom: var(--space-6); }
.gallery-main { grid-column: 1 / -1; overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--radius-medium); background: var(--color-surface-alt); }
.gallery-main img, .gallery-photo img { width: 100%; height: 100%; object-fit: cover; }
.gallery-photo-main { display: block; height: 100%; }
.gallery-photo-main img { transition: transform .4s var(--ease); }
.gallery-photo-main:hover img { transform: scale(1.02); }
.gallery-photo { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius-medium); background: var(--color-surface-alt); }
.gallery-photo img { transition: transform .4s var(--ease), opacity var(--duration) var(--ease); }
.gallery-photo:hover img { transform: scale(1.03); }
.property-gallery { position: relative; }
.gallery-all { position: absolute; right: var(--space-4); bottom: var(--space-4); z-index: 1; display: inline-flex; align-items: center; gap: var(--space-2); min-height: 2.5rem; padding: .5rem 1rem; border: 1px solid var(--color-text); border-radius: var(--radius-small); background: var(--color-surface); color: var(--color-text); font-size: var(--text-sm); font-weight: 600; text-decoration: none; box-shadow: var(--shadow-small); transition: background-color var(--duration) var(--ease); }
.gallery-all:hover { background: var(--color-surface-alt); }
.gallery-all .icon { width: 1rem; height: 1rem; }
.property-gallery .gallery-photo:nth-of-type(n+3) { display: none; }
.property-facts { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); margin: 0 0 var(--space-6); padding: var(--space-5) 0; border-block: 1px solid var(--color-border); list-style: none; }
.property-facts li { display: flex; align-items: center; gap: var(--space-2); }
.property-facts .icon { color: var(--color-primary); }
.property-facts span { color: var(--color-text-muted); }
.property-layout { display: grid; gap: var(--space-7); align-items: start; }
.property-main { min-width: 0; }
.property-main > section + section { margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--color-border); }
.property-main h2 { margin-bottom: var(--space-4); font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); }
.property-main address { color: var(--color-text-muted); }
.amenity-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr)); gap: var(--space-3) var(--space-5); margin: 0; padding: 0; list-style: none; }
.amenity-list li { display: flex; align-items: center; gap: var(--space-3); }
.amenity-list .icon { width: 1.125rem; height: 1.125rem; color: var(--color-primary); }
.stay-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: var(--space-4); max-width: 28rem; margin: 0; }
.stay-info dt { color: var(--color-text-muted); font-size: var(--text-sm); }
.stay-info dd { margin: 0; font-weight: 600; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
.booking-card { padding: var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-large); background: var(--color-surface); box-shadow: var(--shadow-medium); }
.price-large { margin-bottom: var(--space-5); }
.price-large strong { font: 700 1.75rem/1.1 var(--font-body); letter-spacing: -.01em; }
.booking-card-title { margin-bottom: var(--space-5); font: 600 1.75rem/1.2 var(--font-heading); }
.booking-fields { display: grid; gap: var(--space-4); }
.date-box { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--color-border-strong); border-radius: var(--radius-medium); }
.date-box .field { padding: .625rem .875rem .375rem; }
.date-box .field + .field { border-left: 1px solid var(--color-border-strong); }
.date-box .field-wide { border-top: 1px solid var(--color-border-strong); border-left: 0; }
.date-box .field label { margin-bottom: 0; font-size: .6875rem; }
.date-box .field input, .date-box .field select { min-height: 2rem; padding: 0; border: 0; border-radius: 0; background: transparent; font-size: var(--text-sm); }
.date-box .field:focus-within { box-shadow: inset 0 0 0 2px var(--color-text); border-radius: var(--radius-small); }
.date-box .field input:focus-visible, .date-box .field select:focus-visible { box-shadow: none; }
.button-large { min-height: 3.25rem; font-size: 1rem; }
.booking-fields .small-note { margin: 0; text-align: center; }
.price-breakdown { display: grid; gap: var(--space-3); margin: 0; }
.price-breakdown[hidden] { display: none; }
.price-breakdown div { display: flex; justify-content: space-between; gap: var(--space-3); }
.price-breakdown dt { text-decoration: underline; text-decoration-color: var(--color-border-strong); }
.price-breakdown dd { margin: 0; }
.price-breakdown .price-total { padding-top: var(--space-4); border-top: 1px solid var(--color-border); font-weight: 700; }
.price-breakdown .price-total dt { text-decoration: none; }
.mobile-book-bar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) var(--gutter) calc(var(--space-3) + env(safe-area-inset-bottom)); border-top: 1px solid var(--color-border); background: var(--color-surface); box-shadow: 0 -6px 20px rgb(28 27 25 / 8%); }
.mobile-book-bar .price { line-height: 1.3; }
.mobile-book-bar .price small { display: block; color: var(--color-text-muted); font-size: var(--text-xs); }
.single-property { padding-bottom: calc(var(--section-space) + 4.5rem); }
.field-wide { grid-column: 1 / -1; }


/* Pages: About, Contact, policies */
.page-hero { padding-bottom: var(--space-6); }
.page-hero h1 { margin-bottom: var(--space-4); }
.page-media { overflow: hidden; margin-bottom: var(--space-7); border-radius: var(--radius-large); }
.page-media img { width: 100%; max-height: 520px; object-fit: cover; }
.page-body { padding-bottom: var(--section-space); }
.page-body > * { max-width: 46rem; }
.page-body h2 { margin-top: var(--space-7); font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); }
.page-body ul, .page-body ol { padding-left: 1.25rem; }
.page-body li + li { margin-top: var(--space-2); }
.page-body .notice, .faq-content .notice { padding: var(--space-4) var(--space-5); border-left: 3px solid var(--color-accent); border-radius: var(--radius-small); background: var(--color-surface-alt); color: var(--color-text-muted); font-size: var(--text-sm); }
.contact-layout { display: grid; gap: var(--space-7); align-items: start; padding-bottom: var(--section-space); }
.contact-layout .page-body { padding-bottom: 0; }
.contact-card { padding: var(--space-6); border-radius: var(--radius-large); background: var(--color-primary); color: var(--color-text-on-dark); }
.contact-card h2 { margin-bottom: var(--space-5); font-size: 1.5rem; }
.contact-list { display: grid; gap: var(--space-5); margin: 0 0 var(--space-6); padding: 0; list-style: none; }
.contact-list li { display: flex; gap: var(--space-3); }
.contact-list .icon { margin-top: .2rem; color: var(--color-accent-light); }
.contact-list strong, .contact-list span { display: block; }
.contact-list strong { font-size: var(--text-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent-light); }
.contact-list .is-pending { color: var(--color-text-on-dark-muted); }
.contact-card .button { border-color: var(--color-accent-light); background: var(--color-accent-light); color: var(--color-primary-dark); }
.contact-card .button:hover { border-color: #fff; background: #fff; }
.contact-card :focus-visible { outline-color: var(--color-accent-light); }

/* Blog */
.post-grid { display: grid; gap: var(--space-7) var(--space-5); }
.post-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.post-card-image { overflow: hidden; aspect-ratio: 3 / 2; margin-bottom: var(--space-4); border-radius: var(--radius-medium); background: var(--color-surface-alt); }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.post-card:hover .post-card-image img { transform: scale(1.03); }
.post-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.post-meta { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); margin-bottom: var(--space-2); color: var(--color-text-muted); font-size: var(--text-sm); }
.post-meta > span:first-child:not(:only-child) { color: var(--color-accent); font-weight: 600; }
.post-card-title { margin-bottom: var(--space-2); font-size: var(--text-h3); }
.post-card-link { text-decoration: none; }
.post-card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card-link:focus-visible { outline: none; }
.post-card-link:focus-visible::after { outline: 2px solid var(--color-accent); outline-offset: 6px; border-radius: var(--radius-medium); }
.post-card:hover .post-card-link { text-decoration: underline; }
.post-card-excerpt { margin-bottom: var(--space-4); color: var(--color-text-muted); font-size: .9375rem; }
.post-card .arrow-link { min-height: 0; margin-top: auto; }
.post-card:hover .arrow { transform: translateX(4px); }
.filter-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-7); }
.filter-chips a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .375rem 1rem; border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill); font-size: var(--text-sm); font-weight: 600; text-decoration: none; transition: background-color var(--duration) var(--ease), border-color var(--duration) var(--ease), color var(--duration) var(--ease); }
.filter-chips a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.filter-chips a[aria-current="page"] { border-color: var(--color-primary); background: var(--color-primary); color: #fff; }
.blog-main { padding-bottom: var(--section-space); }
.journal-section { padding-top: 0; }
.article-header { padding-bottom: var(--space-6); }
.article-header > * { max-width: 48rem; }
.article-header h1 { margin-bottom: var(--space-4); font-size: clamp(2.375rem, 1.5rem + 3vw, 3.75rem); }
.article-header .lead { margin-bottom: var(--space-4); }
.article-header .eyebrow a { text-decoration: none; }
.article-media { overflow: hidden; margin-bottom: var(--space-7); border-radius: var(--radius-large); }
.article-media img { width: 100%; max-height: 560px; object-fit: cover; }
.article-body > *, .article-tags > * { max-width: 46rem; }
.article-body { padding-bottom: var(--space-6); }
.tag-list { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-7); padding: 0; list-style: none; }
.tag-list a { color: var(--color-text-muted); font-size: var(--text-sm); }
.article-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); padding: clamp(2rem, 1.25rem + 3vw, 3rem); border-radius: var(--radius-large); background: var(--color-primary); color: var(--color-text-on-dark); }
.article-cta h2 { margin-bottom: var(--space-2); font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.25rem); }
.article-cta p { color: var(--color-text-on-dark-muted); }
.entry-content blockquote { margin-inline: 0; padding-left: var(--space-5); border-left: 3px solid var(--color-accent); font: italic 600 1.5rem/1.4 var(--font-heading); }
.entry-content img { border-radius: var(--radius-medium); }

/* FAQs (core Details block) */
.faq-layout { display: grid; gap: var(--space-7); align-items: start; padding-bottom: var(--section-space); }
.faq-content > h2 { margin: var(--space-7) 0 var(--space-4); font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); }
.faq-content > h2:first-child { margin-top: 0; }
.faq-content details { margin: 0; border-bottom: 1px solid var(--color-border); }
.faq-content h2 + details { border-top: 1px solid var(--color-border); }
.faq-content summary { position: relative; display: block; padding: var(--space-4) var(--space-7) var(--space-4) 0; font-weight: 600; cursor: pointer; list-style: none; }
.faq-content summary::-webkit-details-marker { display: none; }
.faq-content summary::after { content: "+"; position: absolute; top: 50%; right: var(--space-2); color: var(--color-primary); font-size: 1.5rem; font-weight: 400; line-height: 1; transform: translateY(-50%); transition: transform var(--duration) var(--ease); }
.faq-content details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-content summary:hover { color: var(--color-primary); }
.faq-content details > :not(summary) { margin: 0 0 var(--space-4); padding-right: var(--space-7); color: var(--color-text-muted); }
.faq-aside p { margin-bottom: var(--space-5); color: var(--color-text-on-dark-muted); }

/* Forms: contact, feedback, booking requests */
.form-panel { min-width: 0; }
.form-panel > .entry-content { margin-bottom: var(--space-6); }
.message-form { display: grid; gap: var(--space-6); padding: clamp(1.25rem, .75rem + 2vw, 2rem); border: 1px solid var(--color-border); border-radius: var(--radius-large); background: var(--color-surface); box-shadow: var(--shadow-small); }
.form-grid { display: grid; gap: var(--space-4); }
.form-section > .form-grid { clear: both; }
.form-section { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-section + .form-section { padding-top: var(--space-6); border-top: 1px solid var(--color-border); }
.form-section legend { float: left; width: 100%; display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); padding: 0; font: 600 1.5rem/1.2 var(--font-heading); }
.step { display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--color-primary); color: #fff; font: 700 var(--text-sm)/1 var(--font-body); }
.field textarea { width: 100%; min-height: 8rem; padding: .75rem; border: 1px solid var(--color-border); border-radius: var(--radius-small); background: var(--color-surface); font-size: .9375rem; resize: vertical; transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease); }
.field textarea:hover { border-color: var(--color-border-strong); }
.field textarea:focus-visible { border-color: var(--color-primary); outline: none; box-shadow: 0 0 0 3px rgb(160 72 90 / 25%); }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: #b3261e; }
.required { color: var(--color-accent); }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); }
.form-footer .small-note { flex: 1 1 16rem; margin: 0; }
.form-footer .small-note a { color: var(--color-primary); }
.form-notice { padding: var(--space-4) var(--space-5); border-radius: var(--radius-medium); font-weight: 500; }
.form-notice.is-success { border: 1px solid #a9cdb5; background: #eaf5ee; color: #1e5631; }
.form-notice.is-error { border: 1px solid #e3b2ad; background: #fbecea; color: #8c1d18; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.booking-estimate { margin-top: var(--space-4); padding: var(--space-3) var(--space-4); border-radius: var(--radius-small); background: var(--color-surface-alt); font-size: var(--text-sm); font-weight: 600; }
.booking-estimate[hidden] { display: none; }
.rating-field { margin: 0; padding: 0; border: 0; }
.rating-field legend { margin-bottom: var(--space-1); padding: 0; font-size: var(--text-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.rating-options { display: inline-flex; flex-direction: row-reverse; gap: var(--space-1); }
.rating-options input { position: absolute; opacity: 0; pointer-events: none; }
.field .rating-options label { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin: 0; color: var(--color-border-strong); font-size: 1.75rem; line-height: 1; letter-spacing: 0; text-transform: none; cursor: pointer; transition: color var(--duration) var(--ease), transform var(--duration) var(--ease); }
.field .rating-options label:hover, .field .rating-options label:hover ~ label, .field .rating-options input:checked ~ label { color: var(--color-accent); }
.field .rating-options label:hover { transform: scale(1.1); }
.rating-options input:focus-visible + label { outline: 2px solid var(--color-accent); outline-offset: 2px; border-radius: var(--radius-small); }
.steps-list { display: grid; gap: var(--space-5); margin: 0 0 var(--space-5); padding: 0; list-style: none; counter-reset: steps; }
.steps-list li { position: relative; padding-left: 2.75rem; counter-increment: steps; }
.steps-list li::before { content: counter(steps); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 1.875rem; height: 1.875rem; border-radius: 50%; background: var(--color-accent-light); color: var(--color-primary-dark); font-size: var(--text-sm); font-weight: 700; }
.steps-list strong, .steps-list span { display: block; }
.steps-list span { color: var(--color-text-on-dark-muted); font-size: .9375rem; }
.contact-card .entry-content { color: var(--color-text-on-dark-muted); font-size: .9375rem; }
.contact-card .entry-content a { color: var(--color-accent-light); }
.other-stays { padding-bottom: 0; }

/* 10. Footer */
.site-footer { padding-top: var(--space-8); background: var(--color-charcoal); color: var(--color-text-on-dark); font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-5); padding-bottom: var(--space-7); }
.footer-brand, .footer-column:last-child { grid-column: 1 / -1; }
.site-footer .wordmark { color: var(--color-text-on-dark); }
.site-footer .wordmark span, .footer-column h2 { color: var(--color-accent-light); }
.site-footer .is-pending { color: var(--color-text-on-dark-muted); }
.site-footer :focus-visible { outline-color: var(--color-accent-light); }
.footer-brand p { max-width: 22rem; margin-top: var(--space-4); color: var(--color-text-on-dark-muted); }
.footer-column h2 { margin-bottom: var(--space-3); font: 600 var(--text-xs)/1.4 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.footer-column .menu { flex-direction: column; gap: 0; }
.footer-column .menu a, .footer-column .menu .is-pending { display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: .375rem; padding-block: .4rem; }
.footer-column .menu .is-pending small { opacity: .75; }
.footer-column .menu a { color: var(--color-text-on-dark-muted); text-decoration: none; }
.footer-column .menu a:hover { color: #fff; text-decoration: underline; }
.footer-contact { display: grid; gap: var(--space-2); color: var(--color-text-on-dark-muted); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-5); padding-block: var(--space-5); border-top: 1px solid rgb(255 255 255 / 12%); color: var(--color-text-on-dark-muted); font-size: var(--text-sm); }

/* 11. WordPress content (pages, posts, editor output) */
.content-layout { max-width: 46rem; min-height: 55vh; padding-block: var(--space-8); overflow-wrap: anywhere; }
.content-entry { margin-bottom: var(--space-7); }
.content-entry h1, .content-entry h2 { margin-bottom: var(--space-5); }
.entry-content { font-size: 1.0625rem; }
.entry-content > * { margin-block: 0 var(--space-5); }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content h2, .entry-content h3 { margin-top: var(--space-6); }
.entry-content a { color: var(--color-primary); }
.entry-content iframe { max-width: 100%; }
.entry-content pre { overflow-x: auto; }
.aligncenter { margin-inline: auto; }
.alignleft { float: left; margin-right: var(--space-5); }
.alignright { float: right; margin-left: var(--space-5); }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { color: var(--color-text-muted); font-size: var(--text-sm); }
.entry-content::after { content: ""; display: table; clear: both; }

/* Responsive: natural breakpoints at 640, 900 and 1024px */
@media (min-width: 640px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid .field-full { grid-column: 1 / -1; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .property-grid, .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .header-inner { flex-wrap: nowrap; }
  .navigation-ready .menu-toggle { display: none; }
  .primary-navigation, .navigation-ready .primary-navigation { position: static; flex-direction: row; align-items: center; gap: var(--space-7); width: auto; padding: 0; border: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .navigation-ready .primary-navigation .menu { flex-direction: row; gap: var(--space-6); }
  .navigation-ready .primary-navigation .menu a { width: auto; min-height: 2.75rem; border: 0; font-size: .9375rem; }
  .navigation-ready .primary-navigation .menu a::after { display: block; }
  .hero { padding-block: var(--space-6) calc(var(--space-8) + var(--space-5)); }
  .hero-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); }
  .hero-media { aspect-ratio: 5 / 4; max-height: 620px; }
  .feature-inner { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(3rem, 6vw, 6rem); }
  /* Airbnb-style mosaic: one large photo plus up to four, rounded only on the outer corners. */
  .property-gallery { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); height: clamp(360px, 40vw, 520px); overflow: hidden; border-radius: var(--radius-large); }
  .property-gallery.photos-0 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .property-gallery.photos-3, .property-gallery.photos-4 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
  .property-gallery .gallery-photo:nth-of-type(n+3) { display: block; }
  .gallery-main { grid-column: 1; grid-row: 1 / -1; aspect-ratio: auto; border-radius: 0; }
  .gallery-photo { aspect-ratio: auto; border-radius: 0; }
  .property-gallery.photos-1 .gallery-photo, .property-gallery.photos-3 .gallery-photo:first-of-type { grid-row: 1 / -1; }
  .mobile-book-bar { display: none; }
  .single-property { padding-bottom: var(--section-space); }
  .property-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(3rem, 6vw, 6rem); }
  .booking-card { position: sticky; top: calc(var(--header-height) + var(--space-5)); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; }
  .footer-brand, .footer-column:last-child { grid-column: auto; }
  .contact-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(3rem, 6vw, 6rem); }
  .faq-layout { grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: clamp(3rem, 6vw, 6rem); }
  .faq-aside, .contact-layout > .contact-card { position: sticky; top: calc(var(--header-height) + var(--space-5)); }
}
@media (min-width: 1024px) {
  .property-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Homepage search bar: icon + label + value segments, Airbnb-style pill on desktop */
.booking-search { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-large); background: var(--color-surface); box-shadow: 0 18px 40px rgb(43 18 24 / 12%); }
.search-field { display: flex; align-items: center; gap: var(--space-3); padding: .75rem 1rem; border: 1px solid var(--color-border); border-radius: var(--radius-medium); transition: background-color var(--duration) var(--ease), border-color var(--duration) var(--ease); }
.search-field-place, .search-field-guests, .search-button { grid-column: 1 / -1; }
.search-field:hover { background: var(--color-surface-alt); }
.search-field:focus-within { border-color: var(--color-primary); background: var(--color-surface); box-shadow: 0 0 0 3px rgb(160 72 90 / 18%); }
.search-field > .icon { flex-shrink: 0; width: 1.375rem; height: 1.375rem; color: var(--color-primary); }
.search-field-body { position: relative; flex: 1; min-width: 0; }
.search-field label { margin-bottom: .125rem; color: var(--color-primary); font-size: .6875rem; letter-spacing: .1em; }
.booking-search .field input { min-height: 1.75rem; padding: 0; border: 0; border-radius: 0; background: transparent; font-size: 1rem; font-weight: 500; box-shadow: none; }
.booking-search .field input:focus-visible { box-shadow: none; }
.booking-search .field input::placeholder { color: var(--color-text-muted); font-weight: 400; opacity: 1; }
.booking-search .place-search-list { min-width: min(20rem, 80vw); margin-left: -2.75rem; }
/* Date picker: on-brand calendar; booked nights are struck through and can't be chosen. */
.has-date-picker { position: relative; }
.date-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.date-trigger { display: flex; align-items: center; width: 100%; min-height: 2.75rem; padding: .5rem .75rem; border: 1px solid var(--color-border); border-radius: var(--radius-small); background: var(--color-surface); color: var(--color-text); font-size: .9375rem; text-align: left; cursor: pointer; transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease); }
.date-trigger:hover { border-color: var(--color-border-strong); }
.date-trigger:focus-visible, .date-trigger[aria-expanded="true"] { border-color: var(--color-primary); outline: none; box-shadow: 0 0 0 3px rgb(160 72 90 / 25%); }
.date-trigger.is-placeholder { color: var(--color-text-muted); }
.date-trigger.is-invalid { border-color: #b3261e; color: #b3261e; }
.date-box .date-trigger, .booking-search .date-trigger { min-height: 2rem; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.date-box .date-trigger { font-size: var(--text-sm); }
.booking-search .date-trigger { min-height: 1.75rem; font-size: 1rem; font-weight: 500; }
.booking-search .date-trigger.is-placeholder { font-weight: 400; }
.search-field-date { cursor: pointer; }
.date-popover { position: absolute; z-index: 40; padding: var(--space-4) var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-large); background: var(--color-surface); box-shadow: 0 18px 48px rgb(43 18 24 / 18%); }
.date-popover[hidden] { display: none; }
.date-popover-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-2); }
.date-popover-hint { margin: 0; color: var(--color-primary); font-size: var(--text-sm); font-weight: 600; }
.date-nav { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; padding: 0; border: 1px solid var(--color-border-strong); border-radius: 50%; background: var(--color-surface); color: var(--color-text); font-size: 1.25rem; line-height: 1; cursor: pointer; }
.date-nav:hover:not(:disabled) { border-color: var(--color-text); }
.date-nav:disabled { opacity: .3; cursor: default; }
.date-months { display: flex; gap: var(--space-6); }
.date-month-title { margin: 0 0 var(--space-2); font-weight: 600; text-align: center; }
.date-grid { display: grid; grid-template-columns: repeat(7, 2.5rem); }
.date-weekday { display: grid; place-items: center; height: 2rem; color: var(--color-text-muted); font-size: var(--text-xs); font-weight: 600; }
.date-day { position: relative; width: 2.5rem; height: 2.5rem; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--color-text); font: 500 .9375rem/1 var(--font-body); cursor: pointer; }
.date-day:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--color-text); }
.date-day:disabled { color: var(--color-text-muted); opacity: .4; cursor: not-allowed; }
.date-day.is-booked { text-decoration: line-through; }
.date-day.in-range { border-radius: 0; background: var(--color-surface-alt); }
.date-day.is-start, .date-day.is-end { background: var(--color-primary); color: #fff; opacity: 1; }
.date-day.is-today::after { content: ""; position: absolute; bottom: .3rem; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--color-accent); transform: translateX(-50%); }
.date-day.is-start::after, .date-day.is-end::after { background: #fff; }
.date-day:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.date-popover-foot { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-4); margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--color-border); }
.date-legend { display: inline-flex; align-items: center; gap: .4rem; margin-right: auto; color: var(--color-text-muted); font-size: var(--text-xs); }
.date-legend s { opacity: .6; }
.text-button { padding: 0; border: 0; background: none; color: var(--color-primary); font-size: var(--text-sm); font-weight: 600; text-decoration: underline; cursor: pointer; }
@media (max-width: 639px) {
  .date-popover { position: fixed; top: auto; right: 0; bottom: 0; left: 0; z-index: 60; max-height: 88vh; overflow-y: auto; padding-bottom: calc(var(--space-4) + env(safe-area-inset-bottom)); border-radius: var(--radius-large) var(--radius-large) 0 0; box-shadow: 0 0 0 100vmax rgb(20 10 12 / 45%); }
  .date-month { width: 100%; }
  .date-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .date-day { width: 100%; height: auto; aspect-ratio: 1; max-height: 3rem; }
}

/* Booking: Aadhaar notice, consent checkbox, Pay Now (UPI) step */
.id-notice { display: flex; gap: var(--space-3); padding: var(--space-4); border: 1px solid var(--color-accent-light); border-radius: var(--radius-medium); background: #fbf1ea; }
.id-notice .icon { flex-shrink: 0; width: 1.5rem; height: 1.5rem; color: var(--color-primary); }
.id-notice p { margin: 0; font-size: .9375rem; }
.checkbox-field { display: flex; align-items: flex-start; gap: var(--space-3); margin-top: var(--space-4); font-size: .9375rem; cursor: pointer; }
.checkbox-field input { flex-shrink: 0; width: 1.25rem; height: 1.25rem; margin-top: .125rem; accent-color: var(--color-primary); }
.hold-timer { display: flex; align-items: center; gap: var(--space-2); padding: .625rem 1rem; border-radius: var(--radius-pill); background: var(--color-surface-alt); color: var(--color-primary); font-size: var(--text-sm); font-weight: 600; }
.hold-timer .icon { flex-shrink: 0; width: 1.125rem; height: 1.125rem; }
.hold-timer.is-expired { background: #fbe9e7; color: #b3261e; }
.summary-total { font-size: var(--text-lg); }
.upi-pay { display: grid; gap: var(--space-5); align-items: start; padding: var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-medium); }
.upi-qr-wrap { display: grid; justify-items: center; gap: var(--space-2); }
.upi-qr { width: 220px; height: 220px; padding: var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius-medium); background: #fff; }
.upi-qr svg { display: block; width: 100%; height: 100%; }
.upi-amount { margin: 0; font: 700 1.5rem/1.2 var(--font-body); }
.upi-steps h3 { margin-bottom: var(--space-3); font-size: var(--text-lg); }
.upi-steps .next-steps { margin-bottom: var(--space-4); }
.upi-id { margin: var(--space-3) 0 0; font-size: var(--text-sm); }
.utr-form { display: grid; gap: var(--space-3); padding: var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-medium); background: var(--color-surface-alt); }
.utr-form .small-note { margin-top: var(--space-1); }
.utr-form .button { justify-self: start; }
@media (hover: hover) and (pointer: fine) {
  .upi-app-button { display: none; }
}
@media (min-width: 640px) {
  .upi-pay { grid-template-columns: auto minmax(0, 1fr); }
}
/* Guests: compact counter, number in the middle */
.booking-search .guest-stepper { gap: var(--space-3); }
.booking-search .guest-stepper input { flex: 0 0 2rem; min-width: 0; text-align: center; }
.booking-search .stepper-button { width: 2rem; height: 2rem; font-size: 1rem; }
.search-button { gap: .5rem; min-height: 3.25rem; }
.search-button .icon { width: 1.25rem; height: 1.25rem; }
.search-section .small-note { margin-top: var(--space-3); text-align: center; }
@media (min-width: 900px) {
  .booking-search { grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.05fr) auto; align-items: center; gap: 0; padding: .5rem; border-radius: var(--radius-pill); }
  .search-field, .search-field-place, .search-field-guests { grid-column: auto; padding: .625rem 1.25rem; border: 0; border-radius: var(--radius-pill); }
  .search-field + .search-field { position: relative; }
  .search-field + .search-field::before { content: ""; position: absolute; top: 25%; bottom: 25%; left: 0; width: 1px; background: var(--color-border); }
  .search-field:hover::before, .search-field:hover + .search-field::before, .search-field:focus-within::before, .search-field:focus-within + .search-field::before { opacity: 0; }
  .search-field:focus-within { box-shadow: 0 6px 20px rgb(43 18 24 / 14%); }
  .search-button { grid-column: auto; min-height: 3.5rem; margin-left: var(--space-2); padding-inline: 1.75rem; }
}
/* Back link on filtered/search result pages */
.back-link { display: inline-flex; align-items: center; gap: .375rem; min-height: 2.5rem; margin-bottom: var(--space-6); padding: .375rem 1rem .375rem .75rem; border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill); background: var(--color-surface); color: var(--color-text); font-size: .9375rem; font-weight: 500; text-decoration: none; transition: border-color var(--duration) var(--ease), background-color var(--duration) var(--ease); }
.back-link:hover { border-color: var(--color-primary); color: var(--color-primary); }
.back-link .icon { width: 1.125rem; height: 1.125rem; }

/* Grounded layout: the search sits inside the hero band, cards are contained, the closing band runs full width. */
.hero { padding-bottom: var(--space-6); }
.search-section { margin-top: 0; padding-block: 0 var(--space-7); border-bottom: 1px solid var(--color-border); background: var(--color-surface-alt); }
.booking-search { box-shadow: 0 1px 2px rgb(43 18 24 / 6%), 0 10px 28px rgb(43 18 24 / 8%); }
.property-card, .post-card { overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-medium); background: var(--color-surface); transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease); }
.property-card:hover, .post-card:hover { border-color: var(--color-border-strong); box-shadow: 0 12px 32px rgb(43 18 24 / 10%); }
.property-card .property-image, .post-card .post-card-image { margin-bottom: 0; border-radius: 0; }
.property-card .property-body, .post-card .post-card-body { padding: var(--space-4) var(--space-5) var(--space-5); }
.property-card .property-meta { margin-bottom: var(--space-4); }
.property-card .property-bottom { padding-top: var(--space-4); border-top: 1px solid var(--color-border); }
.final-cta { display: block; margin-bottom: 0; padding: var(--section-space) 0; border-radius: 0; text-align: left; }
.final-cta-inner { display: grid; gap: var(--space-5); align-items: center; }
.final-cta h2 { margin-bottom: var(--space-3); }
.final-cta p { margin-bottom: 0; }
.final-cta .button-row { justify-content: flex-start; }
@media (min-width: 900px) {
  .final-cta-inner { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-7); }
}

/* Form guest counters stay compact; feedback side panel matches the contact card */
.message-form .guest-stepper { justify-content: flex-start; }
.message-form .guest-stepper input { flex: 0 0 4.5rem; }
.feedback-aside .entry-content > :first-child { margin-top: 0; }
.feedback-aside .entry-content h2 { color: inherit; font-size: 1.5rem; }
.feedback-aside .entry-content p { color: var(--color-text-on-dark-muted); }

/* Success pop-up after the UPI transaction ID is submitted */
.success-dialog { width: min(26rem, calc(100vw - 2rem)); padding: var(--space-7) var(--space-6) var(--space-6); border: 0; border-radius: var(--radius-large); background: var(--color-surface); color: var(--color-text); text-align: center; box-shadow: 0 24px 64px rgb(20 10 12 / 30%); }
.success-dialog::backdrop { background: rgb(20 10 12 / 55%); backdrop-filter: blur(3px); }
.success-dialog[open] { animation: dialog-in .28s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.97); } }
.success-dialog-icon { display: inline-grid; place-items: center; width: 4rem; height: 4rem; margin-bottom: var(--space-4); border-radius: 50%; background: #e3f1e8; color: #1f8f4e; }
.success-dialog-icon .icon { width: 2rem; height: 2rem; stroke-width: 2.2; }
.success-dialog h2 { margin-bottom: var(--space-3); font-size: 1.875rem; }
.success-dialog > p { margin-bottom: var(--space-5); color: var(--color-text-muted); }
.success-dialog-details { display: grid; gap: var(--space-2); margin: 0 0 var(--space-4); padding: var(--space-4); border-radius: var(--radius-medium); background: var(--color-surface-alt); text-align: left; }
.success-dialog-details div { display: flex; justify-content: space-between; gap: var(--space-3); }
.success-dialog-details dt { color: var(--color-text-muted); }
.success-dialog-details dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.success-dialog .small-note { margin-bottom: var(--space-5); }

/* Floating WhatsApp chat */
.whatsapp-float { position: fixed; right: var(--space-5); bottom: calc(var(--space-5) + env(safe-area-inset-bottom)); z-index: 45; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: #1f8f4e; color: #fff; box-shadow: 0 8px 24px rgb(28 27 25 / 25%); transition: transform var(--duration) var(--ease); }
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float:focus-visible { outline: 3px solid var(--color-accent-light); outline-offset: 3px; }
.whatsapp-float .icon { width: 1.75rem; height: 1.75rem; }
.single-property .whatsapp-float { bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .single-property .whatsapp-float { bottom: var(--space-5); } }
.button-whatsapp { gap: .5rem; margin-bottom: var(--space-3); background: #1f8f4e; color: #fff; }
.button-whatsapp:hover { background: #18733e; color: #fff; }
.button-whatsapp .icon { width: 1.15rem; height: 1.15rem; }
.footer-contact a, .contact-list a { color: inherit; text-decoration: none; }
.footer-contact a:hover, .contact-list a:hover { text-decoration: underline; }

/* 12. Motion preferences: !important is needed to override every transition above. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .property-card:hover .property-image img, .gallery-photo:hover img, .arrow-link:hover .arrow, .property-card:hover .arrow { transform: none; }
}
