/* FlowSpace marketing site — hand-written layout/components.
 * No Tailwind build here (see flowspace-site/README.md for the rationale);
 * this file mirrors frontend/components/landing/* by hand: the app is the
 * reference and the values here are its Tailwind classes written out (L03,
 * the parity table in TODO.md). */

/* Inter, served from here (P1.5) instead of Google Fonts: no stylesheet
 * round trip to fonts.googleapis.com and no second connection to
 * fonts.gstatic.com before the first text can use the font. The two files
 * are Google's own variable-font slices (weights 100–900 in one file) for
 * the Latin and Latin-extended ranges — Portuguese lives in the first;
 * the browser fetches the second only for a glyph it needs. SIL OFL 1.1,
 * assets/fonts/LICENSE-Inter.txt. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.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;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-foreground);
  background: var(--color-background);
  line-height: 1.5;
}

img {
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* The app's `px-4 sm:px-6 lg:px-8`. */
@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

a {
  color: inherit;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-button);
  height: 2.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: #326a51;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-accent-bg);
}

.btn-lg {
  height: 3rem;
  padding: 0.5rem 2rem;
  font-size: 1rem;
  line-height: 1.5rem;
}

.btn-sm {
  height: 2rem;
  padding: 0 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---------- Nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

/* B50: the lockup (assets/img/brand/logo-horizontal.svg through <use>) takes
   the link's colour; explicit width/height so nothing shifts while it loads.
   114×28 px is under 30% of a 390 px header, so the mark-only fallback the
   brand README mentions is not needed. */
.wordmark {
  display: inline-flex;
  align-items: center;
  color: var(--color-primary);
  text-decoration: none;
}

.brand-lockup {
  display: block;
  flex: none;
}
/* B51: the header shows the wordmark alone, 22px tall (the app's
 * `<BrandWordmark height={22} />` in a `text-primary` link); the mark on its
 * own never appears under 36px. */
.brand-wordmark {
  display: block;
  flex: none;
  height: 22px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-foreground);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 1.5rem 1.25rem;
  border-top: 1px solid var(--color-border);
  background: #fff;
}

.nav-mobile a {
  text-decoration: none;
  color: var(--color-muted);
  font-size: 0.95rem;
  padding: 0.35rem 0;
}

.nav-mobile.is-open {
  display: flex;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  /* The app's `bg-gradient-to-br from-white via-accent to-primary-light/30`. */
  background: linear-gradient(to bottom right, #fff, var(--color-accent-bg), rgba(168, 213, 186, 0.3));
  padding: 5rem 0;
}

/* The app's blurred disc: 600px, `bg-primary-light/20 blur-3xl`, pushed up and right. */
.hero-glow {
  position: absolute;
  right: 0;
  top: 0;
  width: 37.5rem;
  height: 37.5rem;
  border-radius: 50%;
  background: rgba(168, 213, 186, 0.2);
  filter: blur(64px);
  transform: translate(33.333%, -50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 48rem;
}
/* B51: the brand mark as the hero illustration from 1024px, a watermark
 * under it. The app's Hero.tsx carries the same numbers as Tailwind
 * utilities; the opacity is one custom property so the owner can tune it. */
.hero {
  --hero-watermark-opacity: 0.08;
}
/* The app's `lg:grid lg:grid-cols-[minmax(0,48rem)_1fr] lg:gap-8 lg:items-center`:
 * one column until 1024px, then the text at its 48rem and the mark centred in
 * whatever is left (closer at 1440, further at 1920 — intended). */
.hero-grid {
  display: block;
}
/* The app's `hidden lg:flex relative min-h-[420px] items-center justify-center text-primary`. */
.hero-mark {
  display: none;
  position: relative;
  min-height: 420px;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}
/* The soft disc behind the mark: the app's `before:` pseudo — 460px,
 * `radial-gradient(circle at 30% 30%, rgba(168,213,186,.55), rgba(232,244,240,0) 70%)`,
 * centred on the mark, no layout, no pointer. */
.hero-mark::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 460px;
  height: 460px;
  margin: -230px 0 0 -230px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(168, 213, 186, 0.55), rgba(232, 244, 240, 0) 70%);
  pointer-events: none;
}
/* The app's `relative w-[min(100%,400px)] h-auto`: explicit width/height
 * attributes on the svg reserve the box, so nothing shifts (CLS 0). */
