/* ============================================
   IGLESIA BAUTISTA VICTORIA CIUDADELA
   Estilos principales
   ============================================ */

/* --- Variables (Manual de Marca) --- */
:root {
  --navy: #00263B;
  --teal: #3D596B;
  --beige: #EFE1C9;
  --brown-dark: #564138;
  --brown-light: #AB988E;
  --white: #ffffff;
  --off-white: #f9f7f4;
  --black: #000000;

  --font-body: 'Roboto', Helvetica, Arial, sans-serif;
  --font-subtitle: 'Gotu Regular', serif;
  --font-decorative: 'Tangiang', serif;

  --header-height: 80px;
  --container-max: 1200px;
  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--navy);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Scroll Reveal --- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-subtitle);
  font-size: 15px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background-color: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn-primary:hover {
  background-color: var(--navy);
  border-color: var(--navy);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--navy);
}

.btn-full {
  width: 100%;
}

/* --- Section Titles --- */
.section-title {
  font-family: var(--font-decorative);
  font-size: clamp(28px, 5vw, 42px);
  text-align: center;
  margin-bottom: 16px;
  color: var(--navy);
}

.section-subtitle {
  font-family: var(--font-subtitle);
  font-size: 16px;
  text-align: center;
  color: var(--teal);
  margin-bottom: 48px;
}

.section-label {
  font-family: var(--font-subtitle);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brown-light);
  text-align: center;
  margin-bottom: 24px;
}

/* ============================================
   INTRO OVERLAY
   ============================================ */
.intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--beige);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
}

.intro-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-logo {
  width: 300px;
  height: auto;
  opacity: 0;
  transform: scale(1.5);
  position: relative;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 38, 59, 0.08);
  transform: translateY(-100%);
  transition: transform 0.4s ease;
}

.header.visible {
  transform: translateY(0);
}

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

.header-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-subtitle);
  font-size: 14px;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}

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

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

.nav-link:hover {
  color: var(--teal);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--navy);
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 38, 59, 0.65) 0%,
    rgba(0, 38, 59, 0.8) 100%
  );
  z-index: 1;
}

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

.hero-verse {
  font-family: var(--font-subtitle);
  font-size: clamp(22px, 3.5vw, 32px);
  color: var(--white);
  line-height: 1.8;
  margin-bottom: 16px;
}

.hero-verse-word {
  display: inline-block;
}

.hero-verse strong {
  color: var(--beige);
}

.hero-verse-ref {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--brown-light);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   VERSÍCULO DEL DÍA
   ============================================ */
.versiculo-dia {
  padding: 80px 0;
  background-color: var(--off-white);
}

.versiculo-text {
  font-family: var(--font-subtitle);
  font-size: clamp(18px, 3vw, 26px);
  text-align: center;
  color: var(--navy);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 16px;
  border: none;
  padding: 0;
}

.versiculo-ref {
  display: block;
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--brown-light);
  font-style: normal;
}

/* ============================================
   NOSOTROS ZOOM (Image Scale Reveal)
   ============================================ */
.nosotros-zoom {
  position: relative;
}

.nosotros-zoom-sticky {
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--white);
}

.nosotros-zoom-img-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  max-width: 500px;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 38, 59, 0.15);
}

.nosotros-zoom-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nosotros-zoom-text {
  position: absolute;
  left: 8%;
  max-width: 420px;
  opacity: 0;
  transform: translateX(-30px);
}

.nosotros-zoom-text .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.nosotros-zoom-text p {
  color: var(--teal);
  margin-bottom: 16px;
  font-size: 16px;
}

.nosotros-zoom-text .btn {
  margin-top: 16px;
}

/* ============================================
   NOSOTROS
   ============================================ */
.nosotros {
  padding: 100px 0;
}

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

.nosotros-text .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.nosotros-text p {
  color: var(--teal);
  margin-bottom: 16px;
  font-size: 16px;
}

.nosotros-text .btn {
  margin-top: 16px;
}

.nosotros-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 38, 59, 0.15);
}

.nosotros-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ============================================
   CONTADORES
   ============================================ */
