/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', system-ui, sans-serif;
  background: #000; color: #fff; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

:root {
  --red: #ED1B55; --red-dark: #c41447;
  --black: #000; --white: #fff;
  --gray: #888; --gray-dark: #1a1a1a;
  --radius: 14px; --max: 1200px;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0,0,0,0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid #222; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { height: 48px; width: auto; }
.main-nav { display: flex; gap: 22px; }
.main-nav a { font-weight: 600; font-size: 14px; transition: color .2s; }
.main-nav a:hover { color: var(--red); }
.menu-toggle { display: none; font-size: 26px; }
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #000; flex-direction: column;
    padding: 20px; gap: 16px; border-bottom: 1px solid #222;
    display: none;
  }
  .main-nav.open { display: flex; }
}

/* ===== HERO ===== */
.hero {
  min-height: 85vh;   /* antes era 78vh */
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;  /* antes era 60px */
  background: radial-gradient(ellipse at top, #1a0008 0%, #000 60%);
}
.hero-inner { max-width: 720px; width: 100%; text-align: center; }
.hero-title {
  font-weight: 900; font-size: clamp(2rem, 6vw, 3.8rem);
  line-height: 1.1; margin-bottom: 18px;
}
.accent { color: var(--red); }
.hero-sub { color: #ccc; font-size: 1.05rem; margin-bottom: 32px; }

.search-box {
  display: flex; gap: 10px; background: #111;
  border: 2px solid #222; border-radius: 50px;
  padding: 8px; transition: all .3s ease;
}
.search-box:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(237,27,85,0.15), 0 8px 30px rgba(237,27,85,0.2);
  transform: translateY(-2px);
}
.search-box input {
  flex: 1; background: transparent; border: none;
  color: #fff; padding: 14px 20px; font-size: 1rem; outline: none;
}
.search-box input::placeholder { color: #666; transition: color .3s; }
.search-box:focus-within input::placeholder { color: #999; }
.search-box button { padding: 14px 28px; }

.hero-suggestions {
  margin-top: 22px; display: flex; flex-wrap: wrap;
  gap: 8px; justify-content: center; align-items: center;
}
.sug-label { color: var(--gray); font-size: .9rem; }
.sug-chip {
  background: #1a1a1a; border: 1px solid #333;
  padding: 8px 14px; border-radius: 20px; font-size: .85rem;
  transition: all .25s ease; opacity: 0;
  animation: fadeInUp .4s ease forwards;
}
.sug-chip:nth-child(2) { animation-delay: .1s; }
.sug-chip:nth-child(3) { animation-delay: .2s; }
.sug-chip:nth-child(4) { animation-delay: .3s; }
.sug-chip:nth-child(5) { animation-delay: .4s; }
.sug-chip:hover {
  background: var(--red); border-color: var(--red);
  transform: translateY(-3px) scale(1.05);
}

/* ===== ANIMACIONES ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { border-color: transparent; } }

.hero-title { animation: fadeInUp .8s ease; }
.hero-sub { animation: fadeInUp .8s ease .15s both; }
.search-box { animation: fadeInUp .8s ease .3s both; }
.hero-suggestions { animation: fadeInUp .8s ease .45s both; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; padding: 14px 28px;
  border-radius: 50px; font-weight: 700; font-size: .95rem;
  transition: all .2s; text-align: center; position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.2);
  transform: translateX(-100%); transition: transform .3s;
}
.btn:hover::after { transform: translateX(0); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--red); color: var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-small { padding: 8px 16px; font-size: .85rem; }

/* ===== SECTIONS ===== */
.section { padding: 70px 20px; }
.section-dark { background: var(--gray-dark); }
.section-inner { max-width: var(--max); margin: 0 auto; text-align: center; }
.section-title {
  font-weight: 900; font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 16px; text-align: center;
}
.section-sub { color: #ccc; max-width: 600px; margin: 0 auto 28px; }

/* ===== CATEGORIES ===== */
.category-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.cat-card {
  background: #111; border: 1px solid #222;
  border-radius: var(--radius); padding: 28px 20px;
  text-align: center; transition: all .2s; cursor: pointer;
  opacity: 0; animation: fadeInUp .5s ease forwards;
}
.cat-card:nth-child(1) { animation-delay: .05s; }
.cat-card:nth-child(2) { animation-delay: .1s; }
.cat-card:nth-child(3) { animation-delay: .15s; }
.cat-card:nth-child(4) { animation-delay: .2s; }
.cat-card:hover { border-color: var(--red); transform: translateY(-4px); }
.cat-icon { font-size: 2.4rem; margin-bottom: 10px; }
.cat-name { font-weight: 700; }

/* ===== BUSINESS CARDS ===== */
.biz-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px; padding: 20px;
}
.biz-card {
  background: #111; border: 1px solid #222;
  border-radius: var(--radius); overflow: hidden;
  transition: all .2s; display: flex; flex-direction: column;
  opacity: 0; animation: fadeInUp .5s ease forwards;
}
.biz-card:nth-child(1) { animation-delay: .05s; }
.biz-card:nth-child(2) { animation-delay: .1s; }
.biz-card:nth-child(3) { animation-delay: .15s; }
.biz-card:nth-child(4) { animation-delay: .2s; }
.biz-card:nth-child(5) { animation-delay: .25s; }
.biz-card:nth-child(6) { animation-delay: .3s; }
.biz-card:hover { border-color: var(--red); transform: translateY(-4px); }
.biz-card.featured { border-color: var(--red); box-shadow: 0 0 20px rgba(237,27,85,0.2); }
.biz-card.gold { border-color: gold; box-shadow: 0 0 20px rgba(255,215,0,0.2); }
.biz-img {
  height: 180px; background: #222;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray); font-size: 3rem;
  background-size: cover; background-position: center;
}
.biz-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.biz-plan {
  display: inline-block; font-size: .7rem; font-weight: 700;
  padding: 3px 8px; border-radius: 4px; margin-bottom: 8px;
  text-transform: uppercase;
}
.plan-basico { background: #333; color: #ccc; }
.plan-plata { background: #c0c0c0; color: #000; }
.plan-oro { background: gold; color: #000; }
.biz-name { font-weight: 900; font-size: 1.15rem; margin-bottom: 6px; }
.biz-cat { color: var(--red); font-size: .85rem; font-weight: 600; margin-bottom: 8px; }
.biz-desc { color: #bbb; font-size: .9rem; flex: 1; margin-bottom: 12px; }
.biz-meta { display: flex; justify-content: space-between; font-size: .85rem; color: var(--gray); }
.biz-rating { color: gold; }

/* ===== TESTIMONIALS ===== */
.testimonials {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.testimonial {
  background: #111; border: 1px solid #222;
  border-radius: var(--radius); padding: 24px;
  opacity: 0; animation: fadeInUp .5s ease forwards;
}
.testimonial:nth-child(1) { animation-delay: .1s; }
.testimonial:nth-child(2) { animation-delay: .2s; }
.testimonial:nth-child(3) { animation-delay: .3s; }
.testimonial p { font-style: italic; margin-bottom: 12px; }
.testimonial-author { color: var(--red); font-weight: 700; font-size: .9rem; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9rem; }
.form-control {
  width: 100%; padding: 12px 14px;
  background: #111; border: 1px solid #333;
  border-radius: 10px; color: #fff; font-family: inherit; font-size: 1rem;
}
.form-control:focus { outline: none; border-color: var(--red); }
textarea.form-control { min-height: 120px; resize: vertical; }
.consent-line { display: block; font-size: .85rem; color: #bbb; margin-top: 6px; }
.consent-line a { color: var(--red); }
.form-status { margin-top: 12px; color: var(--red); font-weight: 600; min-height: 1.2em; }

/* ===== FOOTER ===== */
.site-footer { background: #000; border-top: 1px solid #222; padding: 50px 20px 20px; }
.footer-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px; margin-bottom: 30px;
}
.footer-grid h3, .footer-grid h4 { margin-bottom: 14px; color: var(--red); }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #ccc; font-size: .9rem; }
.footer-grid a:hover { color: var(--red); }
.socials { display: flex; gap: 10px; margin-bottom: 16px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: #1a1a1a; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .8rem;
}
.socials a:hover { background: var(--red); }
.footer-subscribe { display: flex; gap: 8px; }
.footer-subscribe input {
  flex: 1; padding: 10px; background: #111;
  border: 1px solid #333; border-radius: 8px; color: #fff;
}
.footer-bottom {
  max-width: var(--max); margin: 0 auto;
  padding-top: 20px; border-top: 1px solid #222;
  text-align: center; color: var(--gray); font-size: .85rem;
}

/* ===== UTILITIES ===== */
.hidden { display: none !important; }
.container { max-width: var(--max); margin: 0 auto; padding: 40px 20px; }
.page-header {
  padding: 60px 20px 30px; text-align: center;
  background: radial-gradient(ellipse at top, #1a0008 0%, #000 60%);
}
.page-header h1 { font-weight: 900; font-size: clamp(1.8rem, 5vw, 3rem); }
.page-header p { color: #ccc; margin-top: 10px; }

/* ===== FILTERS ===== */
.filters {
  max-width: var(--max); margin: 0 auto 20px;
  display: flex; flex-wrap: wrap; gap: 10px; padding: 0 20px;
}
.filter-select {
  padding: 10px 14px; background: #111; border: 1px solid #333;
  border-radius: 10px; color: #fff; font-family: inherit;
}

/* ===== PODCAST ===== */
.episode-list {
  max-width: 800px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 16px;
}
.episode {
  background: #111; border: 1px solid #222;
  border-radius: var(--radius); padding: 24px;
  display: flex; gap: 20px; align-items: center;
  opacity: 0; animation: fadeInUp .5s ease forwards;
}
.episode-thumb {
  width: 100px; height: 100px; border-radius: 10px;
  background: var(--red); display: flex; align-items: center; justify-content: center;
  font-size: 2rem; flex-shrink: 0;
}
.episode-info h3 { margin-bottom: 6px; }
.episode-info p { color: #bbb; font-size: .9rem; margin-bottom: 10px; }
.sponsor-tag {
  display: inline-block; background: #222; padding: 3px 8px;
  border-radius: 4px; font-size: .7rem; color: var(--red);
}

/* ===== DISCOUNT CARD ===== */
.discount-card {
  max-width: 420px; margin: 30px auto;
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
  border: 2px solid var(--red); border-radius: 20px;
  padding: 30px; text-align: center;
  box-shadow: 0 0 40px rgba(237,27,85,0.3);
}
.discount-card .qr-placeholder {
  width: 200px; height: 200px; margin: 20px auto;
  background: #fff; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #000; font-weight: 700;
}

/* ===== PRICING ===== */
.pricing-grid {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.price-card {
  background: #111; border: 1px solid #222;
  border-radius: var(--radius); padding: 30px; text-align: center;
  opacity: 0; animation: fadeInUp .5s ease forwards;
}
.price-card:nth-child(1) { animation-delay: .1s; }
.price-card:nth-child(2) { animation-delay: .2s; }
.price-card.featured { border-color: var(--red); }
.price-card h3 { font-weight: 900; font-size: 1.4rem; margin-bottom: 10px; }
.price { font-size: 2.4rem; font-weight: 900; color: var(--red); margin: 14px 0; }
.price small { font-size: .9rem; color: var(--gray); }
.price-features { list-style: none; margin: 20px 0; text-align: left; }
.price-features li { padding: 8px 0; border-bottom: 1px solid #222; font-size: .9rem; }
.price-features li::before { content: "✓ "; color: var(--red); font-weight: 700; }

/* ===== BLOG ===== */
.blog-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.blog-card {
  background: #111; border: 1px solid #222;
  border-radius: var(--radius); overflow: hidden;
  opacity: 0; animation: fadeInUp .5s ease forwards;
}
.blog-card:nth-child(1) { animation-delay: .1s; }
.blog-card:nth-child(2) { animation-delay: .2s; }
.blog-card:nth-child(3) { animation-delay: .3s; }
.blog-card-img { height: 180px; background: #222; }
.blog-card-body { padding: 20px; }
.blog-card h3 { margin-bottom: 8px; }
.blog-card p { color: #bbb; font-size: .9rem; }

/* ===== ADMIN ===== */
.admin-login {
  max-width: 400px; margin: 60px auto;
  background: #111; padding: 30px; border-radius: var(--radius);
}
.admin-panel { max-width: 1200px; margin: 0 auto; padding: 20px; }
.admin-table {
  width: 100%; border-collapse: collapse;
  background: #111; border-radius: var(--radius); overflow: hidden;
}
.admin-table th, .admin-table td {
  padding: 12px; text-align: left; border-bottom: 1px solid #222; font-size: .9rem;
}
.admin-table th { background: #1a1a1a; color: var(--red); }
.admin-actions { display: flex; gap: 6px; }
.btn-tiny { padding: 4px 10px; font-size: .75rem; border-radius: 6px; }
.btn-edit { background: #333; }
.btn-delete { background: var(--red); }

/* Tabs */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tab { padding: 10px 18px; background: #111; border: 1px solid #222; border-radius: 10px; font-weight: 600; }
.tab.active { background: var(--red); border-color: var(--red); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.admin-row {
  background: #111; border: 1px solid #222; border-radius: 10px;
  padding: 14px 16px; margin-bottom: 10px;
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.muted { color: var(--gray); font-size: .85rem; }
.bulk-bar { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.modal {
  position: fixed; inset: 0; background: rgba(0,0,0,.8);
  display: flex; align-items: center; justify-content: center;
  z-index: 200; padding: 20px; animation: fadeIn .2s ease;
}
.modal-box {
  background: #111; border: 1px solid var(--red); border-radius: 16px;
  padding: 26px; max-width: 520px; width: 100%; max-height: 90vh; overflow-y: auto;
  animation: slideDown .3s ease;
}

/* ===== COOKIE BAR ===== */
.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: #111; border-top: 1px solid var(--red);
  padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between;
}
.cookie-bar p { color: #ccc; font-size: .85rem; max-width: 640px; }
.cookie-bar a { color: var(--red); }
.cookie-actions { display: flex; gap: 8px; }

/* ===== ADS ===== */
.ad-slot {
  max-width: 320px; margin: 20px auto; padding: 10px;
  background: #0a0a0a; border: 1px dashed #333; border-radius: 8px;
  text-align: center; color: var(--gray); font-size: .75rem;
}

/* ===== PROSE ===== */
.prose p, .prose li { color: #ccc; margin-bottom: 14px; }
.prose h2 { color: var(--red); margin: 28px 0 12px; font-weight: 900; }
.prose ul { padding-left: 22px; }
/* ===== HERO CON LOGO GRANDE ===== */
.hero-logo {
  width: 75%;
  max-width: 800px;
  height: auto;
  margin: 0 auto 20px;
  display: block;
  animation: fadeInUp .8s ease;
}

.hero-tagline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  color: #fff;
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: 0.5px;
  animation: fadeInUp .8s ease .15s both;
}

/* Ajuste: la caja de búsqueda ahora entra un poco después */
.search-box { animation: fadeInUp .8s ease .3s both; }
.hero-suggestions { animation: fadeInUp .8s ease .45s both; }

/* En móvil muy pequeño, el logo no se sale */
@media (max-width: 480px) {
  .hero-logo { width: 95%; }
  .hero-tagline { font-size: 1rem; }
}