.hero-mark-svg {
  position: relative;
  display: block;
  width: min(100%, 400px);
  height: auto;
}
/* The watermark under 1024px: the app's `lg:hidden absolute -right-28 -bottom-12
 * w-[440px] opacity-[var(--hero-watermark-opacity)] pointer-events-none
 * text-primary` — bleeding off the bottom-right of the hero's overflow box,
 * behind the buttons and benefits (`.hero-content` is relative, so it stays
 * above). */
.hero-watermark {
  position: absolute;
  right: -7rem;
  bottom: -3rem;
  width: 440px;
  height: auto;
  color: var(--color-primary);
  opacity: var(--hero-watermark-opacity);
  pointer-events: none;
}
@media (min-width: 1024px) {
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 48rem) 1fr;
    gap: 2rem;
    align-items: center;
  }
  .hero-mark {
    display: flex;
  }
  .hero-watermark {
    display: none;
  }
}

/* `text-5xl md:text-6xl font-bold leading-tight mb-6`. */
.hero h1 {
  font-size: 3rem;
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--color-primary);
}

/* `text-xl text-muted-foreground mb-4 max-w-xl`. */
.hero p.lede {
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: var(--color-muted);
  max-width: 36rem;
  margin: 0 0 1rem;
}

/* The support line: `text-lg mb-8`. */
.hero p.lede-support {
  font-size: 1.125rem;
  line-height: 1.75rem;
  margin-bottom: 2rem;
}

/* `flex flex-col sm:flex-row gap-4`: stacked on a phone, side by side from 640px. */
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .hero {
    padding: 8rem 0;
  }

  /* `md:text-6xl` lands after `leading-tight` in the app's stylesheet, so
     the headline is set solid from 768px. */
  .hero h1 {
    font-size: 3.75rem;
    line-height: 1;
  }
}

/* The four benefits under the CTAs, as the app's hero draws them (L02): a
   dot and muted text, wrapping on narrow screens. */
.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 1.5rem;
  row-gap: 0.5rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--color-muted);
}

.hero-benefits li {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.hero-benefits li::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--color-primary);
  flex: none;
}

/* ---------- Sections ---------- */

/* The app's sections: `py-20` (rooms: `py-16`), on the page background or white. */
section {
  padding: 5rem 0;
}

section.alt {
  background: #fff;
}

section.tight {
  padding: 4rem 0;
}

/* The app's section heads: centred, `text-3xl font-bold` with a muted line
   under it, `mb-12` (rooms: `mb-10`). */
.section-head {
  text-align: center;
  margin: 0 0 3rem;
}

.section-head.tight {
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.section-head.tight h2 {
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--color-muted);
  max-width: 36rem;
  margin: 0 auto;
}

/* ---------- Cards / grid ---------- */

/* Mobile first, like the app: one column, then the app's breakpoints. */
.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr);
}

/* Rooms: `md:grid-cols-2 lg:grid-cols-3 gap-6`. */
@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Pricing: `md:grid-cols-3 gap-6 max-w-4xl mx-auto`. */
.grid-pricing {
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .grid-pricing {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* "Como funciona": `sm:grid-cols-2 lg:grid-cols-4 gap-8`. */
.grid-4 {
  gap: 2rem;
}

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* The app's Card: `rounded-xl border bg-white shadow-sm`, `p-6` inside. */
.card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  position: relative;
  transition: box-shadow 0.15s ease;
}

.room-card:hover {
  box-shadow: var(--shadow-md);
}

.card.featured {
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-lg);
}

