/* ============================================================
   TheMiamiHub.com — Miami beachy theme
   Coral #FF6B6B · Ocean teal #00B4D8 · Sand #F4E4C1 · Navy #0D2137
   Playfair Display (headings) + Montserrat (body)
   ============================================================ */

:root {
  --coral:       #FF6B6B;
  --coral-dark:  #E85555;
  --coral-soft:  #FFF0EE;
  --teal:        #00B4D8;
  --teal-dark:   #0890AC;
  --teal-soft:   #E8F8FC;
  --sand:        #F4E4C1;
  --sand-soft:   #FBF6EA;
  --navy:        #0D2137;
  --navy-soft:   #16334F;
  --white:       #FFFFFF;
  --off-white:   #FDFCF9;
  --text:        #1A2433;
  --text-muted:  #5A6A7A;
  --border:      #EDE8DC;
  --card-shadow: 0 4px 24px rgba(13, 33, 55, .07);
  --card-shadow-hover: 0 10px 36px rgba(13, 33, 55, .13);
  --radius:      14px;
  --radius-sm:   8px;
  --maxw:        1140px;
  --font-display:'Playfair Display', Georgia, serif;
  --font-body:   'Montserrat', -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--teal-dark); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); color: var(--navy); line-height: 1.2; }
h1 { font-size: clamp(34px, 5.5vw, 54px); font-weight: 900; }
h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal);
  display: block; margin-bottom: 12px;
}
.eyebrow.coral { color: var(--coral); }

/* ── Header ─────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 252, 249, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: var(--font-display); font-size: 22px; font-weight: 900;
  color: var(--navy); text-decoration: none; letter-spacing: -.3px;
}
.logo span { color: var(--coral); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  font-size: 13px; font-weight: 600; color: var(--text);
  text-decoration: none; transition: color .15s;
}
.site-nav a:hover { color: var(--coral); }
.nav-cta {
  background: var(--coral); color: #fff !important;
  padding: 9px 20px; border-radius: 50px;
  transition: background .15s !important;
}
.nav-cta:hover { background: var(--coral-dark); color: #fff !important; }

/* mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .2s; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--off-white); flex-direction: column; align-items: stretch;
    padding: 12px 24px 20px; gap: 0; border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(13,33,55,.08);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 4px; border-bottom: 1px solid var(--border); }
  .site-nav a:last-child { border-bottom: none; }
  .nav-cta { text-align: center; margin-top: 12px; border-radius: var(--radius-sm); }
}

/* ── Hero (photo immersive) ─────────────────────── */
.hero {
  position: relative; min-height: 540px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff; overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 65%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,33,55,.46) 0%, rgba(13,33,55,.30) 45%, rgba(13,33,55,.62) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 90px 24px 110px; max-width: 760px; }
.hero .eyebrow { color: var(--sand); }
.hero h1 { color: #fff; margin-bottom: 18px; text-shadow: 0 2px 18px rgba(13,33,55,.4); }
.hero h1 em { font-style: normal; color: var(--coral); }
.hero p {
  font-size: 17px; color: rgba(255,255,255,.88);
  max-width: 540px; margin: 0 auto 30px;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; font-family: var(--font-body);
  font-size: 14px; font-weight: 700; text-decoration: none;
  padding: 14px 32px; border-radius: 50px; cursor: pointer;
  border: none; transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 6px 20px rgba(255,107,107,.35); }
.btn-coral:hover { background: var(--coral-dark); }
.btn-ghost {
  background: rgba(255,255,255,.14); color: #fff;
  border: 1.5px solid rgba(255,255,255,.45); backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); }
.btn-outline {
  background: transparent; color: var(--coral);
  border: 1.5px solid var(--coral);
}
.btn-outline:hover { background: var(--coral-soft); }

.hero-chips {
  position: absolute; bottom: 26px; left: 0; right: 0; z-index: 2;
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; padding: 0 16px;
}
.hero-chip {
  font-size: 12px; font-weight: 600; padding: 7px 18px;
  background: rgba(255,255,255,.13); color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.28); border-radius: 50px;
  text-decoration: none; backdrop-filter: blur(6px); transition: background .15s;
}
.hero-chip:hover { background: rgba(255,107,107,.85); border-color: transparent; }

