    :root {
      --background-top: #102b45;
      --background-bottom: #061421;
      --card-background: rgba(7, 24, 39, 0.92);
      --primary-blue: #2d8fde;
      --primary-blue-hover: #48a4ec;
      --light-blue: #76c0f7;
      --text-primary: #ffffff;
      --text-secondary: #c8d2dc;
      --text-muted: #8293a4;
      --border: rgba(129, 180, 219, 0.28);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
  position: relative;
  min-height: 100vh;
  padding: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow-x: hidden;

  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-primary);

  background:
  linear-gradient(
    180deg,
    rgba(4, 18, 31, 0.30),
    rgba(4, 18, 31, 0.45)
),
  url("../images/plant-hero.jpg")
  center center / cover
  fixed
  no-repeat;

background-color: #061421;
}
body::before {
  content: "";

  position: fixed;
  inset: 0;
  z-index: 0;

  background-image: url("images/plant-hero.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  transform: scale(1.02);
}
body::after {
  content: "";

  position: fixed;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      180deg,
      rgba(4, 18, 31, 0.58),
      rgba(4, 18, 31, 0.76)
    ),
    radial-gradient(
      circle at center,
      rgba(18, 70, 111, 0.10),
      rgba(2, 10, 18, 0.34)
    );
}
    .container {
      position: relative;
      

      width: 100%;
      max-width: 1050px;
      padding: 68px 58px 42px;

      text-align: center;

      background: rgba(5, 20, 34, 0.72);
      border: 1px solid var(--border);
      border-radius: 18px;

      box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);

      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }

    .logo {
      display: block;
      width: min(520px, 85%);
      height: auto;
      margin: 0 auto 44px;
      object-fit: contain;
    }

    .company-name {
      margin-bottom: 13px;

      color: var(--text-muted);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 3px;
      text-transform: uppercase;
    }

    .certification {
      display: inline-block;
      margin-bottom: 20px;
      padding: 6px 16px;

      color: var(--light-blue);
      border: 1px solid rgba(118, 192, 247, 0.45);
      border-radius: 999px;

      font-size: 10px;
      font-weight: 700;
      letter-spacing: 1.6px;
      text-transform: uppercase;
    }

    h1 {
      max-width: 760px;
      margin: 0 auto 18px;

      font-size: clamp(34px, 6vw, 56px);
      line-height: 1.08;
      letter-spacing: -1px;
    }

    .services {
      margin-bottom: 20px;

      color: var(--light-blue);
      font-size: clamp(13px, 2vw, 17px);
      font-weight: 700;
      letter-spacing: 1px;
      line-height: 1.6;
      text-transform: uppercase;
    }

    .tagline {
      margin-bottom: 27px;

      color: var(--text-primary);
      font-size: clamp(18px, 2.8vw, 23px);
      font-weight: 700;
      letter-spacing: 0.2px;
    }

    .divider {
      width: 70px;
      height: 2px;
      margin: 0 auto 28px;

      background: linear-gradient(
        90deg,
        transparent,
        var(--primary-blue),
        transparent
      );
    }

    .message {
      max-width: 680px;
      margin: 0 auto;

      color: var(--text-secondary);
      font-size: 16px;
      line-height: 1.65;
    }

    .message + .message {
      margin-top: 12px;
    }

    .buttons {
      display: flex;
      justify-content: center;
      gap: 16px;
      flex-wrap: wrap;

      margin-top: 30px;
    }

    .button {
      display: inline-flex;
      min-width: 215px;
      min-height: 56px;
      padding: 17px 30px;

      align-items: center;
      justify-content: center;

      border-radius: 8px;

      font-size: 14px;
      font-weight: 700;
      letter-spacing: 0.3px;
      text-decoration: none;
      text-transform: uppercase;

      transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
    }

    .button:hover {
      transform: translateY(-2px);
    }

    .button-primary {
      color: #ffffff;
      background: var(--primary-blue);
      border: 1px solid var(--primary-blue);
      box-shadow: 0 8px 22px rgba(45, 143, 222, 0.2);
    }

    .button-primary:hover {
      background: var(--primary-blue-hover);
      border-color: var(--primary-blue-hover);
      box-shadow: 0 10px 25px rgba(45, 143, 222, 0.3);
    }

    .button-secondary {
      color: #ffffff;
      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.34);
    }

    .button-secondary:hover {
      background: rgba(255, 255, 255, 0.07);
      border-color: rgba(255, 255, 255, 0.58);
    }

    .contact {
      display: flex;
      justify-content: center;
      gap: 18px 34px;
      flex-wrap: wrap;

      margin-top: 34px;
      padding-top: 26px;

      border-top: 1px solid var(--border);
    }

    .contact-item {
      min-width: 190px;
    }

    .contact-label {
      display: block;
      margin-bottom: 7px;

      color: var(--text-muted);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 1.6px;
      text-transform: uppercase;
    }

    .contact-value,
    .contact-value:visited {
      color: var(--text-secondary);
      font-size: 14px;
      line-height: 1.5;
      text-decoration: none;
    }

    .contact-value:hover {
      color: var(--light-blue);
    }

    .footer {
      margin-top: 30px;

      color: var(--text-muted);
      font-size: 12px;
    }
