/*
Theme Name: CoachBiohacking
Theme URI: https://coachbiohacking.com
Author: Instituto Neurociencia Internacional Biohacking Mindset Deporte
Author URI: https://coachbiohacking.com
Description: Tema premium para CoachBiohacking / Mindset Biohacking. Estetica oscura y dorada, enfocada en biohacking, mindset, neurociencia deportiva y alto rendimiento. Inspirado en un blog/tienda deportiva premium y adaptado a la marca.
Version: 1.4.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: coachbiohacking
*/

/* ============================================================
   1. VARIABLES / DESIGN TOKENS
   ============================================================ */
:root {
  --black: #050505;
  --graphite: #111111;
  --dark-gray: #1c1c1c;
  --gold: #d9a441;
  --gold-light: #f2c46d;
  --white-warm: #f8f5ef;
  --gray-soft: #b8b8b8;

  --gold-grad: linear-gradient(135deg, #f2c46d 0%, #d9a441 55%, #b5822c 100%);
  --card-border: rgba(217, 164, 65, 0.18);
  --card-border-hover: rgba(242, 196, 109, 0.55);

  --font-title: "Cinzel", "Playfair Display", Georgia, serif;
  --font-body: "Inter", "Montserrat", system-ui, -apple-system, sans-serif;

  --maxw: 1240px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.55);
  --shadow-gold: 0 12px 40px rgba(217, 164, 65, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   2. RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white-warm);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--gold-light); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white-warm);
  letter-spacing: 0.01em;
}

ul { list-style: none; }

::selection { background: var(--gold); color: var(--black); }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: #3a2f17; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ============================================================
   3. LAYOUT HELPERS
   ============================================================ */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--graphite); }
.section--graphite { background: linear-gradient(180deg, #0a0a0a 0%, #131313 100%); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 18px;
}
.section-title span { color: var(--gold); }

.section-lead {
  color: var(--gray-soft);
  max-width: 720px;
  font-size: 1.06rem;
}

.section-head { margin-bottom: 56px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }

.gold-rule {
  width: 72px; height: 3px;
  background: var(--gold-grad);
  border-radius: 3px;
  margin: 0 0 22px;
}
.section-head--center .gold-rule { margin-left: auto; margin-right: auto; }

/* Brain watermark for premium sections */
.has-watermark { position: relative; overflow: hidden; }
.has-watermark::after {
  content: "";
  position: absolute;
  right: -80px; top: 50%;
  transform: translateY(-50%);
  width: 560px; height: 560px;
  background: radial-gradient(circle at center, rgba(217,164,65,0.07) 0%, transparent 65%);
  pointer-events: none;
}

/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 50px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }

