:root {
  --accent: #97b0f2;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;
  --font-headings: 'Poppins', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  margin: 0;
  color: #222;
}

h1, h2, h3, .navbar-brand {
  font-family: var(--font-headings);
}

/* Navbar */
#mainNav {
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  padding: 1rem 0;
}
#mainNav.scrolled {
  background-color: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 0.6rem 0;
}
#mainNav .navbar-brand {
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
#mainNav.scrolled .navbar-brand { color: #111; text-shadow: none; }
#mainNav .nav-link {
  color: rgba(255,255,255,0.95);
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
#mainNav.scrolled .nav-link { color: #333; text-shadow: none; }
#mainNav .social-link { font-size: 1.15rem; padding: 0 0.4rem; }
.navbar-toggler { border-color: rgba(255,255,255,0.6); }
#mainNav.scrolled .navbar-toggler { border-color: rgba(0,0,0,0.2); }

.btn-escuchar {
  background: var(--accent);
  color: #fff !important;
  border-radius: 30px;
  padding: 0.5rem 1.3rem;
  font-weight: 700;
  border: none;
  text-shadow: none;
}
.btn-escuchar:hover { filter: brightness(1.1); color: #fff; }

/* Hero */
.masthead {
  position: relative;
  background-color: #14141c;
  background-image: linear-gradient(135deg, #97b0f2, #14141c);
  background-size: cover;
  background-position: center;
  padding: 170px 0 110px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.32) 45%, rgba(0,0,0,0.7) 100%);
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; }
.hero-logo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}
.masthead h1 {
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
}
.masthead .tagline {
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.mini-player {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  padding: 10px 22px 10px 10px;
  margin-top: 2.2rem;
  max-width: 340px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.mini-play-btn {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #111;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mini-info { text-align: left; font-size: 0.9rem; font-weight: 600; }

.masthead .btn-outline-light {
  border-radius: 30px;
  font-weight: 600;
  border-width: 2px;
}

/* About */
.page-section { padding: 90px 0; }
.about-section { background: #f4f5f7; }
.about-card {
  background: #fff;
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.about-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.about-card h2 { font-weight: 700; margin-bottom: 1.1rem; color: #16161d; }
.about-card p { color: #444; line-height: 1.8; }
.about-photo {
  width: 100%;
  max-width: 420px;
  margin: 1.8rem auto 0;
  display: block;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

/* Contact */
.contact-section { background: #111; color: #fff; text-align: center; }
.whatsapp-link { color: #25D366; text-decoration: none; font-weight: 700; }
.whatsapp-link:hover { opacity: 0.85; }
.contact-section .direccion { opacity: 0.75; margin-top: 0.5rem; }

footer { background: #000; color: rgba(255,255,255,0.6); padding: 2rem 0; font-size: 0.85rem; }

/* Volver arriba */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 1.2rem;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 998;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.back-to-top.visible { display: flex; }
.back-to-top:hover { filter: brightness(1.1); }

@media (max-width: 768px) {
  .masthead { padding: 130px 0 80px; }
  .page-section { padding: 60px 0; }
  .about-card { padding: 2.2rem 1.5rem; }
}