/* ── Stat strip ─────────────────────────────────── */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
  background: var(--sand-soft);
}
.stat-item { text-align: center; padding: 22px 10px; }
.stat-item + .stat-item { border-left: 1px solid var(--border); }
.stat-n { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--navy); }
.stat-l { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
@media (max-width: 640px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(3) { border-left: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--border); }
}

/* ── Sections ───────────────────────────────────── */
.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head p { color: var(--text-muted); margin-top: 12px; }
.section-alt { background: var(--white); }
.section-sand { background: var(--sand-soft); }

/* ── Neighborhood cards ─────────────────────────── */
.hood-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 900px) { .hood-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .hood-grid { grid-template-columns: 1fr; } }

.hood-card {
  border-radius: var(--radius); overflow: hidden;
  background: var(--white); box-shadow: var(--card-shadow);
  text-decoration: none; display: block;
  transition: transform .2s, box-shadow .2s;
}
.hood-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.hood-img {
  height: 170px; background-size: cover; background-position: center;
  position: relative; display: flex; align-items: flex-end; padding: 14px 18px;
}
.hood-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,33,55,.72) 0%, rgba(13,33,55,.06) 55%);
}
.hood-img h3 { position: relative; z-index: 1; color: #fff; font-size: 21px; }
.hood-body { padding: 16px 18px 18px; border-top: 3px solid var(--accent, var(--coral)); }
.hood-tag { font-size: 12px; font-weight: 700; color: var(--accent, var(--coral)); margin-bottom: 6px; }
.hood-desc { font-size: 13px; color: var(--text-muted); line-height: 1.65; }
.hood-count {
  display: inline-block; margin-top: 12px;
  font-size: 12px; font-weight: 700; color: var(--navy);
  background: var(--sand-soft); padding: 4px 12px; border-radius: 50px;
}

/* ── Trip tools ─────────────────────────────────── */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .tools-grid { grid-template-columns: 1fr; } }
.tool-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  text-decoration: none; display: block;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); border-color: var(--teal); }
.tool-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--teal-soft); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.tool-icon.coral { background: var(--coral-soft); color: var(--coral); }
.tool-icon svg { width: 26px; height: 26px; }
.tool-card h3 { margin-bottom: 8px; font-family: var(--font-body); font-size: 16px; font-weight: 700; }
.tool-card p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }
.tool-cta { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--teal-dark); }

/* ── Hotel cards ────────────────────────────────── */
.hotel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .hotel-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .hotel-grid { grid-template-columns: 1fr; } }

.hotel-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--card-shadow); display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.hotel-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.hotel-img { height: 185px; background-size: cover; background-position: center; position: relative; }
.hotel-stars {
  position: absolute; top: 12px; right: 12px;
  background: rgba(13,33,55,.78); color: var(--sand);
  font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 50px;
  backdrop-filter: blur(4px);
}
.hotel-area-pill {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(255,255,255,.92); color: var(--navy);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 4px 12px; border-radius: 50px;
}
.hotel-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.hotel-body h3 { font-size: 18px; margin-bottom: 8px; }
.hotel-note { font-size: 13px; color: var(--text-muted); line-height: 1.65; flex: 1; }
.hotel-actions { margin-top: 16px; }
.hotel-btn {
  display: block; text-align: center;
  background: var(--coral); color: #fff; text-decoration: none;
  font-size: 13px; font-weight: 700; padding: 12px;
  border-radius: var(--radius-sm); transition: background .15s;
}
.hotel-btn:hover { background: var(--coral-dark); }

