/*
Theme Name: CB Marketing
Theme URI: https://camaleones.com
Author: Camaleones Business
Description: Tema de marketing para el evento Camaleones Business. Diseño tipo arcade retro con tipografía VT323 y paleta navy/cian/amarillo. Funciona junto al plugin cb-tickets.
Version: 0.2.0
License: Proprietary
Text Domain: cb-marketing
*/

/* ===== brand tokens (palette inspired by fintechnerdcon, anchored on Camaleones blue) =====
   Fonts: VT323 (titles), Fragment Mono (small UI), Inter (body) — all loaded via Google Fonts in functions.php.
*/
:root {
  /* Backgrounds */
  --cb-bg-dark:    #0a1523;   /* near-black navy (fnc primary surface) */
  --cb-bg-darker:  #050d15;   /* darker; for footer + shadow areas */
  --cb-paper:      #f8f8f5;   /* off-white for light sections */
  --cb-ink:        #0a1523;
  --cb-mute:       #9ba1a5;

  /* Accents */
  --cb-blue:       #3668ff;   /* electric primary */
  --cb-blue-deep:  #2548d6;
  --cb-yellow:     #fff04d;   /* CTA + highlight */
  --cb-yellow-ink: #0a1523;   /* text color over yellow */
  --cb-cyan:       #0cebf1;   /* electric cyan */
  --cb-mint:       #a8f28f;   /* retro mint */
  --cb-pink:       #ffc4dd;
  --cb-purple:     #6d4dc6;   /* Camaleones legacy accent */

  --cb-line:       rgba(255, 255, 255, 0.08);
  --cb-line-dark:  rgba(10, 21, 35, 0.10);

  /* Type */
  --cb-title:  "VT323", "Fragment Mono", ui-monospace, monospace;   /* headlines + display only */
  --cb-mono:   "Fragment Mono", ui-monospace, "JetBrains Mono", "Menlo", monospace;
  --cb-sans:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ===== reset ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--cb-sans);
  background: var(--cb-bg-dark);
  color: white;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.45;
}
h1, h2, h3, h4 {
  margin: 0; line-height: 1; letter-spacing: 0.01em;
  font-family: var(--cb-title); font-weight: 400;
  /* VT323 is a CRT-terminal pixel font — looks best at slightly larger sizes than its proportional cousins */
  font-feature-settings: "kern" 0, "liga" 0;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }
ol, ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--cb-yellow); color: var(--cb-bg-dark); }

/* ===== layout ===== */
.cb-wrap   { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.cb-wrap--sm { max-width: 920px; }
.cb-wrap--xs { max-width: 720px; }

/* ===== sticky nav ===== */
.cb-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 21, 35, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cb-line);
}
.cb-header__inner { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.cb-header__brand { display: flex; align-items: center; gap: 12px; }
.cb-header__brand img { height: 28px; }
.cb-header__brand span { font-family: var(--cb-mono); font-weight: 400; font-size: 14px; color: white; letter-spacing: 0.02em; text-transform: uppercase; }
.cb-header__brand em { font-style: normal; color: var(--cb-cyan); }
.cb-header__nav { display: none; gap: 28px; font-family: var(--cb-mono); font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.7); }
.cb-header__nav a { transition: color 0.15s; }
.cb-header__nav a:hover { color: var(--cb-yellow); }
@media (min-width: 1024px) { .cb-header__nav { display: flex; } }

/* ===== buttons (pill, mono labels) ===== */
.cb-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px;
  border-radius: 2000px;
  font-family: var(--cb-mono);
  font-weight: 400; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--cb-yellow); color: var(--cb-yellow-ink);
  transition: transform 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
  box-shadow: 0 0 0 0 rgba(255, 240, 77, 0.0);
}
.cb-btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 6px rgba(255, 240, 77, 0.25); }
.cb-btn--lg { padding: 16px 32px; font-size: 14px; }
.cb-btn--blue { background: var(--cb-blue); color: white; }
.cb-btn--blue:hover { box-shadow: 0 0 0 6px rgba(54, 104, 255, 0.25); }
.cb-btn--ghost { background: transparent; color: white; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.cb-btn--ghost:hover { background: white; color: var(--cb-bg-dark); box-shadow: none; }

.cb-kicker {
  display: inline-block;
  font-family: var(--cb-mono);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cb-cyan);
}

/* ===== hero ===== */
.cb-hero { position: relative; overflow: hidden; background: var(--cb-bg-dark); color: white; padding: 56px 0 0; }
.cb-hero__inner { position: relative; max-width: 1280px; margin: 0 auto; padding: 24px 24px 80px; }
.cb-hero__grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .cb-hero__inner { padding: 56px 24px 120px; } .cb-hero__grid { grid-template-columns: 8fr 4fr; align-items: end; gap: 64px; } }

