/* ===================================================
   PROFESOR JHONY — main.css
   Reset, variables, base, layout, navbar, footer
   =================================================== */

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

html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --bg-primary:    #120D0A;
  --bg-secondary:  #191210;
  --bg-card:       #211714;
  --bg-glass:      rgba(255,255,255,0.04);
  --accent:        #E8A33D;
  --accent-2:      #E8604C;
  --accent-glow:   rgba(232,163,61,0.15);
  --accent-dim:    #B9792A;
  --text-primary:  #F8F1E7;
  --text-secondary:#B7A794;
  --text-muted:    #6E6153;
  --border:        rgba(232,163,61,0.14);
  --border-hover:  rgba(232,163,61,0.34);
  --font-display:  'Fraunces', serif;
  --font-body:     'Inter', sans-serif;
  --font-mono:     'JetBrains Mono', monospace;
  --radius-card:   16px;
  --transition:    0.3s ease;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a  { color: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 2px; }

/* ---- Cursor Glow (subtle warm light that trails the real pointer) ---- */
.cursor-spotlight {
  position: fixed; top: 0; left: 0;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,163,61,0.10) 0%, rgba(232,96,76,0.05) 42%, transparent 72%);
  pointer-events: none;
  z-index: 5;
  transform: translate(-50%, -50%) scale(1);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.35s ease;
  will-change: left, top;
}
.cursor-spotlight.active { opacity: 1; }
.cursor-spotlight.hover { transform: translate(-50%, -50%) scale(1.35); }

/* ---- WhatsApp float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 800;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 6px 28px rgba(37,211,102,0.65); }
.whatsapp-float svg { width: 26px; height: 26px; }

/* ---- Navbar ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 6%;
  transition: background var(--transition), padding var(--transition), border-color var(--transition);
}
nav.scrolled {
  background: rgba(18,13,10,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 6%;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.2rem;
  color: var(--text-primary);
  letter-spacing: 0.03em;
}
.nav-logo-text em { color: var(--accent); font-style: normal; }

.nav-links {
  display: flex; align-items: center; gap: 30px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.875rem; font-weight: 500;
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 50%; right: 50%;
  height: 1px; background: var(--accent);
  transition: left var(--transition), right var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { left: 0; right: 0; }

.nav-cta {
  padding: 9px 22px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.85rem; font-weight: 600;
  transition: background var(--transition), color var(--transition), transform 0.15s ease;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent); color: var(--bg-primary); }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: all var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed; inset: 0;
  background: rgba(18,13,10,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.75rem; font-weight: 700;
  color: var(--text-primary); text-decoration: none;
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--accent); }

/* ---- Section base ---- */
section { padding: 96px 6%; position: relative; overflow: hidden; }

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.2em; color: var(--accent);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.section-tag::before, .section-tag::after {
  content: ''; display: block; width: 18px; height: 1px; background: var(--accent);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 700; line-height: 1.15; margin-bottom: 14px;
}
.section-subtitle {
  font-size: 1rem; color: var(--text-secondary);
  max-width: 560px; line-height: 1.75;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-tag { justify-content: center; }
.section-header .section-subtitle { margin: 0 auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.9rem;
  text-decoration: none; transition: all var(--transition);
  border: 1px solid transparent; white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary { background: var(--accent); color: var(--bg-primary); border-color: var(--accent); }
.btn-primary:hover {
  background: #F3B95C; border-color: #F3B95C;
  box-shadow: 0 0 28px rgba(232,163,61,0.35);
  transform: translateY(-2px);
}
.btn-ghost { background: transparent; color: var(--text-primary); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--border-hover); color: var(--accent); }
.btn-full { width: 100%; }

/* ---- Utility ---- */
.gradient-text {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.accent-text { color: var(--accent); }

/* ===== HERO ===== */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: 110px; padding-bottom: 60px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.hero-glow {
  position: absolute; top: 10%; right: 0%;
  width: 680px; height: 680px;
  background: radial-gradient(ellipse, rgba(232,163,61,0.09) 0%, transparent 70%);
}
.hero-glow-2 {
  position: absolute; bottom: -10%; left: -5%;
  width: 520px; height: 520px;
  background: radial-gradient(ellipse, rgba(232,96,76,0.07) 0%, transparent 70%);
}
.hero-watermark {
  position: absolute; bottom: 4%; right: -4%;
  width: 420px; height: 420px; opacity: 0.035;
}
#waveform { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center;
  width: 100%; max-width: 1300px; margin: 0 auto;
}

.hero-label {
  font-family: var(--font-mono); font-size: 0.72rem;
  color: var(--accent); letter-spacing: 0.22em;
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px; text-transform: uppercase;
}
.hero-label::before, .hero-label::after {
  content: ''; display: block; width: 14px; height: 1px; background: var(--accent);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 700; line-height: 1.18;
  letter-spacing: -0.01em; margin-bottom: 24px;
  font-style: italic;
}

.hero-sub {
  font-size: 1.02rem; color: var(--text-secondary);
  line-height: 1.85; margin-bottom: 38px; max-width: 480px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero visual cards */
.hero-visual {
  position: relative; height: 500px;
}
.hero-connections {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}

.hero-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 18px;
  min-width: 176px; z-index: 1;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color var(--transition), box-shadow var(--transition);
}
.hero-card.visible { opacity: 1; transform: translateY(0); }
.hero-card:hover { border-color: var(--border-hover); box-shadow: 0 8px 30px rgba(232,163,61,0.1); }

.hero-card-1 { top: 12px; left: 24px; }
.hero-card-2 { top: 150px; right: 0; }
.hero-card-3 { bottom: 168px; left: 4px; }
.hero-card-4 { bottom: 24px; right: 14px; }
.hero-card-5 { top: 42%; left: 42%; }

@keyframes float-a { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
@keyframes float-b { 0%,100%{transform:translateY(-8px)} 50%{transform:translateY(8px)} }
@keyframes float-c { 0%,100%{transform:translateY(-4px)} 50%{transform:translateY(12px)} }
@keyframes float-d { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-18px)} }
@keyframes float-e { 0%,100%{transform:translateY(-6px)} 50%{transform:translateY(10px)} }