/* ── See-all banner ─────────────────────────────── */
.seeall-banner {
  background: linear-gradient(115deg, var(--navy) 0%, #11405c 55%, #0a5a66 100%);
  border-radius: var(--radius); padding: 44px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.seeall-banner h2 { color: #fff; }
.seeall-banner p { color: rgba(255,255,255,.78); font-size: 14px; margin-top: 8px; max-width: 460px; }

/* ── Newsletter ─────────────────────────────────── */
.newsletter {
  background: var(--navy); color: #fff;
  padding: 60px 0;
}
.newsletter h2 { color: #fff; }
.newsletter .nl-sub { color: rgba(255,255,255,.72); font-size: 14px; margin: 10px 0 26px; }
.nl-form { max-width: 520px; }
.nl-row { display: flex; gap: 10px; }
.nl-input {
  flex: 1; font-family: var(--font-body); font-size: 14px;
  padding: 14px 18px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.09); color: #fff;
}
.nl-input::placeholder { color: rgba(255,255,255,.5); }
.nl-input:focus { outline: 2px solid var(--teal); border-color: transparent; }
.nl-btn {
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  padding: 14px 26px; background: var(--coral); color: #fff;
  border: none; border-radius: var(--radius-sm); cursor: pointer;
  white-space: nowrap; transition: background .15s;
}
.nl-btn:hover { background: var(--coral-dark); }
.nl-choices { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.nl-choice {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,.85); cursor: pointer;
}
.nl-choice input { margin-top: 3px; accent-color: var(--coral); width: 16px; height: 16px; }
.nl-choice b { color: #fff; }
.nl-msg { margin-top: 14px; font-size: 13px; font-weight: 600; display: none; }
.nl-msg.ok { color: #7BE3C0; display: block; }
.nl-msg.err { color: #FF9B9B; display: block; }
@media (max-width: 520px) { .nl-row { flex-direction: column; } }

/* ── Content pages (guides, packing lists, legal) ── */
.page-hero {
  background: linear-gradient(115deg, var(--navy) 0%, #14486a 60%, var(--teal-dark) 130%);
  color: #fff; text-align: center; padding: 72px 24px 64px;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 580px; margin: 14px auto 0; }

.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin: 44px 0 16px; }
.prose h3 { margin: 30px 0 10px; }
.prose p { margin-bottom: 16px; color: var(--text); }
.prose ul, .prose ol { margin: 0 0 18px 24px; }
.prose li { margin-bottom: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.prose th { background: var(--sand-soft); text-align: left; padding: 11px 14px; border: 1px solid var(--border); font-weight: 700; color: var(--navy); }
.prose td { padding: 11px 14px; border: 1px solid var(--border); }

/* checklist */
.checklist { list-style: none; margin: 0 0 24px 0 !important; }
.checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 14px; margin: 0 0 8px 0 !important;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.checklist input { margin-top: 4px; accent-color: var(--teal); width: 17px; height: 17px; flex-shrink: 0; cursor: pointer; }
.checklist label { cursor: pointer; font-size: 14px; }
.checklist label b { color: var(--navy); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); margin-bottom: 10px; padding: 0 20px;
}
.faq summary {
  font-weight: 700; font-size: 15px; color: var(--navy);
  padding: 16px 0; cursor: pointer; list-style: none; position: relative;
}
.faq summary::after { content: '+'; position: absolute; right: 0; color: var(--coral); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 16px; font-size: 14px; color: var(--text-muted); }

/* print */
@media print {
  .site-header, .site-footer, .newsletter, .no-print, .hero-chips { display: none !important; }
  body { background: #fff; }
  .page-hero { background: none; color: var(--navy); padding: 20px 0; }
  .page-hero h1, .page-hero p { color: var(--navy); }
}

/* ── Breadcrumbs ────────────────────────────────── */
.breadcrumbs { font-size: 12px; color: var(--text-muted); padding: 18px 0 0; }
.breadcrumbs a { color: var(--teal-dark); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ── Footer ─────────────────────────────────────── */
.site-footer {
  background: var(--navy); color: rgba(255,255,255,.6);
  padding: 52px 0 32px; font-size: 13px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand .logo { color: #fff; font-size: 20px; }
.footer-brand p { margin-top: 12px; line-height: 1.7; max-width: 280px; }
.site-footer h4 {
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--sand);
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255,255,255,.65); text-decoration: none; }
.site-footer a:hover { color: var(--coral); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: 12px;
}

/* ── Cookie banner ──────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 200;
  max-width: 480px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: 0 12px 40px rgba(13,33,55,.18);
  padding: 20px 22px; display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-btn {
  flex: 1; font-family: var(--font-body); font-size: 13px; font-weight: 600;
  padding: 10px; border-radius: var(--radius-sm); cursor: pointer; border: none;
}
.cookie-accept { background: var(--navy); color: #fff; }
.cookie-decline { background: var(--sand-soft); color: var(--text); border: 1px solid var(--border); }

/* ── Forms (contact) ────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 640px; margin: 0 auto; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 580px) { .form-grid { grid-template-columns: 1fr; } }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font-family: var(--font-body); font-size: 14px;
  padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--white); color: var(--text);
}
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--teal); border-color: transparent; }
.form-field textarea { min-height: 130px; resize: vertical; }

/* honeypot — visually hidden */
.hp-wrap { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