/* pixel-grid retro decoration */
.cb-hero__pixels {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  --p: 24px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: var(--p) var(--p);
  mask-image: radial-gradient(ellipse at 70% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, black 30%, transparent 80%);
}
.cb-hero__pixel-cluster {
  position: absolute; pointer-events: none;
  display: grid; grid-template-columns: repeat(8, 24px); grid-auto-rows: 24px;
  gap: 0;
}
.cb-hero__pixel-cluster--tr { top: 80px; right: 0; opacity: 0.85; }
.cb-hero__pixel-cluster--bl { bottom: 80px; left: -48px; opacity: 0.7; }
.cb-hero__pixel { background: var(--cb-blue); }
.cb-hero__pixel--c { background: var(--cb-cyan); }
.cb-hero__pixel--y { background: var(--cb-yellow); }
.cb-hero__pixel--m { background: var(--cb-mint); }
.cb-hero__pixel--p { background: var(--cb-pink); }
@media (max-width: 768px) { .cb-hero__pixel-cluster { transform: scale(0.6); transform-origin: top right; } }

.cb-hero__pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 2000px;
  background: rgba(54, 104, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(54, 104, 255, 0.45);
  font-family: var(--cb-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cb-cyan);
}
.cb-hero__pill::before { content: '·'; color: var(--cb-yellow); font-size: 18px; line-height: 0; }

.cb-hero__title {
  margin-top: 28px;
  font-family: var(--cb-title); font-weight: 400;
  /* Capped so the longest line ("EL QUE SABE ADAPTARSE.") always fits the 8/12 column
     at typical desktop widths without horizontal overflow. */
  font-size: clamp(40px, 7vw, 88px);
  letter-spacing: 0.01em; line-height: 0.95;
  text-transform: uppercase;
  font-feature-settings: "kern" 0;
  text-wrap: balance;
}
.cb-hero__title em { font-style: normal; color: var(--cb-cyan); }
.cb-hero__title strong { font-weight: 400; background: var(--cb-yellow); color: var(--cb-yellow-ink); padding: 0 0.1em; }
.cb-hero__title span.gradient {
  background: linear-gradient(90deg, var(--cb-cyan), white, var(--cb-cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.cb-hero__lead { margin-top: 28px; max-width: 580px; font-size: 17px; color: rgba(255, 255, 255, 0.72); line-height: 1.55; }
.cb-hero__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.cb-hero__meta { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 40px 56px; }
.cb-hero__meta dt { font-family: var(--cb-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cb-mute); }
.cb-hero__meta dd { margin: 6px 0 0; font-family: var(--cb-mono); font-size: 18px; letter-spacing: 0.02em; }

.cb-hero__card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px var(--cb-line);
  padding: 28px;
}
.cb-hero__card::before {
  content: ''; position: absolute; top: -1px; left: -1px;
  width: 40px; height: 4px; background: var(--cb-yellow);
}
.cb-hero__live { display: flex; align-items: center; justify-content: space-between; font-family: var(--cb-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cb-yellow); }
.cb-hero__live::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--cb-yellow); margin-right: 8px; vertical-align: middle; animation: cb-blink 1s steps(2, end) infinite; }
@keyframes cb-blink { 50% { opacity: 0; } }
.cb-hero__list { margin-top: 28px; display: grid; gap: 20px; }
.cb-hero__list li { display: flex; gap: 14px; }
.cb-hero__dot { margin-top: 4px; width: 10px; height: 10px; flex: none; background: var(--cb-cyan); }
.cb-hero__dot--purple { background: var(--cb-purple); }
.cb-hero__dot--white { background: white; }
.cb-hero__list small { display: block; font-family: var(--cb-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cb-mute); }
.cb-hero__list strong { display: block; margin-top: 4px; font-weight: 500; font-size: 15px; }
.cb-hero__cobrand {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--cb-line);
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--cb-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cb-mute);
}
.cb-hero__cobrand img { height: 22px; opacity: 0.95; filter: brightness(0) invert(1); }

/* ===== ticker ===== */
.cb-marquee {
  position: relative; overflow: hidden;
  background: var(--cb-yellow); color: var(--cb-bg-dark);
  border-block: 1px solid var(--cb-bg-dark);
}
.cb-marquee__track {
  display: flex; gap: 40px; padding: 14px 0; white-space: nowrap;
  animation: cb-marquee 40s linear infinite;
  font-family: var(--cb-mono); font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 400;
}
.cb-marquee__track span { display: inline-flex; align-items: center; gap: 12px; }
.cb-marquee__track span::before { content: '◆'; color: var(--cb-blue); }
@keyframes cb-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== sections ===== */
.cb-section { padding: 80px 0; }
@media (min-width: 1024px) { .cb-section { padding: 120px 0; } }
.cb-section--paper { background: var(--cb-paper); color: var(--cb-ink); }
.cb-section--white { background: white; color: var(--cb-ink); }
.cb-section--dark { position: relative; overflow: hidden; background: var(--cb-bg-dark); color: white; }
.cb-section--blue { background: var(--cb-blue); color: white; }