/* The app's Badge on the featured plan: `-top-3`, `px-3 py-1 text-xs font-medium`. */
.card-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

/* The app's RoomCard header: name and price on one line (`text-base
   font-semibold` / `text-lg font-bold text-primary` with a `text-xs` unit),
   `p-6 pb-2` under the photos, then the tags. */
.room-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}

.room-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.room-price {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.125rem;
  line-height: 1;
  margin: 0;
  white-space: nowrap;
}

.room-price small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-muted);
}

/* Room card photo gallery (V02): the frame bleeds to the card's edges, above
   the name; native scroll-snap does the swiping. */
.room-gallery {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: -1.5rem -1.5rem 1.5rem;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  background: var(--color-accent-bg);
}

.room-gallery:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}

.room-gallery-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.room-gallery-track::-webkit-scrollbar {
  display: none;
}

.room-gallery-slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: center;
}

.room-gallery-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-foreground);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s;
}

.room-gallery-btn.prev { left: 0.5rem; }
.room-gallery-btn.next { right: 0.5rem; }

.room-gallery:hover .room-gallery-btn,
.room-gallery:focus-within .room-gallery-btn,
.room-gallery-btn:focus-visible {
  opacity: 1;
}

.room-gallery-btn:disabled {
  display: none;
}

.room-gallery-btn:focus-visible {
  outline: 2px solid var(--color-primary);
}

/* A dark pill behind the dots: white dots alone vanish on a light picture. */
.room-gallery-dots {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
}

.room-gallery-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.room-gallery-dot span {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  transition: width 0.15s, background 0.15s;
}

.room-gallery-dot[aria-selected="true"] span {
  width: 0.75rem;
  background: #fff;
}

.room-gallery-dot:focus-visible span {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .room-gallery-track { scroll-behavior: auto; }
}

/* The app's amenity badges: `variant="secondary"`, `text-xs font-medium
   rounded-full px-2.5 py-0.5`, `gap-1`. */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tag {
  background: var(--color-badge-bg);
  color: var(--color-badge-fg);
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  padding: 0.125rem 0.625rem;
  border-radius: 999px;
}

/* ---------- How it works ---------- */

/* The app's HowItWorks step: a 3rem primary disc with the number, the title
   under it, and from 1024px a hairline joining each step to the next. */
.step {
  position: relative;
  text-align: center;
}

.step-badge {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

@media (min-width: 1024px) {
  .step:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: 50%;
    width: 100%;
    height: 1px;
    background: var(--color-border);
  }
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.step p {
  color: var(--color-muted);
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- Pricing ---------- */

/* The app's Pricing card: centred `text-lg` title, `text-4xl font-bold`
   price with a `text-sm` unit, a `text-xs` line under it, the button last. */
.price-card h3 {
  text-align: center;
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.price-card .price {
  text-align: center;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  margin: 0;
}

.price-card .price small {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-muted);
  margin-left: 0.25rem;
}

.price-card .price-desc {
  text-align: center;
  color: var(--color-muted);
  font-size: 0.75rem;
  line-height: 1rem;
  margin: 0.25rem 0 1.5rem;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.price-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.price-card li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
}

/* ---------- Localização ---------- */

/* ---------- Onde estamos (V07, reworked in L04) ---------- */

/* The app's block: a white card, the words in 2/5 and the map in 3/5 from
   768px, one line per fact with its icon, the directions button under the
   address, the map loaded on render. */
.where-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 1.5rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

/* The heading sits inside the card, as the app's block draws it (`text-xl
   font-semibold`), followed directly by the lines (`mt-3`). */
.where-heading {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: var(--color-foreground);
}

.where-lines {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.where-line {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  color: var(--color-foreground);
}

.where-line svg {
  width: 1rem;
  height: 1rem;
  flex: none;
  margin-top: 0.125rem;
  color: var(--color-primary);
}

.where-line a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.where-line a:hover {
  color: var(--color-primary);
}

.where-address {
  font-style: normal;
}

.where-address span {
  display: block;
}

.where-directions {
  margin-top: 0.75rem;
}

.where-directions svg {
  width: 1rem;
  height: 1rem;
}

/* 16:10 with a floor of 240px on a phone; the column's height from 768px. */
.where-map-frame {
  display: flex;
  /* A definite width, or the min-height would grow the width through the ratio. */
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 240px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-accent-bg);
}

@media (min-width: 768px) {
  .where-map-frame {
    aspect-ratio: auto;
    height: 100%;
    min-height: 280px;
  }
}

.where-map-frame iframe {
  flex: 1;
  width: 100%;
  border: 0;
}

.where-map-note {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--color-muted);
}

.where-map-note a {
  text-decoration: underline;
}

.where-map-note a:hover {
  color: var(--color-foreground);
}

.contact-block {
  margin-top: 3rem;
}

.contact-block .section-head h3 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

/* ---------- Contact form ---------- */

.contact-wrap {
  max-width: 34rem;
  margin: 0 auto;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-row {
  margin-bottom: 1.1rem;
}

.form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) - 4px);
  font: inherit;
  color: var(--color-foreground);
  background: #fff;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 1px;
  border-color: var(--color-primary);
}

