/* --- RESETEO BÁSICO --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #f4f4f4;
}

/* Smooth scrolling for in-page links */
html {
  scroll-behavior: smooth;
}

/* --- EL CONTENEDOR DEL BANNER --- */
.hero-banner {
  position: relative;
  width: min(100%, 1024px);
  margin: 0 auto;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* --- LOGO SUPERIOR --- */
.site-logo {
  width: 100%;
  max-width: 240px;
  margin: 18px auto 8px;
  padding: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.site-logo a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.dot {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.dot:hover {
  transform: scale(1.1);
}

.dot.active {
  background: #fff;
  transform: scale(1.2);
}

.banner-slide {
  display: none;
}

.banner-slide.active {
  display: block;
}

.banner-slide img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #111;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-arrow:hover {
  background: rgba(255, 255, 255, 0.34);
  transform: translateY(-50%) scale(1.05);
}

.banner-arrow.prev {
  left: 16px;
}

.banner-arrow.next {
  right: 16px;
}


.Botton_Principal {
  width: 100%;
  max-width: 1024px;
  margin: 12px auto 0;
  padding: 12px;
  display: flex;
  justify-content: space-evenly;
  gap: 14px;
  flex-wrap: wrap;
  border-radius: 12px;
  align-items: center;
 
}

nav {
  position: relative;
  z-index: 10;
}

.btn-principal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 160px;
  padding: 10px 20px;
  height: 48px;
  font-size: 15px;
  font-family: inherit;
  border: none;
  border-radius: 9px;
  background-color: #fff;
  color: #205123;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-principal:focus {
  outline: 2px solid #205123;
  outline-offset: 2px;
}

.btn-principal:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* --- DROPDOWN: Más opciones --- */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown .dropdown-menu {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(2, 6, 23, 0.12);
  padding: 8px;
  display: none;
  min-width: 180px;
  z-index: 60;
}

.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown .dropdown-item {
  display: block;
  padding: 10px 14px;
  color: #083c25;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.12s ease, transform 0.12s ease;
}

.dropdown .dropdown-item:hover {
  background: rgba(2, 6, 23, 0.04);
  transform: translateX(6px);
}

.dropdown-toggle[aria-expanded="true"] {
  box-shadow: 0 8px 26px rgba(2, 6, 23, 0.08);
}

.whatsapp-bubble {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #06b750);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.26);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  z-index: 999;
}

.whatsapp-bubble:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 22px 46px rgba(37, 211, 102, 0.32);
  filter: brightness(1.05);
}

.whatsapp-bubble i,
.whatsapp-bubble i.fa-whatsapp {
  font-size: 42px !important;
  line-height: 1;
  display: inline-block;
  transform: scale(1.2);
}


.img_nosotros {
  width: 100%;
  max-width: 1024px;
  margin: 20px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 16px;
}

.img_nosotros img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.text_nosotros {
  width: 100%;
  max-width: 1024px;
  margin: 5px auto;
  padding: 35px;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
}