.cb-section__title {
  margin-top: 16px;
  font-family: var(--cb-title); font-weight: 400;
  font-size: clamp(36px, 5vw, 72px);
  letter-spacing: 0.01em; line-height: 1.05; text-transform: uppercase;
  color: inherit;
  font-feature-settings: "kern" 0;
  text-wrap: balance;
}
.cb-section--paper .cb-section__title, .cb-section--white .cb-section__title { color: var(--cb-bg-dark); }
.cb-section__lead { margin-top: 24px; max-width: 640px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.72); }
.cb-section--paper .cb-section__lead, .cb-section--white .cb-section__lead { color: rgba(10, 21, 35, 0.70); }

/* ===== stats strip ===== */
.cb-stats { padding: 0; background: var(--cb-blue); color: white; border-block: 1px solid var(--cb-bg-dark); }
.cb-stats__grid { display: grid; gap: 0; grid-template-columns: 1fr; text-align: left; }
@media (min-width: 640px) { .cb-stats__grid { grid-template-columns: repeat(3, 1fr); } }
.cb-stats__cell { padding: 32px 24px; }
@media (min-width: 640px) { .cb-stats__cell + .cb-stats__cell { border-left: 1px solid rgba(255, 255, 255, 0.18); } }
.cb-stats__value { font-family: var(--cb-title); font-size: clamp(56px, 8vw, 112px); line-height: 1; letter-spacing: 0.01em; }
.cb-stats__label { margin-top: 12px; font-family: var(--cb-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }

/* ===== prose ===== */
.cb-prose { margin-top: 36px; max-width: 720px; }
.cb-prose p { margin-bottom: 24px; font-size: 18px; line-height: 1.65; }
.cb-section--dark .cb-prose p { color: rgba(255, 255, 255, 0.78); }
.cb-section--paper .cb-prose p, .cb-section--white .cb-prose p { color: rgba(10, 21, 35, 0.78); }

/* ===== differentiator ===== */
.cb-diff__grid { margin-top: 64px; display: grid; gap: 32px; align-items: stretch; }
@media (min-width: 1024px) { .cb-diff__grid { grid-template-columns: 1fr 1fr; } }
.cb-diff__quote { padding: 36px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--cb-line); position: relative; }
.cb-diff__quote::before { content: '"'; font-family: var(--cb-mono); font-size: 80px; line-height: 0.8; color: var(--cb-yellow); display: block; }
.cb-diff__quote p { margin-top: 8px; font-size: 17px; color: rgba(255, 255, 255, 0.85); line-height: 1.6; }
.cb-diff__title {
  font-family: var(--cb-title); font-weight: 400;
  font-size: clamp(40px, 6vw, 84px);
  letter-spacing: 0.01em; line-height: 1; text-transform: uppercase;
  margin-top: 20px;
  color: var(--cb-cyan);
  font-feature-settings: "kern" 0;
}
.cb-diff__pill {
  display: inline-flex; padding: 8px 16px; border-radius: 2000px;
  background: rgba(255, 240, 77, 0.15); box-shadow: inset 0 0 0 1px rgba(255, 240, 77, 0.45);
  font-family: var(--cb-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cb-yellow);
}

/* ===== tracks (gamified trio) ===== */
.cb-tracks { margin-top: 56px; display: grid; gap: 0; }
@media (min-width: 768px) { .cb-tracks { grid-template-columns: repeat(3, 1fr); } }
.cb-track { padding: 36px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--cb-line); transition: background 0.2s; }
.cb-track:hover { background: rgba(54, 104, 255, 0.10); }
.cb-track__num { font-family: var(--cb-mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cb-yellow); }
.cb-track__name { margin-top: 18px; font-family: var(--cb-title); font-size: clamp(40px, 5.5vw, 64px); letter-spacing: 0.01em; text-transform: uppercase; color: white; }
.cb-track__sub { margin-top: 6px; font-family: var(--cb-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cb-cyan); }
.cb-track__body { margin-top: 20px; font-size: 14px; line-height: 1.65; color: rgba(255, 255, 255, 0.72); }

/* ===== agenda ===== */
.cb-agenda__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.cb-agenda__date { padding: 16px 24px; background: var(--cb-bg-dark); color: white; box-shadow: 0 12px 40px rgba(10, 21, 35, 0.18); }
.cb-agenda__date small { font-family: var(--cb-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cb-yellow); }
.cb-agenda__date strong { display: block; margin-top: 6px; font-family: var(--cb-mono); font-size: 24px; letter-spacing: -0.01em; }
.cb-agenda__date span { font-family: var(--cb-mono); font-size: 12px; letter-spacing: 0.05em; color: rgba(255, 255, 255, 0.6); }
.cb-agenda__list { position: relative; padding-left: 24px; border-left: 1px solid rgba(10, 21, 35, 0.15); display: grid; gap: 0; }
.cb-agenda__item { position: relative; padding: 24px 0; border-bottom: 1px solid rgba(10, 21, 35, 0.08); }
.cb-agenda__item:last-child { border-bottom: 0; }
.cb-agenda__item::before {
  content: ''; position: absolute; left: -28px; top: 32px;
  width: 8px; height: 8px; background: var(--cb-blue); transform: rotate(45deg);
}
.cb-agenda__time { font-family: var(--cb-mono); font-size: 12px; letter-spacing: 0.05em; color: var(--cb-blue); font-weight: 500; }
.cb-agenda__num { margin-left: 12px; font-family: var(--cb-mono); font-size: 11px; letter-spacing: 0.18em; color: rgba(10, 21, 35, 0.4); text-transform: uppercase; }
.cb-agenda__title { margin-top: 8px; font-family: var(--cb-title); font-size: clamp(26px, 3.2vw, 36px); letter-spacing: 0.01em; text-transform: uppercase; color: var(--cb-bg-dark); }
.cb-agenda__desc { margin-top: 8px; color: rgba(10, 21, 35, 0.65); font-size: 15px; line-height: 1.55; }

