/* ===== Miami Livin — recreation =====
   Palette pulled from the original site:
   orange  #FE9C0D   blue #1397c7 / #25b6ea   dark #353535
   maroon  #7f0a29   off-white #dcd7ca
   Fonts: Roboto Slab (display), Nunito Sans (body), Roboto (ui)
*/
:root {
  --orange: #FE9C0D;
  --blue:   #1397c7;
  --blue-l: #25b6ea;
  --dark:   #1c1c1c;
  --ink:    #353535;
  --maroon: #7f0a29;
  --cream:  #f6f3ec;
  --white:  #ffffff;
  --shadow: 0 18px 50px rgba(0,0,0,.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1140px, 90%); margin: 0 auto; }
.container.narrow { max-width: 760px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: linear-gradient(180deg, rgba(20,20,20,.85), rgba(20,20,20,0));
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: var(--dark);
  box-shadow: 0 4px 20px rgba(0,0,0,.35);
}
.header-inner {
  width: min(1240px, 94%); margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .6rem 0;
}
.logo img { height: 56px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul {
  list-style: none; display: flex; align-items: center; gap: 1.05rem;
}
.main-nav a {
  color: #fff; font-family: "Roboto", sans-serif; font-weight: 500;
  font-size: .72rem; letter-spacing: .04em; text-transform: uppercase;
  position: relative; padding: .25rem 0; white-space: nowrap;
}
.main-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--orange); transition: width .25s ease;
}
.main-nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: var(--orange); color: #1c1c1c !important;
  padding: .55rem 1rem; border-radius: 999px; font-weight: 700;
}
.nav-cta:hover { background: #ffb23e; }
.menu-btn {
  display: none; margin-left: auto; align-items: center; gap: .5rem;
  background: none; border: 0; color: #fff; cursor: pointer;
  font-family: "Roboto", sans-serif; text-transform: uppercase;
  letter-spacing: .08em; font-size: .8rem;
}
.menu-btn .bars, .menu-btn .bars::before, .menu-btn .bars::after {
  content: ""; display: block; width: 22px; height: 2px; background: #fff; position: relative;
}
.menu-btn .bars::before { position: absolute; top: -6px; }
.menu-btn .bars::after  { position: absolute; top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: "Roboto", sans-serif; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; font-size: .82rem;
  padding: .85rem 1.9rem; border-radius: 999px; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease; border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #1c1c1c; }
.btn-primary:hover { background: #ffb23e; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: grid; place-items: center;
  text-align: center; color: #fff; overflow: hidden;
  background: url("img/bg-fav-link.jpg") center/cover no-repeat fixed;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19,151,199,.55), rgba(20,20,20,.78));
}
.hero-content { position: relative; z-index: 2; padding: 0 1.2rem; max-width: 780px; }
.hero-kicker {
  font-family: "Roboto", sans-serif; text-transform: uppercase; letter-spacing: .35em;
  font-weight: 500; color: var(--orange); font-size: clamp(.8rem, 2vw, 1rem); margin-bottom: .4rem;
}
.hero-title {
  font-family: "Roboto Slab", serif; font-weight: 900;
  font-size: clamp(3rem, 11vw, 7rem); line-height: .95; letter-spacing: -.02em;
  text-shadow: 0 10px 40px rgba(0,0,0,.45);
}
.hero-sub {
  margin: 1.2rem auto 2rem; max-width: 540px; font-size: clamp(1rem, 2.4vw, 1.25rem);
  font-weight: 300; color: #f2f2f2;
}
.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px;
}
.scroll-cue::before {
  content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: #fff; border-radius: 2px; animation: cue 1.4s infinite;
}
@keyframes cue { 0%{opacity:0;transform:translate(-50%,0)} 50%{opacity:1} 100%{opacity:0;transform:translate(-50%,12px)} }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.eyebrow {
  display: inline-block; font-family: "Roboto", sans-serif; text-transform: uppercase;
  letter-spacing: .22em; font-size: .78rem; font-weight: 700; color: var(--orange);
  margin-bottom: .6rem;
}
.eyebrow.light { color: var(--orange); }
.section-title {
  font-family: "Roboto Slab", serif; font-weight: 700; line-height: 1.1;
  font-size: clamp(1.7rem, 4.5vw, 2.8rem); color: var(--ink); margin-bottom: .9rem;
}
.section-title.light { color: #fff; }
.section-lead { max-width: 620px; font-size: 1.08rem; color: #555; margin-bottom: 1.6rem; }
.section-lead.light { color: rgba(255,255,255,.9); }
.section-foot { margin-top: 1.6rem; font-family: "Roboto", sans-serif; text-transform: uppercase; letter-spacing: .15em; color: var(--blue); font-weight: 700; }

.section-town { background: var(--cream); text-align: center; }
.section-town .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Cards ---------- */
.cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 2rem;
}
.card {
  position: relative; aspect-ratio: 3/4; border-radius: 14px; overflow: hidden;
  background-size: cover; background-position: center; box-shadow: var(--shadow);
  display: flex; align-items: flex-end; transition: transform .3s ease;
}
.card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(127,10,41,.85));
  transition: background .3s ease;
}
.card:hover { transform: translateY(-6px); }
.card:hover::after { background: linear-gradient(180deg, rgba(19,151,199,.2) 20%, rgba(127,10,41,.92)); }
.card-label {
  position: relative; z-index: 2; width: 100%; padding: 1.1rem 1.2rem; color: #fff;
  font-family: "Roboto Slab", serif; font-weight: 700; font-size: 1.25rem;
}

