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

/* Dark / Light automático */
:root {
  --bg: #ffffff;
  --text: #111;
  --accent: #000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: radial-gradient(circle at top, #111 0%, #000 65%);
    --text: #eaeaea;
    --accent: #fff;
  }
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

.hero {
  text-align: center;
  padding: 80px 20px;
}

.logo {
  max-width: 180px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3rem;
}

.subtitle {
  font-weight: 300;
  opacity: 0.8;
}

section {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
}

h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.bio p {
  margin-bottom: 20px;
}

/* Galería */
.slider {
  position: relative;
  height: 460px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.2s ease, transform 8s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1.08);
}

/* YouTube */
.media iframe {
  width: 100%;
  height: 420px;
  border: none;
  border-radius: 16px;
}

/* Footer */
footer {
  margin-top: 80px;
  padding: 40px 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.socials {
  text-align: center;
  margin-bottom: 20px;
}

.socials a {
  margin: 0 12px;
  text-decoration: none;
  color: var(--accent);
  opacity: 0.7;
}

.socials a:hover {
  opacity: 1;
}

/* Contacto */
.contact-info {
  text-align: center;
  margin: 20px 0 30px;
  font-size: 0.95rem;
  opacity: 0.85;
}

.contact-info p {
  margin: 6px 0;
}

.contact-info a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 400;
}

.contact-info a:hover {
  text-decoration: underline;
}

.copyright {
  text-align: right;
  font-size: 0.85rem;
  opacity: 0.6;
}

.fade-in {
  animation: fade 1.5s ease both;
}

@keyframes fade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .slider { height: 260px; }
  .copyright { text-align: center; }
}

.contact-info a[href*="wa.me"] {
  color: #25D366; /* Verde WhatsApp */
}

.contact-info a[href*="wa.me"]:hover {
  opacity: 0.8;
}