/* ============================================================
   PEDRO TOLEDO — ILUSIONISTA
   Custom CSS · sin frameworks externos
   ============================================================ */

/* ── Variables ── */
:root {
  --bg:        #0a0a0c;
  --bg-2:      #111116;
  --bg-3:      #18181f;
  --surface:   #1e1e27;
  --border:    rgba(255,255,255,0.08);
  --gold:      #c9a96e;
  --gold-dim:  #a07840;
  --text:      #e8e4de;
  --text-dim:  #9e9a94;
  --text-muted:#5a5854;
  --white:     #ffffff;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --max-w: 1140px;
  --section-pad: clamp(80px, 10vw, 140px);
  --radius: 4px;
  --transition: 0.3s ease;
}

/* ── Reset mínimo ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

/* ── Helpers ── */
.container {
  width: 90%;
  max-width: var(--max-w);
  margin-inline: auto;
}
.section { padding-block: var(--section-pad); }

/* ── Tipografía ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--white);
}
h1 { font-size: clamp(3rem, 8vw, 6.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.1rem; font-weight: 500; letter-spacing: 0; }

p { font-size: 0.95rem; color: var(--text-dim); margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
em { font-style: italic; color: var(--text); }

.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-header {
  max-width: 640px;
  margin-bottom: clamp(40px, 6vw, 70px);
}
.section-intro {
  font-size: 1.05rem;
  color: var(--text-dim);
  margin-top: 1rem;
}

/* ── Botones ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85em 2em;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--white);
  color: var(--bg);
}
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}
.btn-outline {
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.75rem;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-full { width: 100%; justify-content: center; }

/* ================================================================
   HEADER
================================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem 0;
  transition: background var(--transition), padding var(--transition), backdrop-filter var(--transition);
}
.site-header.scrolled {
  background: rgba(10,10,12,0.92);
  backdrop-filter: blur(12px);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  width: 90%;
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}
.logo-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.04em;
}
.logo-img { height: 42px; width: auto; display: block; }
.logo-img--footer { height: 34px; opacity: 0.7; }
.logo-title {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.main-nav a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color var(--transition);
}
.main-nav a:hover { color: var(--white); }
.main-nav .nav-cta {
  padding: 0.55em 1.4em;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: var(--radius);
}
.main-nav .nav-cta:hover {
  background: var(--gold);
  color: var(--bg);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}

/* ── Nav active state (páginas internas) ── */
.main-nav .nav-active {
  color: var(--gold) !important;
}

/* ================================================================
   PAGE BANNER (páginas internas)
================================================================ */
.page-banner {
  position: relative;
  height: clamp(280px, 45vh, 420px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-banner-bg {
  position: absolute;
  inset: 0;
}
.page-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,12,0.3) 0%,
    rgba(10,10,12,0.7) 70%,
    var(--bg) 100%
  );
}
.page-banner-content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}
.page-banner-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  margin-top: 0.5rem;
}

