/* Generated by scripts/build_stays_shared.py from website/index.html. Do not edit by hand. */
/* ===== Design tokens (Nesteelo visual identity) ===== */
:root {
  --slate: #2F4358;        /* primary: navigation, buttons, headings */
  --slate-700: #243546;
  --slate-050: #EEF1F4;
  --sand: #EDE6DD;         /* secondary: calm surfaces */
  --sand-050: #F5F1EC;
  --terra: #B97A63;        /* accent, used sparingly */
  --terra-ink: #8C5440;    /* accent for text (meets AA on light grounds) */
  --cloud: #FAF9F7;
  --white: #FFFFFF;
  --ink: #2C2C2A;
  --muted: #5C6459;
  --line: #DDD6CC;
  --stone: #B5AEA4;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Spectral, Georgia, "Times New Roman", serif;
  --radius-sm: 8px;
  --radius: 10px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(36, 53, 70, .06), 0 6px 20px rgba(36, 53, 70, .07);
  --max: 1160px;
  --gutter: 20px;
  --header-h: 72px;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--cloud); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { color: var(--slate); line-height: 1.2; font-weight: 600; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.2vw + .6rem, 3.4rem); }
h2 { font-size: clamp(1.75rem, 2vw + 1rem, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
a { color: var(--slate); text-underline-offset: 3px; }
a:hover { color: var(--slate-700); }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--slate); outline-offset: 2px; border-radius: 4px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }
.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: 12px; top: -60px; z-index: 100; background: var(--slate); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: var(--white); }
.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 72px 0; }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head p { color: var(--muted); }
.eyebrow { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--terra-ink); margin-bottom: 12px; }
.num { font-variant-numeric: tabular-nums; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) { :root { --gutter: 16px; } .section { padding: 56px 0; } body { font-size: 1rem; } }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; min-height: 44px; padding: 10px 20px; border-radius: var(--radius-sm); border: 2px solid var(--slate); background: var(--slate); color: var(--white); font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--slate-700); border-color: var(--slate-700); color: var(--white); }
.btn-secondary { background: transparent; color: var(--slate); }
.btn-secondary:hover { background: var(--slate-050); color: var(--slate-700); }
.btn-small { min-height: 40px; padding: 6px 14px; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.btn-link { background: none; border: 0; padding: 0; color: var(--slate); font-weight: 600; text-decoration: underline; cursor: pointer; min-height: 0; }
.btn-link:hover { color: var(--slate-700); }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-bar { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 56px; width: auto; }
.header-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--white); color: var(--slate); cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--sand-050); }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.lang-switch button { min-width: 44px; min-height: 40px; padding: 0 10px; border: 0; background: var(--white); color: var(--slate); font-weight: 600; font-size: .875rem; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--slate); color: var(--white); }
.lang-switch button:not([aria-pressed="true"]):hover { background: var(--sand-050); }
.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.nav-link { display: block; padding: 12px 4px; white-space: nowrap; color: var(--ink); font-weight: 500; text-decoration: none; }
.nav-link:hover { color: var(--slate); text-decoration: underline; }
.header-phone { display: inline-flex; align-items: center; gap: 6px; color: var(--slate); font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-phone:hover { text-decoration: underline; }
.saved-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--white); color: var(--slate); font-weight: 600; font-size: .9375rem; cursor: pointer; white-space: nowrap; }
.saved-btn:hover { background: var(--sand-050); }
.saved-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--sand); color: var(--slate); font-size: .8125rem; line-height: 22px; text-align: center; }
.nav-toggle[aria-expanded="true"] .i-open, .nav-toggle[aria-expanded="false"] .i-close { display: none; }
/* Mobile and tablet: collapsible panel under the bar */
@media (max-width: 1199px) {
  .site-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .site-nav .nav-inner { padding: 8px var(--gutter) 20px; }
  .site-nav li + li { border-top: 1px solid var(--sand); }
  .nav-actions { display: grid; gap: 12px; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
  .nav-actions .saved-btn, .nav-actions .btn { width: 100%; justify-content: center; min-height: 44px; }
  .header-tools .header-phone { display: none; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 1200px) {
  .nav-toggle, .call-btn { display: none; }
  .nav-actions .header-phone { display: none; }  /* on wide screens the phone sits in the top bar */
  .site-nav { display: block; margin-left: auto; }
  .site-nav .nav-inner { display: flex; align-items: center; gap: 16px; }
  .site-nav ul { display: flex; gap: 14px; }
  .header-bar { gap: 12px; }
  .nav-actions { display: flex; align-items: center; gap: 8px; }
  .header-tools { margin-left: 0; }
}
/* Small phones: the logo steps down so logo, call, EN | ES and menu fit on one line. */
@media (max-width: 420px) { .brand img { height: 40px; } .header-bar, .header-tools { gap: 6px; } }
@media (max-width: 370px) { .brand img { height: 36px; } }
@media (max-width: 349px) { .header-tools .call-btn { display: none; } }  /* the phone stays in the menu */

/* ===== Top bar (office contact and social icons) ===== */
.topbar { background: var(--slate-700); color: #E8ECF0; font-size: .875rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.topbar-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin: 0; min-width: 0; }
.topbar-contact a { display: inline-flex; align-items: center; gap: 6px; color: #E8ECF0; text-decoration: none; }
.topbar-contact a:hover { text-decoration: underline; color: var(--white); }
.topbar .icon { width: 16px; height: 16px; }
.social-list { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: #E8ECF0; transition: background-color .15s, color .15s; }
.social-link:hover { background: rgba(255, 255, 255, .14); color: var(--white); }
.social-link .icon { width: 20px; height: 20px; }
.site-footer .social-list { display: flex; flex-wrap: wrap; gap: 8px; }  /* overrides the footer's stacked list style */
@media (min-width: 900px) { .footer-social { grid-column: span 2; } .site-footer .social-list { flex-wrap: nowrap; } }
.social-list-footer .social-link { width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .28); }
@media (max-width: 640px) { .topbar-contact { display: none; } .topbar-inner { justify-content: center; } .social-link { width: 40px; height: 40px; } }
.topbar-login { display: none; align-items: center; gap: 6px; min-height: 36px; padding: 0 4px; color: #E8ECF0; font-weight: 600; text-decoration: none; white-space: nowrap; }
.topbar-login:hover { text-decoration: underline; color: var(--white); }
@media (min-width: 1200px) {
  .topbar-login { display: inline-flex; }
  .topbar .social-list { margin-left: auto; }
  .nav-actions [data-crm-login] { display: none; }  /* shown in the top bar instead */
}

/* ===== Hero (background photo or video with a gentle parallax) ===== */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--sand-050); border-bottom: 1px solid var(--line); padding: 64px 0 72px; }
.hero-media { position: absolute; left: 0; right: 0; top: -15%; height: 130%; z-index: -2; will-change: transform; }
.hero-media img, .hero-media video, .hero-placeholder, .hero-placeholder-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: rgba(245, 241, 236, .86); }
.hero-label { position: absolute; right: 16px; bottom: 16px; z-index: 1; background: rgba(255, 255, 255, .92); }
.hero-video-toggle { position: absolute; left: 16px; bottom: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .94); color: var(--slate); font-weight: 600; font-size: .875rem; cursor: pointer; }
.hero-video-toggle[aria-pressed="true"] .i-pause, .hero-video-toggle[aria-pressed="false"] .i-play { display: none; }
.hero-video-toggle .icon { width: 18px; height: 18px; }
@media (min-width: 900px) {
  .hero-overlay { background: linear-gradient(90deg, rgba(245, 241, 236, .95) 0%, rgba(245, 241, 236, .88) 42%, rgba(245, 241, 236, .2) 72%, rgba(245, 241, 236, .05) 100%); }
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 16px; max-width: 14em; }
.hero-sub { font-size: 1.1875rem; color: var(--muted); max-width: 34em; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.quick-search { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.quick-search h2 { font-size: 1.25rem; margin-bottom: 16px; }
.quick-search .fields { display: grid; gap: 14px; }
.quick-search .count { margin: 14px 0 0; font-size: .9375rem; color: var(--muted); }
.segmented { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin: 0; padding: 0; }
.segmented label { position: relative; display: block; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span { display: block; padding: 10px; text-align: center; font-weight: 600; color: var(--slate); background: var(--white); }
.segmented input:checked + span { background: var(--slate); color: var(--white); }
.segmented input:focus-visible + span { outline: 3px solid var(--slate); outline-offset: -5px; }
@media (min-width: 900px) { .hero { padding: 88px 0 96px; } .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); gap: 56px; } }

/* ===== Forms ===== */
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 600; font-size: .9375rem; color: var(--ink); }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--stone); border-radius: var(--radius-sm); background: var(--white); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--slate); outline-offset: 0; border-color: var(--slate); }
.field [aria-invalid="true"] { border-color: var(--terra-ink); border-width: 2px; }
.hint { font-size: .875rem; color: var(--muted); margin: 0; }
.field-error { display: flex; gap: 6px; align-items: flex-start; margin: 0; font-size: .9rem; font-weight: 600; color: var(--terra-ink); }
.field-error::before { content: "!"; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--terra-ink); color: var(--white); font-size: .75rem; line-height: 18px; text-align: center; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--slate); }
.form-alert { padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--terra-ink); background: #FBF4F1; color: var(--terra-ink); font-weight: 600; }
.form-note { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--sand-050); border: 1px solid var(--line); font-size: .9375rem; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 999px; background: var(--sand); color: var(--slate); font-size: .9375rem; font-weight: 500; }
.chip button { border: 0; background: var(--white); color: var(--slate); border-radius: 999px; min-height: 30px; padding: 0 10px; cursor: pointer; font-size: .8125rem; font-weight: 600; }