/* ===== card grids ===== */
.cb-cards { margin-top: 64px; display: grid; gap: 0; }
@media (min-width: 768px) { .cb-cards--3 { grid-template-columns: repeat(3, 1fr); } }
.cb-card {
  position: relative; padding: 36px; background: white;
  box-shadow: inset 0 0 0 1px var(--cb-line-dark);
  transition: background 0.2s, transform 0.2s;
}
.cb-card:hover { background: var(--cb-yellow); transform: translateY(-2px); }
.cb-card__num { font-family: var(--cb-mono); font-size: 80px; line-height: 0.9; color: var(--cb-blue); }
.cb-card__title { margin-top: 18px; font-family: var(--cb-title); font-size: clamp(26px, 3vw, 34px); letter-spacing: 0.01em; text-transform: uppercase; color: var(--cb-bg-dark); }
.cb-card__body { margin-top: 16px; color: rgba(10, 21, 35, 0.68); font-size: 15px; line-height: 1.6; }

/* ===== ways ===== */
.cb-ways { margin-top: 56px; display: grid; gap: 0; }
@media (min-width: 768px) { .cb-ways { grid-template-columns: repeat(3, 1fr); } }
.cb-way { padding: 36px; transition: transform 0.2s; }
.cb-way:nth-child(1) { background: white; color: var(--cb-bg-dark); box-shadow: inset 0 0 0 1px var(--cb-line-dark); }
.cb-way:nth-child(2) { background: var(--cb-blue); color: white; }
.cb-way:nth-child(3) { background: var(--cb-yellow); color: var(--cb-bg-dark); }
.cb-way__mode { font-family: var(--cb-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.cb-way:nth-child(1) .cb-way__mode { color: var(--cb-blue); }
.cb-way:nth-child(2) .cb-way__mode { color: rgba(255, 255, 255, 0.7); }
.cb-way:nth-child(3) .cb-way__mode { color: rgba(10, 21, 35, 0.6); }
.cb-way__name { margin-top: 14px; font-family: var(--cb-title); font-size: clamp(34px, 4.4vw, 52px); letter-spacing: 0.01em; text-transform: uppercase; }
.cb-way__body { margin-top: 18px; line-height: 1.6; font-size: 15px; }
.cb-way:nth-child(1) .cb-way__body { color: rgba(10, 21, 35, 0.72); }

/* ===== audience + sectors ===== */
.cb-audience { display: grid; gap: 56px; }
@media (min-width: 1024px) { .cb-audience { grid-template-columns: 5fr 7fr; } }
.cb-audience__list { margin-top: 28px; padding: 28px; background: var(--cb-bg-dark); color: white; }
.cb-audience__list h4 { font-family: var(--cb-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cb-yellow); margin-bottom: 16px; }
.cb-audience__list li { display: flex; gap: 12px; padding: 8px 0; font-size: 15px; color: white; border-bottom: 1px solid var(--cb-line); }
.cb-audience__list li:last-child { border-bottom: 0; }
.cb-audience__list li::before { content: '→'; flex: none; color: var(--cb-yellow); font-family: var(--cb-mono); }
.cb-sectors__head { font-family: var(--cb-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cb-blue); margin-bottom: 24px; }
.cb-sectors__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cb-sectors__chips span {
  padding: 10px 18px;
  background: white; box-shadow: inset 0 0 0 1px var(--cb-line-dark);
  font-family: var(--cb-mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--cb-bg-dark);
  transition: background 0.15s, color 0.15s;
}
.cb-sectors__chips span:hover { background: var(--cb-bg-dark); color: var(--cb-yellow); }

/* ===== speakers ===== */
.cb-speakers__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.cb-speakers__note { font-family: var(--cb-mono); font-size: 12px; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.55); text-transform: uppercase; }
.cb-speakers__grid { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .cb-speakers__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .cb-speakers__grid { grid-template-columns: repeat(4, 1fr); } }
.cb-speaker__photo { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--cb-bg-dark); box-shadow: inset 0 0 0 1px var(--cb-line); }
.cb-speaker__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.1); transition: filter 0.5s; }
.cb-speaker:hover .cb-speaker__photo img { filter: grayscale(0); }
.cb-speaker__photo::after {
  content: ''; position: absolute; inset: auto 0 0; height: 50%;
  background: linear-gradient(to top, rgba(10, 21, 35, 0.95), transparent);
}
.cb-speaker__name { margin-top: 14px; font-family: var(--cb-mono); font-size: 15px; letter-spacing: -0.01em; text-transform: uppercase; color: white; }
.cb-speaker__role { margin-top: 4px; font-family: var(--cb-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--cb-cyan); text-transform: uppercase; }