.text_nosotros.collapsed {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.text_nosotros:not(.collapsed) {
  max-height: 2000px;
  opacity: 1;
}

.text_nosotros[hidden] {
  display: none !important;
}

.img_nosotros img {
  cursor: pointer;
}

@media (min-width: 1111px) {
  .hero-banner {
    width: 100vw;
    max-width: none;
    margin: 0;
    border-radius: 0;
  }

  .Botton_Principal {
    width: 100%;
    max-width: 100%;
    margin: 20px 0 0;
    padding: 16px 24px;
    backdrop-filter: blur(10px);
    justify-content: center;
    gap: 18px;
    border-radius: 0;
  }


  .btn-principal {
    min-width: 400px;
    padding: 12px 22px;
    height: 52px;
    font-size: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  }
}


.text_nosotros {
  width: 100%;
  max-width: 1700px;
  margin: 5px auto;
  padding: 35px;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
}

.site-logo {
  width: 100%;
  max-width: 440px;
  margin: 18px auto 8px;
  padding: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}








/* Small screens: stack nav buttons full width */
@media (max-width: 600px) {
  .Botton_Principal {
    padding: 14px;
    gap: 12px;
  }

  .btn-principal {
    width: 100%;
    max-width: 420px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  }

  /* On small screens make dropdown menu centered under the button */
  .dropdown {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
  }

  .dropdown .dropdown-menu {
    position: absolute;
    left: 50%;
    top: calc(100% + 8px);
    transform: translateX(-50%);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(2, 6, 23, 0.12);
    padding: 8px;
    display: none;
    width: 100%;
    max-width: 420px;
    z-index: 60;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown .dropdown-item {
    padding: 14px;
    border-top: 1px solid rgba(15, 23, 42, 0.04);
  }

  .text_nosotros {
    padding: 18px 12px;
    overflow: visible;
  }

  .text_nosotros.collapsed {
    display: none !important;
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
  }

  .text_nosotros:not(.collapsed) {
    display: block;
    max-height: none;
    opacity: 1;
    overflow: visible;
  }

  .text_nosotros .nosotros-contenido {
    gap: 18px;
  }

  .text_nosotros .bloque-nosotros {
    gap: 8px;
  }

  .text_nosotros h3 {
    font-size: 1.15rem;
  }

  .text_nosotros h4 {
    font-size: 0.92rem;
  }

  .text_nosotros p {
    font-size: 14px;
    line-height: 1.7;
  }

  .text_nosotros .valor-item {
    padding: 14px 12px;
    border-left: none;
    border-top: 4px solid currentColor;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  }

  .text_nosotros .valor-item:nth-child(1) { color: #0c3a63; }
  .text_nosotros .valor-item:nth-child(2) { color: #1d9b6f; }
  .text_nosotros .valor-item:nth-child(3) { color: #d9971b; }
  .text_nosotros .valor-item:nth-child(4) { color: #4f46e5; }
  .text_nosotros .valor-item:nth-child(5) { color: #f97316; }
  .text_nosotros .valor-item:nth-child(6) { color: #0ea5e9; }
}
.text_nosotros .nosotros-contenido {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.text_nosotros .bloque-nosotros {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.text_nosotros h3 {
  margin: 0;
  color: #0c3a63;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.text_nosotros h4 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
}

.text_nosotros p {
  margin: 0;
  color: #3b3b3b;
  font-size: 15px;
  line-height: 1.75;
}

.text_nosotros .valor-item {
  margin-top: 8px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(12, 58, 99, 0.06), rgba(23, 157, 110, 0.08));
  border-left: 4px solid #0c3a63;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.text_nosotros .valor-item:nth-child(1) {
  background: linear-gradient(135deg, rgba(12, 58, 99, 0.08), rgba(30, 128, 201, 0.08));
  border-left-color: #0c3a63;
}

.text_nosotros .valor-item:nth-child(2) {
  background: linear-gradient(135deg, rgba(35, 115, 84, 0.08), rgba(29, 185, 116, 0.1));
  border-left-color: #1d9b6f;
}

.text_nosotros .valor-item:nth-child(3) {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(255, 214, 102, 0.12));
  border-left-color: #d9971b;
}

.text_nosotros .valor-item:nth-child(4) {
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.08), rgba(79, 70, 229, 0.08));
  border-left-color: #4f46e5;
}

.text_nosotros .valor-item:nth-child(5) {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.08), rgba(253, 186, 116, 0.12));
  border-left-color: #f97316;
}

.text_nosotros .valor-item:nth-child(6) {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(125, 211, 252, 0.12));
  border-left-color: #0ea5e9;
}

.formulario {
  width: 100%;
  max-width: 900px;
  margin: 40px auto 32px;
  padding: 0 16px;
}

.formulario-contenedor {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.1);
  padding: 40px 36px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.formulario-contenedor::before {
  content: '';
  display: block;
  width: 52px;
  height: 4px;
  margin: 0 auto 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #059669, #10b981);
}

.formulario-contenedor h2 {
  margin: 0;
  color: #104330;
  font-size: 23px;
  text-align: center;
  letter-spacing: 0.01em;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: block;
  color: #475569;
  font-size: 13px;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 16px;
  font-size: 15px;
  color: #0f172a;
  background: #f8fafc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: rgba(14, 165, 233, 0.35);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 5px rgba(56, 189, 248, 0.12);
}

.contact-form textarea {
  resize: vertical;
  min-height: 160px;
}

.btn-enviar {
  width: 180px;
  padding: 16px 22px;
  margin-top: 8px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  align-self: flex-start;
  box-shadow: 0 16px 32px rgba(15, 118, 110, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

@media (max-width: 720px) {
    .contact-form {
      gap: 14px;
    }

    .contact-form input,
    .contact-form textarea {
      padding: 14px 16px;
      font-size: 14px;
    }

    .btn-enviar {
      width: 100%;
      max-width: 100%;
      align-self: stretch;
    }
  }

  footer {
    width: 100%;
    padding: 48px 24px 24px;
    background: linear-gradient(135deg, #111827 0%, #173b2a 58%, #0f766e 100%);
    color: #f8fafc;
    text-align: left;
    margin-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-intro,
  .footer-contactos,
  .footer-legal {
    width: min(100%, 1120px);
    margin-left: auto;
    margin-right: auto;
  }

  .footer-intro {
    margin-bottom: 28px;
    text-align: center;
  }

  .footer-kicker {
    display: block;
    margin-bottom: 8px;
    color: #7ee2b2;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
  }

  .footer-intro h2 {
    margin: 0;
    font-size: clamp(24px, 4vw, 38px);
    line-height: 1.1;
    letter-spacing: -0.02em;
  }

  .footer-contactos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .contacto-item {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px 16px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.09);
    color: #ffffff;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  }

  .contacto-item:hover,
  .contacto-item:focus-visible {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.38);
    outline: none;
  }

  .contacto-icono {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 20px;
  }

  .contacto-whatsapp .contacto-icono { background: #25d366; }
  .contacto-correo .contacto-icono { background: #ef8b3a; }
  .contacto-telefono .contacto-icono { background: #35a9d6; }

  .contacto-texto {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .contacto-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .contacto-dato {
    overflow-wrap: anywhere;
    font-size: 14px;
    font-weight: 700;
  }

  .contacto-flecha {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
  }

  .footer-legal {
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    letter-spacing: 0.03em;
    line-height: 1.6;
    text-align: center;
  }

  @media (max-width: 760px) {
    footer {
      padding: 38px 16px 20px;
    }

    .footer-contactos {
      grid-template-columns: 1fr;
    }

    .contacto-item {
      padding: 15px;
    }
  }


