/* === Tradición Web — Shared Styles === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  --gold: #f5c518;
  --gold-dark: #d4a017;
  --gold-light: rgba(245,197,24,0.12);
  --bg-dark: #1a1a1a;
  --bg-darker: #111;
  --bg-card: #2a2a2a;
  --bg-cream: #f8f5ef;
  --text-white: #fff;
  --text-light: #ccc;
  --text-muted: #999;
  --text-dark: #1a1a1a;
  --border-dark: rgba(245,197,24,0.15);
  --border-light: #e8e4dc;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-hover: 0 8px 28px rgba(0,0,0,0.18);
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17,17,17,0.98);
  border-bottom: 1px solid rgba(245,197,24,0.1);
  padding: 0 24px;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.header-logo img {
  height: 36px;
  width: 36px;
  border-radius: 8px;
}
.header-logo span {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.5px;
}
.header-nav {
  display: flex;
  gap: 8px;
}
.header-nav a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  transition: all var(--transition);
}
.header-nav a:hover, .header-nav a.active {
  color: var(--gold);
  background: var(--gold-light);
}
.header-nav a.header-cta {
  padding: 8px 20px;
  background: var(--gold);
  color: #000 !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  transition: all var(--transition);
}
.header-nav a.header-cta:hover {
  background: var(--gold-dark);
  color: #000 !important;
  transform: translateY(-1px);
}

.hamburger-btn { display: none; }

/* === Nav Dropdown (desktop) === */
.nav-dropdown { position: relative; }
.nav-dropdown > .nav-dropdown-toggle {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  transition: all var(--transition);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown > .nav-dropdown-toggle:hover,
.nav-dropdown > .nav-dropdown-toggle.active { color: var(--gold); background: var(--gold-light); }
.nav-dropdown > .nav-dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 2px;
  transition: transform 0.2s;
}
.nav-dropdown:hover > .nav-dropdown-toggle::after,
.nav-dropdown.open > .nav-dropdown-toggle::after { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: rgba(30,30,30,0.98);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 6px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 200;
}
.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown.open > .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-dropdown-menu a:hover { color: var(--gold); background: var(--gold-light); }
.nav-dropdown-menu a.active { color: var(--gold); }

/* Close button for mobile nav */
.nav-close-btn {
  display: none;
  position: absolute;
  top: 16px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10001;
  font-size: 28px;
  color: var(--text-white);
  line-height: 1;
}