/* ===== tickets ===== */
.cb-tickets__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.cb-tickets__grid { display: grid; gap: 0; }
@media (min-width: 768px) { .cb-tickets__grid { grid-template-columns: 1fr 1fr; } }
.cb-tier { position: relative; padding: 40px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--cb-line); transition: background 0.2s; }
.cb-tier:hover { background: rgba(54, 104, 255, 0.12); }
.cb-tier--vip { background: var(--cb-yellow); color: var(--cb-bg-dark); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); }
.cb-tier--vip:hover { background: var(--cb-yellow); }
.cb-tier__pill {
  position: absolute; top: -14px; right: 32px;
  padding: 8px 16px; background: var(--cb-bg-dark); color: var(--cb-yellow);
  font-family: var(--cb-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
}
.cb-tier__name { font-family: var(--cb-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cb-cyan); }
.cb-tier--vip .cb-tier__name { color: rgba(10, 21, 35, 0.72); }
.cb-tier__price { margin-top: 16px; display: flex; align-items: baseline; gap: 8px; font-family: var(--cb-mono); }
.cb-tier__price small { font-size: 14px; opacity: 0.65; }
.cb-tier__price strong { font-family: var(--cb-title); font-weight: 400; font-size: clamp(68px, 9vw, 120px); letter-spacing: 0.01em; line-height: 1; }
.cb-tier__usd { margin-top: 6px; font-family: var(--cb-mono); font-size: 12px; letter-spacing: 0.1em; opacity: 0.6; }
.cb-tier__benefits { margin-top: 32px; display: grid; gap: 10px; }
.cb-tier__benefits li { display: flex; gap: 12px; font-size: 14px; line-height: 1.5; }
.cb-tier__benefits li::before { content: '◆'; flex: none; color: var(--cb-yellow); font-family: var(--cb-mono); }
.cb-tier--vip .cb-tier__benefits li::before { color: var(--cb-bg-dark); }
.cb-tier__cta {
  margin-top: 36px; display: inline-flex; width: 100%; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 24px; border-radius: 2000px;
  background: var(--cb-yellow); color: var(--cb-bg-dark);
  font-family: var(--cb-mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.cb-tier__cta:hover { box-shadow: 0 0 0 6px rgba(255, 240, 77, 0.25); }
.cb-tier--vip .cb-tier__cta { background: var(--cb-bg-dark); color: var(--cb-yellow); }
.cb-tier--vip .cb-tier__cta:hover { box-shadow: 0 0 0 6px rgba(10, 21, 35, 0.2); }
.cb-tickets__note { margin-top: 40px; text-align: center; font-family: var(--cb-mono); font-size: 12px; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.55); text-transform: uppercase; }

/* ===== venue ===== */
.cb-venue { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .cb-venue { grid-template-columns: 1fr 1fr; } }
.cb-venue__floors { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.cb-venue__floor { padding: 22px; background: var(--cb-bg-dark); color: white; box-shadow: inset 0 0 0 1px var(--cb-line); }
.cb-venue__floor h4 { font-family: var(--cb-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cb-yellow); }
.cb-venue__floor p { margin-top: 8px; font-family: var(--cb-mono); font-size: 13px; letter-spacing: 0.02em; color: white; line-height: 1.4; }
.cb-venue__card { padding: 4px; background: var(--cb-blue); }
.cb-venue__card-inner { background: white; padding: 40px; text-align: center; }
.cb-venue__card-inner img { margin: 0 auto; height: 56px; }
.cb-venue__card-inner h4 { margin-top: 32px; font-family: var(--cb-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cb-blue); }
.cb-venue__card-inner strong { display: block; margin-top: 12px; font-family: var(--cb-title); font-size: clamp(36px, 4.4vw, 52px); letter-spacing: 0.01em; text-transform: uppercase; color: var(--cb-bg-dark); }
.cb-venue__card-inner span { display: block; margin-top: 8px; font-family: var(--cb-mono); font-size: 13px; letter-spacing: 0.05em; color: rgba(10, 21, 35, 0.65); }

/* ===== sponsors ===== */
.cb-sponsors { padding: 64px 0; background: var(--cb-bg-dark); color: white; border-block: 1px solid var(--cb-line); text-align: center; }
.cb-sponsors h3 { margin-top: 16px; font-family: var(--cb-title); font-size: clamp(30px, 3.8vw, 44px); letter-spacing: 0.01em; text-transform: uppercase; }
.cb-sponsors__row { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 48px; }
.cb-sponsors__row img { height: 48px; opacity: 0.85; transition: opacity 0.2s; filter: brightness(0) invert(1); }
.cb-sponsors__row a:hover img { opacity: 1; }

/* ===== faq ===== */
.cb-faq { max-width: 800px; }
.cb-faq__list { margin-top: 48px; }
.cb-faq__item { border-bottom: 1px solid rgba(10, 21, 35, 0.1); padding: 24px 0; }
.cb-faq__item:last-child { border-bottom: 0; }
.cb-faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  cursor: pointer; list-style: none;
}
.cb-faq__item summary::-webkit-details-marker { display: none; }
.cb-faq__q { font-family: var(--cb-title); font-size: clamp(22px, 2.6vw, 28px); letter-spacing: 0.01em; text-transform: uppercase; color: var(--cb-bg-dark); }
.cb-faq__plus {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--cb-yellow); color: var(--cb-bg-dark);
  font-family: var(--cb-mono); font-size: 18px; font-weight: 400;
  transition: transform 0.2s, background-color 0.2s, color 0.2s;
}
details[open] .cb-faq__plus { background: var(--cb-bg-dark); color: var(--cb-yellow); transform: rotate(45deg); }
.cb-faq__a { margin-top: 16px; padding-right: 60px; color: rgba(10, 21, 35, 0.7); line-height: 1.65; font-size: 15px; }

/* ===== footer ===== */
.cb-footer { position: relative; overflow: hidden; padding: 80px 0 32px; background: var(--cb-bg-darker); color: white; }
.cb-footer__blob { position: absolute; top: -120px; left: 25%; width: 384px; height: 384px; background: rgba(54, 104, 255, 0.18); filter: blur(80px); pointer-events: none; }
.cb-footer__grid { position: relative; display: grid; gap: 48px; }
@media (min-width: 768px) { .cb-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.cb-footer__brand { display: flex; align-items: center; gap: 12px; }
.cb-footer__brand img { height: 36px; }
.cb-footer__brand span { font-family: var(--cb-mono); font-size: 14px; letter-spacing: 0.02em; text-transform: uppercase; }
.cb-footer__brand em { font-style: normal; color: var(--cb-cyan); }
.cb-footer__tagline { margin-top: 24px; max-width: 420px; color: rgba(255, 255, 255, 0.65); line-height: 1.6; font-size: 15px; }
.cb-footer__cobrand { margin-top: 32px; display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--cb-line); }
.cb-footer__cobrand img { height: 24px; filter: brightness(0) invert(1); }
.cb-footer__cobrand small { display: block; font-family: var(--cb-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.cb-footer__cobrand strong { font-family: var(--cb-mono); font-size: 13px; letter-spacing: 0.02em; }
.cb-footer h4 { font-family: var(--cb-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cb-yellow); margin-bottom: 16px; }
.cb-footer__list { display: grid; gap: 14px; color: rgba(255, 255, 255, 0.78); font-size: 14px; }
.cb-footer__list small { display: block; font-family: var(--cb-mono); color: rgba(255, 255, 255, 0.5); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.cb-footer__list a { font-family: var(--cb-mono); font-size: 13px; letter-spacing: 0.02em; transition: color 0.2s; }
.cb-footer__list a:hover { color: var(--cb-yellow); }
.cb-footer__bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--cb-line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--cb-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5);
}

/* ===================================================================
   Generic page wrapper (cart, checkout, order-received, my-account)
   =================================================================== */

.cb-page { padding: 64px 0 96px; background: var(--cb-bg-dark); color: white; min-height: 60vh; }
@media (min-width: 1024px) { .cb-page { padding: 80px 0 120px; } }
.cb-page__header { margin-bottom: 48px; }
.cb-page__title {
  margin-top: 12px;
  font-family: var(--cb-title); font-weight: 400;
  font-size: clamp(40px, 6vw, 80px); letter-spacing: 0.01em; line-height: 1; text-transform: uppercase;
  color: white;
  font-feature-settings: "kern" 0;
}
.cb-page__body { color: rgba(255, 255, 255, 0.85); }

/* ===================================================================
   WooCommerce overrides — checkout, cart, order-received, payment block
   =================================================================== */

/* Reset Woo's white-card defaults and let our dark page bleed through */
.woocommerce, .woocommerce-page,
.woocommerce form,
.woocommerce-billing-fields,
.woocommerce-additional-fields,
.woocommerce-checkout-review-order,
.woocommerce-MyAccount-content,
.woocommerce-info, .woocommerce-message, .woocommerce-error {
  color: white;
}

/* Notices (info / message / error) */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
  background: rgba(54, 104, 255, 0.10);
  box-shadow: inset 0 0 0 1px rgba(54, 104, 255, 0.4);
  border-left: 4px solid var(--cb-blue);
  padding: 16px 20px;
  font-family: var(--cb-mono); font-size: 13px; letter-spacing: 0.02em;
}
.woocommerce-error { background: rgba(220, 38, 38, 0.10); border-left-color: #f87171; box-shadow: inset 0 0 0 1px rgba(220, 38, 38, 0.4); color: #fecaca; }
.woocommerce-message { background: rgba(168, 242, 143, 0.10); border-left-color: var(--cb-mint); box-shadow: inset 0 0 0 1px rgba(168, 242, 143, 0.4); color: var(--cb-mint); }

/* Section headings inside Woo (e.g., "Detalles de facturación", "Tu pedido") */
.woocommerce-billing-fields > h3,
#order_review_heading {
  font-family: var(--cb-title); font-weight: 400;
  font-size: clamp(24px, 2.6vw, 30px); letter-spacing: 0.01em; line-height: 1.05;
  text-transform: uppercase; color: var(--cb-yellow);
  padding-bottom: 16px; margin-bottom: 24px;
  border-bottom: 1px solid var(--cb-line);
}

/* Checkout layout — billing left, order summary right */
.woocommerce form.checkout { display: block; }
.woocommerce .col2-set, .woocommerce-page .col2-set { display: grid; gap: 56px; }
@media (min-width: 1024px) { .woocommerce .col2-set, .woocommerce-page .col2-set { grid-template-columns: 7fr 5fr; } }
.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2 { width: 100%; max-width: none; float: none; }

/* Form rows */
.woocommerce form .form-row { padding: 0; margin: 0 0 18px; }
.woocommerce form .form-row label {
  display: block;
  font-family: var(--cb-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}
.woocommerce form .form-row label .required, .woocommerce form .form-row .required {
  color: var(--cb-yellow); text-decoration: none; margin-left: 4px;
}
.woocommerce form .form-row label .optional { color: rgba(255, 255, 255, 0.4); }

/* First/last name side-by-side on desktop */
.woocommerce form .form-row-first, .woocommerce form .form-row-last {
  width: 100%;
}
@media (min-width: 640px) {
  .woocommerce form .form-row-first { width: calc(50% - 9px); float: left; clear: left; }
  .woocommerce form .form-row-last  { width: calc(50% - 9px); float: right; clear: right; }
  .woocommerce form .form-row-wide  { clear: both; width: 100%; }
}

/* Inputs */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea,
.woocommerce-page form .form-row input.input-text,
.woocommerce-page form .form-row select,
.woocommerce-page form .form-row textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--cb-line);
  border-radius: 0;
  color: white;
  font-family: var(--cb-sans); font-size: 16px; font-weight: 500;
  transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
  appearance: none; -webkit-appearance: none;
}
.woocommerce form .form-row input.input-text::placeholder { color: rgba(255, 255, 255, 0.35); font-weight: 400; }
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
  outline: none;
  background: rgba(54, 104, 255, 0.12);
  border-color: var(--cb-yellow);
  box-shadow: 0 0 0 3px rgba(255, 240, 77, 0.25);
}
.woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: #f87171; box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18); }
.woocommerce form .form-row.woocommerce-validated input.input-text { border-color: rgba(168, 242, 143, 0.55); }

