/* ═══════════════════════════════════════════════════════════
   GOOGLE FONTS
═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ═══════════════════════════════════════════════════════════
   CSS CUSTOM PROPERTIES
═══════════════════════════════════════════════════════════ */
:root {
  --color-bg:           #3a4f44;
  --color-bg-dark:      #1e2d26;
  --color-bg-mid:       #2d4038;
  --color-bg-light:     #445c50;
  --color-text:         #f0ebe3;
  --color-text-muted:   #b8b0a6;
  --color-accent:       #c9a96e;
  --color-accent-light: #dfc28e;
  --color-accent-dark:  #a8863f;
  --color-white:        #ffffff;
  --color-border:       rgba(201, 169, 110, 0.25);
  --color-glass:        rgba(30, 45, 38, 0.6);

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

  --section-pad: 100px;
  --container:   1160px;
  --radius:      8px;
  --radius-lg:   16px;

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.35);
}

/* ═══════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img, svg {
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ═══════════════════════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad) 0;
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS — INTERSECTION OBSERVER
═══════════════════════════════════════════════════════════ */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}

.animate-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children inside a parent */
.animate-in:nth-child(2) { transition-delay: 0.1s; }
.animate-in:nth-child(3) { transition-delay: 0.2s; }
.animate-in:nth-child(4) { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════════════════════
   SECTION HEADER
═══════════════════════════════════════════════════════════ */
.section-header {
  margin-bottom: 64px;
  text-align: center;
}

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-text);
}

/* ═══════════════════════════════════════════════════════════
   IMAGES
═══════════════════════════════════════════════════════════ */

/* Biografía */
.bio-img-real {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-card);
}

/* Trayectoria — foto de ambiente */
.trayectoria-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 72px;
  align-items: start;
}

.trayectoria-photo {
  position: sticky;
  top: 100px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.tray-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  transition: transform 0.6s ease;
}

.trayectoria-photo:hover .tray-img {
  transform: scale(1.02);
}

/* Composición — imagen lateral */
.comp-img-real {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-card);
  filter: grayscale(20%);
}

/* Divergencias — foto dentro del bloque */
.divergencias-img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
  margin: 16px 0 20px;
  max-height: 260px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  filter: grayscale(100%) contrast(1.05);
}

/* Contacto — retrato */
.contacto-photo {
  text-align: center;
  margin-bottom: 48px;
}
.contacto-portrait {
  width: 200px;
  height: 200px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  display: inline-block;
  border: 3px solid var(--color-accent);
  box-shadow: 0 0 0 6px rgba(201, 169, 110, 0.15), var(--shadow-card);
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg-dark);
  border: 2px solid var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.35);
}

.btn-youtube {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  background: #ff0000;
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all var(--transition);
  margin-top: 20px;
  margin-bottom: 8px;
}

.btn-youtube:hover {
  background: #cc0000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.35);
}

.yt-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: var(--color-bg-dark);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.01em;
  transition: color var(--transition);
  flex-shrink: 0;
}

.nav-logo:hover {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('img/_MG_7045.jpg');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}

/* Decorative noise / texture overlay */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(201, 169, 110, 0.08) 0%, transparent 60%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 35, 28, 0.65) 0%,
    rgba(20, 35, 28, 0.55) 40%,
    rgba(20, 35, 28, 0.75) 75%,
    rgba(20, 35, 28, 0.92) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 900px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
  transition-delay: 0s !important;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 500;
  line-height: 1;
  color: var(--color-text);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  transition-delay: 0.1s !important;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--color-text-muted);
  margin-bottom: 48px;
  min-height: 2.5rem;
  transition-delay: 0.2s !important;
}

.cursor {
  display: inline-block;
  color: var(--color-accent);
  animation: blink 1s step-end infinite;
  font-style: normal;
  font-weight: 300;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero-content .btn {
  transition-delay: 0.3s !important;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeInUp 1.5s 1.2s both;
}

.scroll-arrow {
  animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ═══════════════════════════════════════════════════════════
   BIOGRAFÍA
═══════════════════════════════════════════════════════════ */
.bio-section {
  background: var(--color-bg);
}

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.bio-image {
  height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.bio-text p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 20px;
}

.bio-text p:last-of-type {
  margin-bottom: 32px;
}

.bio-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-accent);
}

/* ═══════════════════════════════════════════════════════════
   TRAYECTORIA
═══════════════════════════════════════════════════════════ */
.trayectoria-section {
  background: var(--color-bg-mid);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--color-border), transparent);
}

.timeline-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 32px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid rgba(201, 169, 110, 0.1);
  position: relative;
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-bg-dark);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.timeline-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
}

.timeline-content h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.timeline-content p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-list li {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
  padding-left: 16px;
  border-left: 2px solid var(--color-accent);
}

.timeline-year {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-right: 8px;
}

.timeline-year.inline {
  font-size: 1.2rem;
}

/* ═══════════════════════════════════════════════════════════
   COMPOSICIÓN
═══════════════════════════════════════════════════════════ */
.comp-section {
  background: var(--color-bg-dark);
}