.hero-card-1.visible { animation: float-a 6.0s ease-in-out infinite; }
.hero-card-2.visible { animation: float-b 7.0s ease-in-out infinite; }
.hero-card-3.visible { animation: float-c 5.5s ease-in-out infinite; }
.hero-card-4.visible { animation: float-d 6.5s ease-in-out infinite; }
.hero-card-5.visible { animation: float-e 6.2s ease-in-out infinite; }

.card-icon {
  width: 32px; height: 32px;
  background: var(--accent-glow); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px; border: 1px solid rgba(232,163,61,0.2);
}
.card-icon svg { width: 16px; height: 16px; }
.card-label { font-size: 0.72rem; color: var(--text-secondary); font-weight: 500; }

/* ===== METRICS ===== */
#metrics {
  padding: 32px 6%;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: visible;
}
.metrics-grid {
  display: flex; flex-direction: row; justify-content: center; align-items: center;
  max-width: 820px; margin: 0 auto;
}
.metric-item { flex: 1; text-align: center; padding: 16px 24px; }
.metric-item:not(:last-child) { border-right: 1px solid var(--border); }
.metric-number {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 700; color: var(--accent); line-height: 1;
  letter-spacing: -1px; margin-bottom: 6px;
}
.metric-label { font-size: 0.8rem; color: var(--text-secondary); font-weight: 400; line-height: 1.3; }

/* ===== ABOUT ===== */
#sobre { background: var(--bg-primary); }
.about-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: 64px; align-items: center;
}
.about-photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
}
.about-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; color: var(--text-muted);
}
.about-photo-placeholder svg { width: 46px; height: 46px; opacity: 0.5; }
.about-photo-placeholder span {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.about-text p { color: var(--text-secondary); font-size: 1.02rem; line-height: 1.9; margin-bottom: 20px; }
.about-quote {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.3rem; color: var(--text-primary);
  border-left: 2px solid var(--accent);
  padding-left: 22px; margin-top: 28px; line-height: 1.5;
}

/* ===== INSTRUMENTS ===== */
#instrumentos { background: var(--bg-secondary); }
.instruments-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 18px; }
.instrument-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 30px 22px; text-align: center;
  transition: all var(--transition);
}
.instrument-card:hover {
  border-color: rgba(232,163,61,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0,0,0,0.3);
}
.instrument-icon {
  width: 56px; height: 56px;
  background: var(--accent-glow);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  border: 1px solid rgba(232,163,61,0.18);
}
.instrument-icon svg { width: 26px; height: 26px; }
.instrument-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; }

/* ===== METHODOLOGY / PROCESS ===== */
#metodologia { background: var(--bg-primary); }
.steps-container {
  position: relative;
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 28px; align-items: start;
}
.steps-line {
  position: absolute; top: 27px; left: 12%; right: 12%;
  height: 1px; background: var(--border); overflow: hidden;
}
.steps-line-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(232,163,61,0.2) 100%);
  transition: width 2.2s cubic-bezier(0.4,0,0.2,1);
}
.steps-line-fill.animated { width: 100%; }

.step { position: relative; text-align: center; padding-top: 64px; }
.step-circle {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  color: var(--accent);
  transition: all var(--transition);
}
.step:hover .step-circle {
  border-color: var(--accent);
  background: var(--accent-glow);
  box-shadow: 0 0 20px rgba(232,163,61,0.2);
}
.step-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.step-text { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; }

/* ===== TRAYECTORIA (resume timeline) ===== */
#trayectoria { background: var(--bg-secondary); }
.resume-timeline { max-width: 760px; margin: 0 auto; position: relative; }
.resume-timeline::before {
  content: ''; position: absolute; left: 19px; top: 8px; bottom: 8px;
  width: 1px; background: var(--border);
}
.resume-item {
  position: relative; padding-left: 60px; padding-bottom: 46px;
}
.resume-item:last-child { padding-bottom: 0; }
.resume-dot {
  position: absolute; left: 0; top: 2px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.resume-item:hover .resume-dot {
  border-color: var(--accent); background: var(--accent-glow);
}
.resume-dot svg { width: 17px; height: 17px; }
.resume-tag {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 6px; display: block;
}
.resume-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.resume-text { color: var(--text-secondary); line-height: 1.8; font-size: 0.97rem; max-width: 560px; }

/* ===== GENRES MARQUEE ===== */
#generos { background: var(--bg-primary); padding-top: 80px; padding-bottom: 80px; }
.marquee-wrapper { position: relative; overflow: hidden; }
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 130px; z-index: 2; pointer-events: none;
}
.marquee-wrapper::before { left: 0; background: linear-gradient(90deg, var(--bg-primary), transparent); }
.marquee-wrapper::after  { right: 0; background: linear-gradient(-90deg, var(--bg-primary), transparent); }

.marquee-track {
  display: flex; gap: 16px;
  animation: marquee 32s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.tool-item {
  display: flex; align-items: center; gap: 9px;
  padding: 11px 18px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 9px; white-space: nowrap;
  transition: all var(--transition);
}
.tool-item:hover { border-color: var(--border-hover); background: rgba(232,163,61,0.05); }
.tool-item span { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-secondary); transition: color var(--transition); }
.tool-item:hover span { color: var(--text-primary); }
.tool-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: 0.35; transition: opacity var(--transition); }
.tool-item:hover .tool-dot { opacity: 1; }

/* ===== VIDEOS ===== */
#videos { background: var(--bg-secondary); }
.video-category { margin-bottom: 52px; }
.video-category:last-child { margin-bottom: 0; }
.video-category-title {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
  margin-bottom: 22px; display: flex; align-items: center; gap: 14px;
}
.video-category-title::before { content: ''; width: 26px; height: 2px; background: var(--accent); display: block; flex-shrink: 0; }
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.video-thumb {
  position: relative; aspect-ratio: 16 / 9;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-card);
  cursor: pointer; padding: 0; display: block; width: 100%;
  transition: border-color var(--transition), transform var(--transition);
}
.video-thumb:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-thumb .play-badge {
  position: absolute; inset: 0; margin: auto;
  width: 44px; height: 44px; background: rgba(232,163,61,0.92);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition), background var(--transition);
}
.video-thumb:hover .play-badge { transform: scale(1.1); background: var(--accent); }
.video-thumb .play-badge svg { width: 16px; height: 16px; fill: var(--bg-primary); margin-left: 2px; }
.video-thumb iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ===== TESTIMONIALS ===== */
#testimonios { background: var(--bg-primary); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  transition: all var(--transition);
}
.testimonial-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.testimonial-quote-mark {
  font-family: var(--font-display); font-size: 2.6rem; color: var(--accent);
  opacity: 0.4; line-height: 1; margin-bottom: 8px; font-style: italic;
}
.testimonial-text { color: var(--text-secondary); line-height: 1.8; font-size: 0.95rem; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-glow); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--accent);
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-role { font-size: 0.78rem; color: var(--text-muted); }

.testimonial-card.placeholder {
  border-style: dashed;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 14px; color: var(--text-muted); min-height: 220px;
}
.testimonial-card.placeholder svg { width: 28px; height: 28px; opacity: 0.5; }
.testimonial-card.placeholder span {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em;
  text-transform: uppercase; line-height: 1.6; max-width: 200px;
}

