/* ============================================
   ILBD — styles.css (RESPONSIVE MEJORADO)
   ============================================ */
/* ── RESET & BASE ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --black: #000000;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray-mid: #e0e0e0;
  --gray-dark: #d0d0d0;
  --gray-text: #2e2e2e;
  --gold: #f9dc5caa;
  --gold-light: #fef4d4;
  --accent: #efb710;
  --font-h: "Wix Madefor Display", sans-serif;
  --font-b: "Wix Madefor Text", sans-serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  --shadow-gl: 0 1px 20px 0px #efb7105a;
}
html {
  scroll-behavior: smooth;
  width: calc(100% - 20px);
  max-width: 1216px;
  margin: 0 auto;
  font-family: var(--font-b);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}
body {
  padding: 10px;
  padding-top: 120px;
}

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

/* ── HEADER & NAV ── */
header {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  max-width: 1216px;
  z-index: 1000;
  transition: all 0.3s ease;
}

nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid var(--gray-mid);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  height: 90px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

nav:hover {
  box-shadow: var(--shadow-gl);
  border-color: var(--gold);
  transform: translateY(-2px);
}

header.scrolled nav {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
  border-radius: 12px;
}

.nav-logo {
  height: 50px;
  margin-left: 30px;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
  justify-self: start;
}

.nav-logo:hover {
  transform: scale(1.05);
  filter: brightness(0.9);
}

nav h1 {
  font-family: var(--font-h);
  font-size: 24px;
  text-align: center;
  justify-self: center;
  line-height: 1;
  transition: opacity 0.3s ease;
}

nav h1:hover {
  opacity: 0.7;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: inherit;
  padding: 4px 8px;
  line-height: 1;
  justify-self: end;
  z-index: 10;
}

.nav-item {
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  padding: 8px 14px;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: all 0.3s ease;
}

.nav-item::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--black);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-item:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.nav-item:hover::after {
  transform: scaleX(1);
}

.nav-item .arr {
  font-size: 9px;
  margin-left: 2px;
  opacity: 0.5;
  transition: transform 0.3s ease;
}

.nav-item:hover .arr {
  transform: translateY(2px);
}

.nav-lang {
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

/* ── HERO ── */
.hero {
  position: relative;
  width: 100%;
  max-width: 1216px;
  margin-top: 20px;
  min-height: 460px;
  overflow: hidden;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.hero:hover {
  box-shadow: var(--shadow-gl);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
}

.slide-1 {
  background-image: url("./images/stile1.jpg");
}
.slide-2 {
  background-image: url("./images/stile3.jpg");
}
.slide-3 {
  background-image: url("./images/stile2.jpg");
}
.slide-4 {
  background-image: url("./images/stile4.jpg");
}
.slide-5 {
  background-image: url("./images/stile5.jpg");
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  color: var(--black);
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: var(--shadow-sm);
}

.hero-arrow:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-50%) scale(1.1);
}

.hero-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.hero-arrow.left {
  left: 20px;
}

.hero-arrow.right {
  right: 20px;
}

.hero-dots {
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  background: rgba(135, 130, 130, 0.2);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 20px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.hero-dot.active {
  background: rgba(255, 255, 255, 0.95);
  width: 24px;
  border-radius: 10px;
}

/* ── CANCIONES ── */
#canciones {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
  margin-top: 32px;
}

.canciones {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
  max-width: 200px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.canciones img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  box-shadow: var(--shadow-sm);
  display: block;
  transition: all 0.3s ease;
}

.canciones:hover img {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  filter: brightness(0.92);
}

.canciones-btn {
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 600;
  width: 100%;
  padding: 18px 12px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 0 0 12px 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: block;
  line-height: 1.2;
  pointer-events: none;
}

.canciones:hover .canciones-btn {
  background: var(--accent);
  color: var(--black);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.canciones:active img,
.canciones:active .canciones-btn {
  transform: translateY(0);
}

/* ── VISIÓN Y MISIÓN ── */
.vm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  margin-top: 32px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-mid);
  transition: box-shadow 0.3s ease;
}