/* ===== Listings ===== */
.status-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 16px; margin-bottom: 24px; border-radius: var(--radius-sm); background: var(--sand); color: var(--slate); font-weight: 500; }
.grid-cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.listing-card { display: flex; flex-direction: column; transition: box-shadow .2s, border-color .2s; }
.listing-card:hover, .listing-card:focus-within { box-shadow: var(--shadow); border-color: var(--stone); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.media-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 100%; color: var(--muted); font-size: .9375rem; background: repeating-linear-gradient(135deg, var(--sand) 0 12px, var(--sand-050) 12px 24px); }
.media-placeholder .icon { width: 40px; height: 40px; color: var(--stone); }
.card-badges { position: absolute; left: 12px; top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: .8125rem; font-weight: 600; line-height: 1.5; background: var(--white); color: var(--slate); border: 1px solid var(--line); }
.badge-solid { background: var(--slate); color: var(--white); border-color: var(--slate); }
.badge-accent { background: var(--white); color: var(--terra-ink); border-color: var(--terra); }
.badge-note { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .94); }
.save-btn { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .95); color: var(--slate); cursor: pointer; }
.save-btn:hover { background: var(--white); color: var(--terra-ink); }
.save-btn[aria-pressed="true"] { color: var(--terra-ink); }
.save-btn[aria-pressed="true"] .icon { fill: currentColor; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.card-kicker { margin: 0; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.card-title { margin: 0; font-size: 1.125rem; }
.card-title a { color: var(--slate); text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.card-price { margin: 4px 0 0; font-size: 1.375rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.card-price small { font-size: .9375rem; font-weight: 500; color: var(--muted); }
.card-facts { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; list-style: none; font-size: .9375rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.card-facts li { display: inline-flex; align-items: center; gap: 6px; }
.card-facts .icon { color: var(--muted); width: 18px; height: 18px; }
.card-address { margin: 0; font-size: .9375rem; color: var(--muted); }
.fact-status { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 0; font-size: .875rem; color: var(--muted); }
.fact-status .icon { width: 18px; height: 18px; }
.fact-status.is-confirmed { color: var(--slate); }
.fact-status.is-pending { color: var(--terra-ink); }
.card-footer { margin-top: auto; padding-top: 12px; }
.card-footer .btn { width: 100%; }
.search-panel { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.filters { display: grid; gap: 16px; padding: 24px; background: var(--sand-050); border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 24px; }
.filters-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
.filters-grid .wide { grid-column: 1 / -1; }
.filters-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.results-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.results-count { margin: 0; font-weight: 600; color: var(--slate); }
.empty-state { padding: 32px; text-align: center; background: var(--white); border: 1px dashed var(--stone); border-radius: var(--radius-lg); color: var(--muted); }
.more-wrap { display: flex; justify-content: center; margin-top: 32px; }
.skeleton { min-height: 420px; background: linear-gradient(90deg, var(--sand-050), var(--white), var(--sand-050)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius-lg); border: 1px solid var(--line); }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (min-width: 1000px) { .filters-grid .wide { grid-column: span 2; } }

/* ===== Services, team, why ===== */
.band-sand { background: var(--sand-050); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-3 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.service-card { padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; }
.service-card .icon-wrap { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius); background: var(--sand); color: var(--slate); }
.service-card .icon-wrap .icon { width: 26px; height: 26px; }
.service-card h3 { margin: 0; }
.service-lead { margin: 0; font-family: var(--serif); font-size: 1.1875rem; color: var(--slate); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.ticks .icon { color: var(--slate); width: 20px; height: 20px; margin-top: 3px; }
.service-card .btn { margin-top: auto; align-self: flex-start; }
.team-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.agent-card { display: flex; flex-direction: column; }
.agent-photo { aspect-ratio: 1 / 1; background: var(--sand); display: flex; align-items: center; justify-content: center; }
.agent-photo img { width: 100%; height: 100%; object-fit: cover; }
.agent-photo.is-empty { aspect-ratio: 2 / 1; }
.agent-initials { width: 96px; height: 96px; border-radius: 50%; background: var(--slate); color: var(--white); font-size: 2rem; font-weight: 600; display: flex; align-items: center; justify-content: center; letter-spacing: .02em; }
.agent-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.agent-body h3 { margin: 0; font-size: 1.125rem; }
.agent-title { margin: 0; color: var(--terra-ink); font-weight: 600; font-size: .9375rem; }
.agent-bio { margin: 0; color: var(--muted); font-size: .9375rem; }
.agent-links { display: grid; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; font-size: .9375rem; }
.agent-links a { display: inline-flex; gap: 8px; align-items: center; overflow-wrap: anywhere; }
.agent-body .btn { margin-top: auto; }
.why-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); counter-reset: why; }
.why-item { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.why-item h3 { display: flex; gap: 12px; align-items: center; font-size: 1.125rem; }
.why-item h3 .icon { color: var(--terra-ink); width: 26px; height: 26px; }
.why-item p { margin: 0; color: var(--muted); }

/* ===== Contact ===== */
.contact-grid { display: grid; gap: 32px; }
.contact-form { padding: 28px 24px; display: grid; gap: 18px; }
.contact-form .row-2 { display: grid; gap: 18px; }
.success-panel { padding: 32px 28px; text-align: left; }
.success-panel h3 { display: flex; gap: 10px; align-items: center; }
.success-panel h3 .icon { color: var(--slate); width: 28px; height: 28px; }
.office-card { padding: 28px 24px; background: var(--slate); color: var(--white); border: 0; }
.office-card h3 { color: var(--white); }
.office-card dl { margin: 0; display: grid; gap: 16px; }
.office-card dt { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #C9D2DB; }
.office-card dd { margin: 4px 0 0; }
.office-card a { color: var(--white); }
@media (min-width: 720px) { .contact-form .row-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); align-items: start; } }

/* ===== Footer ===== */
.site-footer { background: var(--slate-700); color: #E8ECF0; padding: 56px 0 84px; font-size: .9375rem; }  /* bottom room for the WhatsApp button */
.site-footer a { color: var(--white); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.footer-brand img { width: 150px; height: auto; margin-bottom: 16px; }
.footer-tagline { font-family: var(--serif); font-size: 1.0625rem; color: var(--white); max-width: 18em; }
.site-footer h2 { color: var(--white); font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
/* Bottom line: copyright and credit centered, "Back to top" on the right. Equal side columns keep the middle centered. */
.footer-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto) minmax(0, 1fr); align-items: center; column-gap: 16px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .18); color: #C9D2DB; font-size: .875rem; text-align: center; }
.footer-bottom p { margin: 0; max-width: 60em; }
.footer-legal { grid-column: 2; display: grid; gap: 6px; justify-items: center; }
.footer-top { grid-column: 3; justify-self: end; }
.back-to-top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--white); font-weight: 600; text-decoration: none; }
.back-to-top:hover .top-text { text-decoration: underline; }
.top-arrow { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; font-size: 1rem; line-height: 1; }
.back-to-top:hover .top-arrow { background: rgba(255, 255, 255, .12); }
/* Small phones: only the symbol, as a 44 px round button; the words stay for screen readers. */
@media (max-width: 600px) {
  .footer-bottom { grid-template-columns: 44px minmax(0, 1fr) 44px; column-gap: 8px; }
  .top-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .top-arrow { width: 44px; height: 44px; font-size: 1.125rem; }
}

/* ===== WhatsApp button ===== */
.btn-whatsapp { background: #0E7A6D; border-color: #0E7A6D; color: var(--white); }
.btn-whatsapp:hover { background: #0A6257; border-color: #0A6257; color: var(--white); }
.wa-fab { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; background: #0E7A6D; color: var(--white); font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 6px 20px rgba(36, 53, 70, .28); transition: background-color .15s, transform .15s; }
.wa-fab:hover { background: #0A6257; transform: translateY(-1px); }
.wa-fab:focus-visible { outline: 3px solid var(--slate); outline-offset: 3px; }
.wa-fab .icon { width: 26px; height: 26px; }
.wa-fab[hidden] { display: none; }
@media (max-width: 520px) { .wa-fab { right: 12px; bottom: 12px; padding: 0 16px 0 14px; } }
.wa-phone-row { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.wa-phone-row select, .wa-phone-row input { height: 46px; }
.wa-phone-row input { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.wa-phone-notes { display: grid; gap: 4px; margin-top: -8px; }
@media (max-width: 440px) { .wa-phone-row { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .wa-fab { transition: none; } .wa-fab:hover { transform: none; } }

/* ===== Dialogs ===== */
dialog { width: min(920px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 0; border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(36, 53, 70, .3); color: var(--ink); background: var(--white); }
dialog::backdrop { background: rgba(36, 53, 70, .55); }
dialog.small { width: min(520px, calc(100% - 24px)); }
dialog[open].no-modal { position: fixed; inset: 12px; margin: auto; z-index: 80; overflow: auto; }
.dialog-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 24px; background: var(--white); border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin: 0; font-size: 1.25rem; }
.dialog-body { padding: 24px; display: grid; gap: 20px; }
.gallery-main { position: relative; aspect-ratio: 3 / 2; background: var(--sand); border-radius: var(--radius); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px; }
.gallery-thumbs button { flex: none; width: 88px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; background: var(--sand); }
.gallery-thumbs button[aria-current="true"] { border-color: var(--slate); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-facts { display: grid; gap: 12px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); margin: 0; }
.detail-facts dt { font-size: .8125rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.detail-facts dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (min-width: 640px) { .detail-facts .wide { grid-column: span 2; } }
.detail-price { font-size: 1.75rem; font-weight: 600; margin: 0; font-variant-numeric: tabular-nums; }
.feature-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.feature-list li { padding: 4px 12px; border-radius: 999px; background: var(--sand-050); border: 1px solid var(--line); font-size: .9375rem; }
.info-panel { padding: 16px 18px; border-radius: var(--radius); background: var(--sand-050); border: 1px solid var(--line); }
.info-panel h3 { font-size: 1rem; margin-bottom: 6px; }
.info-panel p { margin: 0 0 6px; font-size: .9375rem; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.detail-agent { display: flex; gap: 14px; align-items: center; }
.detail-agent .agent-initials, .detail-agent img { width: 56px; height: 56px; font-size: 1.125rem; border-radius: 50%; object-fit: cover; }
.account-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.account-tabs button { min-height: 44px; border: 0; background: var(--white); color: var(--slate); font-weight: 600; cursor: pointer; }
.account-tabs button[aria-pressed="true"] { background: var(--slate); color: var(--white); }
.stack { display: grid; gap: 16px; }
.saved-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.saved-item { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); }
.saved-thumb { width: 72px; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--sand); }
.saved-thumb img { width: 100%; height: 100%; object-fit: cover; }
.saved-item p { margin: 0; font-size: .9375rem; }
.saved-item .actions { display: flex; gap: 16px; margin-top: 4px; }

/* ===== Toast and test panel ===== */
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 90; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: var(--radius-sm); background: var(--slate-700); color: var(--white); box-shadow: var(--shadow); font-weight: 500; }
.test-panel { margin: 0; padding: 24px var(--gutter); background: var(--white); border-top: 4px solid var(--slate); font: .875rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }
.test-panel .pass { color: #2E6B3F; }
.test-panel .fail { color: #A12D1B; font-weight: 700; }
@media print { .site-header, .site-nav, .save-btn, .search-panel, .contact-form, dialog, .toast, .wa-fab { display: none !important; } body { background: #fff; } }
/* ===== Blog (the same styles serve the Nesteelo Stays blog through scripts/build_stays_shared.py) ===== */
.blog-search { display: flex; gap: 8px; flex-wrap: wrap; max-width: 620px; margin-top: 20px; }
.blog-search input { flex: 1 1 220px; min-height: 46px; padding: 10px 12px; border: 1px solid var(--stone); border-radius: var(--radius-sm); background: var(--white); }
.blog-search input:focus { outline: 3px solid var(--slate); outline-offset: 0; border-color: var(--slate); }
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 28px; padding: 0; }
.blog-cats a, .blog-cats button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--slate); font-weight: 600; font-size: .9375rem; text-decoration: none; cursor: pointer; }
.blog-cats a:hover, .blog-cats button:hover { background: var(--sand-050); }
.blog-cats [aria-current="page"], .blog-cats [aria-current="true"] { background: var(--slate); border-color: var(--slate); color: var(--white); }
.blog-cats .count { font-weight: 400; opacity: .85; }
.blog-layout { display: grid; gap: 40px; align-items: start; }
.blog-layout > * { min-width: 0; }
@media (min-width: 980px) { .blog-layout { grid-template-columns: minmax(0, 1fr) 300px; } }
.blog-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.blog-featured { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); margin-bottom: 40px; }
.blog-title { font-size: 1.25rem; margin-bottom: 24px; }
.blog-card { display: flex; flex-direction: column; }
.blog-card .card-media { display: block; aspect-ratio: 16 / 9; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; list-style: none; font-size: .875rem; color: var(--muted); }
.blog-meta li { display: inline-flex; align-items: center; gap: 5px; }
.blog-meta .icon { width: 16px; height: 16px; }
.blog-meta a { color: var(--terra-ink); font-weight: 600; }
.blog-excerpt { margin: 0; font-size: .9375rem; }
.blog-side { display: grid; gap: 28px; }
.blog-side h2, .blog-side h3 { font-size: 1.125rem; margin-bottom: 10px; }
.blog-side ul { list-style: none; margin: 0; padding: 0; }
.blog-side li a, .blog-side li button { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--slate); text-align: left; text-decoration: none; cursor: pointer; font: inherit; }
.blog-side li a:hover, .blog-side li button:hover { text-decoration: underline; }
.blog-side li [aria-current] { font-weight: 600; }
.blog-side .count { color: var(--muted); font-variant-numeric: tabular-nums; }
.blog-ad { display: block; text-align: center; }
.blog-ad img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.blog-ad-label { display: block; margin-bottom: 4px; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.blog-ad-empty { display: grid; place-items: center; min-height: 90px; padding: 16px; border: 2px dashed var(--stone); border-radius: var(--radius-sm); background: var(--sand-050); color: var(--muted); font-size: .875rem; }
.blog-ad-sidebar .blog-ad-empty { min-height: 250px; }
.blog-ad-top { margin: 0 0 32px; }
.blog-ad-inline { margin: 32px 0; }
.blog-pager { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 32px; }
.blog-article h1, .blog-article .blog-headline { font-size: clamp(1.75rem, 3vw + .6rem, 2.6rem); margin-bottom: 12px; }
.blog-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); margin: 20px 0 24px; }
.blog-lead { font-size: 1.1875rem; color: var(--muted); }
.blog-body > :first-child { margin-top: 0; }
.blog-body h2, .blog-body h3, .blog-body h4 { margin-top: 1.4em; }
.blog-body ul, .blog-body ol { padding-left: 1.3em; margin: 0 0 1em; }
.blog-body li { margin-bottom: .35em; }
.blog-share { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin: 32px 0 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .9375rem; }
.blog-share strong { color: var(--slate); }
.blog-comments { margin-top: 40px; scroll-margin-top: calc(var(--header-h) + 16px); }
.blog-comment-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 16px; }
.blog-comment { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.blog-comment header { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin-bottom: 6px; }
.blog-comment header strong { color: var(--slate); }
.blog-comment p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.blog-comment-form { display: grid; gap: 16px; padding: 24px; overflow: visible; }
.blog-related { margin-top: 48px; }
/* Properties site: the blog is its own view. While it shows, the rest of the page is hidden. */
main.blog-view > :not(#blog) { display: none; }
/* Readable version of a page, added by the hosting for search engines; hidden once the script has drawn the page. */
.seo-snapshot { padding: 32px var(--gutter); }
/* Newsletter sign-up in the footer */
.footer-newsletter label { display: block; font-size: .9375rem; margin-bottom: 6px; }
.newsletter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.newsletter-row input { flex: 1 1 180px; min-height: 44px; padding: 8px 12px; border-radius: var(--radius-sm); border: 1px solid var(--stone); background: var(--white); color: var(--ink); }
.footer-newsletter .check { display: flex; gap: 8px; align-items: flex-start; font-size: .875rem; }
.footer-newsletter .check input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.footer-alert { font-weight: 600; }
.btn-light { background: var(--white); border-color: var(--white); color: var(--slate); }
.btn-light:hover { background: var(--sand); border-color: var(--sand); color: var(--slate-700); }
.seo-snapshot img { max-width: 100%; height: auto; border-radius: var(--radius-lg); }
#blog .blog-search { margin: 0 0 28px; }

/* ===== Cookie banner, cookie settings and cookie policy (every Nesteelo website) ===== */
/* Fixed at the bottom of the window. Nothing is covered for good: the page gets room for it (--cookie-banner-h). */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 16px 0; background: var(--white); color: var(--ink); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(36, 53, 70, .14); }
.cookie-banner[hidden] { display: none; }
.has-cookie-banner body { padding-bottom: var(--cookie-banner-h, 0px); }
.has-cookie-banner .wa-fab { bottom: calc(var(--cookie-banner-h, 0px) + 12px); }
.cookie-banner-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.cookie-banner-text { flex: 1 1 420px; min-width: 0; }
.cookie-banner h2 { margin: 0 0 4px; font-size: 1.0625rem; color: var(--slate); }
.cookie-banner p { margin: 0; font-size: .9375rem; max-width: 62em; }
.cookie-banner a { color: var(--slate); font-weight: 600; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-banner-actions[hidden] { display: none; }
@media (max-width: 600px) {
  .cookie-banner { padding: 12px 0; max-height: 70vh; overflow-y: auto; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1 1 0; padding-left: 12px; padding-right: 12px; }
}
.cookie-group { display: grid; gap: 6px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.cookie-group[hidden] { display: none; }
.cookie-switch { font-weight: 600; align-items: center; }
.cookie-switch input { margin-top: 0; }
.cookie-switch .badge { margin-left: auto; font-weight: 600; }
.cookie-dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
@media (max-width: 480px) { .cookie-dialog-actions .btn { flex: 1 1 100%; } }
.footer-link-btn { padding: 0; border: 0; background: none; color: var(--white); font: inherit; text-decoration: underline; cursor: pointer; }
.footer-link-btn:hover { text-decoration: none; }
/* The policy text: headings, the cookie tables (they scroll sideways on a phone instead of the page) */
.policy h2 { margin: 1.4em 0 .4em; font-size: 1.25rem; }
.policy h3 { margin: 1.2em 0 .3em; font-size: 1.0625rem; }
.policy p, .policy li { max-width: 70ch; }
.policy ul { padding-left: 1.3em; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cookie-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .875rem; margin: 8px 0 4px; }
.cookie-table th { text-align: left; padding: 8px 10px; border-bottom: 2px solid var(--line); color: var(--muted); font-size: .8125rem; white-space: nowrap; }
.cookie-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cookie-table code { font-size: .8125rem; overflow-wrap: anywhere; }