.btn--gold {
  background: var(--gold-grad);
  color: #1a1206;
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover { box-shadow: 0 16px 44px rgba(217, 164, 65, 0.36); color: #1a1206; }

.btn--ghost {
  background: transparent;
  border-color: var(--card-border-hover);
  color: var(--white-warm);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(217,164,65,0.06); }

.btn--wa {
  background: #1faa55;
  color: #fff;
}
.btn--wa:hover { background: #25c264; color: #fff; box-shadow: 0 14px 38px rgba(31, 170, 85, 0.4); }

.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn--block { width: 100%; justify-content: center; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gold);
}
.link-more svg { transition: transform 0.25s var(--ease); }
.link-more:hover svg { transform: translateX(4px); }

/* ============================================================
   5. TOP BAR
   ============================================================ */
.topbar {
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.8rem;
  color: var(--gray-soft);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  padding: 6px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.topbar__msg { display: flex; align-items: center; gap: 8px; }
.topbar__msg b { color: var(--gold); font-weight: 600; }
.topbar__meta { display: flex; align-items: center; gap: 22px; }
.topbar__meta a, .topbar__meta span { display: inline-flex; align-items: center; gap: 7px; color: var(--gray-soft); }
.topbar__meta a:hover { color: var(--gold-light); }
.topbar__socials { display: flex; gap: 12px; }
.topbar__socials a { color: var(--gray-soft); }
.topbar__mobile { display: none; }
.icon-xs { width: 14px; height: 14px; }

/* ============================================================
   6. HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217, 164, 65, 0.12);
  transition: background 0.3s var(--ease);
}
.site-header.is-scrolled { background: rgba(5, 5, 5, 0.96); box-shadow: 0 10px 30px rgba(0,0,0,0.45); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 78px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 100%; height: 100%; display: block; }
.brand__icon { width: 42px; height: 42px; flex-shrink: 0; display: inline-flex; }
.post-card__thumb-fallback svg { width: 84px; height: 84px; }
.author__photo svg { width: 86px; height: 86px; }
.product__media svg { width: 64px; height: 64px; }
.custom-logo { max-height: 56px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-title);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white-warm);
}
.brand__name b { color: var(--gold); font-weight: 700; }
.brand__sub {
  font-family: var(--font-body);
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-soft);
  margin-top: 5px;
}

.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--white-warm);
  padding: 10px 14px;
  border-radius: 8px;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 2px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
  border-radius: 2px;
}
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--gold-light); }
.main-nav a:hover::after, .main-nav .current-menu-item > a::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--gold); margin: 0 auto; transition: 0.3s var(--ease); border-radius: 2px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(86vw, 360px);
  background: var(--graphite);
  border-left: 1px solid var(--card-border);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  z-index: 200;
  padding: 90px 28px 40px;
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; margin-bottom: 28px; }
.mobile-nav a { display: block; padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,0.05); color: var(--white-warm); }
.mobile-nav a:hover { color: var(--gold-light); }
.mobile-nav .btn { margin-top: 10px; }
.mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0; visibility: hidden;
  transition: 0.3s var(--ease);
  z-index: 150;
}
.mobile-overlay.is-open { opacity: 1; visibility: visible; }

/* ============================================================
   7. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 75% 30%, rgba(217,164,65,0.16) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(217,164,65,0.08) 0%, transparent 50%),
    linear-gradient(180deg, #060606 0%, #0d0b07 60%, #050505 100%);
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  filter: grayscale(0.2) contrast(1.05);
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.7) 45%, rgba(5,5,5,0.35) 100%);
}
.hero__inner { position: relative; z-index: 3; max-width: 820px; padding: 80px 0; }
.hero h1 {
  font-size: clamp(2.5rem, 6.2vw, 4.6rem);
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero h1 span { color: var(--gold); display: inline; }
.hero__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--gray-soft);
  max-width: 640px;
  margin-bottom: 38px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__keywords {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 46px;
}
.hero__keywords span {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid var(--card-border);
  padding: 7px 15px;
  border-radius: 50px;
  background: rgba(217,164,65,0.05);
}

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  padding: 120px 0 80px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(217,164,65,0.14) 0%, transparent 60%),
    linear-gradient(180deg, #080706 0%, #050505 100%);
  border-bottom: 1px solid rgba(217,164,65,0.1);
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 18px; }
.page-hero h1 span { color: var(--gold); }
.page-hero p { color: var(--gray-soft); max-width: 700px; margin: 0 auto; font-size: 1.08rem; }
.breadcrumbs { font-size: 0.82rem; color: var(--gray-soft); margin-bottom: 22px; letter-spacing: 0.06em; }
.breadcrumbs a { color: var(--gold); }

/* ============================================================
   8. GRIDS & CARDS
   ============================================================ */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: linear-gradient(160deg, #161616 0%, #0e0e0e 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 34px 30px;
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-8px); border-color: var(--card-border-hover); box-shadow: var(--shadow-soft); }

.card__icon {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(217,164,65,0.1);
  border: 1px solid var(--card-border);
  margin-bottom: 22px;
  color: var(--gold);
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.32rem; margin-bottom: 12px; }
.card p { color: var(--gray-soft); font-size: 0.96rem; margin-bottom: 18px; }

/* Methodology pills */
.method-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.method {
  display: flex; align-items: center; gap: 12px;
  background: var(--dark-gray);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  padding: 12px 22px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: 0.3s var(--ease);
}
.method:hover { border-color: var(--card-border-hover); background: #232014; transform: translateY(-3px); }
.method .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-grad); flex-shrink: 0; }

/* ============================================================
   9. BOOK FEATURE
   ============================================================ */
.book {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.book__media { position: relative; }
.book__cover {
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.6), 0 0 0 1px rgba(217,164,65,0.2);
  transform: perspective(1200px) rotateY(-8deg);
  transition: transform 0.6s var(--ease);
}
.book__media:hover .book__cover { transform: perspective(1200px) rotateY(0deg); }
.book__badge {
  position: absolute; top: -18px; right: -10px;
  background: var(--gold-grad);
  color: #1a1206;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 50px;
  box-shadow: var(--shadow-gold);
  transform: rotate(6deg);
}
.book h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 8px; }
.book__sub { color: var(--gold); font-weight: 600; font-size: 1.05rem; margin-bottom: 20px; font-family: var(--font-body); }
.book p { color: var(--gray-soft); margin-bottom: 18px; }
.book__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }

/* ============================================================
   10. BLOG
   ============================================================ */
