/* ═══════════════════════════════════════════════════
   TICKTLAN — public.css · Tema claro (marca WordPress)
   Paleta: #FDFDFE · #374B5C · #FFB300
   Tipografía: Red Hat Display
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --brand-yellow:       #FFB300;
  --brand-yellow-hover: #E6A200;
  --brand-yellow-dim:   #FFB30018;
  --brand-blue:         #537CD9;
  --brand-blue-dim:     #537CD918;
  --bg:        #FDFDFE;
  --surface:   #F8FAFD;
  --card:      #FFFFFF;
  --border:    #D5E3EE;
  --border2:   #F2F4F8;
  --text:      #374B5C;
  --text-muted:#73818C;
  --text-faint:#9AA8B4;
  --muted:     var(--text-muted);
  --muted2:    var(--text-faint);
  --gold:      var(--brand-yellow);
  --gold-dim:  var(--brand-yellow-dim);
  --green:     #16a34a;
  --red:       #dc2626;
  --indigo:    var(--brand-blue);
  --font:      'Red Hat Display', system-ui, -apple-system, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;
  --nav-h:     64px;
  --shadow-sm: 0 1px 3px rgba(55, 75, 92, 0.08);
  --shadow-md: 0 4px 20px rgba(55, 75, 92, 0.1);
}

/* ── Reset ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); min-height: 100vh; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.serif { font-family: var(--font-serif); }
.mono  { font-family: ui-monospace, 'Cascadia Code', monospace; }
.eyebrow { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

/* ── Layout ───────────────────────────────────────── */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 22px; border-radius: 10px; border: 1px solid transparent;
  font-family: var(--font); font-weight: 600; font-size: 14px;
  cursor: pointer; transition: all .18s; white-space: nowrap; text-decoration: none;
}
.btn-gold    { background: var(--gold); color: #1a1a1a; border-color: var(--gold); }
.btn-gold:hover { background: var(--brand-yellow-hover); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(255, 179, 0, 0.35); }
.btn-outline { background: var(--card); color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--gold); color: var(--text); }
.btn-ghost   { background: transparent; color: var(--text-muted); border-color: transparent; }
.btn-ghost:hover { color: var(--text); }
.btn-sm  { padding: 7px 14px; font-size: 13px; border-radius: 8px; }
.btn-lg  { padding: 14px 32px; font-size: 15px; border-radius: 12px; }
.tag { display: inline-flex; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; background: var(--gold-dim); color: #B8860B; }

/* ── Logo ─────────────────────────────────────────── */
.brand-logo img { display: block; height: 40px; width: auto; }

/* ── Navbar ───────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 253, 254, .95); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex; align-items: center; height: 100%; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; flex-shrink: 0;
}
.logo-mark {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--brand-yellow-hover));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #1a1a1a; font-size: 16px;
}
.logo-text { font-size: 18px; font-weight: 700; color: var(--text); }
.nav-links { display: flex; gap: 24px; flex: 1; align-items: center; }
.nav-link  { font-size: 14px; font-weight: 500; color: var(--text-muted); transition: color .18s; }
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--gold); font-weight: 600; }
.nav-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.nav-burger  { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text-muted); border-radius: 2px; transition: all .2s; }

/* ── Ticker tape ──────────────────────────────────── */
.ticker-wrap  { background: var(--gold-dim); border-top: 1px solid rgba(255, 179, 0, .2); border-bottom: 1px solid rgba(255, 179, 0, .2); overflow: hidden; padding: 10px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 34s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-item  { padding: 0 28px; font-size: 12px; color: #B8860B; font-weight: 600; white-space: nowrap; }
.ticker-sep   { opacity: .4; margin-left: 14px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Hero ─────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - var(--nav-h) - 42px);
  display: flex; align-items: center;
  padding: 80px 0 60px;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255, 179, 0, .12) 0%, transparent 60%);
}
.hero-orb {
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 179, 0, .06) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
}
.hero-inner   { text-align: center; position: relative; z-index: 1; }
.hero-title   { font-size: clamp(38px, 7vw, 72px); line-height: 1.04; margin: 16px 0 22px; color: var(--text); }
.hero-sub     { font-size: clamp(15px, 2.5vw, 18px); color: var(--text-muted); max-width: 540px; margin: 0 auto 40px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* ── Search bar ───────────────────────────────────── */
.search-bar {
  display: flex; gap: 0; max-width: 580px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 6px 6px 6px 20px; align-items: center;
  box-shadow: var(--shadow-sm);
}
.search-icon { font-size: 18px; color: var(--text-muted); flex-shrink: 0; }
.search-bar input {
  flex: 1; border: none; background: transparent;
  font-family: var(--font); font-size: 15px; color: var(--text);
  outline: none; padding: 6px 12px;
}
.search-bar input::placeholder { color: var(--text-faint); }

/* ── Stats strip ──────────────────────────────────── */
.stats-strip  { background: var(--surface); border-top: 1px solid var(--border2); border-bottom: 1px solid var(--border2); padding: 28px 0; }
.stats-grid   { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
.stat-item    { text-align: center; }
.stat-n       { font-size: 30px; font-weight: 800; color: var(--gold); line-height: 1; }
.stat-l       { font-size: 12px; color: var(--text-muted); margin-top: 5px; text-transform: uppercase; letter-spacing: .08em; }

/* ── Sections ─────────────────────────────────────── */
.section      { padding: 72px 0; }
.section-alt  { background: var(--surface); border-top: 1px solid var(--border2); border-bottom: 1px solid var(--border2); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; flex-wrap: wrap; gap: 14px; }
.section-title { font-size: clamp(24px,4vw,34px); margin-top: 6px; color: var(--text); }

/* ── Categories ───────────────────────────────────── */
.cat-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.cat-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px; border-radius: 40px;
  background: var(--card); border: 1px solid var(--border);
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  transition: all .15s;
}
.cat-pill:hover { border-color: var(--gold); color: var(--text); background: var(--gold-dim); }
.cat-emoji { font-size: 16px; }

/* ── Event cards ──────────────────────────────────── */
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px,1fr)); gap: 16px; }
.event-card  { background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; display: block; box-shadow: var(--shadow-sm); }
.event-card:hover { transform: translateY(-3px); border-color: rgba(255, 179, 0, .5); box-shadow: var(--shadow-md); }
.event-cover {
  height: 148px; background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 52px; position: relative;
}
.event-badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--gold); color: #1a1a1a;
  padding: 3px 10px; border-radius: 20px; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
}
.event-body  { padding: 14px 16px; }
.event-tags  { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.event-title { font-weight: 700; font-size: 15px; line-height: 1.3; margin-bottom: 10px; color: var(--text); }
.event-foot  { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid var(--border2); }
.event-price { font-size: 17px; font-weight: 800; color: var(--gold); }
.event-price.free { color: var(--green); }
.event-meta  { font-size: 11px; color: var(--text-faint); }

/* ── Features grid ────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 16px; }
.feature-card  { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 24px; box-shadow: var(--shadow-sm); }
.feature-icon  { font-size: 28px; margin-bottom: 12px; }
.feature-title { font-weight: 700; font-size: 15px; margin-bottom: 8px; color: var(--text); }
.feature-desc  { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ── Posts ────────────────────────────────────────── */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); gap: 16px; }
.post-card  { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px; transition: border-color .2s, box-shadow .2s; box-shadow: var(--shadow-sm); }
.post-card:hover { border-color: rgba(255, 179, 0, .4); box-shadow: var(--shadow-md); }
.post-emoji { font-size: 32px; flex-shrink: 0; }
.post-title { font-weight: 700; font-size: 14px; line-height: 1.35; margin: 6px 0; color: var(--text); }
.post-excerpt { font-size: 12px; color: var(--text-muted); line-height: 1.7; margin-bottom: 8px; }
.post-meta  { font-size: 11px; color: var(--text-faint); }