.form-row textarea {
  resize: vertical;
  min-height: 6rem;
}

.field-error {
  color: #b91c1c;
  font-size: 0.8rem;
  margin-top: 0.3rem;
  display: none;
}

.field-error.is-visible {
  display: block;
}

/* Honeypot: visually hidden but present in the DOM/tab order excluded. */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-banner {
  display: none;
  border-radius: calc(var(--radius) - 4px);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  margin-bottom: 1.1rem;
}

.form-banner.is-visible {
  display: block;
}

.form-banner.success {
  background: var(--color-accent-bg);
  color: var(--color-accent-fg);
  border: 1px solid var(--color-primary-light);
}

.form-banner.error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-foreground);
  color: #fff;
}

/* The app's Footer: `py-12` inside the container, three columns from 768px,
   `text-sm` links, icons on the contact lines, a hairline above the copyright. */
.footer-inner {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.footer-grid h3 {
  color: var(--color-primary-light);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #9ca3af;
}

.footer-grid li {
  margin-bottom: 0.5rem;
}

.footer-grid li:last-child {
  margin-bottom: 0;
}

.footer-grid li.with-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-grid li.with-icon svg {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.footer-grid a {
  text-decoration: none;
  color: inherit;
  transition: color 0.15s ease;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-wordmark {
  display: flex;
  align-items: center;
  margin: 0 0 1rem;
}

/* The lockup in white on the dark footer (B50). */
.footer-wordmark a {
  display: inline-flex;
  color: #fff;
}

.footer-tagline {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.25rem;
  max-width: 20rem;
  margin: 0;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.footer-bottom a {
  text-decoration: underline;
  color: inherit;
}

/* ---------- Privacy placeholder page ---------- */

.legal-page {
  max-width: 42rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.legal-page p {
  color: var(--color-muted);
  line-height: 1.7;
}

/* ---------- Responsive ---------- */

@media (max-width: 767px) {
  .nav-links,
  .site-nav .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .where-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* S1.1 — the first photo is in the HTML (crawlers, no JavaScript); it fills
 * the gallery box exactly like a slide until room-gallery.js replaces it. */
.room-gallery > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* S1.4 — the facts line under the room name: text, not prose. */
.room-facts {
  margin: -0.5rem 0 0.75rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}
/* S1.4 — skip link: invisible until focused, then the primary button. */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 100;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-button);
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
}
/* S1.4 — the FAQ: native <details>, readable without JavaScript, styled as
 * the card list the app's design uses. */
.faq-list {
  max-width: 48rem;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-item summary {
  padding: 1rem 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-bg);
  color: var(--color-primary);
  font-weight: 700;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item summary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-button);
}
.faq-item p {
  margin: 0 0 1rem;
  color: var(--color-muted);
}