/* === Hero === */
.hero {
  padding: 48px 24px 32px;
  text-align: center;
  background: linear-gradient(180deg, rgba(245,197,24,0.06) 0%, transparent 100%);
}
.hero h1 {
  font-size: 40px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: -1px;
}
.hero p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* === Container === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Filters Bar === */
.filters-bar {
  padding: 20px 0;
  position: sticky;
  top: 64px;
  z-index: 50;
  background: rgba(17,17,17,0.98);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.filters-inner {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.search-box {
  flex: 1;
  min-width: 240px;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}
.search-box input::placeholder { color: var(--text-muted); }
.search-box input:focus { border-color: var(--gold); }
.search-box svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 18px;
  height: 18px;
}
.filter-select {
  padding: 10px 36px 10px 14px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: 14px;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6.5 6.5 6.5-6.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
  transition: border-color var(--transition);
}
.filter-select:focus { border-color: var(--gold); }

/* === Category Pills === */
.category-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 0;
}
.pill {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.pill:hover { border-color: var(--gold); color: var(--gold); }
.pill.active {
  background: var(--gold);
  color: var(--bg-dark);
  border-color: var(--gold);
  font-weight: 600;
}

/* === Grid === */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 24px 0;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 24px 0;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 24px 0;
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-4 { grid-template-columns: 1fr; gap: 16px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 24px 16px 16px; }
  .hero h1 { font-size: 24px; margin-bottom: 4px; }
  .hero p { font-size: 13px; }
  .container { padding: 0 12px; }
  .site-header { padding: 0 12px; }
  .header-inner { height: 48px; }
  .header-logo img { height: 28px; width: 28px; }
  .header-logo span { font-size: 16px; }
  .header-nav {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(17,17,17,0.98) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    z-index: 9999 !important;
    overflow: hidden;
  }
  .header-nav.open { display: flex !important; }
  .header-nav > a, .header-nav > .nav-dropdown {
    display: block !important;
    width: 80% !important;
    text-align: center !important;
  }
  .header-nav > a {
    padding: 16px 32px !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    border-radius: var(--radius-sm) !important;
    color: var(--text-white) !important;
  }
  .header-nav > a.active {
    color: var(--gold) !important;
    background: var(--gold-light) !important;
  }
  .nav-close-btn { display: block; }
  /* Mobile dropdown - hidden by default, toggle with .open */
  .nav-dropdown > .nav-dropdown-toggle {
    padding: 16px 32px !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    color: var(--text-white) !important;
    width: 100% !important;
    justify-content: center;
    border-radius: var(--radius-sm) !important;
  }
  .nav-dropdown > .nav-dropdown-toggle.active {
    color: var(--gold) !important;
    background: var(--gold-light) !important;
  }
  .nav-dropdown > .nav-dropdown-toggle::after {
    transition: transform 0.2s;
  }
  .nav-dropdown.open > .nav-dropdown-toggle::after {
    transform: rotate(180deg);
  }
  .nav-dropdown-menu {
    display: none !important;
    position: static !important;
    background: rgba(40,40,40,0.9) !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: var(--radius-sm) !important;
    margin-top: 4px;
    padding: 4px 0 !important;
  }
  .nav-dropdown:hover > .nav-dropdown-menu {
    display: none !important;
  }
  .nav-dropdown.open > .nav-dropdown-menu {
    display: block !important;
  }
  .nav-dropdown-menu a {
    padding: 12px 24px !important;
    font-size: 16px !important;
    text-align: center !important;
    color: var(--text-light) !important;
  }
  .nav-dropdown-menu a:hover, .nav-dropdown-menu a.active {
    color: var(--gold) !important;
  }
  .header-nav a.header-cta {
    width: 80% !important;
    text-align: center !important;
    padding: 16px 32px !important;
    font-size: 20px !important;
    margin-top: 8px;
  }
  .hamburger-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10000;
    position: relative;
  }
  .hamburger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: all 0.3s ease;
    position: absolute;
  }
  .hamburger-btn span:nth-child(1) { transform: translateY(-7px); }
  .hamburger-btn span:nth-child(3) { transform: translateY(7px); }
  .hamburger-btn.active span:nth-child(1) { transform: rotate(45deg); }
  .hamburger-btn.active span:nth-child(2) { opacity: 0; }
  .hamburger-btn.active span:nth-child(3) { transform: rotate(-45deg); }
  .filters-bar { padding: 10px 0; top: 48px; }
  .filters-inner { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .search-box { min-width: 100%; flex: 1 1 100%; }
  .filter-select { flex: 1; min-width: 0; font-size: 13px; padding: 8px 30px 8px 10px; }
  .category-pills { padding: 8px 0; gap: 6px; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .category-pills::-webkit-scrollbar { display: none; }
  .pill { font-size: 12px; padding: 5px 12px; flex-shrink: 0; }
  .card-body { padding: 10px 12px; }
  .card-title { font-size: 13px; }
  .card-desc { font-size: 12px; -webkit-line-clamp: 2; }
  .card-badge { font-size: 10px; padding: 2px 8px; margin-bottom: 4px; }
  .card-meta { font-size: 12px; }
  .card-source { font-size: 11px; }
  .event-date-badge { font-size: 10px; padding: 4px 8px; }
  .event-city-badge { font-size: 10px; padding: 3px 8px; }
  .results-count { font-size: 12px; }
  .stat-num { font-size: 22px; }
  .stat-label { font-size: 10px; }
  .stats-bar { gap: 16px; padding: 8px 0 0; }
  .load-more-btn { padding: 10px 24px; font-size: 13px; }
  .site-footer { padding: 24px 12px; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; gap: 14px; }
}

/* === Card Base === */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s cubic-bezier(0.4,0,0.2,1), border-color 0.25s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3), 0 0 0 1px rgba(245,197,24,0.2);
  border-color: rgba(245,197,24,0.4);
}
@media (max-width: 768px) {
  .card { flex-direction: column !important; }
  .card .card-img { width: 100% !important; min-width: 100% !important; padding-top: 56% !important; min-height: 0 !important; }
}

.card-img {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  background: #333;
  flex-shrink: 0;
}
.card-img img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.card:hover .card-img img { transform: scale(1.05); }
.card-body {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  background: var(--gold-light);
  padding: 3px 10px;
  border-radius: 20px;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.card-meta strong { color: var(--gold); font-weight: 500; }
.card-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 4px;
}

/* === Loading / Empty === */
.loading-state, .empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--text-muted);
}
.spinner {
  width: 36px; height: 36px;
  border: 3px solid #333;
  border-top-color: var(--gold);
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === Load More === */
.load-more-wrap {
  text-align: center;
  padding: 32px 0 48px;
}
.load-more-btn {
  padding: 12px 32px;
  background: transparent;
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.load-more-btn:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

/* === Tino Chat Widget === */
.tino-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(245,197,24,0.4);
  cursor: pointer;
  z-index: 200;
  transition: transform var(--transition), box-shadow var(--transition);
  border: none;
}
.tino-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(245,197,24,0.5);
}
.tino-fab svg { width: 26px; height: 26px; fill: var(--bg-dark); }

.tino-panel {
  position: fixed;
  bottom: 92px;
  right: 24px;
  width: 340px;
  max-height: 480px;
  background: var(--bg-darker);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  z-index: 201;
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
}
.tino-panel.open { display: flex; }

.tino-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(245,197,24,0.06);
  border-bottom: 1px solid var(--border-dark);
}
.tino-avatar {
  width: 32px; height: 32px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--bg-dark);
}
.tino-header-text h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white);
}
.tino-header-text p {
  font-size: 11px;
  color: var(--text-muted);
}
.tino-close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
}
.tino-close:hover { color: var(--text-white); }