.team-section{

    padding:80px 0;

    background:
        linear-gradient(
            180deg,
            rgba(6,20,33,.88),
            rgba(9,28,45,.92)
        );

    border-top:1px solid rgba(255,255,255,.05);

}


.team-heading {
  max-width: 720px;
  margin: 0 auto 28px;
}

.team-eyebrow {
  margin-bottom: 10px;

  color: var(--light-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.team-section h2 {
  margin-bottom: 14px;

  color: var(--text-primary);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.team-intro {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.65;
}

.team-photo-wrapper {
  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.team-photo {
  display: block;
  width: 100%;
  height: auto;

  transition: transform 0.6s ease;
}

.team-photo-wrapper:hover .team-photo {
  transform: scale(1.015);
}

.team-photo-wrapper figcaption {
  padding: 16px 20px;

  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.4px;
}
.section-container{
    width:100%;
    max-width:1200px;
    margin:0 auto;
    padding:90px 40px;
}

    @media (max-width: 640px) {
      body {
        padding: 12px;
        align-items: flex-start;
      }

      .container {
        margin: 12px 0;
        padding: 38px 20px 28px;
        border-radius: 15px;
      }

      .logo {
        width: 90%;
        margin-bottom: 34px;
      }

      h1 {
        font-size: clamp(31px, 10vw, 44px);
      }

      .services {
        font-size: 12px;
        letter-spacing: 0.6px;
      }

      .message {
        font-size: 15px;
      }

      .buttons {
        flex-direction: column;
        gap: 12px;
      }

      .button {
        width: 100%;
      }

      .contact {
        flex-direction: column;
        gap: 22px;
      }
    }

body::before,
body::after {
  display: none !important;
  content: none !important;
}
/* =========================================
   NAVBAR
========================================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;

  background: rgba(4, 17, 30, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  transition: 0.35s ease;
}

.nav-container {
  width: min(1400px, 95%);
  margin: 0 auto;
  padding: 12px 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  display: block;
  height: 56px;
  width: auto;
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar nav a,
.navbar nav a:visited {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.navbar nav a:hover {
  color: var(--light-blue);
}

.navbar.active {
  background: rgba(4, 17, 30, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
/* Desactiva las capas oscuras antiguas */
body::before,
body::after {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
/* =========================================
   CORRECCIÓN DEL LAYOUT GENERAL
========================================= */

body {
  display: block;
  min-height: 100vh;
  padding: 0;
}

main {
  display: block;
  width: 100%;
}

.hero.container {
  margin: 90px auto 40px;
}

.team-section {
  width: 100%;
}


/* =========================================
   NAVIGATION DROPDOWNS
========================================= */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 0;
  color: #ffffff;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle {
  color: var(--light-blue);
}

.dropdown-arrow {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.nav-dropdown.open .dropdown-arrow {
  transform: rotate(225deg) translate(-1px, -1px);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -18px;
  min-width: 245px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  background: rgba(5, 20, 34, 0.98);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-dropdown-menu-right {
  left: auto;
  right: -18px;
}

.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar .nav-dropdown-menu a,
.navbar .nav-dropdown-menu a:visited {
  display: block;
  padding: 11px 12px;
  border-radius: 7px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
}

.navbar .nav-dropdown-menu a:hover {
  color: #ffffff;
  background: rgba(118, 192, 247, 0.12);
}

/* =========================================
   CERTIFICATES SECTION
========================================= */
.certificates-section {
  width: 100%;
  background: linear-gradient(180deg, rgba(5, 18, 31, 0.95), rgba(8, 29, 47, 0.95));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.certificate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 46px;
  align-items: center;
}

.certificate-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

.certificate-intro {
  max-width: 680px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

.certificate-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.certificate-details div {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.certificate-details dt {
  margin-bottom: 7px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.certificate-details dd {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.45;
}

.certificate-button {
  min-width: 235px;
}

.certificate-card {
  position: relative;
  display: flex;
  min-height: 370px;
  padding: 38px 30px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #0c2236;
  text-decoration: none;
  background: linear-gradient(145deg, #ffffff, #e9eef3);
  border: 8px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.38);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.46);
}

.certificate-badge {
  margin-bottom: 26px;
  padding: 8px 18px;
  color: #ffffff;
  background: #123f70;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
}

.certificate-card-title {
  margin-bottom: 14px;
  font-size: 24px;
  font-weight: 800;
}

.certificate-card p:not(.certificate-card-title) {
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 700;
}

.certificate-card span {
  margin-bottom: 34px;
  color: #506272;
  font-size: 13px;
}

.certificate-card strong {
  color: #146db3;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .navbar nav {
    gap: 18px;
  }

  .certificate-layout {
    grid-template-columns: 1fr;
  }

  .certificate-card {
    min-height: 300px;
  }
}

@media (max-width: 760px) {
  .nav-container {
    align-items: flex-start;
  }

  .navbar nav {
    gap: 10px 14px;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .nav-logo img {
    height: 44px;
  }

  .nav-dropdown-menu,
  .nav-dropdown-menu-right {
    left: auto;
    right: 0;
  }

  .certificate-details {
    grid-template-columns: 1fr;
  }
}