/* ===== CTA FINAL ===== */
#cta { background: var(--bg-secondary); text-align: center; padding: 120px 6%; }
.cta-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 15%;
  opacity: 0.4; filter: saturate(0.85);
}
.cta-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,15,12,0.55) 0%, rgba(20,15,12,0.86) 55%, var(--bg-secondary) 100%);
  pointer-events: none;
}
.cta-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(232,163,61,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; }
.cta-symbol {
  width: 68px; height: 68px; margin: 0 auto 30px;
  animation: spin-slow 22s linear infinite;
  opacity: 0.9;
}
@keyframes spin-slow { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
.cta-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  font-weight: 700; line-height: 1.18; margin-bottom: 18px;
  max-width: 680px; margin-left: auto; margin-right: auto;
}
.cta-sub { font-size: 1rem; color: var(--text-secondary); margin-bottom: 44px; line-height: 1.75; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
footer { background: var(--bg-primary); padding: 52px 6% 28px; position: relative; }
.footer-top-line {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; margin-bottom: 40px; flex-wrap: wrap;
}
.footer-tagline { font-size: 0.82rem; color: var(--text-muted); margin-top: 10px; max-width: 220px; line-height: 1.6; }
.footer-heading { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; color: var(--text-muted); margin-bottom: 14px; text-transform: uppercase; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { text-decoration: none; font-size: 0.85rem; color: var(--text-secondary); transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }
.social-icons { display: flex; gap: 10px; }
.social-icon {
  width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: all var(--transition);
}
.social-icon:hover { border-color: var(--accent); background: var(--accent-glow); }
.social-icon svg { width: 16px; height: 16px; stroke: var(--text-secondary); transition: stroke var(--transition); }
.social-icon:hover svg { stroke: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; border-top: 1px solid var(--border); gap: 12px; flex-wrap: wrap;
}
.footer-copy { font-size: 0.78rem; color: var(--text-muted); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { height: 360px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-frame { max-width: 380px; margin: 0 auto; }
  .instruments-grid { grid-template-columns: repeat(3,1fr); }
  .steps-container { grid-template-columns: repeat(2,1fr); }
  .steps-line { display: none; }
  .video-grid { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .cursor-spotlight { display: none; }
  section { padding: 68px 5%; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .hero-visual { display: none; }
  .hero-headline { font-size: clamp(32px, 8vw, 44px); letter-spacing: -0.01em; }
  .instruments-grid { grid-template-columns: repeat(2,1fr); }
  .footer-inner { flex-direction: column; }

  #hero { position: relative; overflow: hidden; }
  #hero canvas, #waveform {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
  }

  #metrics { padding: 24px 5%; }
  .metrics-grid { flex-direction: row !important; gap: 0; }
  .metric-item {
    border-right: 1px solid var(--border) !important;
    border-bottom: none !important;
    padding: 12px 8px;
  }
  .metric-item:last-child { border-right: none !important; }
  .metric-number { font-size: clamp(26px, 6.5vw, 38px); }
  .metric-label { font-size: 10.5px; }

  #generos { padding-top: 40px; padding-bottom: 40px; }
  #generos .section-title { font-size: 1.25rem; margin-bottom: 12px; }
  .tool-item { padding: 7px 13px; gap: 7px; }
  .tool-item span { font-size: 0.72rem; }
  .marquee-wrapper::before,
  .marquee-wrapper::after { width: 40px; }

  .video-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .video-category-title { font-size: 1.1rem; margin-bottom: 16px; }
  .video-category { margin-bottom: 36px; }
}

@media (max-width: 768px) {
  #metodologia .steps-container {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    padding-left: 44px;
    grid-template-columns: unset;
  }
  #metodologia .steps-container::before {
    content: '';
    position: absolute;
    left: 18px; top: 28px; bottom: 28px;
    width: 2px;
    background: rgba(232,163,61,0.1);
    border-radius: 2px;
  }
  .steps-progress-line {
    position: absolute;
    left: 18px; top: 28px;
    width: 2px; height: 0%;
    background: linear-gradient(to bottom, var(--accent), rgba(232,163,61,0.3));
    border-radius: 2px;
    transition: height 0.6s ease;
    z-index: 1;
  }
  .steps-dot {
    position: absolute;
    left: -34px; top: 2px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid rgba(232,163,61,0.2);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
    z-index: 2;
    flex-shrink: 0;
  }
  #metodologia .step.step-active .steps-dot {
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(232,163,61,0.5), 0 0 24px rgba(232,163,61,0.2);
    background: rgba(232,163,61,0.1);
  }
  #metodologia .step {
    position: relative;
    padding: 0 0 36px 16px;
    padding-top: 0;
    text-align: left;
    opacity: 0.4;
    transition: opacity 0.5s ease;
  }
  #metodologia .step.step-active { opacity: 1; }
  #metodologia .step-circle { display: none; }
  #metodologia .steps-line { display: none; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: clamp(30px, 9vw, 38px); }
  .cta-title { font-size: 1.7rem; }
  .hero-ctas { flex-direction: column; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .instruments-grid { grid-template-columns: 1fr; }
}