.tino-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 120px;
}
.tino-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  word-wrap: break-word;
}
.tino-msg.assistant {
  align-self: flex-start;
  background: var(--bg-card);
  color: var(--text-light);
  border-bottom-left-radius: 4px;
}
.tino-msg.user {
  align-self: flex-end;
  background: var(--gold);
  color: var(--bg-dark);
  border-bottom-right-radius: 4px;
}
.tino-msg.typing {
  align-self: flex-start;
  background: var(--bg-card);
  color: var(--text-muted);
  font-style: italic;
}

.tino-input-bar {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--border-dark);
  background: rgba(26,26,26,0.8);
}
.tino-input-bar input {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: 13px;
  outline: none;
}
.tino-input-bar input::placeholder { color: var(--text-muted); }
.tino-input-bar input:focus { border-color: var(--gold); }
.tino-send {
  padding: 10px 16px;
  background: var(--gold);
  color: var(--bg-dark);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  transition: background var(--transition);
}
.tino-send:hover { background: var(--gold-dark); }
.tino-send:disabled { opacity: 0.5; cursor: not-allowed; }

.tino-quick-questions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0;
}
.tino-chip {
  background: rgba(245,197,24,0.12);
  color: var(--gold);
  border: 1px solid rgba(245,197,24,0.3);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  text-align: left;
  line-height: 1.3;
}
.tino-chip:hover {
  background: rgba(245,197,24,0.25);
  border-color: var(--gold);
}

/* === Footer === */
.site-footer {
  padding: 40px 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}
.site-footer a { color: var(--gold); }
.site-footer a:hover { text-decoration: underline; }

/* === Responsive Chat === */
@media (max-width: 480px) {
  .tino-panel {
    right: 8px;
    left: 8px;
    bottom: 70px;
    top: 60px;
    width: auto;
    max-height: none;
  }
  .tino-fab {
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
  .tino-fab svg { width: 22px; height: 22px; }
  .tino-msg { font-size: 13px; padding: 8px 10px; }
  .tino-chip { font-size: 11px; padding: 5px 10px; }
  .tino-input-bar { padding: 8px 10px; }
  .tino-input-bar input { padding: 8px 10px; font-size: 13px; }
  .tino-send { padding: 8px 12px; font-size: 12px; }
  .tino-header { padding: 10px 12px; }
  .tino-header-text h3 { font-size: 13px; }
  .tino-header-text p { font-size: 10px; }
}

/* === Results Count === */
.results-count {
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 0;
}
.results-count strong {
  color: var(--gold);
}

/* === Subscription Widget === */
.sub-widget {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9998;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.sub-bubble {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  border: 1px solid rgba(245,197,24,0.3);
  border-radius: 16px;
  padding: 12px 16px;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  max-width: 300px;
  animation: subSlideIn 0.4s ease-out;
}
.sub-bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
@keyframes subSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.sub-bubble-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
}
.sub-bubble-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sub-bubble-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.sub-bubble-desc {
  font-size: 12px;
  color: #9BA1A6;
}
.sub-bubble-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: #666;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}
.sub-bubble-close:hover { color: #fff; }

/* Form Panel */
.sub-form-panel {
  display: flex;
  flex-direction: column;
  background: #1e2022;
  border: 1px solid rgba(245,197,24,0.25);
  border-radius: 16px;
  width: 340px;
  max-height: 480px;
  overflow-y: auto;
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
  animation: subSlideIn 0.3s ease-out;
}
.sub-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
}
.sub-form-close {
  background: none;
  border: none;
  color: #666;
  font-size: 22px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.sub-form-close:hover { color: #fff; }
.sub-form-desc {
  padding: 12px 20px 0;
  font-size: 13px;
  color: #9BA1A6;
  line-height: 1.5;
  margin: 0;
}
#sub-form {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sub-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sub-field label {
  font-size: 12px;
  font-weight: 600;
  color: #ccc;
}
.sub-field input[type="email"],
.sub-field input[type="tel"] {
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.sub-field input:focus {
  border-color: var(--gold);
}
.sub-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}
.sub-check input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
}
.sub-check label {
  font-size: 11px;
  color: #9BA1A6;
  line-height: 1.5;
}
.sub-check label a {
  color: var(--gold);
  text-decoration: underline;
}
.sub-submit {
  background: var(--gold);
  color: #1a1a1a;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}
.sub-submit:hover { opacity: 0.9; }
.sub-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.sub-message {
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
}
.sub-error {
  background: rgba(239,68,68,0.15);
  color: #f87171;
}
.sub-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px;
  text-align: center;
  gap: 12px;
}
.sub-success-icon {
  width: 48px; height: 48px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #1a1a1a;
  font-weight: 700;
}
.sub-success p {
  font-size: 14px;
  color: #ccc;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 575px) {
  .sub-widget { left: 10px; right: 10px; bottom: 80px; }
  .sub-bubble { max-width: 100%; }
  .sub-form-panel { width: auto; }
}
