@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/assets/fonts/josefin-sans.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/josefin-sans.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/josefin-sans.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/nunito-sans.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/nunito-sans.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/nunito-sans.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Mata Beach prototype. Brand: fish blue #3a93c6 (logo + painted wall).
   Radius rule: buttons pill, cards/photos 14px, inputs 10px. One accent (blue). */
:root {
  --fish: #3a93c6;
  --blue: #2577a8;      /* brand blue strong enough for white text (AA) */
  --blue-ink: #1d6591;  /* links on light backgrounds */
  --sea: #0e3a55;
  --sea-2: #134a6b;
  --sky: #e6f1f8;
  --sky-2: #d3e6f2;
  --ink: #12303f;
  --muted: #4a6372;
  --line: #c3d9e7;
  --paper: #fbfdfe;
  --r: 14px;
  --head: 'Josefin Sans', 'Century Gothic', system-ui, sans-serif;
  --body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--sky); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
a:hover { color: var(--sea); }
:focus-visible { outline: 3px solid var(--fish); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: var(--ink); padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; top: 1rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.muted-inv { color: #b9d3e3; margin-top: 1.5rem; }
.rounded { border-radius: var(--r); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 46px; padding: .7rem 1.4rem; border-radius: 999px; font: 700 1rem/1.1 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, transform .1s; touch-action: manipulation; }
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--blue); color: #fff; }
.btn--solid:hover { background: var(--sea-2); color: #fff; }
.btn--line { border-color: var(--blue); color: var(--blue-ink); background: transparent; }
.btn--line:hover { background: var(--blue); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.75); color: #fff; background: rgba(255,255,255,.06); }
.btn--ghost:hover { background: #fff; color: var(--sea); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: var(--sea); color: #fff; }
.nav--overlay { position: absolute; inset: 0 0 auto 0; background: linear-gradient(rgba(8,36,54,.7), rgba(8,36,54,0)); }
.nav__in { width: min(1280px, 100% - 2.5rem); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.nav__logo img { width: 128px; height: auto; }
.nav__menu { display: flex; align-items: center; gap: 1.5rem; }
.nav__menu ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; }
.nav__menu a:not(.btn) { color: #fff; text-decoration: none; font-weight: 600; padding: .35rem 0; border-bottom: 2px solid transparent; }
.nav__menu a:not(.btn):hover, .nav__menu a[aria-current="page"] { border-bottom-color: var(--fish); }
.nav__lang { font-size: .9rem; opacity: .9; }
.nav__cta { min-height: 42px; padding: .55rem 1.2rem; }
.nav__toggle { display: none; }
@media (max-width: 899px) {
  .nav__toggle { display: inline-flex; min-height: 44px; padding: .5rem 1rem; border-radius: 999px; border: 2px solid rgba(255,255,255,.7); background: transparent; color: #fff; font: 700 .95rem var(--body); cursor: pointer; }
  .nav__menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: .25rem; padding: 1rem 1.25rem 1.5rem; background: var(--sea); box-shadow: 0 12px 24px rgba(8,36,54,.35); }
  .nav__menu.is-open { display: flex; }
  .nav__menu ul { flex-direction: column; gap: 0; }
  .nav__menu a:not(.btn) { display: block; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav__cta { margin-top: .75rem; }
  .nav__logo img { width: 104px; }
}

/* Hero */
.hero { position: relative; min-height: min(100dvh, 860px); display: flex; align-items: flex-end; color: #fff; background: var(--sea); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,44,66,.86) 0%, rgba(10,44,66,.55) 45%, rgba(10,44,66,.1) 80%), linear-gradient(0deg, rgba(10,44,66,.75), rgba(10,44,66,0) 55%); }
.hero__in { position: relative; z-index: 1; width: min(1200px, 100% - 2.5rem); margin: 0 auto; padding: 8rem 0 3rem; }
.hero h1 { max-width: 15ch; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.hero__sub { max-width: 46ch; font-size: 1.15rem; color: #e3f0f8; }

/* Search bar */
.search { display: grid; grid-template-columns: 1fr 1fr 110px auto; gap: .75rem; align-items: end; background: #fff; color: var(--ink); padding: 1rem; border-radius: var(--r); box-shadow: 0 18px 40px rgba(8,36,54,.25); max-width: 860px; margin-top: 1.75rem; }
.search .btn { min-height: 48px; }
.search__err { grid-column: 1 / -1; margin: 0; color: #a3261b; font-weight: 600; }
.field { display: grid; gap: .3rem; }
.field label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .6rem .75rem; border: 1.5px solid #8fb0c4; border-radius: 10px; font: 1rem var(--body); color: var(--ink); background: #fff; }
.field textarea { min-height: 0; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--fish); outline-offset: 1px; border-color: var(--blue); }
@media (max-width: 760px) {
  .search { grid-template-columns: 1fr 1fr; }
  .search .field--sm { grid-column: 1 / -1; }
  .search .btn { grid-column: 1 / -1; }
}

/* Sections */
.sec { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.sec--sky { background: var(--sky); }
.sec--light { background: var(--paper); }
.sec--sea { background: var(--sea); color: #fff; }
.sec--sea a:not(.btn) { color: #bfe0f3; }
.sec--sea .muted { color: #b9d3e3; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1.25rem; }
.ticks li { position: relative; padding-left: 1.5rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .55em; width: .65rem; height: .65rem; border-radius: 50%; border: 2px solid var(--fish); }
@media (max-width: 520px) { .ticks { grid-template-columns: 1fr; } }

/* Intro */
.intro__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.intro__photos { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: .75rem; }
.ph { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.ph--a { grid-row: 1 / 3; aspect-ratio: 3 / 4; }
.ph--b, .ph--c { aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .intro__grid { grid-template-columns: 1fr; } .ph--a { aspect-ratio: 4 / 5; } }

/* Rooms band */
.band-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: 2rem; }
.band-head h2 { margin: 0; max-width: 22ch; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 300px); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; overscroll-behavior-x: contain; }
.rail:focus-visible { outline-offset: 6px; }
.rail .card { scroll-snap-align: start; }
.card { background: #fff; color: var(--ink); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.card__img img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__img img { transform: scale(1.03); }
.card__img { overflow: hidden; }
.card__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.card__t { font-size: 1.2rem; margin: 0; }
.card__t a { color: var(--ink); text-decoration: none; }
.card__t a::after { content: ''; position: absolute; inset: 0; }
.card { position: relative; }
.card__t a:hover { color: var(--blue-ink); }
.card__type, .card__facts { margin: 0; color: var(--muted); font-size: .95rem; }
.card__price { margin: auto 0 0; padding-top: .6rem; }
.card__price strong { font-size: 1.3rem; font-family: var(--head); }
.card__status { margin: .3rem 0 0; font-weight: 700; font-size: .92rem; }
.card.is-free .card__status { color: #1f6b3a; }
.card.is-busy { opacity: .62; }
.card.is-busy .card__status { color: #8a2a1e; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.list-note { font-weight: 600; }

/* Photo CTA */
.photo-cta { position: relative; color: #fff; padding: clamp(5rem, 12vw, 9rem) 0; background: var(--sea); overflow: hidden; }
.photo-cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-cta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,58,85,.88), rgba(14,58,85,.35)); }
.photo-cta__in { position: relative; z-index: 1; max-width: 1200px; }
.photo-cta h2 { max-width: 18ch; }
.photo-cta p { max-width: 46ch; font-size: 1.1rem; }

/* Beach / distances */
.beach__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.beach__ph { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .beach__grid { grid-template-columns: 1fr; } }
.dist { display: grid; gap: 0; margin: 0 0 1.5rem; }
.dist > div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.dist dt { font-weight: 600; }
.dist dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.dist--big > div { padding: .8rem 0; }

/* Page heads */
.page-head { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem); background: var(--sea); color: #fff; }
.page-head p { max-width: 60ch; color: #dcecf6; font-size: 1.1rem; }
.page-head--photo { position: relative; overflow: hidden; padding: clamp(7rem, 14vw, 10rem) 0 3rem; }
.page-head__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head--photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,44,66,.88), rgba(10,44,66,.25)); }
.page-head--photo .wrap { position: relative; z-index: 1; }
.page-head .search { margin-top: 1.25rem; }

/* Room page */
.room-top { padding: 2rem 0 1rem; }
.room-top h1 { margin-bottom: .3rem; }
.room-top__type { color: #cfe3ef; margin: 0; }
.crumbs { font-size: .92rem; margin-bottom: .8rem; color: #cfe3ef; }
.gallery-wrap { padding: 1rem 0 2.5rem; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: .6rem; position: relative; aspect-ratio: 2.3 / 1; }
.gallery__item { padding: 0; border: 0; background: var(--sea-2); border-radius: var(--r); overflow: hidden; cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__item--main { grid-row: 1 / 3; }
.gallery__all { position: absolute; right: .9rem; bottom: .9rem; background: rgba(14,58,85,.8); }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto auto; aspect-ratio: auto; }
  .gallery__item--main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .gallery__item:not(.gallery__item--main) { aspect-ratio: 1; }
  .gallery__all { position: static; grid-column: 1 / -1; }
}
.lightbox { width: min(1100px, 96vw); max-height: 94vh; padding: 3rem 3.5rem 1rem; border: 0; border-radius: var(--r); background: #071d2b; color: #fff; }
.lightbox::backdrop { background: rgba(4,18,28,.85); }
.lightbox figure { margin: 0; }
.lightbox img { max-height: 76vh; width: auto; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { text-align: center; padding: .6rem; color: #cfe3ef; font-size: .95rem; }
.lightbox__close { position: absolute; top: .6rem; right: .8rem; min-height: 40px; padding: .4rem 1rem; border-radius: 999px; border: 2px solid rgba(255,255,255,.6); background: transparent; color: #fff; font: 700 .95rem var(--body); cursor: pointer; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox__prev { left: .5rem; } .lightbox__next { right: .5rem; }
@media (max-width: 600px) { .lightbox { padding: 3.2rem .6rem .6rem; } .lightbox__nav { top: auto; bottom: .6rem; transform: none; } }

.room__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.room__main h2 { margin-top: 2.2rem; font-size: 1.6rem; }
.room__side { position: sticky; top: 90px; }
@media (max-width: 960px) { .room__grid { grid-template-columns: 1fr; } .room__side { position: static; order: -1; } }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin: 0; }
.facts > div { background: var(--sky); border-radius: var(--r); padding: .9rem 1rem; }
.facts dt { font-size: .85rem; color: var(--muted); font-weight: 700; }
.facts dd { margin: .15rem 0 0; font-weight: 700; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr 1fr; } }
.amen { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.amen li { background: var(--sky); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .85rem; font-size: .95rem; }
.book-box { background: var(--sea); color: #fff; border-radius: var(--r); padding: 1.4rem; }
.book-box .search { grid-template-columns: 1fr 1fr; box-shadow: none; padding: 0; margin: 1rem 0 0; background: transparent; }
.book-box .search .field label { color: #fff; }
.book-box .search .field--sm, .book-box .search .btn { grid-column: 1 / -1; }
.book-box .search__err { color: #ffd3cc; }
.book-box__price { margin: 0; font-size: 1.05rem; }
.book-box__price strong { font: 600 1.9rem var(--head); }
.book-box__total { margin: 1rem 0 .5rem; font-weight: 700; }
.book-box .muted { color: #b9d3e3; }

/* Calendar */
.cal { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1rem; }
@media (max-width: 640px) { .cal { grid-template-columns: 1fr; } }
.cal__head { display: flex; justify-content: space-between; align-items: center; grid-column: 1 / -1; }
.cal__head button { min-height: 44px; min-width: 44px; padding: .4rem .9rem; border-radius: 999px; border: 2px solid var(--blue); background: #fff; color: var(--blue-ink); font: 700 .95rem var(--body); cursor: pointer; }
.cal__head button:disabled { opacity: .35; cursor: not-allowed; }
.cal__m h3 { font-size: 1.05rem; text-transform: capitalize; margin-bottom: .5rem; }
.cal__g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.cal__dow { font-size: .75rem; text-align: center; color: var(--muted); font-weight: 700; padding-bottom: .2rem; }
.cal__d { min-height: 48px; border: 0; border-radius: 8px; background: #fff; color: var(--ink); font: 600 .92rem var(--body); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; padding: 2px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
.cal__d small { font-weight: 400; font-size: .7rem; color: var(--muted); }
.cal__d.is-busy { background: repeating-linear-gradient(135deg, #eef3f6, #eef3f6 4px, #e2e9ee 4px, #e2e9ee 8px); color: #8a9ba5; text-decoration: line-through; cursor: not-allowed; box-shadow: none; }
.cal__d.is-out { visibility: hidden; }
.cal__d.is-sel, .cal__d.is-range { background: var(--blue); color: #fff; box-shadow: none; }
.cal__d.is-range { background: #7fb6d6; }
.cal__d.is-sel small, .cal__d.is-range small { color: #eaf4fa; }
.cal__d:hover:not(.is-busy) { box-shadow: inset 0 0 0 2px var(--blue); }
.cal__legend { font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; margin-top: .8rem; }
.lg { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: .3rem; box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.lg--busy { background: #e2e9ee; box-shadow: none; }
.lg--sel { background: var(--blue); box-shadow: none; }

.pager { padding: 2rem 0; }
.pager__in { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-weight: 700; }

/* House */
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.mosaic img { border-radius: var(--r); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.svc__row { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.svc__row strong { text-align: right; color: #d7ecf8; }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; } }
.exp { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; margin-bottom: 1.5rem; }
.exp__item img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--r); margin-bottom: .8rem; }
.exp__item h3 { margin-bottom: .3rem; }
.exp__item p { color: var(--muted); font-size: .97rem; }

/* Forms */
.form { background: #fff; border-radius: var(--r); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1rem; box-shadow: 0 10px 30px rgba(14,58,85,.08); }
.form h2 { margin: 0; font-size: 1.5rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.check input { width: 22px; height: 22px; margin-top: .15rem; flex: none; accent-color: var(--blue); }
.form__err { margin: 0; color: #a3261b; font-weight: 700; }
.form .btn { justify-self: start; }
.summary { background: var(--sea); color: #fff; border-radius: var(--r); padding: 1.5rem; position: sticky; top: 90px; }
.summary img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: 1rem; }
.summary .muted { color: #b9d3e3; }
.summary table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.summary td { padding: .35rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.summary td + td { text-align: right; white-space: nowrap; padding-left: .75rem; }
.summary .tot td { font-weight: 700; font-size: 1.1rem; border: 0; padding-top: .7rem; }
.prose { max-width: 75ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.prose .ticks { grid-template-columns: 1fr; }
.link-inv { font-weight: 700; }

/* Footer */
.foot { background: #082a3e; color: #d2e4ef; padding: 3.5rem 0 1.5rem; }
.foot__in { width: min(1200px, 100% - 2.5rem); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.foot__brand img { width: 150px; margin-bottom: 1rem; }
.foot a { color: #fff; }
.foot__h { font: 600 1.05rem var(--head); color: #fff; margin-bottom: .7rem; }
.foot address { font-style: normal; margin-bottom: .4rem; }
.foot__links { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.foot__social { display: flex; gap: 1rem; flex-wrap: wrap; }
.foot__legal { width: min(1200px, 100% - 2.5rem); margin: 2.5rem auto 0; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .9rem; }
.foot__legal p { margin: 0; }
@media (max-width: 860px) { .foot__in { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot__in { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
/* Cards inside dark sections keep dark titles on their white body. */
.sec--sea .card__t a { color: var(--ink); }
.sec--sea .card__t a:hover { color: var(--blue-ink); }
.nav__lang { display: inline-flex; align-items: center; min-height: 44px; }
.room .facts > div, .room .amen li { background: #fff; }
.cal__m h3 { text-transform: none; }
.cal__head button { font-size: 1.4rem; line-height: 1; }
[id] { scroll-margin-top: 96px; }
.lightbox { overscroll-behavior: contain; }
a, button { -webkit-tap-highlight-color: rgba(58,147,198,.25); }

/* ---- Fase B · Detalhe (09/10) ---- */
/* The overlay nav is anchored to a zero-height wrapper placed after the prototype bar (sticky, in flow),
   so the logo is never covered by it. */
.nav-ov { position: relative; height: 0; z-index: 20; }
.skip:focus { top: 4rem; }
/* Grids that hold form fields / long chips must be allowed to shrink (320 px overflow). */
.room__grid > * { min-width: 0; }
@media (max-width: 960px) { .room__grid { grid-template-columns: minmax(0, 1fr); } }
.search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 110px auto; }
.field input, .field select { min-width: 0; }
@media (max-width: 899px) { .search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 359px) { .search { grid-template-columns: minmax(0, 1fr); } }
.amen li { overflow-wrap: anywhere; }
/* Nav items on one baseline (the language link sat higher than the others). */
@media (min-width: 900px) {
  .nav__menu ul a, .nav__lang { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
}
/* Busy rooms: keep text at full contrast, mute only the photo. */
.card.is-busy { opacity: 1; }
.card.is-busy .card__img img { filter: grayscale(.85); opacity: .7; }
.card.is-busy .card__price { color: var(--muted); }
/* Calendar: readable nightly price, AA range colours, visible legend swatches. */
.cal__d small { font-size: .74rem; }
.cal__d.is-sel small { color: #fff; }
.cal__d.is-range { background: #cfe4f1; color: var(--ink); box-shadow: inset 0 0 0 1px #7fb6d6; }
.cal__d.is-range small { color: var(--ink); }
.cal__d.is-busy { color: #6b7f8b; }
.lg { box-shadow: inset 0 0 0 1.5px #6f8d9f; }
.lg--busy { background: repeating-linear-gradient(135deg, #eef3f6, #eef3f6 3px, #c9d6de 3px, #c9d6de 6px); box-shadow: inset 0 0 0 1.5px #6f8d9f; }
/* Touch targets: footer links and the consent checkbox. */
.foot__links a, .foot__social a, .foot p a, .foot address + a { display: inline-block; padding: .3rem 0; }
.foot__links { gap: 0; }
.check input { width: 24px; height: 24px; }
.foot__h { display: block; }
.room { padding-bottom: 2.5rem; }
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.crumbs a, .dist dd a { display: inline-block; padding: .55rem 0; margin: -.55rem 0; }