/* ── CTA box ──────────────────────────────────────── */
.cta-box {
  background: linear-gradient(135deg, rgba(255, 179, 0, .1), rgba(83, 124, 217, .08));
  border: 1px solid rgba(255, 179, 0, .3); border-radius: 20px;
  padding: 48px 40px;
  display: flex; gap: 32px; align-items: center; flex-wrap: wrap;
}
.cta-left  { flex: 1; min-width: 260px; }
.cta-right { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }

/* ── Footer ───────────────────────────────────────── */
.footer      { margin-top: 0; border-top: 1px solid var(--border); padding: 60px 0 28px; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.footer-tagline { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; }
.footer-contact { font-size: 13px; color: var(--text-faint); line-height: 1.8; }
.footer-contact a { color: var(--brand-blue); }
.footer-col-title { font-weight: 700; font-size: 13px; margin-bottom: 14px; color: var(--text); }
.footer-link { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 9px; transition: color .15s; }
.footer-link:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-faint); flex-wrap: wrap; gap: 10px; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-links.open, .nav-actions.open { display: flex; }
  .nav-links.open { flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: rgba(253, 253, 254, .98); padding: 20px 24px; border-bottom: 1px solid var(--border); gap: 16px; z-index: 99; box-shadow: var(--shadow-md); }
  .nav-actions.open { position: absolute; top: calc(var(--nav-h) + 180px); left: 0; right: 0; flex-direction: column; padding: 0 24px 20px; background: rgba(253, 253, 254, .98); z-index: 99; }
  .nav-burger { display: flex; margin-left: auto; }
  .stats-grid { gap: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 32px 24px; }
  .section { padding: 48px 0; }
}
@media (max-width: 480px) {
  .hero { padding: 52px 0 40px; min-height: auto; }
  .search-bar { border-radius: 12px; }
  .events-grid, .features-grid, .posts-grid { grid-template-columns: 1fr; }
}

/* ── Animations ───────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.fade-in { animation: fadeUp .4s ease both; }
