/* =========================
   NAVBAR FIX (COMPLETO)
   ========================= */

/* ✅ El wrapper que se pega arriba */
.navbar-logo-center{
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* ✅ Container interno normal */
.navbar-logo-center-container {
  z-index: 5;
  background-color: transparent;
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
}

/* (de webflow) */
.navbar-logo-center-container.shadow-three {
  width: 100%;
  max-width: 1140px;
}

.container {
  width: 100%;
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}

.navbar-wrapper-three {
  justify-content: space-between;
  align-items: center;
  display: flex;
  position: relative;
}

.navbar-brand-three {
  z-index: 5;
  position: relative;
}

.navbar-brand-three img{
  width: 140px;
  height: auto;
  display: block;
}

.nav-menu-wrapper-three {
  width: 100%;
}

.nav-menu-three {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
  display: flex;
}

.nav-menu-block {
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
  display: flex;
}

.nav-link {
  color: #1a1b1f;
  letter-spacing: .25px;
  margin-left: 5px;
  margin-right: 5px;
  padding: 5px 10px;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover {
  color: #1a1b1fbf;
}

.nav-link:focus-visible, .nav-link[data-wf-focus-visible] {
  outline-offset: 0px;
  color: #0050bd;
  border-radius: 4px;
  outline: 2px solid #0050bd;
}

.nav-dropdown {
  margin-left: 5px;
  margin-right: 5px;
}

.nav-dropdown-toggle {
  letter-spacing: .25px;
  padding: 5px 30px 5px 10px;
  font-size: 14px;
  line-height: 20px;
}

.nav-dropdown-toggle:hover {
  color: #1a1b1fbf;
}

.nav-dropdown-toggle:focus-visible, .nav-dropdown-toggle[data-wf-focus-visible] {
  outline-offset: 0px;
  color: #0050bd;
  border-radius: 5px;
  outline: 2px solid #0050bd;
}

.nav-dropdown-icon {
  margin-right: 10px;
}

.nav-dropdown-list {
  background-color: #fff;
  border-radius: 12px;
}

.nav-dropdown-list.w--open {
  padding-top: 10px;
  padding-bottom: 10px;
}

.nav-dropdown-link {
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 14px;
}

.nav-dropdown-link:focus-visible, .nav-dropdown-link[data-wf-focus-visible] {
  outline-offset: 0px;
  color: #0050bd;
  border-radius: 5px;
  outline: 2px solid #0050bd;
}

.nav-link-accent {
  color: #1a1b1f;
  letter-spacing: .25px;
  margin-left: 5px;
  margin-right: 20px;
  padding: 5px 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-decoration: none;
}

.nav-link-accent:hover {
  color: #1a1b1fbf;
}

.button-primary {
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  background-color: #1a1b1f;
  padding: 12px 25px;
  font-size: 12px;
  line-height: 20px;
  transition: all .2s;
}

.button-primary:hover {
  color: #fff;
  background-color: #32343a;
}

.button-primary:active {
  background-color: #43464d;
}

/* =========================
   NAVBAR REDESIGN (PREMIUM)
   ========================= */

:root {
  --site-nav-text: #1b2430;
  --site-nav-muted: #5b6575;
  --site-nav-border: #dfe5ef;
  --site-nav-solid: #0f9d7a;
  --site-nav-solid-hover: #0a8365;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.92);
  transition: box-shadow .25s ease, backdrop-filter .25s ease, border-color .25s ease, background-color .25s ease;
  backdrop-filter: saturate(120%) blur(0);
}

.site-header.is-scrolled {
  border-bottom-color: var(--site-nav-border);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: saturate(140%) blur(10px);
}

.site-header .container {
  max-width: 1140px;
}

.site-nav {
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
}

.site-brand img {
  width: 142px;
  height: auto;
  display: block;
}

.site-nav-panel {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.site-nav-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.site-nav-link {
  color: var(--site-nav-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  transition: color .2s ease, background-color .2s ease;
}

.site-nav-link:hover {
  color: #0f172a;
  background-color: #f4f7fb;
}

.site-nav-link.is-active {
  background-color: #eef3fb;
  color: #0f172a;
}

.site-nav-link-button {
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.site-nav-dropdown {
  position: relative;
}

.site-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--site-nav-border);
  background: #fff;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.1);
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
}

.site-nav-dropdown:hover .site-dropdown-menu,
.site-nav-dropdown:focus-within .site-dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.site-dropdown-link {
  display: block;
  color: var(--site-nav-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  border-radius: 8px;
  text-decoration: none;
  padding: 10px;
  transition: background-color .2s ease, color .2s ease;
}

.site-dropdown-link:hover {
  background-color: #f5f8fd;
  color: var(--site-nav-text);
}

.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav-actions .button-primary {
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--site-nav-border);
  border-radius: 10px;
  background: #fff;
  padding: 10px;
  margin-left: auto;
  cursor: pointer;
}

.site-nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: #18202e;
  transition: transform .2s ease, opacity .2s ease;
}

.site-nav-toggle span + span {
  margin-top: 6px;
}

@media screen and (max-width: 991px) {
  .site-nav {
    grid-template-columns: auto auto;
    min-height: 64px;
  }

  .site-nav-toggle {
    display: block;
  }

  .site-nav-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    background: #fff;
    border: 1px solid var(--site-nav-border);
    border-radius: 14px;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
    padding: 14px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  .site-header.is-open .site-nav-panel {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-header.is-open .site-nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .site-header.is-open .site-nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-open .site-nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .site-nav-links {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
  }

  .site-nav-link {
    width: 100%;
    padding: 12px 14px;
  }

  .site-dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 6px;
    border-radius: 10px;
    box-shadow: none;
    background: #f9fbff;
    display: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

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

  .site-nav-dropdown:hover .site-dropdown-menu {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .site-nav-actions {
    width: 100%;
    gap: 10px;
  }

  .site-nav-actions .button-primary {
    flex: 1;
  }
}

@media screen and (max-width: 767px) {
  .site-header .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-nav-actions {
    flex-direction: column;
  }

  .site-nav-actions .button-primary {
    width: 100%;
  }
}

/* =========================
   HERO
   ========================= */

.hero-heading-left {
  background-color: #f5f7fa;
  border-bottom: 1px solid #e4ebf3;
  padding: 80px 30px;
  position: relative;
}

.hero-wrapper {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.hero-split {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  max-width: 46%;
  display: flex;
}

.margin-bottom-24px {
  margin-bottom: 24px;
}

.shadow-two {
  box-shadow: 0 4px 24px #96a3b514;
}

/* =========================
   SERVICIOS
   ========================= */

.team-slider {
  background-color: #f5f7fa;
  border-bottom: 1px solid #e4ebf3;
  padding: 80px 30px;
  position: relative;
}

.centered-heading {
  text-align: center;
  margin-bottom: 16px;
}

.centered-subheading {
  text-align: center;
  max-width: 530px;
  margin-left: auto;
  margin-right: auto;
}

.team-slider-wrapper {
  background-color: #0000;
  height: auto;
  margin-top: 50px;
}

.team-slide-wrapper {
  width: 30%;
  margin-right: 5%;
}

.team-block {
  background-color: #fff;
  padding-bottom: 24px;
}

.team-member-image-two {
  margin-bottom: 18px;
}

.team-block-info {
  flex-direction: column;
  align-items: flex-start;
  padding-left: 24px;
  padding-right: 24px;
  display: flex;
}

.team-member-name-two {
  margin-bottom: 12px;
  font-weight: 600;
}

.team-member-text {
  margin-bottom: 20px;
}

.text-link-arrow {
  color: #1a1b1f;
  justify-content: flex-start;
  align-items: center;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  display: flex;
}

.arrow-embed {
  margin-left: 2px;
  display: flex;
}

.team-slider-arrow {
  display: none;
}

.team-slider-nav {
  margin-top: 24px;
  font-size: 10px;
  position: static;
  bottom: -60px;
}

/* =========================
   NOSOTROS
   ========================= */

.hero-without-image {
  background-color: #f5f7fa;
  border-bottom: 1px solid #e4ebf3;
  padding: 80px 30px;
  position: relative;
}

.hero-wrapper-two {
  text-align: center;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.faq-card {
  text-align: left;
  background-color: #fff;
  border: 1px solid #e4ebf3;
  border-radius: 14px;
  width: 100%;
  margin-top: 20px;
  padding: 28px;
  box-shadow: 0 4px 18px #96a3b514;
}

.faq-question {
  margin-top: 0;
  margin-bottom: 0;
}

.faq-item {
  border: 1px solid #e4ebf3;
  border-radius: 10px;
  background-color: #fff;
}

.faq-item + .faq-item {
  margin-top: 12px;
}

.faq-item .faq-question {
  cursor: pointer;
  list-style: none;
  padding: 14px 18px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item .faq-question::-webkit-details-marker {
  display: none;
}

.faq-item .faq-question::after {
  content: "+";
  font-size: 22px;
  line-height: 1;
}

.faq-content {
  padding: 0 18px 18px;
}

.faq-answer {
  margin-bottom: 16px;
}

.faq-answer:last-child {
  margin-bottom: 0;
}

/* =========================
   LEAD FORM (WHATSAPP)
   ========================= */

.lead-form-section {
  background-color: #fff;
  border-bottom: 1px solid #e4ebf3;
  padding: 56px 30px;
}

.lead-form-card {
  max-width: 620px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid #e4ebf3;
  border-radius: 14px;
  box-shadow: 0 4px 18px #96a3b514;
}

.lead-form-title {
  margin-top: 0;
  margin-bottom: 8px;
}

.lead-form-text {
  margin-bottom: 18px;
  color: #4f5b6d;
}

.lead-form {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.lead-form-label {
  width: 100%;
  margin-bottom: -4px;
  font-size: 14px;
  font-weight: 500;
}

.lead-form-input {
  flex: 1;
  min-width: 240px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #ccd6e5;
  border-radius: 10px;
  font-size: 14px;
}

.lead-form-input:focus {
  outline: none;
  border-color: #0f9d7a;
  box-shadow: 0 0 0 3px rgba(15, 157, 122, 0.14);
}

.lead-form .button-primary {
  margin-bottom: 0;
}

/* =========================
   FOOTER
   ========================= */

.footer-light {
  border-bottom: 1px solid #e4ebf3;
  padding: 80px 30px 40px;
  position: relative;
}

.footer-wrapper-two {
  justify-content: space-between;
  align-items: flex-start;
  display: flex;
}

.footer-block-two {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

.footer-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 32px;
}

.footer-link-two {
  color: #1a1b1f;
  margin-top: 20px;
  text-decoration: none;
}

.footer-link-two:hover {
  color: #1a1b1fbf;
}

.footer-form {
  width: 315px;
  max-width: 100%;
  margin-bottom: 0;
}

.footer-form-block {
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  display: flex;
}

.footer-form-field {
  border: 1px solid #a6b1bf;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  height: 48px;
  margin-bottom: 0;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 22px;
  transition: all .2s;
}

.footer-form-field:hover, .footer-form-field:focus {
  border-color: #76879d;
}

.footer-form-field::placeholder {
  color: #1a1b1fcc;
  font-size: 14px;
  line-height: 22px;
}

.footer-form-submit {
  background-color: #1a1b1f;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  width: auto;
  height: 48px;
  transition: all .2s;
}

.footer-form-submit:hover {
  background-color: #3a4554;
}

.footer-divider-two {
  background-color: #e4ebf3;
  width: 100%;
  height: 1px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.footer-bottom {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.footer-copyright {
  color: #3a4554;
}

.footer-social-block-two {
  justify-content: flex-start;
  align-items: center;
  margin-top: 0;
  margin-left: -12px;
  display: flex;
}

.footer-social-link {
  margin-left: 12px;
}

/* tamaño logo footer */
.footer-brand img{
  width: 140px;
  height: auto;
  display: block;
}

/* =========================
   RESPONSIVE
   ========================= */

@media screen and (max-width: 991px) {
  .container { max-width: 728px; }

  .nav-menu-wrapper-three {
    background-color: transparent;
    top: 70px;
  }

  .nav-menu-three {
    background-color: #fff;
    border-radius: 50px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding: 20px;
    display: flex;
    box-shadow: 0 8px 50px #0000000d;
  }

  .hero-wrapper {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: -40px;
  }

  .hero-split {
    max-width: 100%;
    margin-bottom: 40px;
  }

  .team-slide-wrapper {
    width: 47%;
    margin-right: 6%;
  }

  .footer-wrapper-two {
    flex-wrap: wrap;
  }

  .footer-form {
    width: 100%;
    margin-top: 40px;
  }

  .footer-form-container {
    max-width: 350px;
  }
}

@media screen and (max-width: 767px) {
  .nav-menu-three {
    border-radius: 20px;
    flex-direction: column;
    padding-bottom: 30px;
  }

  .nav-menu-block {
    flex-direction: column;
  }

  .nav-link {
    padding-top: 10px;
    padding-bottom: 10px;
    display: inline-block;
  }

  .hero-heading-left, .team-slider, .hero-without-image, .lead-form-section {
    padding: 60px 15px;
  }

  .faq-card {
    padding: 22px;
  }

  .lead-form-card {
    padding: 22px;
  }

  .lead-form-input {
    min-width: 100%;
  }

  .lead-form .button-primary {
    width: 100%;
  }

  .footer-light {
    padding-left: 15px;
    padding-right: 15px;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .footer-social-block-two {
    margin-top: 20px;
  }

  .footer-social-link {
    margin-left: 20px;
  }
}

@media screen and (max-width: 479px) {
  .container { max-width: none; }

  .team-slide-wrapper {
    width: 100%;
    margin-right: 0%;
  }

  .footer-wrapper-two {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .footer-block-two {
    margin-top: 40px;
  }

  .footer-social-block-two {
    margin-top: 20px;
  }

  .footer-brand img{
    width: 120px;
  }
}
