/* CONTENEDOR GENERAL */
body {
  margin: 0;
}
section, .content {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

/* TIPOGRAFÍA RESPONSIVE (ACOTADA AL CONTENIDO) */
/* Ahora solo afectará a los textos que estén dentro de .content o section */
section h1, .content h1 {
  font-size: clamp(26px, 5vw, 42px);
  line-height: 1.2;
}
section h2, .content h2 {
  font-size: clamp(22px, 4vw, 32px);
}
section h3, .content h3 {
  font-size: clamp(18px, 3vw, 24px);
}
/* Al añadir .content y section delante, el navbar (que está fuera) queda a salvo */
section p, .content p, 
section li, .content li {
  font-size: clamp(15px, 2.5vw, 18px);
  line-height: 1.6;
}

/* IMÁGENES */
/* Es mejor acotarlo también para evitar que rompa iconos globales del layout */
section img, .content img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* LISTAS */
section ul, .content ul {
  padding-left: 20px;
}

/* SLIDER */
.cel-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 500px;
  margin: auto;
  overflow: hidden;
  border-radius: 12px;
}

/* EN MÓVIL: ALTURA FLEXIBLE */
@media (max-width: 600px) {
   .texto {
     font-size: 10px;
     bottom: -60px;
     left: 20px;
     max-width: 90%;
     padding: 12px;
   }
}

/* IMÁGENES DEL SLIDER */
.cel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s;
}
.cel-slide.active {
  opacity: 1;
}

/* TEXTO DEL SLIDER */
.cel-texto {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: white;
  font-size: clamp(14px, 2.5vw, 18px);
  background: rgba(0,0,0,0.5);
  padding: 12px;
  border-radius: 10px;
}

/* SVG ENERGÍA */
.cel-flow {
  stroke-width: 6;
  fill: none;
  opacity: 0;
  transition: opacity 1s;
}
.dia .cel-flow { opacity: 1; }
.tarde .cel-flow { opacity: 0.4; }
.noche .cel-flow { opacity: 0; }

/* SEPARADORES */
hr {
  margin: 40px 0;
  border: none;
  border-top: 1px solid #ddd;
}