.counters {
  padding: 60px 0;
  background-color: var(--navy);
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.counter-item {
  padding: 24px;
}

.counter-number {
  font-family: var(--font-decorative);
  font-size: clamp(36px, 5vw, 56px);
  color: var(--beige);
  display: inline;
}

.counter-suffix {
  font-family: var(--font-decorative);
  font-size: clamp(24px, 3vw, 36px);
  color: var(--beige);
}

.counter-label {
  display: block;
  font-family: var(--font-subtitle);
  font-size: 14px;
  color: var(--brown-light);
  margin-top: 8px;
}

/* ============================================
   VERSÍCULOS (Stacked Cards)
   ============================================ */
.versiculos {
  position: relative;
}

.versiculos-cards {
  position: relative;
  width: 100%;
}

.versiculo-card-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100%;
  position: sticky;
  top: 0;
  perspective: 1200px;
}

.versiculo-card-wrap:nth-child(1) { z-index: 1; }
.versiculo-card-wrap:nth-child(2) { z-index: 2; }
.versiculo-card-wrap:nth-child(3) { z-index: 3; }
.versiculo-card-wrap:nth-child(4) { z-index: 4; }

.versiculo-card-full {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 700px;
  height: 420px;
  width: 80%;
  background-color: var(--card-bg);
  color: var(--card-color);
  border: 2px solid #EFE1C9;
  border-radius: 24px;
  padding: 48px 40px;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.versiculos-spacer {
  height: 50vh;
}

.versiculo-card-title {
  font-family: var(--font-decorative);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: inherit;
  margin: 0 0 8px;
  position: relative;
  z-index: 1;
}

.versiculo-card-number {
  font-family: var(--font-decorative);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: inherit;
  opacity: 0.6;
  margin: 0 0 32px;
  position: relative;
  z-index: 1;
}

.versiculo-card-subtitle {
  font-family: var(--font-subtitle);
  font-size: clamp(16px, 2.5vw, 24px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.5;
  color: inherit;
  max-width: 600px;
  margin: 0 0 24px;
  position: relative;
  z-index: 1;
}

.versiculo-card-ref {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: inherit;
  opacity: 0.6;
  font-style: normal;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .versiculo-card-full {
    padding: 40px 24px;
  }
}

/* ============================================
   SERVICIOS
   ============================================ */
.servicios {
  padding: 100px 0;
  background-color: var(--off-white);
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.servicio-card {
  background: var(--white);
  border-radius: 8px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 38, 59, 0.06);
  transition: all var(--transition);
}

.servicio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 38, 59, 0.12);
  background-color: var(--beige);
}

.servicio-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--beige);
  border-radius: 50%;
  font-size: 24px;
  color: var(--teal);
  transition: all var(--transition);
}

.servicio-card:hover .servicio-icon {
  background-color: var(--teal);
  color: var(--white);
}

.servicio-card h3 {
  font-family: var(--font-subtitle);
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--navy);
}

.servicio-dia {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--teal);
  font-size: 15px;
}

.servicio-hora {
  font-family: var(--font-decorative);
  font-size: 28px;
  color: var(--navy);
  margin-top: 4px;
}

.servicio-direccion {
  font-size: 15px;
  color: var(--brown-dark);
}

/* ============================================
   SERMONES (AUDIO)
   ============================================ */
.sermones {
  padding: 100px 0;
}

.sermones-list {
  max-width: 800px;
  margin: 0 auto;
}

.sermon-empty {
  text-align: center;
  padding: 60px 24px;
  color: var(--brown-light);
}

.sermon-empty i {
  font-size: 48px;
  margin-bottom: 16px;
  color: var(--beige);
}

.sermon-empty p {
  margin-bottom: 8px;
}

.sermon-hint {
  font-size: 13px;
}

.sermon-hint code {
  background: var(--off-white);
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
}

.sermon-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.sermon-item:hover {
  background-color: var(--off-white);
  border-color: rgba(0, 38, 59, 0.08);
}

.sermon-item.active {
  background-color: var(--beige);
  border-color: var(--brown-light);
}

.sermon-play-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background-color: var(--teal);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition);
}

.sermon-item:hover .sermon-play-btn {
  background-color: var(--navy);
}

