/* ==========================================================
   Boutique Hotels Miami — styles
   Palette: Miami night, flamingo pink, aqua, sunset orange,
   Art Deco sand. Fonts: DM Serif Display + Manrope.
   ========================================================== */
:root {
  --ink: #2e2a4f;
  --ink-2: #4a4568;
  --muted: #736e8c;
  --flamingo: #f6a6c6;
  --flamingo-d: #c9497f;
  --aqua: #a6e4e0;
  --aqua-d: #2b8f8b;
  --sun: #ffc9a3;
  --lemon: #fff0a6;
  --lilac: #d8ccf3;
  --sand: #fffaf5;
  --shell: #fdece6;
  --white: #ffffff;
  --line: #eadfd6;
  --radius: 18px;
  --shadow: 0 18px 40px -24px rgba(46, 42, 79, .35);
  --wrap: 1180px;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--flamingo-d); }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--flamingo-d); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 62ch; }

/* Miami Vice stripes divider */
.stripes { height: 14px; background:
  linear-gradient(to bottom,
    var(--flamingo) 0 25%, var(--sand) 25% 37.5%,
    var(--sun) 37.5% 62.5%, var(--sand) 62.5% 75%,
    var(--aqua) 75% 100%); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 800 .98rem/1 var(--sans); letter-spacing: .01em;
  padding: 15px 22px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--flamingo); color: var(--ink); box-shadow: 0 10px 24px -14px #e27aa6; }