.post-card {
  background: linear-gradient(160deg, #151515 0%, #0d0d0d 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  height: 100%;
}
.post-card:hover { transform: translateY(-8px); border-color: var(--card-border-hover); box-shadow: var(--shadow-soft); }
.post-card__thumb { aspect-ratio: 16/10; overflow: hidden; background: #0a0a0a; position: relative; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-card:hover .post-card__thumb img { transform: scale(1.06); }
.post-card__thumb-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 40%, rgba(217,164,65,0.14), transparent 70%), #0c0c0c;
  color: rgba(217,164,65,0.4);
}
.post-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex-grow: 1; }
.post-card__cat {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}
.post-card h3 { font-size: 1.22rem; margin-bottom: 12px; line-height: 1.3; }
.post-card h3 a { color: var(--white-warm); }
.post-card h3 a:hover { color: var(--gold-light); }
.post-card__excerpt { color: var(--gray-soft); font-size: 0.93rem; flex-grow: 1; margin-bottom: 18px; }
.post-card__meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; color: var(--gray-soft); border-top: 1px solid rgba(255,255,255,0.06); padding-top: 16px; }

/* category chips bar */
.cat-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 48px; }
.cat-chip {
  font-size: 0.82rem; font-weight: 500;
  padding: 8px 18px; border-radius: 50px;
  border: 1px solid var(--card-border);
  color: var(--gray-soft);
}
.cat-chip:hover, .cat-chip.is-active { color: var(--black); background: var(--gold-grad); border-color: transparent; }

/* single post */
.post-content { max-width: 760px; margin: 0 auto; }
.post-content p { color: #d8d4cc; margin-bottom: 22px; font-size: 1.06rem; }
.post-content h2 { font-size: 1.8rem; margin: 40px 0 16px; }
.post-content h3 { font-size: 1.4rem; margin: 32px 0 14px; color: var(--gold-light); }
.post-content ul, .post-content ol { margin: 0 0 22px 22px; color: #d8d4cc; }
.post-content li { margin-bottom: 10px; }
.post-content ul li { list-style: none; position: relative; padding-left: 4px; }
.post-content ul li::before { content: "—"; color: var(--gold); position: absolute; left: -22px; }
.post-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 6px 0 6px 26px;
  margin: 30px 0;
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--white-warm);
  font-style: italic;
}
.post-content img { border-radius: 12px; margin: 26px 0; }
.post-hero-meta { text-align: center; margin-bottom: 40px; color: var(--gray-soft); }

/* ============================================================
   11. PROGRAMS / FEATURE LIST
   ============================================================ */
.program {
  background: linear-gradient(160deg, #161616 0%, #0e0e0e 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 38px 34px;
  transition: 0.4s var(--ease);
  height: 100%;
  display: flex; flex-direction: column;
}
.program:hover { border-color: var(--card-border-hover); transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.program__num { font-family: var(--font-title); font-size: 2.4rem; color: rgba(217,164,65,0.35); line-height: 1; margin-bottom: 14px; }
.program h3 { font-size: 1.45rem; margin-bottom: 14px; }
.program > p { color: var(--gray-soft); margin-bottom: 20px; }
.feature-list { margin-bottom: 26px; flex-grow: 1; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: #cfcbc2; font-size: 0.95rem; padding: 7px 0; }
.feature-list li svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 4px; }

/* ============================================================
   12. CTA SECTION
   ============================================================ */
.cta-band {
  position: relative;
  text-align: center;
  padding: 90px 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(217,164,65,0.16) 0%, transparent 60%),
    linear-gradient(180deg, #0c0a07 0%, #050505 100%);
  border-top: 1px solid rgba(217,164,65,0.14);
  border-bottom: 1px solid rgba(217,164,65,0.14);
}
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 18px; max-width: 800px; margin-left: auto; margin-right: auto; }
.cta-band p { color: var(--gray-soft); max-width: 620px; margin: 0 auto 34px; font-size: 1.08rem; }
.cta-band .hero__cta { justify-content: center; }

/* Community block */
.community {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
}
.benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.benefit {
  display: flex; gap: 12px; align-items: center;
  background: var(--dark-gray);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 0.92rem;
}
.benefit svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }

/* ============================================================
   13. CONTACT / FORMS
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info .info-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-info .info-item svg { width: 24px; height: 24px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.contact-info .info-item h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.contact-info .info-item p { color: var(--gray-soft); }

.form-card {
  background: linear-gradient(160deg, #161616 0%, #0e0e0e 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 40px 36px;
}
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.82rem; font-weight: 500; margin-bottom: 8px; color: var(--white-warm); }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--black);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--white-warm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217,164,65,0.14);
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; cursor: pointer; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ============================================================
   14. SHOP / PRODUCTS (future)
   ============================================================ */