.vm:hover,
.oraciones:hover {
  box-shadow: var(--shadow-md);
}

.vm-col {
  padding: 52px 60px;
  transition: background 0.3s ease;
}

.vm-col:hover {
  background: var(--gray-light);
}

.vm-col:first-child {
  border-right: 1px solid var(--gray-mid);
}

.vm-heading {
  font-family: var(--font-h);
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 14px;
  transition: transform 0.3s ease;
}

.vm-col:hover .vm-heading {
  transform: translateX(4px);
}

.vm-text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--gray-text);
  transition: color 0.3s ease;
}

.vm-col:hover .vm-text {
  color: var(--black);
}

/* ── ORACIONES ── */
.oraciones {
  background: var(--white);
  padding: 40px 60px;
  margin-top: 10px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gold-light);
  transition: box-shadow 0.3s ease;
}

.oraciones:hover {
  box-shadow: var(--shadow-gl);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.oraciones h2 {
  font-family: var(--font-h);
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--black);
  margin-bottom: 36px;
  text-align: center;
  position: relative;
  display: block;
}

.oraciones ol {
  list-style: decimal inside;
  color: var(--black);
  line-height: 1.8;
}

.oraciones ol li {
  font-size: 18px;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

/* ── ESTILO PARA LA LISTA ANIDADA (SIERVO) ── */
.oraciones ol ul {
  list-style: none;
  margin-top: 8px;
  padding-left: 20px;
  color: var(--gray-text);
  font-family: var(--font-b);
  font-size: 13px;
}

.oraciones ol ul li {
  margin-bottom: 4px;
}

.oraciones ol ul li strong {
  color: var(--black);
}

/* ── VIDEOS TUTORIALES ── */
.videos-tuto {
  background: var(--white);
  padding: 40px;
  margin-top: 32px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-mid);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  transition: all 0.3s ease;
}

.videos-tuto:hover {
  box-shadow: var(--shadow-gl);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ── TÍTULOS DE CATEGORÍA ── */
.videos-tuto h3 {
  grid-column: 1 / -1;
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  margin-top: 16px;
  margin-bottom: 4px;
  border-bottom: 2px solid var(--gold-light);
  padding-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.videos-tuto h3:first-of-type {
  margin-top: 0;
}

.videos-tuto iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  border: 1px solid var(--gray-mid);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.videos-tuto iframe:hover {
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
  border-color: var(--accent);
}

/* ── RESPONSIVE PARA VIDEOS ── */
@media (max-width: 1024px) {
  .videos-tuto {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 28px;
  }
}

@media (max-width: 768px) {
  .videos-tuto {
    grid-template-columns: 1fr;
    padding: 20px;
    margin-top: 24px;
    gap: 16px;
  }

  .videos-tuto h3 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .videos-tuto {
    padding: 14px;
    border-radius: 14px;
    margin-top: 18px;
    gap: 12px;
  }

  .videos-tuto iframe {
    border-radius: 12px;
  }
}

/* ── CONTACTO ── */
.contacto {
  background: var(--white);
  padding: 60px 40px;
  margin-top: 32px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-mid);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
  transition: box-shadow 0.3s ease;
}

.contacto:hover {
  box-shadow: var(--shadow-gl);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.contacto-title {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--black);
  margin-bottom: 36px;
  text-align: center;
  position: relative;
  display: inline-block;
}

.contacto-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--black);
  border-radius: 2px;
}

.contacto-inner {
  max-width: 400px;
  margin: 10px;
  padding: 32px;
  background: var(--gray-light);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.contacto-inner:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.contacto-inner p {
  transition: transform 0.3s ease;
}

.contacto-inner:hover p {
  transform: translateX(4px);
}

.contacto-inner a {
  position: relative;
  font-weight: 500;
}

.contacto-inner a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--black);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.contacto-inner a:hover::after {
  transform: scaleX(1);
}

