* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  background-color: #f5f7fa;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Sección Hero */
.hero-section {
  padding: 40px 0 60px 0;
  background-color: #e6f0fa;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hero-text {
  flex: 1;
  text-align: left;
  max-width: 60%;
}

.hero-section h1 {
  font-size: 3em;
  color: #003087;
  margin-bottom: 15px;
  font-weight: 700;
}

.hero-section p {
  font-size: 1.3em;
  color: #555;
  margin-bottom: 15px;
}

.hero-image {
  flex: 1;
  text-align: right;
  max-width: 40%;
}

.content-image {
  max-width: 450px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-top: 40px;
  margin-right: 40px;
}

.schedule-text {
  font-size: 0.9em;
  color: #666;
  margin-top: 10px;
  text-align: center;
}

.call-to-action-text {
  font-size: 1em;
  color: #666;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  .hero-text {
    text-align: center;
    max-width: 100%;
  }
  .hero-image {
    text-align: center;
    max-width: 100%;
  }
  .content-image {
    max-width: 300px;
    margin-top: 10px;
    margin-right: 0;
  }
  .hero-section h1 {
    font-size: 2em;
  }
  .hero-section p {
    font-size: 1em;
  }
}

/* Secciones de Contenido */
.content-section {
  padding: 40px 0;
  text-align: center;
  background-color: #fff;
}

.content-section:nth-child(odd) {
  background-color: #e6f0fa;
}

.content-section h2 {
  font-size: 2em;
  color: #003087;
  margin-bottom: 15px;
  font-weight: 700;
}

.content-section p {
  font-size: 1em;
  color: #666;
  margin-bottom: 15px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.content-section ul {
  list-style: none;
  max-width: 800px;
  margin: 0 auto 15px;
  text-align: left;
}

.content-section ul li {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
}

.content-section ul li:before {
  content: "✔";
  color: #f4a261;
  position: absolute;
  left: 0;
  font-size: 1.2em;
}

.content-section a {
  color: #f4a261;
  text-decoration: none;
  font-weight: 500;
}

.content-section a:hover {
  color: #e08e4e;
  text-decoration: underline;
}

/* Concepts Section (para "Tarifas de Endesa" y "Servicios Adicionales") */
.concepts-section {
  padding: 40px 0;
  background-color: #e6f0fa;
}

.concepts-section:nth-child(even) {
  background-color: #fff;
}

.concepts-section h2 {
  font-size: 2em;
  color: #003087;
  margin-bottom: 15px;
  font-weight: 700;
  text-align: center;
}

.concepts-section p {
  font-size: 1em;
  color: #666;
  margin-bottom: 15px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.concepts-section .centered-text {
  text-align: center;
}

.concepts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
  margin: 15px 0;
}

.concepts-grid-bottom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
  margin: 15px 0;
}