.comp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.comp-image {
  height: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.comp-text p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 20px;
}

.comp-obra {
  margin: 40px 0;
  padding: 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.obra-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.2;
}

.obra-year {
  color: var(--color-accent);
  font-weight: 300;
  font-style: italic;
}

.comp-obra p {
  margin-bottom: 0;
}

.comp-footer-text {
  font-style: italic;
  opacity: 0.75;
}

/* ═══════════════════════════════════════════════════════════
   CONTACTO
═══════════════════════════════════════════════════════════ */
.contacto-section {
  background: var(--color-bg);
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

/* Form */
.contacto-form-wrap h3,
.contacto-info h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 22px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.required {
  color: var(--color-accent);
}

.optional {
  color: var(--color-text-muted);
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.78rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  appearance: none;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(176, 168, 160, 0.5);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  background: rgba(201, 169, 110, 0.06);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.12);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: #e07070;
  box-shadow: 0 0 0 3px rgba(224, 112, 112, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

/* Select wrapper */
.select-wrap {
  position: relative;
}

.select-wrap select {
  cursor: pointer;
  padding-right: 44px;
  color: var(--color-text);
}

.select-wrap select option {
  background: var(--color-bg-dark);
  color: var(--color-text);
}

.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--color-text-muted);
  pointer-events: none;
}

/* Field errors */
.field-error {
  display: block;
  font-size: 0.78rem;
  color: #e07070;
  margin-top: 6px;
  min-height: 1rem;
  transition: opacity var(--transition);
}

/* Submit button */
.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 0.95rem;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 60px 32px;
  background: rgba(201, 169, 110, 0.08);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  animation: fadeIn 0.5s ease;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.15);
  border: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.success-icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-accent);
}

.form-success h4 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--color-text-muted);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

/* WhatsApp button */
.btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 24px;
  background: #25d366;
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 32px;
  transition: all var(--transition);
  width: 100%;
}

.btn-whatsapp:hover {
  background: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Social cards */
.social-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.social-card:hover {
  background: rgba(201, 169, 110, 0.08);
  border-color: var(--color-border);
  transform: translateX(4px);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

.social-info {
  flex: 1;
  min-width: 0;
}

.social-name {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}

.social-handle {
  display: block;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-arrow {
  width: 16px;
  height: 16px;
  color: var(--color-text-muted);
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--transition);
}

.social-card:hover .social-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
#footer {
  background: var(--color-bg-dark);
  padding: 40px 0;
  border-top: 1px solid rgba(201, 169, 110, 0.15);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-socials a {
  color: var(--color-text-muted);
  transition: color var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
}

.footer-socials a:hover {
  color: var(--color-accent);
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 18px;
  height: 18px;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root {
    --section-pad: 80px;
  }

  .bio-grid,
  .comp-grid {
    gap: 48px;
  }

  .trayectoria-layout {
    grid-template-columns: 1fr 340px;
    gap: 48px;
  }

  .contacto-grid {
    gap: 48px;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
  }

  /* Nav */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: var(--color-bg-dark);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 80px 40px 40px;
    transform: translateX(100%);
    transition: transform var(--transition);
    border-left: 1px solid var(--color-border);
    z-index: 1050;
  }

  .nav-links.is-open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1rem;
  }

  /* Hero */
  .hero-title {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  /* Sections */
  .bio-grid,
  .comp-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .comp-grid .comp-image {
    order: -1;
  }

  .trayectoria-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .trayectoria-photo {
    position: static;
    max-width: 420px;
    margin: 0 auto;
  }

  /* Timeline */
  .timeline::before {
    left: 24px;
  }

  .timeline-item {
    grid-template-columns: 48px 1fr;
    gap: 20px;
  }

  .timeline-icon {
    width: 48px;
    height: 48px;
  }

  .timeline-icon svg {
    width: 18px;
    height: 18px;
  }

  /* Contact */
  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section-header {
    margin-bottom: 48px;
  }

  .timeline-item {
    gap: 16px;
  }

  .comp-obra {
    padding: 24px 20px;
  }
}

/* ═══════════════════════════════════════════════════════════
   BOTÓN DE AUDIO FLOTANTE
═══════════════════════════════════════════════════════════ */
.audio-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 2000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(30, 45, 38, 0.85);
  border: 1.5px solid rgba(201, 169, 110, 0.5);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  overflow: hidden;
}

.audio-btn:hover {
  transform: scale(1.1);
  background: rgba(30, 45, 38, 0.95);
  border-color: var(--color-accent);
}

.audio-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Ondas animadas (visibles cuando está reproduciendo) */
.audio-waves {
  display: none;
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.audio-btn.is-playing .audio-waves {
  display: block;
}

.audio-btn.is-playing {
  border-color: var(--color-accent);
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.4), 0 4px 24px rgba(0,0,0,0.4); }
  70%  { box-shadow: 0 0 0 14px rgba(201, 169, 110, 0), 0 4px 24px rgba(0,0,0,0.4); }
  100% { box-shadow: 0 0 0 0 rgba(201, 169, 110, 0), 0 4px 24px rgba(0,0,0,0.4); }
}