.contacto iframe {
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 2px solid var(--white);
}

.contacto iframe:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

/* ── FOOTER ── */
footer {
  background: var(--white);
  border-top: 1px solid var(--gray-mid);
  text-align: center;
  padding: 24px 40px;
  font-family: var(--font-h);
  font-size: 12px;
  color: var(--gray-text);
  letter-spacing: 0.5px;
  margin-top: 32px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

footer a {
  color: var(--black);
  position: relative;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

footer a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--black);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

footer a:hover::after {
  transform: scaleX(1);
}

.hidden {
  display: none !important;
}

/* ── AUDIOS PAGE ── */
.audios-page {
  padding: 20px;
  background: var(--gray-mid);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow 0.3s ease;
  margin-top: 32px;
}

.audios-page:hover {
  box-shadow: var(--shadow-gl);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.audios-page h1,
.audios-page h2 {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
}

.audios-page h1::after,
.audios-page h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--black);
  border-radius: 2px;
}

/* ── AUDIOS SEARCH ── */
.audios-search {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--gray-light);
  padding: 24px 28px;
  border-radius: 16px;
  border: 1px solid var(--gray-mid);
  transition: all 0.3s ease;
}

.audios-search:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

/* ── CONTROLS ── */
.audios-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.audios-controls input[type="search"],
#audio-search {
  font-family: var(--font-b);
  font-size: 14px;
  color: var(--black);
  background: var(--white);
  border: 2px solid var(--gray-mid);
  border-radius: 10px;
  padding: 10px 16px;
  width: 100%;
  max-width: 400px;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.audios-controls input[type="search"]:focus,
#audio-search:focus {
  border-color: var(--accent);
  box-shadow: var(--shadow-gl);
}

#audio-count {
  font-family: var(--font-b);
  font-size: 13px;
  color: var(--gray-text);
  transition: color 0.3s ease;
}

/* ── AUDIO LIST ── */
.audio-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── MEDIA PREVIEW ── */
.media-preview {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--gray-mid);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.media-preview:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.audio-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 12px;
  padding: 14px 20px;
  transition: all 0.3s ease;
}