.product {
  background: linear-gradient(160deg, #151515 0%, #0d0d0d 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: 0.4s var(--ease); height: 100%;
}
.product:hover { transform: translateY(-8px); border-color: var(--card-border-hover); box-shadow: var(--shadow-soft); }
.product__media { aspect-ratio: 1; background: #0b0b0b; display: flex; align-items: center; justify-content: center; color: rgba(217,164,65,0.4); }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex-grow: 1; }
.product h3 { font-size: 1.15rem; margin-bottom: 8px; }
.product p { color: var(--gray-soft); font-size: 0.9rem; flex-grow: 1; margin-bottom: 14px; }
.product__price { font-family: var(--font-title); color: var(--gold); font-size: 1.3rem; margin-bottom: 16px; }
.tag-soon { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--black); background: var(--gold-grad); padding: 4px 10px; border-radius: 50px; font-weight: 700; }

/* ============================================================
   15. AUTHOR CARD
   ============================================================ */
.author {
  display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center;
  background: linear-gradient(160deg, #161616 0%, #0e0e0e 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 44px 40px;
}
.author__photo {
  width: 220px; height: 260px; border-radius: 12px; object-fit: cover;
  background: radial-gradient(circle at 50% 30%, rgba(217,164,65,0.18), #0c0c0c);
  border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center; color: rgba(217,164,65,0.4);
}
.author h3 { font-size: 1.7rem; margin-bottom: 6px; }
.author__role { color: var(--gold); font-weight: 600; margin-bottom: 16px; }
.author p { color: var(--gray-soft); margin-bottom: 14px; }

/* ============================================================
   16. FOOTER
   ============================================================ */
.site-footer {
  background: var(--black);
  border-top: 1px solid rgba(217,164,65,0.14);
  padding: 72px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; }
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand p { color: var(--gray-soft); font-size: 0.92rem; max-width: 320px; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: var(--gray-soft); font-size: 0.93rem; }
.footer-col a:hover { color: var(--gold-light); }
.footer-contact li { display: flex; gap: 10px; color: var(--gray-soft); font-size: 0.92rem; margin-bottom: 14px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; margin-top: 4px; }
.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.footer-socials a {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.footer-socials a:hover { background: var(--gold-grad); color: var(--black); border-color: transparent; }
.footer-bottom {
  margin-top: 56px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 26px 0;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 0.82rem; color: var(--gray-soft);
}

/* ============================================================
   17. FLOATING WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed; bottom: 26px; right: 26px;
  width: 60px; height: 60px;
  background: #1faa55;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 34px rgba(31,170,85,0.45);
  z-index: 120;
  transition: transform 0.3s var(--ease);
  animation: wa-pulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; color: #fff; }
@keyframes wa-pulse {
  0% { box-shadow: 0 12px 34px rgba(31,170,85,0.45), 0 0 0 0 rgba(31,170,85,0.5); }
  70% { box-shadow: 0 12px 34px rgba(31,170,85,0.45), 0 0 0 16px rgba(31,170,85,0); }
  100% { box-shadow: 0 12px 34px rgba(31,170,85,0.45), 0 0 0 0 rgba(31,170,85,0); }
}

/* ============================================================
   18. ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   19. UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-40 { margin-bottom: 40px; }
.gold { color: var(--gold); }
.muted { color: var(--gray-soft); }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 56px; }
.pagination a, .pagination span {
  min-width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--card-border); border-radius: 10px;
  color: var(--white-warm); font-size: 0.9rem; padding: 0 12px;
}
.pagination .current { background: var(--gold-grad); color: var(--black); border-color: transparent; }
.pagination a:hover { border-color: var(--gold); color: var(--gold-light); }

/* ============================================================
   19b. AUTHOR PAGE
   ============================================================ */
.author-hero { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.author-hero__media { position: relative; }
.author-hero__media img {
  width: 100%; border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.6), 0 0 0 1px rgba(217,164,65,0.25);
}
.author-hero__placeholder {
  aspect-ratio: 4/5; border-radius: 16px;
  background: radial-gradient(circle at 50% 30%, rgba(217,164,65,0.16), #0c0c0c);
  border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center;
}
.author-hero__placeholder svg { width: 100px; height: 100px; color: rgba(217,164,65,0.45); }
.author-hero__info h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 10px; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat { padding: 14px 10px; }
.stat__num { display: block; font-family: var(--font-title); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--gold); line-height: 1; }
.stat__label { display: block; margin-top: 10px; color: var(--gray-soft); font-size: 0.9rem; }

/* Award / diploma grid */
.award-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.award {
  background: linear-gradient(160deg, #161616 0%, #0e0e0e 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.award:hover { transform: translateY(-8px); border-color: var(--card-border-hover); box-shadow: var(--shadow-soft); }
.award__img { position: relative; aspect-ratio: 4/3; background: #0b0b0b; cursor: zoom-in; display: flex; align-items: center; justify-content: center; color: rgba(217,164,65,0.4); }
.award__img img { width: 100%; height: 100%; object-fit: cover; }
.award__img svg { width: 54px; height: 54px; }
.award__zoom, .photo__zoom {
  position: absolute; right: 12px; bottom: 12px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(5,5,5,0.7); border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.award:hover .award__zoom, .photo:hover .photo__zoom { opacity: 1; }
.award figcaption { padding: 20px 22px 24px; }
.award__tag { display: inline-block; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.award figcaption h3 { font-size: 1.12rem; margin-bottom: 8px; }
.award figcaption p { color: var(--gray-soft); font-size: 0.9rem; }

/* Photo gallery */
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.photo { position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--card-border); cursor: zoom-in; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.photo:hover img { transform: scale(1.07); }

/* Lightbox */
.cb-lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(3,3,3,0.92);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 16px; padding: 30px;
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease);
}
.cb-lightbox.is-open { opacity: 1; visibility: visible; }
.cb-lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.7); }
.cb-lightbox__cap { color: var(--white-warm); font-family: var(--font-title); font-size: 1.1rem; }
.cb-lightbox__close {
  position: absolute; top: 22px; right: 26px;
  width: 46px; height: 46px; border-radius: 50%;
  background: transparent; border: 1px solid var(--card-border);
  color: var(--white-warm); font-size: 1.4rem; cursor: pointer;
}
.cb-lightbox__close:hover { border-color: var(--gold); color: var(--gold); }

/* Embeds */
.embed-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--card-border); background: #0b0b0b; }
.embed-frame iframe { width: 100%; min-height: 152px; border: 0; display: block; }
.embed-frame .wp-video, .embed-frame video { width: 100% !important; }

/* Podcast episodes */
.episode-list { display: flex; flex-direction: column; gap: 22px; }
.episode {
  background: linear-gradient(160deg, #161616 0%, #0e0e0e 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px 26px;
  transition: border-color 0.3s var(--ease);
}
.episode:hover { border-color: var(--card-border-hover); }
.episode__head { display: flex; gap: 22px; align-items: center; }
.episode__cover { position: relative; width: 120px; height: 120px; flex-shrink: 0; border-radius: 12px; overflow: hidden; background: #0b0b0b; display: flex; align-items: center; justify-content: center; color: rgba(217,164,65,0.4); }
.episode__cover img { width: 100%; height: 100%; object-fit: cover; }
.episode__cover svg { width: 40px; height: 40px; }
.episode__num { position: absolute; left: 8px; top: 8px; background: var(--gold-grad); color: #1a1206; font-size: 0.66rem; font-weight: 700; padding: 3px 8px; border-radius: 50px; }
.episode__meta { flex-grow: 1; }
.episode__meta h3 { font-size: 1.22rem; margin-bottom: 6px; }
.episode__dur { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--gold); margin-bottom: 8px; }
.episode__dur svg { width: 14px; height: 14px; }
.episode__meta p { color: var(--gray-soft); font-size: 0.93rem; margin: 0; }
.episode__player { margin-top: 18px; }

/* ============================================================
   20. RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .main-nav a { padding: 10px 10px; font-size: 0.86rem; }
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .book { grid-template-columns: 1fr; gap: 40px; }
  .book__media { max-width: 320px; margin: 0 auto; }
  .author { grid-template-columns: 1fr; text-align: center; }
  .author__photo { margin: 0 auto; }
  .author-hero { grid-template-columns: 1fr; gap: 36px; }
  .author-hero__media { max-width: 380px; }
  .award-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 900px) {
  .main-nav, .header__actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .topbar__meta { display: none; }
  .topbar__mobile { display: flex; }
  .topbar__msg { display: none; }
  .topbar__inner { justify-content: center; }
  .community, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 72px 0; }
}

@media (max-width: 680px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .benefit-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 40px 0 20px; }
  .hero__cta .btn, .cta-band .btn { width: 100%; justify-content: center; }
  .brand__sub { display: none; }
  .section { padding: 60px 0; }
  .card, .program, .form-card { padding: 28px 22px; }
  .award-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .episode__head { flex-direction: column; align-items: flex-start; text-align: left; }
  .episode__cover { width: 100%; height: 180px; }
}