/* ================================================================
   HERO
================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,12,0.3) 0%,
    rgba(10,10,12,0.1) 30%,
    rgba(10,10,12,0.6) 65%,
    rgba(10,10,12,0.92) 88%,
    var(--bg) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem clamp(80px, 10vh, 120px);
  max-width: 800px;
}
.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero-name {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(232,228,222,0.8);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-awards {
  position: absolute;
  right: 3rem;
  top: 10%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hero-awards img {
  height: 110px;
  width: auto;
  opacity: 0.85;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.6));
  transition: opacity var(--transition);
}
.hero-awards img:hover { opacity: 1; }
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--text-muted);
  transition: color var(--transition);
  animation: bounce 2.5s ease-in-out infinite;
}
.hero-scroll svg { width: 20px; height: 20px; }
.hero-scroll:hover { color: var(--gold); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ================================================================
   BIO
================================================================ */
.bio-section { background: var(--bg); }
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.bio-image {
  position: relative;
}
.bio-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  filter: grayscale(20%);
}
.bio-image::before {
  content: '';
  position: absolute;
  top: -12px; left: -12px;
  width: 60%;
  height: 60%;
  border: 1px solid var(--gold);
  border-right: none;
  border-bottom: none;
  opacity: 0.3;
  border-radius: var(--radius) 0 0 0;
  z-index: -1;
}
.bio-badges {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}
.bio-badges img {
  height: 48px;
  width: auto;
  opacity: 0.7;
  filter: grayscale(20%);
  transition: opacity var(--transition);
}
.bio-badges img:hover { opacity: 1; }
.bio-text h2 { margin-bottom: 1.5rem; }
.bio-text p { margin-bottom: 1.2rem; line-height: 1.85; }
.bio-stats {
  display: flex;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 2rem 0;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ================================================================
   SHOWS
================================================================ */
.shows-section { background: var(--bg-2); }
.shows-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.show-card {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.show-card:hover { background: var(--bg-3); }
.show-card--featured { background: var(--bg-3); }
.show-img {
  position: relative;
  overflow: hidden;
}
.show-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.show-card:hover .show-img img { transform: scale(1.04); }
.show-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 0.25em 0.7em;
  border-radius: 2px;
}
.show-body {
  padding: 1.8rem 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.show-body h3 { margin-bottom: 0.8rem; font-size: 1.5rem; }
.show-body p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 0.8rem; }
.show-events {
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
  margin-top: auto;
  margin-bottom: 1.5rem !important;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.show-events strong { color: var(--text-dim); }

/* ================================================================
   TESTIMONIALS
================================================================ */
.testimonials-section {
  background: var(--bg-3);
  padding: clamp(60px, 8vw, 100px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.testimonial {
  position: relative;
  padding-left: 2rem;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: -1rem; left: -0.2rem;
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.25;
  line-height: 1;
}
.testimonial p {
  font-size: 1rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.testimonial cite {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: normal;
  letter-spacing: 0.03em;
}
.testimonial cite em { color: var(--gold-dim); }

/* ================================================================
   SPEAKER
================================================================ */
.speaker-section { background: var(--bg); }
.speaker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.speaker-text h2 { margin-bottom: 1.2rem; }
.speaker-text > p { margin-bottom: 2rem; }
.speaker-services { margin-bottom: 2.5rem; }
.speaker-item {
  display: flex;
  gap: 1.2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
}
.speaker-item:first-child { border-top: 1px solid var(--border); }
.speaker-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--gold);
  margin-top: 2px;
}
.speaker-icon svg { width: 100%; height: 100%; }
.speaker-item h4 { color: var(--white); margin-bottom: 0.3rem; font-size: 1rem; }
.speaker-item p { font-size: 0.88rem; margin: 0; }
.speaker-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  filter: grayscale(15%);
}

/* ================================================================
   VIDEOS
================================================================ */
.videos-section { background: var(--bg-2); }
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.video-thumb {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.video-thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: brightness(0.7);
}
.video-thumb:hover img {
  transform: scale(1.04);
  filter: brightness(0.5);
}
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(201,169,110,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  transition: var(--transition);
}
.video-thumb:hover .video-play {
  background: var(--white);
  transform: translate(-50%, -50%) scale(1.08);
}
.video-play svg { width: 22px; height: 22px; margin-left: 3px; }
.video-info h4 { font-size: 1rem; color: var(--white); margin-bottom: 0.2rem; }
.video-info p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.videos-cta { text-align: center; }

/* ================================================================
   GALERÍA
================================================================ */
.gallery-section {
  overflow: hidden;
  padding: 2px 0;
  background: var(--bg);
}
.gallery-strip {
  display: flex;
  gap: 2px;
}
.gallery-item {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  filter: grayscale(30%) brightness(0.8);
  transition: filter 0.4s ease, transform 0.4s ease;
}
.gallery-item:hover img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.04);
}

/* ================================================================
   CONTACTO
================================================================ */
.contact-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { margin-bottom: 2rem; }
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.contact-channel:first-child { border-top: 1px solid var(--border); }
.contact-channel:hover { color: var(--gold); }
.channel-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.channel-icon--wa  { background: rgba(37,211,102,0.12); color: #25d366; }
.channel-icon--mail { background: rgba(201,169,110,0.12); color: var(--gold); }
.channel-icon svg { width: 20px; height: 20px; }
.contact-channel div { display: flex; flex-direction: column; gap: 2px; }
.contact-channel strong { font-size: 0.8rem; font-weight: 500; color: var(--white); letter-spacing: 0.05em; }
.contact-channel span { font-size: 0.85rem; color: var(--text-dim); }
.contact-social {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 1rem;
}
.contact-social a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: color var(--transition);
}
.contact-social a:hover { color: var(--gold); }
.contact-social svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Form ── */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.form-group label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.5);
}

/* ================================================================
   FOOTER
================================================================ */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.footer-inner {
  padding-block: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--gold); }
.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.footer-social a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-social a:hover { color: var(--gold); }
.footer-social svg { width: 18px; height: 18px; display: block; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin: 0;
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1024px) {
  .bio-grid,
  .speaker-grid { grid-template-columns: 1fr; }
  .bio-image { order: -1; max-width: 500px; margin-inline: auto; }
  .bio-image img { aspect-ratio: 3/2; }
  .speaker-image { order: -1; max-width: 600px; margin-inline: auto; }
  .shows-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 70px; }
  .main-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,12,0.97);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 99;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    font-size: 1.4rem;
    letter-spacing: 0.15em;
  }
  .main-nav .nav-cta {
    font-size: 0.8rem;
    padding: 0.75em 2em;
  }
  .nav-toggle { display: flex; z-index: 101; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .shows-grid { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5) { display: none; }
  .bio-stats { gap: 1.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .footer-nav { display: none; }
  .hero { flex-direction: column; justify-content: flex-end; align-items: center; }
  .hero-content { width: 100%; padding-bottom: 1rem; }
  .hero-awards {
    position: static;
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
    padding-bottom: 2.5rem;
    width: 100%;
  }
  .hero-awards img { height: 80px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; max-width: 280px; }
  .videos-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(3) { display: none; }
  .bio-stats { flex-wrap: wrap; }
}
