:root {
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-accent: #000000;
  --color-border: #e0e0e0;
  --font-main: 'Inter', sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: #333333; /* gris oscuro */
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-weight: 700;
  font-size: 1.5rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
}

.btn-menu-highlight {
  background-color: var(--color-accent);
  color: white !important;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 0.5rem 1rem;
  list-style: none;
  z-index: 10;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.nav-links li.dropdown {
  position: relative;
}

.dropdown-menu li {
  padding: 0.4rem 0;
}

/* HERO 
.hero {
  text-align: center;
  padding: 4rem 2rem;
}*/
.hero {
  background-image: url('pavo.png'); /* o .jpg, según el nombre */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 2rem;
  color: var(--color-text);
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
  text-shadow: 0 0 12px rgba(255,255,255,0.8); /* halo blanco */
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: auto;
  text-shadow: 0 0 18px rgba(255,255,255,0.8); /* halo blanco */
}

/*fondos verde manzana de secciones*/
.section h2 {
  background-color: #d7f74c;
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.5rem 0;
}

/* SECTIONS */
.section {
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.flex-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;  /* centra horizontalmente */
}

.text-block {
  flex: 1;
  min-width: 290px;
  text-align: center;
  max-width: 800px;
}

/* IMAGES */
.profile-pic,
.standard-img {
  width: 180px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: block;
  margin: 0 auto;
}

.libros-img {
  width: 220px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: block;
  margin: 0 auto;
}

.servicios-img {
  width: auto;
  height: 360px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: block;
  margin: 0 auto;
}

/* GRID */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  align-items: stretch; /* todas las tarjetas con el mismo alto */
}

.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* empuja botones al fondo */
}

/* BUTTONS */
.button, .btn-outline, .btn-clear {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 1rem;
}

.button {
  background-color: var(--color-accent);
  color: #fff !important;
  border: none;
}

.btn-outline {
  background-color: var(--color-accent);
  color: #fff !important;
  border: none;
}

.btn-clear {
  background: none;
  color: var(--color-text);
  border: none;
  font-weight: 500;
}

/* Flechita */
.btn-clear.with-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  margin-top: 1rem;
  text-decoration: none;
}

.btn-clear.with-arrow.white {
  color: white;
}

/* CARRUSEL */
.carousel {
  position: relative;
  max-width: 400px;
  margin: 1rem auto;
  text-align: center;
  overflow: hidden;
}

/* Botones de flecha */
.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;       /* círculos */
  border: none;
  background-color: #d7f74c;
  color: #000;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
  z-index: 2;
}


.carousel-btn:hover {
  background-color: #57d60d;   /* color al pasar el mouse */
}


.carousel-btn.prev {
  left: -5px;
}

.carousel-btn.next {
  right: -5px;
}


/* para el carousel-track*/
.carousel-track {
  display: flex;
  transition: transform 0.3s ease;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  overflow: hidden;
}

/*.carouselhal-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}*/
.carouselhal-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* o contain si querés ver todo */
  border-radius: 8px;
}


/* EXTRA IMAGES */
.extra-images {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #555;
}

.section a {
  color: var(--color-text); /* usa el negro definido */
  text-decoration: none;
  font-weight: 500;
}

#contacto-content {
  text-align: center;   /* fuerza el centrado */
}

#contacto-content p {
  margin: 0.5rem 0;
}

#contacto-content a {
  display: inline-block; /* ocupa solo lo que necesita */
  margin: 0 auto;        /* se centra en su línea */
  float: none;           /* neutraliza floats heredados */
}

#mentoria .standard-img,
#audio .standard-img {
  width: 200px;
}

.card .button {
  background-color: var(--color-accent);
  color: white !important;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 2rem;
  border-radius: 8px;
  max-width: 500px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.close {
  color: #aaa;
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

.card p {
  margin-bottom: 0.5rem;
}

.card .btn-clear {
  display: block;
  margin: 0 auto 0.5rem auto; /* centrado + espacio inferior */
}

.card .button {
  display: block;
  margin: 0 auto;
}

.oraculo-layout {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.oraculo-carrusel {
  text-align: center;
  max-width: 280px;
}

.carouselor-img {
  width: 280px;
  height: 360px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: opacity 0.3s ease-in-out;
}

.carousel-controls {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  position: relative;
}

.arrow {
  background-color: #d7f74c;
  color: #000;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background-color 0.2s ease;
}

.arrow:hover {
  background-color: #57d60d;
}

#jornadas-carousel,
#retiros-carousel {
  position: relative;
  max-height: 300px; /* o el valor que prefieras */
  width: 100%;
  display: inline-block;    /* se centra con text-align del padre */
  /*overflow: hidden;          evita que se corten las flechas */
}

/* Imagen del carrusel jornadas */
#jornadas-carousel .carousel-img,
#retiros-carousel .carousel-img
 {
  width: 100%;           
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;       /* opcional: esquinas redondeadas */
  margin: 0 auto;
}

#semanal,
#jornadas
#retiros,
#eventos {
  position: relative;
  text-align: center;       /* centra todo el contenido */
  margin: 2rem auto;        /* espacio arriba y abajo */
  max-width: 850px;         /* ancho máximo para que no se estire demasiado */
}

#semanal .content-block,
#jornadas .content-block,
#eventos .content-block
 {
  max-width: 850px;
  margin: 0 auto 1.5rem;
  padding: 0.3rem 1rem;
  scroll-margin-top: 100px; /* ← esta línea es clave */
  align-items: center;
  text-align: center;
  gap: 2rem;
}

#semanal .text-block,
#jornadas .text-block,
#retiros .text-block,
#eventos .text-block
 {
  max-width: 850px;         /* limita el ancho del párrafo */
  margin: 0 auto 1.5rem;    /* centrado y con espacio debajo */
  line-height: 1.6;         /* mejor legibilidad */
}

#jornadas {
  margin-bottom: 3rem; /* o el valor que prefieras */
}