.sermon-item-info {
  flex: 1;
}

.sermon-item-title {
  font-family: var(--font-subtitle);
  font-size: 15px;
  color: var(--navy);
}

.sermon-item-date {
  font-size: 13px;
  color: var(--brown-light);
}

/* ============================================
   VIDEOS YOUTUBE
   ============================================ */
.videos {
  padding: 100px 0;
  background-color: var(--off-white);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.videos-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  color: var(--brown-light);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--beige);
  border-top-color: var(--teal);
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.video-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 38, 59, 0.06);
  transition: all var(--transition);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 38, 59, 0.12);
}

.video-card a {
  display: block;
}

.video-thumb {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
}

.video-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.05);
}

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(0, 38, 59, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}

.video-card:hover .video-play-icon {
  opacity: 1;
}

.video-info {
  padding: 16px;
}

.video-title {
  font-family: var(--font-subtitle);
  font-size: 14px;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-date {
  font-size: 12px;
  color: var(--brown-light);
}

.videos-more {
  text-align: center;
}

.videos-more .btn i {
  margin-right: 8px;
}

/* ============================================
   CONTACTO
   ============================================ */
.contacto {
  padding: 100px 0;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 48px;
}

.contacto-item {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.contacto-item i {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--beige);
  border-radius: 50%;
  color: var(--teal);
  font-size: 18px;
}

.contacto-item h4 {
  font-family: var(--font-subtitle);
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--navy);
}

.contacto-item p {
  font-size: 15px;
  color: var(--teal);
}

.contacto-social h4 {
  font-family: var(--font-subtitle);
  font-size: 15px;
  margin-bottom: 16px;
  color: var(--navy);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--beige);
  border-radius: 50%;
  color: var(--teal);
  font-size: 18px;
  transition: all var(--transition);
}

.social-links a:hover {
  background-color: var(--teal);
  color: var(--white);
}

/* Form */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-subtitle);
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--navy);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0, 38, 59, 0.15);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--navy);
  transition: border-color var(--transition);
  background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.form-group textarea {
  resize: vertical;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 40px 0;
  background-color: var(--navy);
}

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

.footer-logo {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.footer-copy {
  font-size: 13px;
  color: var(--brown-light);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  font-size: 14px;
  transition: all var(--transition);
}

.footer-social a:hover {
  background-color: var(--teal);
  border-color: var(--teal);
}

/* ============================================
   AUDIO PLAYER (Fixed Bottom)
   ============================================ */
.audio-player {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--navy);
  z-index: 900;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.audio-player.visible {
  transform: translateY(0);
}

.audio-player-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.audio-title {
  font-family: var(--font-subtitle);
  font-size: 13px;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.audio-btn {
  background: none;
  border: none;
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.audio-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.audio-play {
  width: 40px;
  height: 40px;
  background-color: var(--teal);
  font-size: 14px;
}

.audio-play:hover {
  background-color: var(--beige);
  color: var(--navy);
}

.audio-progress {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.audio-progress-bar {
  width: 100%;
  height: 24px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
}

.audio-progress-bar::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

.audio-progress-fill {
  height: 100%;
  background-color: var(--beige);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
  pointer-events: none;
}

.audio-time {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--brown-light);
}

.audio-volume {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 14px;
}

.audio-volume input[type="range"] {
  width: 80px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  outline: none;
}

.audio-volume input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--beige);
  cursor: pointer;
}

.audio-close {
  font-size: 14px;
  opacity: 0.6;
}

.audio-close:hover {
  opacity: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
  .nosotros-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nosotros-text .section-title {
    text-align: center;
  }

  .nosotros-text {
    text-align: center;
  }

  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .servicios-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contacto-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 0;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

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

  .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 38, 59, 0.06);
    font-size: 16px;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-verse {
    font-size: 16px;
  }

  .videos-grid {
    grid-template-columns: 1fr;
  }

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

  .audio-player-inner {
    flex-wrap: wrap;
    gap: 8px;
  }

  .audio-progress {
    order: 5;
    flex-basis: 100%;
  }

  .audio-volume {
    display: none;
  }
}

@media (max-width: 480px) {
  .counters-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }
}
