/* ============================================================
   ATLFavs — Design System
   Red + White. Heart-forward. Bold editorial local-media vibe.
   ============================================================ */

:root {
  /* Brand */
  --red: #E11D48;
  --red-deep: #9F1239;
  --red-bright: #FF2D55;
  --red-soft: #FFE4E9;
  --red-tint: #FFF1F4;

  --ink: #1A1A1E;
  --ink-soft: #4A4A55;
  --muted: #8A8A98;
  --line: #ECECF1;
  --white: #ffffff;
  --cream: #FFF8F9;

  /* UI */
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(26,26,30,.06);
  --shadow: 0 12px 40px rgba(159,18,57,.10);
  --shadow-lg: 0 24px 70px rgba(159,18,57,.18);
  --maxw: 1180px;

  --font-display: 'Clash Display', 'Poppins', system-ui, sans-serif;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
section { padding: 72px 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); background: var(--red-soft);
  padding: 7px 14px; border-radius: var(--radius-pill);
}
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 620px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.grad { color: var(--red); background: linear-gradient(120deg, var(--red-bright), var(--red-deep)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: .98rem; cursor: pointer;
  padding: 14px 26px; border-radius: var(--radius-pill);
  border: 2px solid transparent; transition: .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: -.03em; }
.brand .heart { width: 30px; height: 30px; color: var(--red); }
.brand b { color: var(--red); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-weight: 600; font-size: .95rem; color: var(--ink-soft); transition: .15s; }
.nav-links a:hover { color: var(--red); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.burger { display: none; background: none; border: 0; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 80% -10%, var(--red-tint), #fff 55%); padding: 86px 0 64px; }
.hero-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero-img img { width: 100%; max-height: 480px; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow-lg); }
@media (max-width: 860px){ .hero-wrap { grid-template-columns: 1fr; } .hero-img { display: none; } }
.hero h1 { max-width: 14ch; }
.hero .lead { margin-top: 18px; font-size: 1.22rem; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-stats { display: flex; gap: 38px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats .stat b { font-family: var(--font-display); font-size: 2rem; color: var(--red); display: block; }
.hero-stats .stat span { font-size: .85rem; color: var(--muted); font-weight: 600; }
.floating-hearts { position: absolute; inset: 0; pointer-events: none; }
.floating-hearts svg { position: absolute; color: var(--red-soft); opacity: .8; }

/* ---------- Search ---------- */
.searchbar {
  display: flex; align-items: center; gap: 10px; background: #fff;
  border: 2px solid var(--line); border-radius: var(--radius-pill);
  padding: 8px 8px 8px 20px; max-width: 540px; box-shadow: var(--shadow-sm); margin-top: 30px;
}
.searchbar input { flex: 1; border: 0; outline: 0; font-size: 1rem; font-family: inherit; background: none; }

/* ---------- Category chips ---------- */
.chips { display: flex; gap: 12px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: var(--radius-pill);
  background: #fff; border: 1.5px solid var(--line); font-weight: 600; font-size: .92rem;
  cursor: pointer; transition: .15s;
}
.chip:hover, .chip.active { border-color: var(--red); color: var(--red); background: var(--red-tint); }
.chip .e { font-size: 1.05rem; }

/* ---------- Category grid (home) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 18px; }
.cat-card {
  position: relative; border-radius: var(--radius); padding: 26px 22px; min-height: 150px;
  background: linear-gradient(160deg, #fff, var(--cream)); border: 1.5px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; transition: .2s; overflow: hidden;
}
.cat-card:hover { transform: translateY(-4px); border-color: var(--red); box-shadow: var(--shadow); }
.cat-card .e { font-size: 2rem; }
.cat-card h3 { margin-top: 14px; }
.cat-card p { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.cat-card .featured-tag { position: absolute; top: 14px; right: 14px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); background: var(--red-soft); padding: 4px 9px; border-radius: var(--radius-pill); }

/* ---------- Venue cards ---------- */
.venue-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); gap: 22px; }
.venue-card {
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: .2s; display: flex; flex-direction: column;
}
.venue-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.venue-thumb {
  height: 178px; background: linear-gradient(135deg, var(--red), var(--red-deep));
  background-size: cover; background-position: center;
  position: relative; display: flex; align-items: flex-end; padding: 14px;
  font-family: var(--font-display); color: #fff; font-size: 1.1rem; font-weight: 700;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.venue-thumb .ribbon {
  position: absolute; top: 12px; left: 12px; background: #fff; color: var(--red);
  font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--radius-pill); display: inline-flex; gap: 5px; align-items: center;
}
.venue-thumb .pricelvl { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,.25); color:#fff; font-weight:700; font-size:.8rem; padding: 4px 10px; border-radius: var(--radius-pill); }
.venue-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.venue-body .meta { font-size: .8rem; color: var(--muted); font-weight: 600; display: flex; gap: 8px; align-items: center; }
.venue-body .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); display: inline-block; }
.venue-body h3 { font-size: 1.18rem; }
.venue-body p { font-size: .92rem; color: var(--ink-soft); flex: 1; }
.venue-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }

/* ---------- Heart vote button ---------- */
.heart-btn {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  background: var(--red-tint); border: 1.5px solid var(--red-soft); color: var(--red);
  font-weight: 700; font-size: .92rem; padding: 8px 14px; border-radius: var(--radius-pill);
  transition: .15s; user-select: none;
}
.heart-btn:hover { background: var(--red-soft); }
.heart-btn svg { width: 17px; height: 17px; transition: transform .25s cubic-bezier(.2,1.4,.5,1); }
.heart-btn.voted { background: var(--red); color: #fff; border-color: var(--red); }
.heart-btn.voted svg { fill: #fff; transform: scale(1.18); }
.heart-btn.pulse svg { animation: pop .4s; }
@keyframes pop { 0%{transform:scale(1)} 40%{transform:scale(1.5)} 100%{transform:scale(1.18)} }
.tag-pill { font-size: .72rem; font-weight: 700; color: var(--red); background: var(--red-soft); padding: 3px 9px; border-radius: var(--radius-pill); }

/* ---------- Strip / how it works ---------- */
.strip { background: var(--ink); color: #fff; }
.strip h2 { color: #fff; }
.strip .lead { color: rgba(255,255,255,.7); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 26px; margin-top: 40px; }
.step { padding: 26px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.step .n { width: 42px; height: 42px; border-radius: 50%; background: var(--red); color:#fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; margin-bottom: 16px; }
.step h3 { color: #fff; }
.step p { color: rgba(255,255,255,.62); font-size: .94rem; margin-top: 6px; }

/* ---------- Section header ---------- */
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.sec-head .lead { margin-top: 10px; }
.link-more { color: var(--red); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Pricing (for-business) ---------- */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 22px; align-items: stretch; }
.tier { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; transition: .2s; }
.tier:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.tier.feature { border: 2px solid var(--red); box-shadow: var(--shadow); position: relative; }
.tier.feature::before { content: "Most Popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; border-radius: var(--radius-pill); }
.tier .name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.tier .price { font-family: var(--font-display); font-size: 2.6rem; color: var(--red); margin: 12px 0 2px; }
.tier .price small { font-size: .95rem; color: var(--muted); font-weight: 600; }
.tier .free { font-family: var(--font-display); font-size: 2rem; color: var(--ink); }
.tier ul { list-style: none; margin: 20px 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.tier li { display: flex; gap: 10px; font-size: .93rem; color: var(--ink-soft); }
.tier li svg { width: 18px; height: 18px; color: var(--red); flex-shrink: 0; margin-top: 2px; }

/* ---------- Profile (venue page) ---------- */
.profile-hero { background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff; padding: 64px 0; }
.profile-hero .eyebrow { background: rgba(255,255,255,.18); color: #fff; }
.profile-hero h1 { color: #fff; margin-top: 16px; }
.profile-hero .meta { color: rgba(255,255,255,.85); font-weight: 600; margin-top: 10px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.profile-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; margin-top: 50px; }
.profile-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 26px; }
.profile-card h3 { margin-bottom: 12px; }
.sidecard { position: sticky; top: 92px; align-self: start; }
@media (max-width: 820px){ .profile-grid { grid-template-columns: 1fr; } }

/* ---------- Awards (coming soon) ---------- */
.award-hero { text-align: center; background: radial-gradient(110% 90% at 50% -10%, var(--red-tint), #fff 60%); }
.badge-big { width: 150px; height: 150px; margin: 0 auto 24px; color: var(--red); filter: drop-shadow(0 14px 30px rgba(225,29,72,.3)); }
.soon-pill { display: inline-flex; gap: 8px; align-items: center; background: var(--ink); color: #fff; font-weight: 700; padding: 9px 18px; border-radius: var(--radius-pill); font-size: .85rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--red), var(--red-deep)); color: #fff; border-radius: 28px; padding: 56px 40px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255,255,255,.85); margin: 14px auto 26px; }

/* ---------- Email capture ---------- */
.capture { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; }
.capture input { flex: 1; min-width: 200px; padding: 15px 20px; border-radius: var(--radius-pill); border: 0; font-size: 1rem; font-family: inherit; }

/* ---------- Footer ---------- */
footer.site { background: var(--ink); color: rgba(255,255,255,.7); padding: 56px 0 30px; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
footer.site h4 { color: #fff; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
footer.site a { display: block; color: rgba(255,255,255,.65); font-size: .92rem; padding: 4px 0; }
footer.site a:hover { color: var(--red-bright); }
footer.site .brand { color: #fff; margin-bottom: 14px; }
footer .fine { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; font-size: .82rem; color: rgba(255,255,255,.45); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Misc ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%); background: var(--ink); color:#fff; padding: 14px 22px; border-radius: var(--radius-pill); font-weight: 600; font-size: .92rem; box-shadow: var(--shadow-lg); transition: transform .3s; z-index: 99; display: flex; gap: 9px; align-items: center; }
.toast.show { transform: translateX(-50%) translateY(0); }
.empty { text-align: center; color: var(--muted); padding: 50px 0; }

@media (max-width: 860px){
  .grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .burger { display: block; }
  section { padding: 54px 0; }
}