.oraculo-text {
  max-width: 400px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.oraculo-boton {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.whatsapp-btn {
  background-color: #000 !important;
  color: #fff !important;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin: 1rem auto;      /* centra horizontalmente */
  display: block;
}

.whatsapp-btn:hover {
  background-color: #333;
}

.app-img {
  width: 190px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.content-block {
  max-width: 700px;
  margin: 0 auto;
  padding: 0.3rem 1rem;
  scroll-margin-top: 100px; /* ← esta línea es clave */
  align-items: center;
  text-align: center;
}


.flex-row {
  display: flex;
  align-items: flex-start; /* ← cambia esto */
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem; /* ← esta línea es nueva */
}

.video-embed {
  width: 300px; /* ← cambia de max-width a width */
  height: 170px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: block;
  flex-shrink: 0; /* ← evita que el video se achique si el texto es largo */
}

.image-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.retiro-inicial {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  object-fit: cover;
}

.actividad-media {
  width: 250px;
  height: 380px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  object-fit: cover;
  position: relative;
  overflow: hidden;   /* clave: nada se sale del marco */
}

.trio-row {
  display: flex;
  justify-content: center;   /* centra horizontalmente */
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2rem;
}


/*para los estilos de la experiencia 40 dias*/
.rutinas-intro {
  text-align: center;
  padding: 2em;
  
}

.rutinas-intro img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.rutinas-intro button {
  padding: 1em 2em;
  font-size: 1rem !important;
  background-color: var(--color-accent);
  color: white;
  border: none;
  border-radius: 5px;
  
}

@media (max-width: 480px) {
  .rutinas-intro button {
    font-size: 0.9rem !important;
    padding: 0.6em 1.2em;
  }
}

.rutinas-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1em;
  box-sizing: border-box;
}

.rutinas-panel.oculto {
  display: none;
}

.rutinas-contenido {
  max-width: 400px;
  width: 100%;
  background: #f9f9f9;
  padding: 2em;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  position: relative;
  background: rgba(255, 255, 2555, 0.22); /* fondo del panel con transparencia */
  backdrop-filter: blur(8px); /* desenfoque suave del fondo */
}

#cerrarRutinas {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 1.5em;
}

.rutinas-nav {
  margin-top: 1em;
  display: flex;
  gap: 1em;
  justify-content: center;
}

.rutinas-nav select {
  padding: 0.5em;
  font-size: 1em;
  background-color: #000;       /* fondo negro */
  color: #fff;                  /* texto blanco */
  border: none;                 /* sin borde */
  border-radius: 5px;           /* esquinas redondeadas (opcional) */
  appearance: none;           /* quita el estilo nativo en algunos navegadores */
}


/*boton de profundizar en desafio 40 dias*/
.rutinas-extra {
  margin-top: 1em;
  text-align: center;
}

.rutinas-extra button {
  background: transparent;   /* fondo transparente */
  border: none;              /* sin recuadro */
  color: var(--negro);       /* usa tu color de marca */
  font-size: 0.8em;
  cursor: pointer;
  text-decoration: underline; /* opcional: lo hace parecer un link */
}

.rutinas-extra button:hover {
  opacity: 0.7; /* efecto sutil al pasar el mouse */
}

/* Panel emergente */
.profundizar-panel {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(50, 50, 50, 0.6); /* gris translúcido */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.profundizar-panel.oculto {
  display: none;
}

.profundizar-contenido {
  background: #fff;
  padding: 2em;
  border-radius: 10px;
  max-width: 400px;
  text-align: center;
  position: relative;
}

#cerrarProfundizar {
  position: absolute;
  top: 10px; right: 10px;
  background: transparent;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
}

/*para el formato vertical del video del desafio*/
.video-embed-vertical {
  max-width: 190px;      /* achica el ancho total */
  aspect-ratio: 9 / 16;  /* mantiene proporción vertical */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  display: block;
  margin: 0 auto;
}


/*para que no se vea menu en la pc*/
.menu-toggle {
  display: none;
}

/*para el celu*/
@media (max-width: 600px) {
  body {
    font-size: 16px;
    padding: 1rem;
  }

  .navbar {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }

  .nav-links {
    display: none !important;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
    font-size: 0.9rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .section {
    padding: 2rem 1rem;
  }

  .flex-row,
  .trio-row,
  .oraculo-layout,
  .image-row {
    flex-direction: column;
    align-items: center;
  }

  .actividad-media,
  .carousel,
  .carousel-img,
  .standard-img,
  .retiro-inicial,
  .video-embed,
  video {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .text-block,
  .oraculo-text {
    text-align: center;
    padding: 0 1rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 1rem;
  }

  .button,
  .btn-outline,
  .btn-clear,
  .whatsapp-btn,
  .youtube-btn {
  font-size: 0.9rem;
  padding: 0.4rem 0.8rem;
  width: 7rem;
  text-align: center;
  }


  .modal-content {
    margin: 20% auto;
    padding: 1.5rem;
    width: 90%;
  }

  /* 👇 Ajuste para centrar toda la web en móvil */
  .content-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
  }

  .standard-img,
  .video-embed,
  .video-embed-vertical,
  img,
  iframe {
    display: block;
    margin: 0 auto;
  }

}