.btn-primary:hover { background: #f28db6; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-aqua { background: var(--aqua); color: var(--ink); }
.btn-aqua:hover { background: var(--ink); color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 245, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 46px; height: 46px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font: 400 1.32rem/1 var(--serif); color: #2f8a94; }
.brand-text small { font-size: .66rem; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: #e98f98; margin-top: 5px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; }
.site-nav a:hover { color: var(--flamingo-d); }
.site-nav .btn { padding: 11px 18px; font-size: .9rem; color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; border-radius: 10px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; transition: .2s; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--ink);
  background:
    radial-gradient(circle at 78% 112%, rgba(255, 240, 166, 1) 0 15%, rgba(255, 240, 166, 0) 33%),
    linear-gradient(180deg, #dcd2f6 0%, #ecd3ef 30%, #f8cfdf 58%, #ffd6c2 82%, #ffe7b0 100%);
  padding: 72px 0 110px;
}
.hero::after { /* sun lines */
  content: ""; position: absolute; left: 50%; bottom: -1px; width: 760px; max-width: 120%; height: 230px;
  transform: translateX(-10%);
  background: repeating-linear-gradient(to bottom, transparent 0 16px, rgba(255, 255, 255, .75) 16px 22px);
  -webkit-mask: radial-gradient(ellipse at 50% 100%, #000 0 60%, transparent 61%);
          mask: radial-gradient(ellipse at 50% 100%, #000 0 60%, transparent 61%);
  opacity: .5; pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 56px; align-items: center; }
.hero .eyebrow { color: var(--flamingo-d); }
.hero-logo { display: block; width: clamp(220px, 28vw, 330px); height: auto; margin: -14px 0 18px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--flamingo-d); }
.hero .lead { color: var(--ink-2); font-size: 1.18rem; }
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.trust li { display: flex; gap: 12px; align-items: center; font-weight: 700; }
.trust li::before {
  content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1442' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4L19 7'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* search card */
.search-card {
  background: var(--white); color: var(--ink);
  border-radius: 26px; padding: 30px;
  box-shadow: 0 30px 70px -34px rgba(46, 42, 79, .45);
  position: relative;
}
.search-card::before { /* deco top band */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 8px; border-radius: 26px 26px 0 0;
  background: linear-gradient(90deg, var(--flamingo), var(--sun), var(--lemon), var(--aqua), var(--lilac));
}
.search-card h2 { font-size: 1.7rem; margin-bottom: 4px; }
.search-card .sub { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select {
  font: 600 1rem var(--sans); color: var(--ink);
  border: 2px solid var(--line); background: var(--sand);
  border-radius: 12px; padding: 12px 14px; width: 100%; min-height: 50px;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1442' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--aqua); background: #fff; }
.row-2 { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; }
.hero-grid > *, .row-2 > *, .field input { min-width: 0; }
.search-card form { display: grid; gap: 14px; }
.search-card .btn { width: 100%; padding: 17px; font-size: 1.02rem; margin-top: 4px; }
.form-error { margin: 0; color: #b00052; font-weight: 700; font-size: .92rem; }
.fine { font-size: .8rem; color: var(--muted); margin: 6px 0 0; text-align: center; }

/* ---------- sections ---------- */
section { padding: 92px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 38px; flex-wrap: wrap; }
.section-head .lead { margin-bottom: 0; }

/* neighborhoods */
.areas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.area {
  position: relative; text-align: left; border: 0; padding: 0; cursor: pointer;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); font: inherit; color: inherit;
  display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch;
  transition: transform .2s ease, box-shadow .2s ease;
}
.area:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -24px rgba(29, 20, 66, .55); }
.area-media { aspect-ratio: 4 / 5; position: relative; overflow: hidden; }
.area-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.area-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.area-count { margin-top: auto; }
.area-body h3 { font-size: 1.3rem; margin-bottom: 4px; }
.area-body p { font-size: .9rem; color: var(--muted); margin: 0 0 10px; }
.area-count { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--flamingo-d); }

/* placeholder art slots (until real photos are added) */
.ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(46, 42, 79, .55); }
.ph::after { /* deco sun-rays */
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0) 0 18px, rgba(255,255,255,.35) 18px 22px);
  -webkit-mask: linear-gradient(to top, #000 0 45%, transparent 75%); mask: linear-gradient(to top, #000 0 45%, transparent 75%);
}
.ph span { position: relative; z-index: 1; font: 400 2.6rem/1 var(--serif);  }
.g-south-beach   { background: linear-gradient(160deg, #f8b4cf 0%, #ffd1b3 100%); }
.g-mid-beach     { background: linear-gradient(160deg, #a9e6e2 0%, #c6dcfb 100%); }
.g-mimo          { background: linear-gradient(160deg, #ffd3b0 0%, #fff0a6 100%); }
.g-coconut-grove { background: linear-gradient(160deg, #bfead2 0%, #a6e4e0 100%); }
.g-coral-gables  { background: linear-gradient(160deg, #d8ccf3 0%, #f8c4d8 100%); }

/* ---------- hotels ---------- */
.hotels-section { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filters { display: grid; gap: 14px; margin-bottom: 34px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-label { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 6px; min-width: 96px; }
.chip {
  font: 700 .9rem var(--sans); color: var(--ink);
  background: var(--sand); border: 2px solid var(--line);
  padding: 8px 15px; border-radius: 999px; cursor: pointer; transition: .15s;
}
.chip:hover { border-color: #b9a9ea; }
.chip.is-on { background: var(--lilac); border-color: #b9a9ea; color: var(--ink); }
.filter-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; color: var(--ink-2); font-size: .95rem; }
.linklike { background: none; border: 0; padding: 0; font: 700 .92rem var(--sans); color: var(--flamingo-d); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.hotel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.hotel {
  display: flex; flex-direction: column;
  background: var(--sand); border-radius: 22px; padding: 14px 14px 22px;
  border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease;
}
.hotel:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.hotel[hidden] { display: none; }
.hotel-media {
  position: relative; aspect-ratio: 4 / 3.3; overflow: hidden;
  border-radius: 999px 999px 14px 14px; /* true arch */
}
.hotel-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.hotel-tag-area {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  background: rgba(255, 255, 255, .94); color: var(--ink);
  font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px;
}
.hotel-body { padding: 18px 8px 0; display: flex; flex-direction: column; flex: 1; }
.hotel-body h3 { margin-bottom: 6px; }
.hotel-address { font-size: .86rem; color: var(--muted); margin-bottom: 12px; display: flex; gap: 6px; align-items: baseline; }
.hotel-body p { font-size: .97rem; color: var(--ink-2); }
.tags { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.tags li.size { background: #e6f7f5; border-color: #c4ebe7; color: #24716d; }
.hotel-cta { margin-top: auto; display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.hotel-cta .btn { padding: 12px 18px; font-size: .92rem; }
.hotel-cta small { font-size: .76rem; color: var(--muted); }
.hotel-empty { text-align: center; padding: 40px; color: var(--muted); }

/* ---------- criteria ---------- */
.criteria { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.criteria-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.criteria-list li { background: var(--white); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.criteria-list b { display: block; font: 400 1.25rem/1.2 var(--serif); margin-bottom: 6px; }
.criteria-list span { color: var(--muted); font-size: .95rem; }
.criteria-list .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--shell); color: var(--flamingo-d); font-weight: 800; margin-bottom: 12px; }

/* ---------- experiences ---------- */
.experiences { padding: 0; }
.exp-card {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
  background: linear-gradient(120deg, #bfeee9 0%, #d8ccf3 100%);
  border-radius: 30px; padding: 54px 56px; position: relative; overflow: hidden;
}
.exp-card::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(255,255,255,.22) 0 10px, transparent 10px 22px);
}
.exp-card h2 { color: var(--ink); }
.exp-card p { color: var(--ink-2); font-size: 1.08rem; max-width: 52ch; }
.exp-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; position: relative; z-index: 1; }
.exp-list li { background: rgba(255, 255, 255, .85); border-radius: 14px; padding: 14px 18px; font-weight: 700; display: flex; justify-content: space-between; }
.exp-list li span { color: var(--muted); font-weight: 600; font-size: .9rem; }
.exp-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.exp-actions small { color: var(--ink-2); font-size: .82rem; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; background: var(--white); border-radius: var(--radius); padding: 34px 28px 28px; border: 1px solid var(--line); }
.step::before {
  counter-increment: s; content: counter(s);
  font: 400 3.4rem/1 var(--serif); color: transparent;
  -webkit-text-stroke: 1.5px var(--flamingo-d); display: block; margin-bottom: 14px;
}
.step p { color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq-section { background: var(--shell); }
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: 16px; padding: 0 24px; border: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 34px 20px 0; position: relative;
  font: 400 1.22rem/1.3 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 700 1.6rem/1 var(--sans); color: var(--flamingo-d); transition: .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 20px; margin: 0; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lead { margin-inline: auto; }

/* ---------- footer ---------- */
.site-footer { background: var(--shell); color: var(--ink-2); padding: 64px 0 34px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }

.site-footer h4 { color: var(--ink); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--flamingo-d); }
.footer-logo { display: inline-block; margin-bottom: 14px; }
.footer-logo img { width: 220px; height: auto; }
.footer-bottom { border-top: 1px solid #f0d6cc; margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .84rem; }

/* ---------- legal page ---------- */
.legal { padding: 70px 0 90px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.legal h2 { font-size: 1.6rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--ink-2); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .areas { grid-template-columns: repeat(3, 1fr); }
  .hotel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid, .criteria, .exp-card { grid-template-columns: minmax(0,1fr); }
  .hero { padding: 48px 0 80px; }
  .hero-grid { gap: 36px; }
  .exp-card { padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--sand); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 14px; border: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .areas { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .area-media { aspect-ratio: 1 / 1; }
  .hotel-grid, .steps, .criteria-list { grid-template-columns: 1fr; }
  .search-card { padding: 24px 20px; }
  .filter-label { min-width: 100%; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.search-perks { list-style: none; padding: 0; margin: 2px 0 0; display: grid; gap: 6px; font-size: .9rem; color: var(--ink-2); }
.search-perks li { display: flex; gap: 8px; align-items: center; }
.search-perks li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--aqua); }
.exp-actions .btn-ghost { box-shadow: inset 0 0 0 2px var(--ink); }
