/* Alojamientos Marimel — single stylesheet. Terracotta (--accent) is reserved for booking actions. */
:root {
  --bg: #fbfaf7;
  --surface: #fff;
  --sand: #f4f0e8;
  --sand-deep: #e9e2d4;
  --ink: #12302b;
  --brand: #173d38;
  --text: #2c3b38;
  --muted: #64716d;
  --line: #e3ded3;
  --accent: #b4532a;
  --accent-hover: #963f1c;
  --accent-soft: #f7e8df;
  --ok: #24704a;
  --ok-soft: #e5f2ea;
  --warn: #8a5300;
  --warn-soft: #fbf0dc;
  --bad: #8f3434;
  --bad-soft: #f8e7e5;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgb(18 48 43 / .06), 0 10px 30px rgb(18 48 43 / .08);
  --shadow-lg: 0 2px 6px rgb(18 48 43 / .08), 0 24px 60px rgb(18 48 43 / .16);
  --header: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: default; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; overflow-wrap: break-word; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; }
h1, h2, .card-title, .result h3, .facts strong, .price strong, .brand-name { font-variant-numeric: lining-nums; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; line-height: 1.08; }
h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
h3 { font-size: 1.06rem; font-weight: 600; line-height: 1.35; }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent-soft); color: var(--ink); }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 6px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.narrow { max-width: 820px; }
.section { padding-block: clamp(64px, 8vw, 104px); }
.section-tight { padding-block: 40px 72px; }
.section-sand { background: var(--sand); }
.center { text-align: center; }
.eyebrow { color: var(--accent); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.lead { font-size: 1.12rem; color: var(--text); max-width: 62ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; text-align: center; transition: background-color .15s, box-shadow .15s, transform .15s; }
.button:active { transform: translateY(1px); }
.button-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgb(180 83 42 / .28); }
.button-accent:hover { background: var(--accent-hover); }
.button-primary { background: var(--brand); color: #fff; }
.button-primary:hover { background: var(--ink); }
.button-ghost { border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.button-ghost:hover { border-color: var(--ink); }
.button-block { width: 100%; }
.button-lg { min-height: 56px; padding-inline: 30px; font-size: 1rem; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link:hover { color: var(--accent); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; height: var(--header); background: rgb(251 250 247 / .97); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgb(18 48 43 / .06); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--brand); line-height: 1; }
.brand-name { font: 600 2.05rem/0.9 var(--serif); letter-spacing: -.02em; }
.brand-sub { margin-top: 5px; font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.brand-light { color: #fff; }
.brand-light .brand-sub { color: rgb(255 255 255 / .7); }
.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.main-nav a { font-size: .93rem; font-weight: 500; text-decoration: none; color: var(--ink); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--accent); }
/* Desktop: the sections read as buttons; hover keeps the terracotta and lifts them slightly. */
@media (min-width: 961px) {
  .main-nav { gap: 8px; }
  .main-nav a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 17px; border: 1.5px solid var(--sand-deep); border-radius: 999px; background: var(--sand); font-size: .94rem; font-weight: 600; white-space: nowrap; transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s, transform .2s; }
  .main-nav a:hover { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 6px 16px rgb(180 83 42 / .18); transform: translateY(-2px); }
  .main-nav a:active { transform: translateY(0); box-shadow: none; }
  .main-nav .nav-phone { display: none; }
  .main-nav a[aria-current="page"] { border-color: var(--accent); background: var(--accent-soft); }
}
.nav-phone { display: none; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.header-book { min-height: 44px; padding-inline: 18px; }
/* Language menu: current flag in the header, the three languages in a small dropdown */
.lang { position: relative; }
.lang summary { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .85rem; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; transition: border-color .2s; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { border-color: var(--ink); }
.lang-chevron { width: 10px; height: 7px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: rotate .2s; }
.lang[open] .lang-chevron { rotate: 180deg; }
.flag { width: 21px; height: 15px; flex: none; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgb(18 48 43 / .12); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; min-width: 176px; padding: 6px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow-lg); }
.lang-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 7px; color: var(--ink); font-size: .94rem; font-weight: 500; text-decoration: none; }
.lang-menu a:hover { background: var(--sand); }
.lang-menu a[aria-current] { font-weight: 600; }
.lang-menu a[aria-current]::after { content: ''; width: 6px; height: 6px; margin-left: auto; border-radius: 50%; background: var(--accent); }
.lang-404 { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 8px; color: var(--ink); }
.menu-toggle .icon { width: 26px; height: 26px; }

/* Hero */
.hero { position: relative; isolation: isolate; color: #fff; padding-block: clamp(56px, 9vw, 118px) clamp(40px, 6vw, 72px); min-height: min(760px, calc(100svh - var(--header))); display: flex; align-items: flex-end; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(10 30 27 / .28) 0%, rgb(10 30 27 / .18) 35%, rgb(10 30 27 / .78) 100%), linear-gradient(90deg, rgb(10 30 27 / .5), transparent 72%); }
.hero-inner { width: min(1240px, 100% - 48px); }

/* Slideshow: crossfade with a slow zoom that never stops */
.hero-slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #2f4f4a; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); opacity: 0; transition: opacity 1.8s ease-in-out; will-change: opacity, transform; }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide.is-active, .hero-slide.is-leaving { animation: hero-zoom calc(var(--slide-ms, 6500ms) + 2400ms) linear both; }
.hero-slide:nth-child(even).is-active, .hero-slide:nth-child(even).is-leaving { animation-name: hero-zoom-alt; }
@keyframes hero-zoom { from { transform: scale(1.14) translate3d(-1.2%, 0, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
@keyframes hero-zoom-alt { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(1.2%, -.8%, 0); } }

/* Wordmark: letters rise in once, then a warm light runs through them forever */
.hero-title { color: #fff; }
.hero-word { display: block; width: fit-content; font: 600 clamp(4.6rem, 12.5vw, 10.5rem)/.82 var(--serif); letter-spacing: -.015em; color: #fff; text-shadow: 0 4px 40px rgb(0 0 0 / .28); animation: word-fade 1.4s ease-out both; }
.hero-word.is-split { animation: none; }
.hero-word::after { content: ''; display: block; height: 2px; margin-top: .16em; background: linear-gradient(90deg, rgb(255 255 255 / .15), #f3d8a8 45%, #fff 50%, #f3d8a8 55%, rgb(255 255 255 / .15)) 0 0 / 300% 100%; transform-origin: left; animation: line-draw 1.3s .75s cubic-bezier(.16, 1, .3, 1) both, line-shine 4.5s 2s linear infinite; }
.hero-letters { display: inline-flex; }
.hero-letter { display: inline-block; animation: letter-rise 1.3s calc(var(--i) * 85ms) cubic-bezier(.16, 1, .3, 1) both, letter-glow 7s calc(1.8s + var(--i) * 160ms) ease-in-out infinite; }
@keyframes word-fade { from { opacity: 0; transform: translateY(.12em); } to { opacity: 1; transform: none; } }
@keyframes letter-rise { from { opacity: 0; transform: translateY(.42em) rotate(5deg); filter: blur(14px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes letter-glow { 0%, 100% { color: #fff; text-shadow: 0 4px 40px rgb(0 0 0 / .28); } 12% { color: #f6ddb2; text-shadow: 0 0 26px rgb(246 221 178 / .7), 0 4px 40px rgb(0 0 0 / .28); } 26% { color: #fff; text-shadow: 0 4px 40px rgb(0 0 0 / .28); } }
@keyframes line-draw { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
@keyframes line-shine { from { background-position: 100% 0; } to { background-position: -200% 0; } }
.hero-h1 { display: block; margin-top: 18px; max-width: 46ch; font: 500 clamp(1.02rem, 1.5vw, 1.2rem)/1.5 var(--sans); letter-spacing: .01em; color: rgb(255 255 255 / .94); text-shadow: 0 1px 14px rgb(0 0 0 / .3); animation: word-fade 1s .6s ease-out both; }
.hero-slogan { margin-top: 10px; min-height: 1.3em; font: italic 500 clamp(1.55rem, 2.6vw, 2.25rem)/1.25 var(--serif); color: #f6e4c4; text-shadow: 0 2px 20px rgb(0 0 0 / .35); animation: word-fade 1s .9s ease-out both; }
.hero-slogan span, .hero-caption span { display: inline-block; }
.is-out { animation: text-out .45s ease-in both; }
.is-in { animation: text-in .7s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes text-out { to { opacity: 0; transform: translateY(-.35em); filter: blur(6px); } }
@keyframes text-in { from { opacity: 0; transform: translateY(.45em); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }

/* Caption, progress and pause */
.hero-meta { position: absolute; right: max(24px, (100% - 1240px) / 2); top: 24px; display: flex; align-items: center; gap: 16px; }
.hero-caption { display: flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 500; color: rgb(255 255 255 / .9); text-shadow: 0 1px 10px rgb(0 0 0 / .4); }
.hero-dots { display: flex; gap: 6px; }
.hero-dot { position: relative; width: 30px; height: 20px; }
.hero-dot::before, .hero-dot span { content: ''; position: absolute; left: 0; right: 0; top: 9px; height: 2px; border-radius: 2px; background: rgb(255 255 255 / .35); }
.hero-dot span { background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active span { animation: dot-progress var(--slide-ms, 6500ms) linear both; }
.hero.is-paused .hero-dot.is-active span { animation: none; transform: scaleX(1); }
@keyframes dot-progress { to { transform: scaleX(1); } }
.hero-pause { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .45); }
.hero-pause:hover { background: rgb(255 255 255 / .14); }
.hero-pause span { position: absolute; inset: 0; margin: auto; width: 10px; height: 11px; border-inline: 3px solid #fff; }
.hero-pause[aria-pressed="true"] span { width: 0; height: 0; border-inline: 0; border-block: 6px solid transparent; border-left: 10px solid #fff; translate: 2px 0; }
.hero-search { margin-top: 28px; max-width: 980px; animation: word-fade 1s 1.1s ease-out both; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; font-size: .9rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust small { opacity: .8; font-size: inherit; }
.hero .trust { color: rgb(255 255 255 / .94); }
.results + .trust, .section-tight .trust { color: var(--muted); margin-top: 32px; }

/* Search */
.search { position: relative; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; align-items: stretch; gap: 0; background: var(--surface); color: var(--text); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; }
.search-dates { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.search-dates > .icon, .search-guests > .icon { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--accent); width: 20px; height: 20px; pointer-events: none; }
.search-field { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 64px; padding: 10px 16px; border-radius: var(--radius-sm); text-align: left; transition: background-color .15s; }
.search-field:hover { background: var(--sand); }
.search-dates .search-field:first-of-type { padding-left: 48px; }
.search-dates .search-field + .search-field { border-left: 1px solid var(--line); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.search-guests { padding-left: 48px; border-left: 1px solid var(--line); cursor: pointer; }
.search-label { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.search-value { font-weight: 600; color: var(--ink); font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search:not(.has-dates) .search-value { color: var(--muted); font-weight: 500; }
.search-guests select { appearance: none; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2312302b' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right center; padding: 0 22px 0 0; font-weight: 600; color: var(--ink); cursor: pointer; width: 100%; }
.search-guests select:focus-visible { outline: none; }
.search-guests:focus-within { outline: 3px solid var(--accent); outline-offset: -3px; }
.search-submit { min-height: 64px; padding-inline: 30px; font-size: 1rem; margin-left: 8px; }
.search-hint { grid-column: 1 / -1; padding: 8px 12px 4px; color: var(--accent-hover); font-size: .9rem; font-weight: 500; }
.search-bar { margin-top: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.search-unit { grid-template-columns: minmax(0, 1fr); padding: 0; box-shadow: none; gap: 10px; background: transparent; }
.search-unit .search-dates, .search-unit .search-guests { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.search-unit .search-guests { min-height: 58px; }
.search-unit .search-field { min-height: 58px; }
.search-unit .search-submit { margin: 0; min-height: 52px; }
.search-unit .dp { left: auto; right: 0; }

/* Range calendar */
.dp { position: absolute; top: calc(100% + 10px); left: 0; z-index: 50; width: max-content; max-width: calc(100vw - 32px); background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px 20px 16px; }
.dp-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.dp-title { font-weight: 600; color: var(--ink); }
.dp-close { width: 36px; height: 36px; border-radius: 50%; font-size: 1.5rem; line-height: 1; color: var(--muted); }
.dp-close:hover { background: var(--sand); }
.dp-body { position: relative; display: flex; align-items: flex-start; }
.dp-months { display: flex; gap: 28px; }
.dp-month { width: 294px; }
.dp-month-name { text-align: center; font-weight: 600; color: var(--ink); height: 40px; line-height: 40px; }
.dp-nav { position: absolute; top: 0; z-index: 1; width: 40px; height: 40px; border-radius: 50%; font-size: 1.6rem; line-height: 1; color: var(--ink); }
.dp-nav:hover:not(:disabled) { background: var(--sand); }
.dp-nav:disabled { opacity: .25; }
.dp-prev { left: -6px; }
.dp-next { right: -6px; }
.dp-weekdays, .dp-grid { display: grid; grid-template-columns: repeat(7, 42px); }
.dp-weekdays span { text-align: center; font-size: .75rem; font-weight: 600; color: var(--muted); padding: 6px 0; }
.dp-day { position: relative; height: 42px; font-size: .94rem; font-weight: 500; color: var(--ink); border-radius: 50%; }
.dp-day:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--ink); }
.dp-day:disabled { color: #b9bdb9; text-decoration: line-through; text-decoration-color: #c9ccc8; }
.dp-day.is-today::after { content: ''; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.dp-day.is-range, .dp-day.is-preview { background: var(--accent-soft); border-radius: 0; }
.dp-day.is-start, .dp-day.is-end { background: var(--accent); color: #fff; border-radius: 50%; }
.dp-day.is-start::after, .dp-day.is-end::after { background: #fff; }
.dp-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.dp-clear { font-weight: 600; text-decoration: underline; color: var(--ink); padding: 8px 4px; }
.dp-done { min-height: 42px; padding-inline: 22px; }

/* Facts */
.facts { background: var(--brand); color: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts p { display: flex; flex-direction: column; padding: 26px 24px; border-left: 1px solid rgb(255 255 255 / .14); }
.facts p:first-child { border-left: 0; padding-left: 0; }
.facts strong { font: 600 2rem/1.1 var(--serif); }
.facts span { font-size: .9rem; color: rgb(255 255 255 / .78); }

/* Section heading, filters, cards */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-head > p { max-width: 42ch; color: var(--muted); }
.section-head-center { justify-content: center; text-align: center; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { min-height: 42px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 500; font-size: .92rem; color: var(--ink); }
.filters button span { color: var(--muted); margin-left: 4px; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters button[aria-pressed="true"] span { color: rgb(255 255 255 / .7); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card[hidden] { display: none; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.03); }
.card-badge { position: absolute; left: 14px; top: 14px; padding: 5px 11px; border-radius: 999px; background: rgb(255 255 255 / .94); color: var(--ink); font-size: .78rem; font-weight: 600; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.card-kicker, .result-kicker { font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
.card-title { font: 600 1.6rem/1.15 var(--serif); }
.card-title a, .result h3 a { text-decoration: none; }
.card-title a::after { content: ''; position: absolute; inset: 0; }
.card { position: relative; }
.card-text { margin-top: 10px; color: var(--muted); font-size: .94rem; }
.card-actions { display: grid; gap: 14px; margin-top: auto; padding-top: 20px; }
.card-actions a { position: relative; z-index: 1; }
.card-cta { width: 100%; min-height: 52px; font-size: 1rem; }
.card-cta .icon { width: 20px; height: 20px; }
.card-actions .text-link { justify-self: center; font-size: .92rem; }
/* Arriving from a card's "Ver disponibilidad": draw the eye to the calendar. */
.unit-aside:target .booking-card { animation: booking-glow 2.2s ease-out .3s; }
@keyframes booking-glow { 0%, 100% { box-shadow: var(--shadow); } 30% { box-shadow: 0 0 0 4px var(--accent), var(--shadow-lg); } }
.specs { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: .9rem; color: var(--text); }
.specs li { display: inline-flex; align-items: center; gap: 6px; }
.specs .icon { color: var(--muted); }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); }
.split-copy > p { margin-top: 14px; color: var(--text); }
.features { display: grid; gap: 18px; margin-top: 28px; }
.features li { display: flex; gap: 14px; }
.features .icon { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--surface); color: var(--accent); }
.features strong { display: block; color: var(--ink); }
.features span { color: var(--muted); font-size: .94rem; }
.nearby { margin-top: 24px; border-top: 1px solid var(--line); }
.nearby li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.nearby .icon { color: var(--accent); }
.nearby span { font-weight: 500; color: var(--ink); }
.nearby strong { font-weight: 500; font-size: .9rem; color: var(--muted); text-align: right; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--sand); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }
.unit-section .map iframe { height: 320px; }
.unit-section .map { margin-top: 20px; }
.map-link { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); font-size: .86rem; font-weight: 600; text-decoration: none; color: var(--ink); }

/* Beach guide: illustrated map with real walking routes + ranked list */
.beach-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.beach-stats p { display: flex; flex-direction: column; padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.beach-stats strong { font: 600 2.4rem/1 var(--serif); color: var(--accent); font-variant-numeric: lining-nums tabular-nums; }
.beach-stats p > span { margin-top: 6px; color: var(--muted); font-size: .92rem; }
.beach-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.beach-map { position: sticky; top: calc(var(--header) + 20px); margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #cfe6ec; }
.beach-map svg { display: block; width: 100%; height: auto; }
.beach-map figcaption { position: absolute; left: 12px; top: 8px; font-size: .72rem; color: rgb(18 48 43 / .65); }
.bg-sea { fill: #cfe6ec; }
.bg-sea-waves { opacity: .5; }
#bg-waves path { stroke: #b3d6df; stroke-width: 1.4; }
.bg-land { fill: #f6f1e7; }
.bg-coast { fill: none; stroke: #e6c993; stroke-width: 7; stroke-linejoin: round; opacity: .9; }
.bg-sea-label { font: italic 500 26px var(--serif); fill: #6f9aa6; text-anchor: middle; letter-spacing: .2em; }
.bg-town-label { font: 600 46px var(--serif); fill: #e5dccb; text-anchor: middle; letter-spacing: .35em; text-transform: uppercase; }
.bg-landmark path { fill: #c89b4a; }
.bg-landmark text { font: italic 600 15px var(--serif); fill: #8a6a33; text-anchor: end; paint-order: stroke; stroke: #f6f1e7; stroke-width: 5px; }
.bg-route { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: .28; stroke-dasharray: 1; stroke-dashoffset: 1; transition: opacity .3s, stroke-width .3s; }
.is-visible .bg-route { animation: route-draw 1.6s calc(var(--i) * 160ms) cubic-bezier(.65, 0, .35, 1) forwards; }
.bg-route.is-active { opacity: 1; stroke-width: 5; }
@keyframes route-draw { to { stroke-dashoffset: 0; } }
.bg-walker { fill: #fff; stroke: var(--accent); stroke-width: 4; }
.bg-pin { cursor: pointer; opacity: 0; transition: opacity .4s; }
.is-visible .bg-pin { opacity: 1; transition-delay: calc(.6s + var(--i) * 160ms); }
.bg-pin circle { fill: var(--surface); stroke: var(--ink); stroke-width: 2.5; transition: fill .25s, stroke .25s; }
.bg-pin-n { font: 700 15px var(--sans); fill: var(--ink); text-anchor: middle; pointer-events: none; }
.bg-pin-label { font: 600 17px var(--sans); fill: var(--ink); text-anchor: middle; paint-order: stroke; stroke: #fff; stroke-width: 6px; stroke-linejoin: round; opacity: 0; transition: opacity .25s; pointer-events: none; }
.bg-pin.is-active circle { fill: var(--accent); stroke: #fff; }
.bg-pin.is-active .bg-pin-n { fill: #fff; }
.bg-pin.is-active .bg-pin-label { opacity: 1; }
.bg-pin.is-active { transform-box: fill-box; }
.bg-home-dot { fill: var(--ink); stroke: #fff; stroke-width: 4; }
.bg-home-pulse { fill: var(--ink); opacity: .25; transform-box: fill-box; transform-origin: center; animation: home-pulse 2.4s ease-out infinite; }
@keyframes home-pulse { from { transform: scale(.6); opacity: .45; } to { transform: scale(2.4); opacity: 0; } }
.bg-home-label { font: 600 22px var(--serif); fill: var(--ink); text-anchor: middle; paint-order: stroke; stroke: #fff; stroke-width: 6px; stroke-linejoin: round; }
.bg-scale path, .bg-north path { stroke: var(--ink); stroke-width: 2; fill: none; }
.bg-north path { fill: var(--ink); stroke: none; }
.bg-scale text, .bg-north text { font: 600 14px var(--sans); fill: var(--ink); text-anchor: middle; }
.beach-list { display: grid; gap: 8px; counter-reset: none; }
.beach-list li { position: relative; }
.beach { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; width: 100%; padding: 14px 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); text-align: left; overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.beach:hover { border-color: #d9c6b5; }
.beach[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 8px 24px rgb(180 83 42 / .14); transform: translateX(4px); }
.beach-rank { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); font-weight: 700; color: var(--ink); font-size: .92rem; transition: background-color .2s, color .2s, border-color .2s; }
.beach[aria-pressed="true"] .beach-rank { background: var(--accent); border-color: var(--accent); color: #fff; }
.beach-main { display: flex; flex-direction: column; min-width: 0; }
.beach-name { font: 600 1.35rem/1.15 var(--serif); color: var(--ink); }
.beach-text { font-size: .86rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.beach-time { display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; padding-right: 54px; }
.beach-time strong { font: 600 1.7rem/1 var(--serif); color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.beach-time small { font-size: .78rem; color: var(--muted); margin-top: 4px; }
.beach-bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--sand); }
.beach-bar::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #e8b48f, var(--accent)); transform-origin: left; transform: scaleX(0); }
.is-visible .beach-bar::after { animation: bar-grow 1.2s calc(.3s + var(--i) * 110ms) cubic-bezier(.16, 1, .3, 1) forwards; }
@keyframes bar-grow { to { transform: scaleX(var(--w)); } }
.beach-route { position: absolute; right: 12px; top: 50%; translate: 0 -60%; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px; border-radius: 8px; font-size: .7rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.beach-route:hover { background: var(--accent-soft); }
.beach-route .icon { width: 18px; height: 18px; }
.beach-list li { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; transition-delay: calc(var(--d, 0) * 1ms); }
.is-visible .beach-list li { opacity: 1; transform: none; }
.beach-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.beach-extra p { display: flex; gap: 12px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--sand); color: var(--text); font-size: .94rem; }
.beach-extra .icon { color: var(--accent); width: 22px; height: 22px; margin-top: 2px; }
.beach-extra strong { color: var(--ink); }

/* Villa band */
.villa-band { position: relative; isolation: isolate; padding-block: clamp(80px, 12vw, 160px); }
.villa-band-image { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.villa-band-card { max-width: 520px; padding: clamp(26px, 4vw, 40px); background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.villa-band-card > p { margin-top: 12px; }
.villa-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }

/* Pets: paw prints walk across the section, one step at a time, forever */
.pets { position: relative; isolation: isolate; overflow: hidden; background: var(--sand); }
.paw-trail { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.paw { position: absolute; width: clamp(22px, 2vw, 30px); height: auto; aspect-ratio: 1; fill: var(--accent); opacity: 0; rotate: var(--turn); animation: paw-step 12.6s calc(var(--step) * .45s) ease-out infinite; }
@keyframes paw-step { 0% { opacity: 0; scale: .55; } 3% { opacity: .32; scale: 1.08; } 5% { scale: 1; } 24% { opacity: .32; } 34%, 100% { opacity: 0; scale: 1; } }
.pets-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 88px); align-items: center; }
.pets-copy .lead { margin-top: 14px; }
.pets-eyebrow { display: flex; align-items: center; gap: 10px; }
.pets-badge { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; animation: badge-beat 2.4s ease-in-out infinite; }
.pets-badge .icon { width: 19px; height: 19px; }
.features .icon-paw, .rules .icon-paw, .trust .icon-paw { padding: 10px; }
.rules .icon-paw, .trust .icon-paw { padding: 0; }
@keyframes badge-beat { 0%, 60%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgb(180 83 42 / .4); } 20% { transform: scale(1.12); } 40% { transform: scale(1); box-shadow: 0 0 0 12px rgb(180 83 42 / 0); } }
.pets-features { margin-top: 26px; }
.pets-features .icon { background: var(--surface); }

/* Self-hosted vertical videos (pets, villa): just the video, rounded like a phone screen; the only control is sound */
.reel-video { position: relative; flex: none; width: min(340px, 78vw); aspect-ratio: 9 / 16; margin: 0; border-radius: 28px; overflow: hidden; background: #1b2b28 var(--poster) center / cover; box-shadow: 0 30px 70px rgb(18 48 43 / .28), 0 0 0 8px var(--surface); }
.reel-video video { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.reel-sound { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 999px; background: rgb(10 20 18 / .62); color: #fff; font-size: .88rem; font-weight: 600; backdrop-filter: blur(6px); transition: background-color .2s; }
.reel-sound:hover { background: rgb(10 20 18 / .82); }
.reel-sound span { display: inline-flex; align-items: center; gap: 8px; }
.reel-sound .icon { width: 20px; height: 20px; }
.reel-sound-on, .is-unmuted .reel-sound-off { display: none !important; }
.is-unmuted .reel-sound-on { display: inline-flex; }
.reel-sound-off .icon { animation: sound-hint 2.6s ease-in-out infinite; }
@keyframes sound-hint { 0%, 70%, 100% { transform: none; } 80% { transform: rotate(-12deg); } 90% { transform: rotate(10deg); } }
.reel-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; background: rgb(255 255 255 / .9); box-shadow: var(--shadow-lg); }
.reel-play[hidden] { display: none; }
.reel-play span { position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-block: 13px solid transparent; border-left: 21px solid var(--accent); translate: 3px 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; margin-bottom: 40px; }
.steps li { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.steps span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 16px; }
.steps p { color: var(--muted); margin-top: 6px; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-layout > div:first-child > p:last-child { margin-top: 14px; color: var(--muted); }
.faq-more { grid-column: 2; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { position: relative; display: block; padding: 20px 36px 20px 0; cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; overflow-wrap: break-word; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 20px; font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--text); max-width: 70ch; }

/* Page heads */
.page-head { padding-block: 28px 48px; background: var(--sand); border-bottom: 1px solid var(--line); }
.page-head .lead { margin-top: 12px; }
.page-head-compact { padding-bottom: 36px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* Results */
.results-head { margin-bottom: 24px; }
.results-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.results-head p { color: var(--muted); margin-top: 6px; max-width: 80ch; }
.results { display: grid; gap: 16px; }
.result { display: grid; grid-template-columns: 260px minmax(0, 1fr) 230px; gap: 24px; align-items: center; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.result-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.result h3 { font: 600 1.55rem/1.15 var(--serif); }
.result-aside { display: flex; flex-direction: column; align-items: stretch; gap: 8px; text-align: right; padding-right: 8px; }
.result-aside .text-link { align-self: flex-end; font-size: .9rem; }
.result.is-available { border-color: #cfe2d6; box-shadow: var(--shadow); }
.result.is-unavailable .result-media img { filter: grayscale(.6); opacity: .75; }
.result.is-loading { min-height: 170px; grid-template-columns: 260px 1fr; }
.result.is-loading span { display: block; height: 18px; border-radius: 6px; background: linear-gradient(90deg, var(--sand) 25%, var(--sand-deep) 50%, var(--sand) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; }
.result.is-loading span:first-child { height: 140px; grid-row: span 2; }
@keyframes shimmer { to { background-position: -200% 0; } }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 5px 11px; border-radius: 999px; font-size: .85rem; font-weight: 600; background: var(--warn-soft); color: var(--warn); }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-available { background: var(--ok-soft); color: var(--ok); }
.status-booked, .status-capacity { background: var(--bad-soft); color: var(--bad); }
.price { font-size: 1.05rem; color: var(--muted); }
.price strong { font: 600 2rem/1 var(--serif); color: var(--ink); }
.price s { margin-right: 4px; }
.price-note, .price-alt, .price-perk { font-size: .82rem; color: var(--muted); }
.price-perk { color: var(--ok); font-weight: 500; }
.results-empty { padding: 28px; border-radius: var(--radius); background: var(--warn-soft); }
.results-empty p + p { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; font-size: .94rem; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--bg); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody th a { font-weight: 600; color: var(--ink); }

/* Unit page */
.unit-top { padding-top: 24px; }
.unit-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.unit-title .specs { margin: 0 0 6px; font-size: .95rem; }
.gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; height: clamp(320px, 46vw, 540px); border-radius: var(--radius); overflow: hidden; }
.gallery-tile { position: relative; overflow: hidden; background: var(--sand); }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .2s; }
.gallery-tile:hover img { transform: scale(1.03); opacity: .94; }
.gallery-lead { grid-row: span 2; }
.gallery-all { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); font-weight: 600; font-size: .9rem; color: var(--ink); }
.unit-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: clamp(32px, 5vw, 72px); align-items: start; padding-block: 48px 24px; }
.unit-section { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.unit-section h2 { font-size: 1.9rem; margin-bottom: 16px; }
.unit-section > p + p { margin-top: 14px; }
.layout-list, .rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.layout-list li, .rules li { display: flex; gap: 10px; align-items: flex-start; }
.layout-list .icon { color: var(--ok); margin-top: 3px; }
.rules .icon { color: var(--muted); margin-top: 3px; }
.amenities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.amenities h3 { margin-bottom: 8px; }
.amenities ul { columns: 2; column-gap: 20px; font-size: .94rem; color: var(--text); }
.amenities li { padding: 3px 0; break-inside: avoid; }
.amenities li::before { content: '·'; color: var(--accent); font-weight: 700; margin-right: 8px; }
.policy { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.policy > div { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.policy p { margin-top: 6px; color: var(--muted); font-size: .94rem; }
.unit-license { font-size: .85rem; color: var(--muted); }
.unit-aside { position: sticky; top: calc(var(--header) + 20px); }
.booking-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.booking-card h2 { font-size: 1.8rem; }
.booking-sub { color: var(--muted); font-size: .9rem; margin: 4px 0 18px; }
.unit-result { margin-top: 18px; display: grid; gap: 8px; }
.unit-result .status { margin: 0; justify-self: start; }
.unit-result .button { margin-top: 8px; }
.widget-hint, .widget-fine { color: var(--muted); font-size: .9rem; }
.booking-help { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.booking-help a { color: var(--ink); font-weight: 600; }

/* Lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(10 20 18 / .94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgb(10 20 18 / .94); }
.lightbox figure { display: grid; justify-items: center; gap: 12px; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 82dvh; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lightbox figcaption { font-size: .9rem; color: rgb(255 255 255 / .75); }
.lightbox-close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; display: grid; place-items: center; color: #fff; border-radius: 50%; }
.lightbox-close .icon { width: 26px; height: 26px; }
.lightbox-nav { position: absolute; top: 50%; translate: 0 -50%; width: 56px; height: 56px; border-radius: 50%; background: rgb(255 255 255 / .12); color: #fff; font-size: 2rem; }
.lightbox-nav:hover, .lightbox-close:hover { background: rgb(255 255 255 / .2); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* Editorial, contact */
.editorial { max-width: 860px; padding-block: 48px 80px; }
.editorial h2 { font-size: 2rem; margin: 40px 0 12px; }
.editorial p { margin-top: 12px; }
.editorial ul { list-style: disc; padding-left: 20px; margin-top: 12px; }
.editorial li + li { margin-top: 8px; }
.editorial figure { margin-block: 8px 12px; }
.editorial figure img { width: 100%; border-radius: var(--radius); }
.editorial figcaption { margin-top: 8px; font-size: .82rem; color: var(--muted); }
.editorial-cta { margin-top: 56px; padding: 32px; border-radius: var(--radius); background: var(--sand); }
.editorial-cta h2 { margin: 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; }
.contact-card .icon { grid-row: span 2; width: 24px; height: 24px; color: var(--accent); }
.contact-card span { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.contact-card strong { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
a.contact-card:hover { border-color: var(--ink); }
.contact-cards .booking-card p { color: var(--muted); margin: 6px 0 16px; }
.contact-whatsapp .icon { color: #1da851; }
.contact-social { padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.contact-social h2 { font-size: 1.5rem; }
.contact-social p { color: var(--muted); margin: 4px 0 14px; }
.contact-social ul { display: grid; gap: 10px; }
.social-card { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); transition: background-color .2s; }
.social-card:hover { background: var(--sand); }
.social-card-logo { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; color: #fff; }
.social-card-logo .icon { width: 22px; height: 22px; }
.social-card.social-instagram .social-card-logo { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-card.social-facebook .social-card-logo { background: #1877f2; }
.social-card.social-tiktok .social-card-logo { background: #000; }
.social-card strong { display: block; font-weight: 600; }
.social-card small { color: var(--muted); font-size: .86rem; }

/* Footer */
.site-footer { background: var(--ink); color: rgb(255 255 255 / .78); padding-top: 64px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin-top: 16px; max-width: 36ch; }
.footer-license { font-size: .82rem; color: rgb(255 255 255 / .6); }
.footer-title { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer li + li { margin-top: 9px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-follow { margin: 26px 0 12px; }
.social { display: flex; gap: 10px; }
.social li + li { margin-top: 0; }
.social-link { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .28); color: #fff; transition: background-color .2s, border-color .2s, transform .2s; }
.social-link .icon { width: 20px; height: 20px; }
.social-link:hover { transform: translateY(-2px); border-color: transparent; }
.social-instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-facebook:hover { background: #1877f2; }
.social-tiktok:hover { background: #000; box-shadow: -2px -2px 0 #25f4ee, 2px 2px 0 #fe2c55; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid rgb(255 255 255 / .12); font-size: .84rem; color: rgb(255 255 255 / .6); }
.footer-bottom p:last-child { display: flex; gap: 20px; }

.mobile-book { display: none; }

/* Floating quick contact: WhatsApp and call, always within reach */
.fab { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 24; display: flex; flex-direction: column; gap: 12px; transition: translate .25s, opacity .2s, visibility .2s; animation: fab-in .6s .9s cubic-bezier(.2, .8, .3, 1.25) both; }
.fab-btn { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: #fff; text-decoration: none; box-shadow: 0 8px 22px rgb(18 48 43 / .3); transition: transform .2s, box-shadow .2s; }
.fab-btn .icon { width: 28px; height: 28px; }
.fab-call .icon { width: 25px; height: 25px; }
.fab-btn:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 12px 28px rgb(18 48 43 / .36); }
.fab-whatsapp { background: #25d366; }
.fab-call { background: var(--accent); }
.fab-call:hover { background: var(--accent-hover); }
/* A soft ring keeps WhatsApp noticeable without moving the button itself. */
.fab-whatsapp::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: #25d366; animation: fab-ring 3s 2s ease-out infinite; }
.fab-label { position: absolute; right: calc(100% + 12px); top: 50%; translate: 8px -50%; padding: 7px 12px; border-radius: 8px; background: #fff; color: var(--ink); font-size: .86rem; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .2s, translate .2s; }
.fab-btn:hover .fab-label, .fab-btn:focus-visible .fab-label { opacity: 1; translate: 0 -50%; }
body.dp-open .fab, body:has(.main-nav.is-open) .fab { opacity: 0; visibility: hidden; }
@keyframes fab-in { from { opacity: 0; transform: translateY(18px) scale(.7); } }
@keyframes fab-ring { 0% { transform: scale(1); opacity: .5; } 60%, 100% { transform: scale(1.65); opacity: 0; } }
@media (hover: none) { .fab-label { display: none; } }

/* Responsive */
@media (max-width: 1100px) {
  .header-phone span { display: none; }
  .main-nav { gap: 6px; }
  .header-inner { gap: 20px; }
  .lang-code { display: none; }
  .main-nav a { padding: 0 13px; font-size: .9rem; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result { grid-template-columns: 200px minmax(0, 1fr) 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header: 66px; }
  .menu-toggle { display: inline-flex; }
  .header-phone { display: none; }
  .main-nav { position: fixed; inset: var(--header) 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgb(18 48 43 / .1); visibility: hidden; opacity: 0; translate: 0 -8px; transition: opacity .2s, translate .2s, visibility .2s; }
  .main-nav.is-open { visibility: visible; opacity: 1; translate: 0; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-phone { display: flex; align-items: center; gap: 8px; border-bottom: 0 !important; color: var(--accent) !important; font-weight: 600 !important; }
  .header-actions { margin-left: auto; gap: 8px; }
  .search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .search-dates { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .search-guests { border-left: 0; }
  .search-submit { margin: 0; }
  .search-unit { grid-template-columns: minmax(0, 1fr); }
  .search-unit .search-dates { border-bottom: 1px solid var(--line); }
  .split, .faq-layout, .contact-grid { grid-template-columns: 1fr; }
  .villa-band-inner { flex-direction: column; align-items: stretch; }
  .beach-layout { grid-template-columns: 1fr; }
  .beach-map { position: relative; top: 0; }
  .beach-extra { grid-template-columns: 1fr; }
  .pets-grid { grid-template-columns: 1fr; }
  .pets-video { justify-self: center; }
  .villa-band-card { max-width: none; }
  .villa-video { align-self: center; }
  .faq-more { grid-column: 1; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts p:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts p { padding: 20px 16px; }
  .steps { grid-template-columns: 1fr; }
  .unit-layout { grid-template-columns: minmax(0, 1fr); }
  .unit-aside { position: static; order: -1; }
  .unit-layout { padding-top: 28px; }
  .unit-title { flex-direction: column; align-items: flex-start; gap: 8px; }
  .result { grid-template-columns: 180px minmax(0, 1fr); }
  .result-aside { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; text-align: left; padding: 12px 4px 2px; border-top: 1px solid var(--line); }
  .result-aside .button { min-width: 160px; }
  .result-aside .text-link { align-self: center; }
  body.has-unit, body:has(.mobile-book) { padding-bottom: 76px; }
  .mobile-book { position: fixed; inset: auto 0 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgb(18 48 43 / .1); }
  .mobile-book p { display: flex; flex-direction: column; line-height: 1.3; font-size: .82rem; color: var(--muted); }
  .mobile-book strong { color: var(--ink); font-size: .95rem; }
  .mobile-book .button { min-height: 46px; }
  .mobile-book { transition: translate .25s; }
  .mobile-book.is-hidden, body.dp-open .mobile-book { translate: 0 110%; }
  .fab { right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); gap: 10px; }
  .fab-btn { width: 52px; height: 52px; }
  .fab-btn .icon { width: 26px; height: 26px; }
  .mobile-book:not(.is-hidden) ~ .fab { translate: 0 -76px; }
}
@media (max-width: 759px) {
  .dp { position: fixed; inset: auto 0 0; top: auto; width: 100%; max-width: none; max-height: 92dvh; overflow-y: auto; border-radius: 20px 20px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); }
  .search.is-picking::after { content: ''; position: fixed; inset: 0; z-index: 45; background: rgb(10 20 18 / .45); }
  .dp-months, .dp-month { width: 100%; }
  .dp-weekdays, .dp-grid { grid-template-columns: repeat(7, 1fr); }
  .dp-day { height: 46px; }
  .search-unit .dp { right: 0; }
  /* Lift the open sheet above the sticky header and booking bar despite the hero's isolation. */
  body.dp-open .hero, body.dp-open .page-head, body.dp-open .unit-layout, body.dp-open .editorial { position: relative; z-index: 60; }
}
@media (max-width: 640px) {
  .container, .hero-inner { width: calc(100% - 32px); }
  h1 { font-size: 2.2rem; }
  .header-inner { gap: 12px; }
  .brand-name { font-size: 1.75rem; }
  .brand-sub { font-size: .55rem; letter-spacing: .16em; }
  .header-book { min-height: 40px; padding-inline: 14px; font-size: .9rem; }
  .header-book .icon { display: none; }
  .lang summary { gap: 5px; padding: 0 9px; }
  .lang-code { display: none; }
  .hero { min-height: 0; padding-block: 36px 100px; }
  .hero-word { font-size: 4.9rem; }
  .hero-h1 { margin-top: 14px; font-size: 1rem; }
  .hero-slogan { font-size: 1.45rem; min-height: 2.5em; }
  .hero-search { margin-top: 18px; }
  .hero-meta { top: auto; left: 16px; right: 84px; bottom: 22px; justify-content: space-between; gap: 10px; }
  .hero-caption { font-size: .8rem; }
  .hero-dot { width: 20px; }
  .search { grid-template-columns: minmax(0, 1fr); padding: 6px; }
  .editorial-cta { padding: 22px 16px; }
  .search-guests { border-bottom: 1px solid var(--line); border-radius: 0; }
  .search-submit { margin-top: 6px; min-height: 54px; }
  .search-field { min-height: 58px; padding: 8px 12px; }
  .search-dates .search-field:first-of-type, .search-guests { padding-left: 44px; }
  .search-dates > .icon, .search-guests > .icon { left: 14px; }
  .trust { flex-direction: column; gap: 8px; font-size: .86rem; }
  .facts strong { font-size: 1.6rem; }
  .cards { grid-template-columns: 1fr; gap: 20px; }
  .beach-stats { grid-template-columns: 1fr; gap: 10px; }
  .beach-stats p { flex-direction: row; align-items: baseline; gap: 12px; padding: 14px 16px; }
  .beach-stats strong { font-size: 1.9rem; min-width: 3.2ch; }
  .beach-text { display: none; }
  .beach-map svg { aspect-ratio: 4 / 3; }
  .bg-pin > *, .bg-home > *, .bg-landmark > * { transform: scale(1.7); }
  .bg-sea-label, .bg-town-label, .bg-landmark text, .bg-scale, .bg-north { display: none; }
  .beach-map figcaption { font-size: .65rem; }
  .beach { padding: 12px 12px 16px; gap: 12px; }
  .beach-time { padding-right: 48px; }
  .beach-name { font-size: 1.2rem; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 420px; }
  .gallery-lead { grid-column: 1 / -1; grid-row: auto; }
  .gallery-tile:nth-child(n+4) { display: none; }
  .layout-list, .rules, .amenities, .policy { grid-template-columns: 1fr; }
  .result { grid-template-columns: 1fr; gap: 14px; }
  .result-media img { aspect-ratio: 16 / 9; }
  .result.is-loading { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .map iframe { height: 320px; }
  .booking-card { padding: 20px; }
  .lightbox-nav { top: auto; bottom: 20px; translate: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .card:hover, .card:hover .card-media img, .button:active { transform: none; }
  .result.is-loading span { animation: none; }
  /* The hero keeps changing photos and the light in the word, but without zoom or movement. */
  .hero-slide { transition: opacity 1.8s ease-in-out !important; }
  .hero-slides .hero-slide { animation: none !important; }
  .bg-route { stroke-dashoffset: 0; animation: none !important; }
  .bg-walker { display: none; }
  .bg-home-pulse { animation: none; }
  .beach-bar::after { transform: scaleX(var(--w)); animation: none !important; }
  .beach-list li { opacity: 1; transform: none; }
  .paw { animation: paw-fade 12.6s calc(var(--step) * .45s) linear infinite; scale: 1; }
  @keyframes paw-fade { 0%, 34%, 100% { opacity: 0; } 4%, 24% { opacity: .32; } }
  .pets-badge, .reel-sound-off .icon { animation: none; }
  .fab, .fab-whatsapp::before { animation: none; }
  .hero-letter { animation: word-fade 1s calc(var(--i) * 85ms) both, letter-glow 7s calc(1.8s + var(--i) * 160ms) ease-in-out infinite; }
  .hero-word, .hero-h1, .hero-slogan, .hero-search { animation-name: fade-only; }
  .is-out, .is-in { animation-name: fade-only; }
  .is-out { animation-direction: reverse; }
  @keyframes fade-only { from { opacity: 0; } to { opacity: 1; } }
}

/* After every font shorthand (which resets it): Cormorant draws old-style figures by default. */
h1, h2, .card-title, .result h3, .facts strong, .price strong, .brand-name, .hero-word, .hero-slogan, .dp-month-name { font-variant-numeric: lining-nums; }