/* Select2 (country dropdown if it ever shows up) */
.select2-container--default .select2-selection--single,
.select2-dropdown {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--cb-line) !important;
  border-radius: 0 !important; height: 50px;
  color: white;
}
.select2-container--default .select2-selection--single .select2-selection__rendered { color: white; line-height: 50px; padding-left: 18px; font-family: var(--cb-sans); font-size: 16px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 50px; }

/* Order summary card */
#order_review_heading { color: var(--cb-yellow); margin-top: 0; }
.woocommerce-checkout-review-order {
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px var(--cb-line);
  padding: 28px;
}
.woocommerce-checkout-review-order::before {
  content: ''; display: block; width: 40px; height: 4px; background: var(--cb-yellow); margin-bottom: 20px;
}
.woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; }
.woocommerce-checkout-review-order-table thead { display: none; }
.woocommerce-checkout-review-order-table tr {
  display: grid; grid-template-columns: 1fr auto; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--cb-line);
}
.woocommerce-checkout-review-order-table .product-name { font-family: var(--cb-mono); font-size: 13px; letter-spacing: 0.05em; color: white; }
.woocommerce-checkout-review-order-table .product-name strong { font-weight: 400; }
.woocommerce-checkout-review-order-table .product-quantity { color: rgba(255, 255, 255, 0.5); margin-left: 8px; }
.woocommerce-checkout-review-order-table .product-total { font-family: var(--cb-title); font-size: 18px; color: white; text-align: right; }
.woocommerce-checkout-review-order-table .product-total .woocommerce-Price-amount { font-family: var(--cb-title); }
.woocommerce-checkout-review-order-table tfoot tr { font-size: 14px; }
.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal th,
.woocommerce-checkout-review-order-table tfoot tr.order-total th { font-family: var(--cb-mono); font-weight: 400; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); text-align: left; }
.woocommerce-checkout-review-order-table tfoot tr.order-total { background: var(--cb-yellow); color: var(--cb-bg-dark); padding: 18px 16px; margin-top: 8px; border-bottom: 0; }
.woocommerce-checkout-review-order-table tfoot tr.order-total th { color: rgba(10, 21, 35, 0.7); }
.woocommerce-checkout-review-order-table tfoot tr.order-total .woocommerce-Price-amount {
  font-family: var(--cb-title); font-size: 28px; line-height: 1; color: var(--cb-bg-dark);
}

