* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #111;
  color: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
}

.logo span {
  color: #c0392b;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links > li {
  position: relative;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  transition: 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #d92b2b;
}

/* DROPDOWN */
.dropdown-menu {
  position: absolute;
  top: 180%;
  left: 50%;
  transform: translateX(-50%);
  width: 380px;
  background: #262830;
  padding: 26px 42px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  top: 150%;
}

.dropdown-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a {
  display: block;
  padding: 18px 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f0f0f0;
  transition: 0.3s ease;
}

.dropdown-menu a:hover {
  color: #ffffff;
  padding-left: 8px;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 110px;
  overflow: hidden;
  background: #111;
  padding-bottom: 120px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 0%;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.35);
}

.hero-content {
  position: absolute;
  left: 80px;
  bottom: 120px;
  top: auto;
  transform: none;
  text-align: left;
  max-width: 700px;
  z-index: 2;
}

.hero-subtitle {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #d7d7d7;
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 22px;
  font-weight: 800;
}

.hero-text {
  font-size: 1.15rem;
  color: #e2e2e2;
  max-width: 680px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 24px;
  font-weight: 700;
  transition: 0.3s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: #ffffff;
  color: #111;
}

.btn-primary:hover {
  background: #d92b2b;
  color: #fff;
}

.btn-secondary {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.btn-secondary:hover {
  background: #fff;
  color: #111;
}

/* SECTIONS */
.section {
  padding: 100px 0;
}

.section-dark {
  background: #17191f;
}

.section-light {
  background: #f6f6f6;
  color: #111;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #d92b2b;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 18px;
}

.center {
  text-align: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 22px;
  line-height: 1.2;
}

.section p {
  color: #d6d6d6;
  margin-bottom: 16px;
}

.section-light p,
.section-light h2,
.section-light h3,
.section-light .section-title {
  color: #111;
}

/* ABOUT */
.about-card {
  background: #1f2128;
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-stat {
  background: #2a2d36;
  padding: 24px;
}

.about-stat h3 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 6px;
}

.about-stat p {
  margin: 0;
  color: #cfcfcf;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.service-card {
  background: #22252d;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: 0.3s ease;
}

.service-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 18px;
  border: 1px solid #fff;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  transition: 0.3s ease;
}

.service-btn:hover {
  background: #d92b2b;
  border-color: #d92b2b;
  color: #fff;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 43, 43, 0.5);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.service-card p {
  color: #cfcfcf;
  margin-bottom: 0;
}

/* ISOLATION */
.isolation-box {
  background: #1d1f26;
  padding: 32px;
  border-left: 4px solid #d92b2b;
}

.isolation-box h3 {
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.isolation-box ul li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #e1e1e1;
}

.isolation-box ul li:last-child {
  border-bottom: none;
}

/* ENERGIES */
.energy-wrapper {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.energy-card {
  background: #22252d;
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transition: 0.3s ease;
}

.energy-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 43, 43, 0.5);
}

.energy-card-large {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.energy-image-double {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split-image {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.split-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.split-image span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 9px 14px;
  letter-spacing: 0.4px;
}

.energy-content {
  padding: 32px;
}

.energy-mini-tag {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #d92b2b;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.energy-content h3 {
  font-size: 1.7rem;
  margin-bottom: 14px;
}

.energy-content p {
  color: #d6d6d6;
  margin-bottom: 18px;
}

.energy-content ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  color: #e5e5e5;
}

.energy-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d92b2b;
}

.energy-card-solar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.energy-solar-media {
  min-height: 100%;
}

.energy-solar-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

/* PROJECTS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.project-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  overflow: hidden;
  transition: 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.project-card h3 {
  padding: 20px 20px 8px;
  font-size: 1.2rem;
  color: #111;
}

.project-card p {
  padding: 0 20px 24px;
  color: #555;
}

/* CONTACT */
.contact-section {
  background: #101216;
}

.contact-info p {
  margin-bottom: 10px;
  color: #d9d9d9;
}

.contact-form {
  background: #1b1d24;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111318;
  color: #fff;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #d92b2b;
}

.contact-form textarea {
  resize: vertical;
}

/* FOOTER */
.footer {
  background: #0a0b0e;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  text-align: center;
}

.footer p {
  color: #bdbdbd;
  font-size: 0.95rem;
}

/* LOGO */
.logo .renovation {
  color: #e30613;
  font-weight: 700;
}

.logo .fluores {
  background: linear-gradient(90deg, #00ffcc, #00aaff, #ffcc00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 0.8em;
  margin-left: 5px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .services-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-2,
  .energy-card-solar {
    grid-template-columns: 1fr;
  }

  .energy-image-double {
    grid-template-columns: 1fr;
  }

  .split-image img {
    height: 280px;
  }

  .energy-solar-media img {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 20px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 15px;
    opacity: 1;
    visibility: visible;
    display: none;
    padding: 18px 20px;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }

  .hero {
    text-align: center;
    padding-bottom: 80px;
  }

  .hero-content {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    top: auto;
    transform: none;
    margin: 0 20px;
    max-width: none;
    text-align: left;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .services-grid,
  .projects-grid,
  .about-card {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .section h2 {
    font-size: 2rem;
  }

  .split-image {
    min-height: 220px;
  }

  .split-image img {
    height: 220px;
  }

  .energy-content {
    padding: 24px;
  }

  .energy-solar-media img {
    min-height: 220px;
  }
}