.concepts-card {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.concepts-card h3 {
  font-size: 1.3em;
  color: #003087;
  margin-bottom: 8px;
  font-weight: 600;
}

.concepts-card p {
  font-size: 0.95em;
  color: #666;
  line-height: 1.5;
}

.concepts-section .centered-button {
  display: block;
  margin: 0 auto;
  max-width: 400px;
  text-align: center;
  padding: 10px 0;
}

@media (max-width: 768px) {
  .concepts-grid, .concepts-grid-bottom {
    grid-template-columns: 1fr;
  }
  .concepts-section h2 {
    font-size: 1.6em;
  }
  .concepts-card h3 {
    font-size: 1.2em;
  }
  .concepts-section .centered-button {
    max-width: 100%;
    padding: 10px 20px;
  }
}

/* Benefits Section (para "¿Por qué Elegir Endesa?" y "¿Por qué Gestionar tu Energía?") */
.benefits {
  padding: 40px 0;
  background-color: #fff;
}

.benefits:nth-child(odd) {
  background-color: #e6f0fa;
}

.benefits h2 {
  font-size: 2em;
  color: #003087;
  margin-bottom: 15px;
  font-weight: 700;
  text-align: center;
}

.benefits p {
  font-size: 1em;
  color: #666;
  margin-bottom: 15px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin: 15px 0;
}

.benefit-card {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.benefit-icon {
  font-size: 2em;
  color: #f4a261;
  margin-bottom: 15px;
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.benefit-card img.icon {
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.benefit-card p {
  font-size: 0.95em;
  color: #666;
  line-height: 1.5;
}

.enterprise-text {
  font-size: 1em;
  color: #666;
  margin-top: 15px;
  text-align: center;
}

.enterprise-text a {
  color: #f4a261;
  text-decoration: none;
  font-weight: 500;
}

.enterprise-text a:hover {
  color: #e08e4e;
  text-decoration: underline;
}

/* Steps Section */
.steps-section-wrapper {
  padding: 40px 0 20px 0;
  background-color: #fff;
}

.steps-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.steps-content {
  flex: 1;
}

.steps-section h2 {
  font-size: 2em;
  color: #003087;
  margin-bottom: 15px;
  font-weight: 700;
  text-align: center;
}

.steps-section p {
  font-size: 1em;
  color: #666;
  margin-bottom: 15px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
  margin: 15px 0 0 0;
}

.step-card {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.step-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  background-color: #f4a261;
  color: #fff;
  border-radius: 50%;
  font-size: 1.2em;
  margin-bottom: 15px;
}

.step-card h3 {
  font-size: 1.3em;
  color: #003087;
  margin-bottom: 8px;
  font-weight: 600;
}

.step-card p {
  font-size: 0.95em;
  color: #666;
}

.step-card a {
  color: #f4a261;
  text-decoration: none;
  font-weight: 500;
}

.step-card a:hover {
  color: #e08e4e;
  text-decoration: underline;
}

@media (max-width: 992px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .steps-section {
    flex-direction: column;
    text-align: center;
  }
  .steps-section h2 {
    font-size: 1.6em;
  }
  .steps-section p {
    font-size: 0.95em;
  }
  .step-card h3 {
    font-size: 1.2em;
  }
}

/* Sección de CTA */
.cta-section {
  padding: 40px 0 20px 0;
  background-color: #e6f0fa;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-image {
  flex: 1;
  text-align: left;
  max-width: 50%;
}

.cta-image__img {
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cta-text {
  flex: 1;
  text-align: left;
  max-width: 50%;
}

.cta-section h2 {
  font-size: 2em;
  color: #003087;
  margin-bottom: 15px;
  font-weight: 700;
}

.cta-section p {
  font-size: 1em;
  color: #666;
  margin-bottom: 15px;
}

.cta-button {
  background-color: #f4a261;
  color: #fff;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

.cta-button.cta-button--small {
  padding: 10px 20px;
  font-size: 1em;
}

.cta-button:hover {
  background-color: #e08e4e;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .cta-content {
    flex-direction: column;
    text-align: center;
  }
  .cta-image {
    text-align: center;
    max-width: 100%;
  }
  .cta-image__img {
    max-width: 300px;
  }
  .cta-text {
    text-align: center;
    max-width: 100%;
  }
  .cta-section h2 {
    font-size: 1.6em;
  }
  .cta-section p {
    font-size: 0.95em;
  }
  .cta-button {
    padding: 10px 20px;
    font-size: 1em;
  }
}

/* Preguntas Frecuentes */
.faq-section {
  padding: 40px 0;
  background-color: #f5f7fa;
  text-align: left;
}

.faq-section h2 {
  font-size: 2em;
  color: #003087;
  margin-bottom: 15px;
  font-weight: 700;
  text-align: center;
}

.faq-item {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
  font-size: 1.3em;
  color: #003087;
  margin-bottom: 8px;
  font-weight: 600;
}

.faq-item p {
  font-size: 0.95em;
  color: #666;
  line-height: 1.5;
}

.faq-item a {
  color: #f4a261;
  text-decoration: none;
  font-weight: 500;
}

.faq-item a:hover {
  color: #e08e4e;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .faq-section h2 {
    font-size: 1.6em;
  }
  .faq-item h3 {
    font-size: 1.2em;
  }
}