/* Payment methods */
#payment, .woocommerce-checkout-payment {
  background: transparent !important;
  margin-top: 24px;
  border-radius: 0 !important;
}
#payment ul.payment_methods, .woocommerce-checkout-payment ul.payment_methods {
  list-style: none; margin: 0; padding: 0; border-bottom: 0;
}
#payment ul.payment_methods li, .woocommerce-checkout-payment ul.payment_methods li {
  padding: 18px 20px;
  background: rgba(54, 104, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(54, 104, 255, 0.35);
  margin-bottom: 8px;
  font-family: var(--cb-sans);
}
#payment ul.payment_methods label, .woocommerce-checkout-payment ul.payment_methods label {
  font-family: var(--cb-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: white;
}
#payment ul.payment_methods .payment_box,
.woocommerce-checkout-payment ul.payment_methods .payment_box {
  background: rgba(255, 255, 255, 0.04) !important;
  margin-top: 12px; padding: 16px 18px;
  font-size: 14px; color: rgba(255, 255, 255, 0.78);
  border-radius: 0 !important;
}
#payment ul.payment_methods .payment_box::before,
.woocommerce-checkout-payment ul.payment_methods .payment_box::before {
  display: none;
}
#payment ul.payment_methods .payment_box ul { padding-left: 18px; }

