* {
  font-family: "Century Gothic", sans-serif;
  box-sizing: border-box;
}
#header-placeholder {
  position: relative;
  z-index: 1000;
}
.hero-section {
  position: relative;
  width: 100%;
  height: 720px;
  color: #000;
  font-family: 'Gotham', sans-serif;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 720px;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 20%, rgba(0, 159, 189, 0.3) 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-left: 250px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 5rem;
  line-height: 0.3;
  font-weight: 600;
  color: #ffffff;
}
.hero-content p {
  font-size: 1.7rem;
  line-height: 1.2;
  color: #ffffff;
}
.hero-content h3 {
  font-size: 1.7rem;
  line-height: 1.2;
  color: #ffffff;
}

.hero-content .highlight {
  color: #d72612;
  margin: 20px 0;
  font-weight: 500;
  font-size: 2rem;
}

.hero-btn {
  display: inline-block;
  background:
  linear-gradient(135deg, rgba(0, 159, 189, 0.7), rgba(61, 220, 145, 0.7)),
  #000; 
  color: #fff;
  padding: 12px 40px;
  font-weight: bold;
  border: none;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.hero-btn:hover {
  background-color: #333;
}

.energy-info-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  gap: 2rem;
  background-color: #ffffff;
  font-family: "Century Gothic", sans-serif;
}

.energy-info-image {
  flex: 1 1 300px;
  max-width: 400px;
  display: flex;
  justify-content: center;
}

.energy-info-image img {
  width: 100%;
  border-radius: 1.5rem;
  object-fit: cover;
}

.energy-info-text {
  flex: 1 1 400px;
  max-width: 650px;
  color: #2c5f2d;
  font-size: 1.3rem;
  line-height: 1.8;
}



.services-section {
  display: flex;
  min-height: 100vh;
  background:
  linear-gradient(135deg, rgba(0, 159, 189, 0.7), rgba(61, 220, 145, 0.7)),
  #000;
}

.image-container {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.image-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0 20px 20px 0;
}

.content-container {
  flex: 1;
  padding: 60px 40px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-title {
  font-size: 4rem;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.1;
}

.section-subtitle {
  font-size: 1.4rem;
  margin-bottom: 40px;
  opacity: 0.9;
  font-weight: 400;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.service-card.full-width {
  grid-column: 1 / -1;
}

.service-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
    display: flex;
  flex-direction: column;
  justify-content: center; /* Centra verticalmente */
  height: 100%;
}


.service-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}


.service-icon::before {
  content: "✓";
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.service-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: white;
}

.service-description {
  font-size: 1.1rem;
  opacity: 0.8;
  line-height: 1.5;
}
.custom-proposal-section {
  background-color: #000;
  padding: 3rem 2rem;
  text-align: center;
  color: white;
}

.custom-proposal-content p {
  margin: 0.5rem 0;
  font-size: 1.3rem;
  color: #ddd;
}

.cta-button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background:
  linear-gradient(135deg, rgba(0, 159, 189, 0.7), rgba(61, 220, 145, 0.7)),
  #000;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #234b22;
}
.mission-section {
  background:
  linear-gradient(135deg, rgba(0, 159, 189, 0.7), rgba(61, 220, 145, 0.7)),
  #000;
  color: white;
  padding: 0;
}

.mission-container {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex-wrap: nowrap;
}

.mission-image {
  flex: 1 1 50%;
  max-width: 50%;
  overflow: hidden;
}

.mission-image img {
  border-radius: 20px 0 0 20px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mission-text {
  flex: 1 1 50%;
  padding: 3rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mission-text h2 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}

.mission-text h4 {
  font-size: 1.4rem;
  font-weight: normal;
  color: #d0e6d3;
  margin-bottom: 1.5rem;
}

.mission-text p {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #e7f7e9;
}

.mission-text ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.mission-text li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.closing {
  font-style: italic;
  color: #ffffff;
}
.contact-section {
  display: flex;
  flex-direction: row;
  min-height: 100%;
  width: 100%;
}

.contact-left {
  flex: 1;
  background: rgb(255, 255, 255);
  color: #2c5f2d;
  padding: 2rem;

  display: flex;
  flex-direction: column;
  align-items: center;     
  justify-content: center; 
  text-align: center;      
}

.contact-left h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.contact-left p {
  font-size: 1.3rem;
  margin: 0.5rem 0;
  line-height: 1.5;
}

.contact-right {
  flex: 1;
  background-color: #e6e6e6;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-right form {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
}

.contact-right label {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
  color: #333;
}

.contact-right input,
.contact-right textarea {
  padding: 0.6rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
}

.contact-right button {
  align-self: flex-end;
  padding: 0.5rem 2rem;
  background:
  linear-gradient(135deg, rgba(0, 159, 189, 0.7), rgba(61, 220, 145, 0.7)),
  #000;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.contact-right button:hover {
  background-color: #244b24;
}



@media (max-width: 768px) {

  .hero-section {
    height: auto;
    padding: 3rem 1.5rem;
    flex-direction: column;
    justify-content: center;
  }

  .background-video {
    height: 100%;
  }

  .hero-overlay {
    background: linear-gradient(to bottom, rgba(0, 159, 189, 0.95) 30%, rgba(61, 220, 145, 0.3) 90%);
  }

  .hero-content {
    margin-left: 0;
    padding: 1rem;
    text-align: center;
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 2.8rem;
    line-height: 0.3;
  }

  .hero-content p,
  .hero-content h3 {
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .hero-btn {
    margin-top: 1.5rem;
    font-size: 1rem;
    padding: 10px 16px;
  }

  /* Info section */
  .info-section {
    flex-direction: column;
  }

  .info-image, .info-text {
    flex: 1 1 100%;
    text-align: center;
  }

  .info-image img {
    max-width: 90%;
  }

  /* Mission section */
  .mission-container {
    flex-direction: column;
  }

  .mission-image, .mission-text {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .mission-text {
    padding: 2rem 1.5rem;
    text-align: center;
  }
 .services-section {
    flex-direction: column;
  }

  .image-container {
    order: -1; /* asegura que aparezca primero */
    height: 250px;
    border-radius: 0 0 20px 20px;
  }

  .image-container img {
    border-radius: 0 0 20px 20px;
    height: 100%;
    object-fit: cover;
  }

  .content-container {
    padding: 30px 20px;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr; /* stack cards */
    gap: 16px;
  }

  .service-card {
    padding: 20px;
  }

  .section-title {
    font-size: 2rem;
  }

 .contact-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    overflow: hidden;
  }

  .contact-left, .contact-right {
    width: 100%;
    flex: none;
    padding: 2rem 1.5rem;
    box-sizing: border-box;
  }

  .contact-left {
    text-align: center;
  }

  .contact-right {
    padding-top: 0;
    padding-bottom: 2rem;
    justify-content: flex-start;
  }

  .contact-right form {
    width: 100%;
    max-width: 100%;
  }

  .contact-right button {
    align-self: center;
  }
}