.audio-item:hover {
  border-color: var(--gray-dark);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.audio-item:hover::before {
  background: var(--black);
  color: var(--white);
}

.audio-item-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.audio-item-icon {
  font-size: 15px;
  width: 30px;
  height: 30px;
  background: var(--gray-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.audio-item:hover .audio-item-icon {
  background: var(--black);
  color: var(--white);
}

.audio-item h3 {
  font-family: var(--font-b);
  font-size: 18px;
  font-weight: 500;
  color: var(--black);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.audio-item:hover h3 {
  color: var(--black);
}

.btn-out {
  font-family: var(--font-h);
  font-size: 12px;
  font-weight: 600;
  color: var(--black);
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.btn-out:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  box-shadow: var(--shadow-sm);
}

.btn-out:active {
  transform: scale(0.97);
}

.audio-item audio {
  flex-shrink: 0;
  width: 220px;
  height: 36px;
  border-radius: 8px;
  accent-color: var(--accent);
}

.audio-item video {
  width: 100%;
  max-width: 480px;
  border-radius: 10px;
  margin-top: 8px;
}

.media-preview {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.media-preview:hover {
  box-shadow: var(--shadow-md);
}

.media-preview h3 {
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
}

.media-preview p {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.6;
}

.media-preview a {
  color: var(--black);
  font-weight: 500;
  position: relative;
}

.media-preview a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--black);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.media-preview a:hover::after {
  transform: scaleX(1);
}

.media-preview audio,
.media-preview video {
  width: 100%;
  border-radius: 10px;
  accent-color: var(--accent);
}

.media-preview iframe {
  border-radius: 12px;
  border: 1px solid var(--gray-mid) !important;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.media-preview .btn-out {
  align-self: flex-start;
}

.error-msg {
  font-family: var(--font-b);
  font-size: 14px;
  color: var(--gray-text);
  text-align: center;
  padding: 32px;
  background: var(--gray-light);
  border-radius: 12px;
  border: 1px solid var(--gray-mid);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* ── 1024px: tablets landscape ── */
@media (max-width: 1024px) {
  nav {
    padding: 0 24px;
    gap: 12px;
  }

  .nav-logo {
    margin-left: 10px;
    height: 44px;
  }

  nav h1 {
    font-size: 20px;
  }

  .vm-col {
    padding: 40px 40px;
  }

  #canciones {
    gap: 8px;
  }

  .canciones-btn {
    font-size: 12px;
    padding: 14px 8px;
  }

  .videos-tuto {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 28px;
  }
}

/* ── 768px: tablets portrait ── */
@media (max-width: 768px) {
  html {
    width: calc(100% - 16px);
  }

  body {
    padding: 8px;
    padding-top: 90px;
  }

  header {
    top: 8px;
    width: calc(100% - 16px);
  }

  nav {
    grid-template-columns: auto 1fr auto;
    height: auto;
    min-height: 64px;
    padding: 12px 20px;
    border-radius: 16px;
    gap: 10px;
    align-items: center;
  }

  nav h1 {
    font-size: 17px;
    justify-self: center;
    text-align: center;
  }

  .nav-logo {
    height: 38px;
    margin-left: 0;
    justify-self: start;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    grid-column: 1 / -1;
    border-top: 1px solid var(--gray-mid);
    padding-top: 8px;
    margin-top: 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-item {
    font-size: 14px;
    padding: 12px 8px;
    border-bottom: 1px solid var(--gray-light);
  }

  .nav-item::after {
    display: none;
  }

  .nav-item:hover {
    transform: none;
    background: var(--gray-light);
    border-radius: 8px;
  }

  .hero {
    min-height: 340px;
    margin-top: 16px;
    border-radius: 18px;
  }

  #canciones {
    flex-wrap: wrap;
    gap: 8px;
  }

  .canciones {
    flex: 1 1 calc(33.333% - 6px);
    max-width: none;
    min-width: 100px;
  }

  .canciones-btn {
    font-size: 11px;
    padding: 12px 6px;
  }

  .vm {
    grid-template-columns: 1fr;
    margin-top: 24px;
    border-radius: 16px;
  }

  .vm-col {
    padding: 32px 28px;
  }

  .vm-col:first-child {
    border-right: none;
    border-bottom: 1px solid var(--gray-mid);
  }

  .oraciones {
    padding: 28px 24px;
    margin-top: 24px;
  }

  .oraciones h2 {
    font-size: 22px;
    margin-bottom: 24px;
  }

  .videos-tuto {
    grid-template-columns: 1fr;
    padding: 20px;
    margin-top: 24px;
    gap: 16px;
  }

  .contacto {
    flex-direction: column;
    padding: 40px 24px;
    gap: 28px;
  }

  .contacto-inner {
    max-width: 100%;
    width: 100%;
    margin: 0;
  }

  .contacto iframe {
    width: 100%;
    height: 320px;
  }

  .audios-page {
    padding: 16px;
    gap: 16px;
    border-radius: 16px;
    margin-top: 24px;
  }

  .audios-search {
    padding: 20px;
    gap: 12px;
  }

  .audios-page h1,
  .audios-page h2 {
    font-size: 20px;
  }

  .audios-controls input[type="search"],
  #audio-search {
    max-width: 100%;
    font-size: 15px;
    padding: 12px 16px;
  }

  .audio-item h3 {
    font-size: 15px;
  }

  .audio-item audio {
    width: 100%;
  }

  footer {
    padding: 20px 24px;
  }
}

/* ── 480px: móviles medianos ── */
@media (max-width: 480px) {
  html {
    width: calc(100% - 12px);
  }

  body {
    padding: 6px;
    padding-top: 82px;
  }

  header {
    top: 6px;
    width: calc(100% - 12px);
  }

  nav {
    min-height: 56px;
    padding: 10px 14px;
    border-radius: 14px;
  }

  .nav-logo {
    height: 32px;
  }

  nav h1 {
    font-size: 15px;
  }

  .hero {
    min-height: 240px;
    margin-top: 10px;
    border-radius: 14px;
  }

  .hero-slide {
    background-position: 50% 35%;
    background-size: cover;
  }

  .hero-arrow {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .hero-arrow.left {
    left: 10px;
  }
  .hero-arrow.right {
    right: 10px;
  }

  .hero-dots {
    bottom: 10px;
  }

  #canciones {
    gap: 6px;
  }

  .canciones {
    flex: 1 1 calc(50% - 4px);
    max-width: none;
  }

  .canciones-btn {
    font-size: 10px;
    padding: 10px 4px;
  }

  .vm {
    border-radius: 12px;
  }

  .vm-col {
    padding: 24px 18px;
  }

  .vm-heading {
    font-size: 15px;
  }

  .vm-text {
    font-size: 13px;
  }

  .oraciones {
    padding: 20px 16px;
    border-radius: 14px;
    margin-top: 18px;
  }

  .oraciones h2 {
    font-size: 18px;
    margin-bottom: 18px;
  }

  .oraciones ol {
    font-size: 13px;
  }

  .videos-tuto {
    padding: 14px;
    border-radius: 14px;
    margin-top: 18px;
    gap: 12px;
  }

  .videos-tuto iframe {
    border-radius: 12px;
  }

  .contacto {
    padding: 28px 14px;
    gap: 20px;
    border-radius: 14px;
  }

  .contacto-inner {
    padding: 20px 16px;
  }

  .contacto-title {
    font-size: 17px;
    margin-bottom: 28px;
  }

  .contacto iframe {
    height: 260px;
    border-radius: 14px;
  }

  .audios-page {
    padding: 12px;
    gap: 12px;
    border-radius: 12px;
    margin-top: 10px;
  }

  .audios-search {
    padding: 14px;
    gap: 10px;
    border-radius: 12px;
  }

  .audios-page h1,
  .audios-page h2 {
    font-size: 18px;
  }

  .audios-page h1::after,
  .audios-page h2::after {
    width: 44px;
    height: 2px;
    bottom: -6px;
  }

  .audios-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .audios-controls input[type="search"],
  #audio-search {
    font-size: 16px;
    padding: 12px 14px;
    border-radius: 10px;
  }

  .audio-item {
    padding: 12px 14px;
    gap: 12px;
  }

  .audio-item h3 {
    font-size: 14px;
  }

  .media-preview {
    padding: 16px;
    border-radius: 12px;
  }

  #audio-count {
    font-size: 12px;
  }

  footer {
    padding: 14px 16px;
    font-size: 11px;
    border-radius: 12px;
  }
}

/* ── 360px: móviles pequeños ── */
@media (max-width: 360px) {
  body {
    padding: 4px;
    padding-top: 78px;
  }

  nav {
    padding: 8px 10px;
    border-radius: 12px;
  }

  .nav-logo {
    height: 28px;
  }

  nav h1 {
    font-size: 13px;
  }

  .hero {
    min-height: 200px;
    border-radius: 12px;
  }

  .canciones {
    flex: 1 1 calc(50% - 3px);
  }

  .canciones-btn {
    font-size: 9px;
    padding: 8px 2px;
  }

  .vm-col {
    padding: 20px 14px;
  }

  .contacto {
    padding: 20px 10px;
  }

  .contacto iframe {
    height: 220px;
  }

  .audios-page {
    padding: 10px;
    border-radius: 10px;
  }

  .audios-search {
    padding: 10px;
  }

  .audios-page h1,
  .audios-page h2 {
    font-size: 16px;
  }

  .audios-controls input[type="search"],
  #audio-search {
    font-size: 15px;
    padding: 10px 12px;
  }

  footer {
    padding: 12px;
    font-size: 10px;
  }
}