/* Place-order button (the big CTA at the bottom) */
.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px;
  background: var(--cb-yellow);
  color: var(--cb-bg-dark);
  font-family: var(--cb-mono); font-size: 13px; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: 0; border-radius: 2000px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  cursor: pointer; line-height: 1;
}
.woocommerce #payment #place_order:hover,
.woocommerce-page #payment #place_order:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover { transform: translateY(-1px); box-shadow: 0 0 0 6px rgba(255, 240, 77, 0.25); }

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  background: white; color: var(--cb-bg-dark);
  font-family: var(--cb-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 2000px; border: 0;
  transition: transform 0.15s, color 0.15s, background 0.15s;
  cursor: pointer; line-height: 1;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { background: var(--cb-yellow); color: var(--cb-bg-dark); }

/* Terms checkbox (if WC adds it) */
.woocommerce-terms-and-conditions-wrapper { margin: 16px 0; color: rgba(255, 255, 255, 0.7); font-size: 14px; }
.woocommerce-form__label-for-checkbox input[type=checkbox] { accent-color: var(--cb-yellow); margin-right: 8px; }

/* Hide the "Have a coupon?" link, login link, returning customer prompts that WC tries to inject */
.woocommerce-form-login-toggle, .showcoupon { display: none !important; }
.woocommerce-form-coupon-toggle { display: none !important; }

/* Order-received page tweaks (some elements live alongside our cb-pay block) */
.woocommerce-order-received .woocommerce-thankyou-order-received,
.woocommerce-order-received .woocommerce-order-overview {
  display: none; /* our cb-pay block is the official thankyou UI; hide WC's defaults */
}
.woocommerce-order-details {
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px var(--cb-line);
  padding: 24px; margin-top: 32px;
}
.woocommerce-order-details h2 {
  font-family: var(--cb-title); font-weight: 400;
  font-size: 24px; letter-spacing: 0.01em; text-transform: uppercase;
  color: var(--cb-yellow); margin-bottom: 16px;
}
.woocommerce-order-details .woocommerce-table {
  width: 100%;
}
.woocommerce-order-details .woocommerce-table--order-details td {
  padding: 8px 0; border-bottom: 1px solid var(--cb-line); font-size: 14px;
}
.woocommerce-customer-details { display: none; /* address-less; hide entirely */ }

/* Fix the "Pay" page (when coming back from email link) */
.woocommerce-order-pay #order_review { background: rgba(255, 255, 255, 0.03); padding: 24px; box-shadow: inset 0 0 0 1px var(--cb-line); }

/* Cart link / 'View cart' style on archive */
.woocommerce-mini-cart, .woocommerce-cart-form { color: white; }
.woocommerce-cart-form .shop_table { background: transparent; box-shadow: inset 0 0 0 1px var(--cb-line); }
.woocommerce-cart-form .shop_table th, .woocommerce-cart-form .shop_table td {
  border-color: var(--cb-line);
  font-family: var(--cb-mono); font-size: 13px; padding: 16px;
}

/* Loader overlay (the Woo blockUI when the form is submitting) */
.blockUI.blockOverlay { background: rgba(10, 21, 35, 0.7) !important; }
.blockUI.blockOverlay::before {
  background: var(--cb-yellow) !important;
  border-color: var(--cb-yellow) transparent transparent !important;
}