/* ---------- Feature strips ---------- */
.section-light { background: #fff; }
.section-light.alt { background: var(--cream); }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.feature.reverse .feature-media { order: 2; }
.feature-media {
  aspect-ratio: 4/3; border-radius: 16px; background-size: cover; background-position: center;
  box-shadow: var(--shadow);
}
.feature-body p { color: #555; margin-bottom: 1.5rem; }

/* ---------- Reviewed ---------- */
.section-reviewed {
  text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-l) 100%);
}
.section-reviewed .section-title { color: #fff; }
.section-reviewed .section-lead { color: rgba(255,255,255,.92); margin: 0 auto; }

/* ---------- Marketing ---------- */
.section-marketing { background: var(--ink); color: #fff; text-align: center; }
.section-marketing .section-title { color: #fff; }
.section-marketing .section-lead { color: rgba(255,255,255,.85); margin: 0 auto; }

/* ---------- Favorite Links band ---------- */
.section-links {
  position: relative; color: #fff; text-align: center;
  background: url("img/menu-side-bar.jpg") center/cover no-repeat;
}
.links-overlay { position: absolute; inset: 0; background: rgba(127,10,41,.82); }
.section-links .container { position: relative; z-index: 2; }
.section-links .section-lead { margin: 0 auto 1.8rem; }
.link-pills { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.link-pills span {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35);
  padding: .5rem 1.1rem; border-radius: 999px; font-family: "Roboto", sans-serif;
  font-weight: 500; font-size: .85rem; letter-spacing: .04em;
}

/* ---------- Book / Newsletter ---------- */
.section-book { background: var(--orange); color: #1c1c1c; text-align: center; }
.section-book .section-title { color: #1c1c1c; }
.section-book .section-lead { color: #3a2a05; margin: 0 auto 1.8rem; }
.signup { display: flex; gap: .6rem; max-width: 480px; margin: 0 auto; flex-wrap: wrap; }
.signup input {
  flex: 1 1 240px; padding: .9rem 1.2rem; border: 0; border-radius: 999px;
  font-size: 1rem; font-family: "Nunito Sans", sans-serif;
}
.signup .btn-primary { background: #1c1c1c; color: #fff; }
.signup .btn-primary:hover { background: #000; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #cfcfcf; padding-top: 3.5rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem;
}
.footer-brand img { height: 54px; margin-bottom: .8rem; }
.footer-brand p { color: #8f8f8f; font-style: italic; }
.site-footer h4 {
  font-family: "Roboto", sans-serif; text-transform: uppercase; letter-spacing: .12em;
  font-size: .82rem; color: var(--orange); margin-bottom: .9rem;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .5rem; }
.site-footer li a { color: #cfcfcf; font-size: .92rem; transition: color .2s ease; }
.site-footer li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); text-align: center;
  padding: 1.4rem 0; font-size: .82rem; color: #7d7d7d;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature.reverse .feature-media { grid-template-columns: 1fr; order: 0; }
  .feature.reverse .feature-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1080px) {
  .menu-btn { display: flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--dark);
    max-height: 0; overflow: hidden; transition: max-height .35s ease; margin-left: 0;
  }
  .main-nav.open { max-height: 680px; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 0; }
  .main-nav li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav a { display: block; padding: .9rem 1.5rem; white-space: normal; }
  .nav-cta { border-radius: 0; text-align: center; }
}
@media (max-width: 768px) {
  .hero { background-attachment: scroll; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===================================================================
   Subpages
   =================================================================== */
.main-nav a.active { color: var(--orange); }
.main-nav a.active::after { width: 100%; }

/* Page banner (compact hero for interior pages) */
.page-banner {
  position: relative; padding: clamp(7rem, 16vw, 10rem) 0 clamp(3rem, 7vw, 4.5rem);
  color: #fff; text-align: center; overflow: hidden;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-l) 60%, var(--orange) 160%);
}
.page-banner.img { background: var(--ink); }
.page-banner .pb-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .42;
}
.page-banner .pb-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,20,.35), rgba(20,20,20,.7)); }
.page-banner .container { position: relative; z-index: 2; }
.page-banner .eyebrow { color: var(--orange); }
.page-banner h1 {
  font-family: "Roboto Slab", serif; font-weight: 900; line-height: 1.05;
  font-size: clamp(2.2rem, 6vw, 3.6rem); text-shadow: 0 8px 30px rgba(0,0,0,.4);
}
.page-banner p { max-width: 640px; margin: .9rem auto 0; font-size: 1.1rem; font-weight: 300; color: #f3f3f3; }

/* Prose / content blocks */
.prose { max-width: 760px; }
.prose p { margin-bottom: 1.1rem; color: #444; font-size: 1.06rem; }
.prose h2 { font-family: "Roboto Slab", serif; margin: 2rem 0 .8rem; color: var(--ink); }
.prose ul { margin: 0 0 1.2rem 1.2rem; color: #444; }
.prose li { margin-bottom: .4rem; }

/* Generic listing grid (reviews, people, real estate, merch) */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
.tile {
  background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .25s ease;
}
.tile:hover { transform: translateY(-5px); }
.tile-media { aspect-ratio: 16/10; background-size: cover; background-position: center; background-color: #e8e3d8; }
.tile-body { padding: 1.3rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.tile-tag {
  font-family: "Roboto", sans-serif; text-transform: uppercase; letter-spacing: .14em;
  font-size: .7rem; font-weight: 700; color: var(--blue); margin-bottom: .5rem;
}
.tile h3 { font-family: "Roboto Slab", serif; font-size: 1.2rem; color: var(--ink); margin-bottom: .5rem; line-height: 1.25; }
.tile p { color: #555; font-size: .96rem; margin-bottom: 1rem; }
.tile .price { margin-top: auto; font-family: "Roboto Slab", serif; font-weight: 700; color: var(--maroon); font-size: 1.15rem; }
.rating { color: var(--orange); letter-spacing: 2px; margin-bottom: .4rem; }

/* Gallery (Out on the Town) */
.gallery { columns: 3; column-gap: 1rem; }
.gallery figure { break-inside: avoid; margin: 0 0 1rem; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.gallery img { width: 100%; display: block; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: .8rem 1rem; color: #fff;
  font-family: "Roboto Slab", serif; font-weight: 700;
  background: linear-gradient(180deg, transparent, rgba(127,10,41,.85));
}

/* Live feed grid (Events / News) */
.feed-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-bottom: 1.6rem; flex-wrap: wrap;
}
.live-dot {
  display: inline-flex; align-items: center; gap: .5rem; font-family: "Roboto", sans-serif;
  text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: var(--maroon);
}
.live-dot::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: #e0245e;
  box-shadow: 0 0 0 0 rgba(224,36,94,.6); animation: pulse 1.8s infinite;
}
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(224,36,94,.55)} 70%{box-shadow:0 0 0 10px rgba(224,36,94,0)} 100%{box-shadow:0 0 0 0 rgba(224,36,94,0)} }
[data-feed-updated] { font-size: .82rem; color: #888; font-family: "Roboto", sans-serif; }

.feed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.feed-grid.compact { grid-template-columns: repeat(3, 1fr); }
.ev-card {
  background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .25s ease;
}
.ev-card:hover { transform: translateY(-5px); }
.ev-media { aspect-ratio: 16/9; background-size: cover; background-position: center; background-color: #cfd8dd; }
.ev-media--ph { background: linear-gradient(135deg, var(--blue), var(--blue-l)); position: relative; }
.ev-media--ph::after {
  content: "MiamiLivin"; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: "Roboto Slab", serif; font-weight: 900; color: rgba(255,255,255,.55); font-size: 1.1rem; letter-spacing: .04em;
}
.ev-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .45rem; }
.ev-source { font-family: "Roboto", sans-serif; text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; font-weight: 700; color: var(--blue); }
.ev-time { color: #999; }
.ev-body h3 { font-family: "Roboto Slab", serif; font-size: 1.05rem; line-height: 1.3; color: var(--ink); }
.ev-body p { font-size: .9rem; color: #666; line-height: 1.45; }
.ev-loading { grid-column: 1/-1; text-align: center; padding: 3rem 1rem; color: #888; font-size: 1.05rem; }
.ev-loading a { color: var(--blue); font-weight: 700; }

/* Horizontal scroll rail */
.feed-rail-wrap { position: relative; }
.feed-rail {
  display: flex; gap: 1.4rem; overflow-x: auto; padding: .5rem .25rem 1.4rem;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
}
.feed-rail .ev-card { flex: 0 0 320px; max-width: 320px; scroll-snap-align: start; }
.feed-rail .ev-loading { flex: 1 0 100%; }
.feed-rail::-webkit-scrollbar { height: 8px; }
.feed-rail::-webkit-scrollbar-track { background: rgba(0,0,0,.06); border-radius: 999px; }
.feed-rail::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 999px; }
.feed-rail { scrollbar-color: var(--blue) rgba(0,0,0,.06); scrollbar-width: thin; }

.rail-btn {
  position: absolute; top: 42%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--ink); box-shadow: 0 6px 20px rgba(0,0,0,.18);
  font-size: 1.5rem; line-height: 1; display: grid; place-items: center;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.rail-btn:hover { background: var(--orange); color: #1c1c1c; transform: translateY(-50%) scale(1.06); }
.rail-prev { left: -14px; }
.rail-next { right: -14px; }
@media (max-width: 760px) { .rail-btn { display: none; } .feed-rail .ev-card { flex-basis: 78%; max-width: 78%; } }

/* Contact / book */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-form { display: grid; gap: .9rem; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: .85rem 1.1rem; border: 1px solid #ddd; border-radius: 10px;
  font-size: 1rem; font-family: "Nunito Sans", sans-serif;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-info h4 { font-family: "Roboto Slab", serif; color: var(--ink); margin-bottom: .3rem; }
.contact-info p { color: #555; margin-bottom: 1.2rem; }

.cta-band { background: var(--orange); color: #1c1c1c; text-align: center; }
.cta-band .section-title { color: #1c1c1c; }

@media (max-width: 900px) {
  .grid-3, .feed-grid, .feed-grid.compact { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 2; }
  .contact-grid, .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-3, .grid-2, .feed-grid, .feed-grid.compact { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
}

/* ===================================================================
   Itinerary detail pages
   =================================================================== */
.tile.linktile { text-decoration: none; }
.tile .tile-go {
  margin-top: auto; font-family: "Roboto", sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; color: var(--blue);
}
.tile:hover .tile-go { color: var(--orange); }

.crumbs { font-family: "Roboto", sans-serif; font-size: .8rem; letter-spacing: .04em; }
.crumbs a { color: rgba(255,255,255,.85); text-transform: uppercase; }
.crumbs a:hover { color: #fff; }

.itin { max-width: 840px; margin: 0 auto; }
.itin-meta { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.4rem; }
.itin-meta .chip {
  background: var(--cream); border: 1px solid #e7e1d4; border-radius: 999px;
  padding: .45rem 1rem; font-family: "Roboto", sans-serif; font-size: .82rem; color: var(--ink);
}
.itin-meta .chip b { color: var(--maroon); }

.itin-day { margin-bottom: 2.6rem; }
.itin-day-label {
  display: inline-block; background: var(--blue); color: #fff; border-radius: 8px;
  font-family: "Roboto Slab", serif; font-weight: 700; padding: .35rem .9rem; margin-bottom: 1.3rem;
}
.itin-timeline { position: relative; margin-left: .5rem; padding-left: 1.9rem; border-left: 3px solid #e7e1d4; }
.itin-stop { position: relative; padding-bottom: 1.7rem; }
.itin-stop:last-child { padding-bottom: 0; }
.itin-stop::before {
  content: ""; position: absolute; left: -2.42rem; top: .25rem; width: 15px; height: 15px;
  border-radius: 50%; background: var(--orange); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--orange);
}
.itin-time {
  font-family: "Roboto", sans-serif; text-transform: uppercase; letter-spacing: .1em;
  font-size: .72rem; font-weight: 700; color: var(--orange); margin-bottom: .15rem;
}
.itin-stop h4 { font-family: "Roboto Slab", serif; font-size: 1.18rem; color: var(--ink); margin-bottom: .3rem; }
.itin-stop p { color: #555; font-size: 1rem; }
.itin-stop .spot { color: var(--blue); font-weight: 700; }

.itin-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }
