.desktop {
  width: 100%;
  min-height: 100vh;
  background-color: #ffffff;
  overflow-x: hidden;
  overflow-y: auto;
}

.desktop .frame {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  position: relative;
}

.desktop .div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 5%;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  max-width: 1440px;
  margin: 0 auto;
  
}

.desktop .LOGO-CIMES {
  position: relative;
  width: 78px;
  height: 71.6px;
  aspect-ratio: 1.09;
  object-fit: cover;
}

.desktop .frame-2 {
  display: inline-flex;
  align-items: center;
  gap: 58px;
  position: relative;
  flex: 0 0 auto;
}

.desktop .text-wrapper {
  position: relative;
  width: fit-content;
  font-family: "Roboto", Helvetica;
  font-weight: 600;
  color: #504f4f;
  font-size: 17.5px;
  letter-spacing: 0.17px;
  line-height: 23.6px;
  white-space: nowrap;
}

.desktop .text-wrapper-2 {
  position: relative;
  width: fit-content;
  font-family: "Roboto", Helvetica;
  font-weight: 400;
  color: #504f4f;
  font-size: 17.5px;
  letter-spacing: 0.17px;
  line-height: 23.6px;
  white-space: nowrap;
}

.desktop .div-wrapper {
  display: inline-flex;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 30px;
  position: relative;
  flex: 0 0 auto;
  background-color: #da251d;
  border-radius: 12px;
}

.desktop .text-wrapper-3 {
  position: relative;
  width: fit-content;
  font-family: "Roboto", Helvetica;
  font-weight: 600;
  color: #ffffff;
  font-size: 17.5px;
  letter-spacing: 0.17px;
  line-height: 23.6px;
  white-space: nowrap;
}

.desktop .header {
  position: relative;
  align-self: stretch;
  width: 100%;
  height: 563px;
  background-color: transparent;
  background-image: url(./Img1/BannerHero_Principal_Desktop.png);
  background-size: cover;
  background-position: 50% 50%;
}

.desktop .title {
  display: flex;
  flex-direction: column;
  width: min(692px, 90%);
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  position: relative;
  top: 78px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 12.93px;
}



.desktop .frame-3 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}



.desktop .text-wrapper-4 {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  text-shadow: 0px 27px 20px -10px #4dacc633;
  font-family: "Fira Sans", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 64px;
  letter-spacing: -0.64px;
  line-height: 63.4px;
}


.desktop .ingres-tu-direcci-n {
  position: relative;
  width: fit-content;
  font-family: "Roboto", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 17.5px;
  letter-spacing: 0.17px;
  line-height: 23.6px;
}


.desktop .frame-4 {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-end;
  gap: 20px;
  padding: 20px;
  position: relative;
  flex: 0 0 auto;
  background-color: #ffffff;
  border-radius: 24px;
  box-shadow: var(--sombra-form);
}



.desktop .frame-5 {
  display: flex;
  align-items: center;
  gap: 26px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.desktop .frame-6 {
  display: flex;
  height: 60px;
  align-items: center;
  gap: 10px;
  padding: 20px 22px;
  position: relative;
  flex: 1;
  flex-grow: 1;
  background-color: #f5f7f8;
  border-radius: 12px;
  border: 1px solid;
  border-color: #e3e9f5;
}

.desktop .text-wrapper-5 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Roboto", Helvetica;
  font-weight: 400;
  color: #4f4f4f;
  font-size: 15px;
  letter-spacing: 0.15px;
  line-height: 20.3px;
  white-space: nowrap;
}

.desktop .frame-7 {
  display: flex;
  height: 60px;
  align-items: center;
  gap: 10px;
  padding: 20px 22px;
  position: relative;
  flex: 1;
  flex-grow: 1;
  background-color: #f6f8f8;
  border-radius: 12px;
  border: 1px solid;
  border-color: #e3e9f5;
}

.desktop .frame-8 {
  display: flex;
  height: 60px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  position: relative;
  align-self: stretch;
  width: 100%;
  background-color: #f6f8f8;
  border-radius: 12px;
  border: 1px solid;
  border-color: #e3e9f5;
}

.desktop .frame-9 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  flex: 0 0 auto;
  margin-top: -2.00px;
  margin-bottom: -2.00px;
}

/* Popup del mapa (dropdown) */
#map-pop {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,.18), 0 4px 12px rgba(0,0,0,.12);
  z-index: 999999 !important;
  display: none;
  overflow: hidden;
}

/* Tamaño del mapa dentro del popup */
#map {
  width: 100%;
  height: 100%;
}
/* Mostrar cuando está abierto */
#map-pop.open{ display:block; }
.desktop .img {
  position: relative;
  width: 24px;
  height: 24px;
}

.desktop .text-wrapper-6 {
  position: relative;
  width: fit-content;
  font-family: "Roboto", Helvetica;
  font-weight: 400;
  color: #4f4f4f;
  font-size: 15px;
  letter-spacing: 0.15px;
  line-height: 20.3px;
  white-space: nowrap;
}

.desktop .check-circle {
  position: relative;
  width: 24px;
  height: 24px;
  margin-top: -2.00px;
  margin-bottom: -2.00px;
}

.desktop .frame-10 {
  display: flex;
  width: 218px;
  height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 22px;
  position: relative;
  background-color: #da251d;
  border-radius: 12px;
}

.desktop .text-wrapper-7 {
  position: relative;
  width: fit-content;
  font-family: "Roboto", Helvetica;
  font-weight: 600;
  color: #ffffff;
  font-size: 17.5px;
  text-align: center;
  letter-spacing: 0;
  line-height: 23.6px;
  white-space: nowrap;
}

.desktop .arrow-forward {
  position: relative;
  width: 20px;
  height: 20px;
}

.desktop .frame-11 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 72px;
  padding: 64px 5% 76px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  max-width: 1440px;
  margin: 0 auto;
}

.desktop .text-wrapper-8 {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  text-shadow: 0px 27px 20px -10px #4dacc633;
  font-family: "Fira Sans", Helvetica;
  font-weight: 700;
  color: #da251d;
  font-size: 38px;
  text-align: center;
  letter-spacing: -0.38px;
  line-height: 37.6px;
}

.desktop .frame-12 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  flex-wrap: nowrap;
}

.desktop .frame-13 {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  gap: 26px;
  position: relative;
  max-width: 340px;
}

.desktop .assignment {
  position: relative;
  width: 130px;
  height: 150.75px;
}

.desktop .text-wrapper-9 {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Fira Sans", Helvetica;
  font-weight: 600;
  color: #101417;
  font-size: 24px;
  text-align: center;
  letter-spacing: 0.24px;
  line-height: 32.4px;
}

.desktop .p {
  position: relative;
  align-self: stretch;
  font-family: "Roboto", Helvetica;
  font-weight: 400;
  color: #6e6e6e;
  font-size: 17.5px;
  text-align: center;
  letter-spacing: 0.17px;
  line-height: 23.6px;
}

.desktop .img-2 {
  position: relative;
  width: 130px;
  height: 156.17px;
}

.desktop .text-wrapper-10 {
  margin-top: -1.00px;
  font-family: "Fira Sans", Helvetica;
  font-weight: 600;
  color: #0f1417;
  font-size: 24px;
  letter-spacing: 0.24px;
  line-height: 32.4px;
  position: relative;
  align-self: stretch;
  text-align: center;
}

.desktop .frame-wrapper {
  position: relative;
  align-self: stretch;
  width: 100%;
  height: 380px;
  background-image: url(/Img1/Secundario_desk.png);
  background-size: cover;
  background-position: center top;
}

.desktop .frame-14 {
  display: flex;
  flex-direction: column;
  width: min(692px, 90%);
  align-items: center;
  gap: 24px;
  position: relative;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
}


.desktop .una-soluci-n-para {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  text-shadow: 0px 27px 20px -10px #4dacc633;
  font-family: "Fira Sans", Helvetica;
  font-weight: 700;
  color: #0045ac;
  font-size: 45px;
  text-align: center;
  letter-spacing: -0.45px;
  line-height: 44.6px;
}

.desktop .span {
  color: #0045ac;
  letter-spacing: -0.20px;
}

.desktop .text-wrapper-11 {
  color: #da251d;
  letter-spacing: -0.20px;
}

.desktop .frame-15 {
  display: flex;
  width: 218px;
  height: 48px;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
  padding: 10px 22px;
  position: relative;
  background-color: #da251d;
  border-radius: 12px;
}

.desktop .menu-subscription {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 63px;
  padding: 50px 5% 40px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #343b3f;
}

.desktop .div-2 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  max-width: 1440px;
  margin: 0 auto;
}

.desktop .LOGO-CIMES-2 {
  position: relative;
  width: 120px;
  height: 110.15px;
  aspect-ratio: 1.09;
  object-fit: cover;
}

.desktop .menu {
  display: flex;
  width: min(607px, 60%);
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  gap: 20px;
}

.desktop .footer-menu-items {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  position: relative;
  flex: 0 0 auto;
}

.desktop .title-2 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Fira Sans", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 24px;
  letter-spacing: 0;
  line-height: 28.8px;
  white-space: nowrap;
}

.desktop .div-3 {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  flex: 0 0 auto;
}

.desktop .element {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Roboto", Helvetica;
  font-weight: 400;
  color: var(--themegray-100);
  font-size: 16px;
  letter-spacing: 0;
  line-height: 16px;
  white-space: nowrap;
}

.desktop .element-2 {
  position: relative;
  width: fit-content;
  font-family: "Roboto", Helvetica;
  font-weight: 400;
  color: var(--themegray-100);
  font-size: 16px;
  letter-spacing: 0;
  line-height: 16px;
  white-space: nowrap;
}

.desktop .items {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  flex: 0 0 auto;
}

.desktop .HR-rights {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  align-self: stretch;
  width: 100%;
  margin-bottom: 0;
  padding-bottom: 30px;
}

.desktop .HR {
  position: relative;
  align-self: stretch;
  width: 100%;
  height: 2px;
  margin-top: -1.00px;
  margin-left: -1.00px;
  margin-right: -1.00px;
}

.desktop .r-ights {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  flex: 0 0 auto;
}

.desktop .copyright {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  flex: 0 0 auto;
}

.desktop .text-wrapper-12 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Roboto", Helvetica;
  font-weight: 800;
  color: #f5f5f5;
  font-size: 21px;
  letter-spacing: 0;
  line-height: 25.2px;
  white-space: nowrap;
}

.desktop .text-wrapper-13 {
  position: relative;
  width: fit-content;
  font-family: "Roboto", Helvetica;
  font-weight: 400;
  color: #f5f5f5;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 19.2px;
  white-space: nowrap;
}

.desktop .made-by {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  position: relative;
  flex: 0 0 auto;
}

.desktop .text-wrapper-14 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Roboto", Helvetica;
  font-weight: 400;
  color: var(--themegray-100);
  font-size: 16px;
  letter-spacing: 0;
  line-height: 19.2px;
  white-space: nowrap;
}

.desktop .text-wrapper-15 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Roboto", Helvetica;
  font-weight: 700;
  color: var(--themegray-100);
  font-size: 16px;
  letter-spacing: 0;
  line-height: 19.2px;
  white-space: nowrap;
}
/* Original CSS code should be injected here */

/* Mobile Navigation Styles */
.mobile-menu-toggle {
  display: none;
  background: #da251d;
  border: none;
  border-radius: 6px;
  padding: 10px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  color: white;
  font-size: 24px;
  font-weight: 600;
  text-decoration: none;
}

.mobile-menu .close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

/* Additional styles for semantic HTML improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Form input styles to maintain visual consistency */
.frame-6 input,
.frame-7 input,
.frame-8 input {
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  line-height: inherit;
}

.frame-6 input::placeholder,
.frame-7 input::placeholder,
.frame-8 input::placeholder {
  color: #4f4f4f;
  opacity: 1;
}

/* Button reset styles */
.div-wrapper,
.frame-10,
.frame-15 {
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.div-wrapper:hover,
.frame-10:hover,
.frame-15:hover {
  opacity: 0.9;
}

.div-wrapper:focus-visible,
.frame-10:focus-visible,
.frame-15:focus-visible {
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
}

/* Link styles */
.text-wrapper,
.text-wrapper-2,
.element,
.element-2 {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.text-wrapper:hover,
.text-wrapper-2:hover,
.element:hover,
.element-2:hover {
  opacity: 0.8;
}

/* List reset */
.div-3 {
  list-style: none;
  padding: 0;
  margin: 0;
}

.div-3 li {
  margin: 0;
  padding: 0;
}

/* HR element styling */
.HR {
  border: none;
  background-color: #666;
  height: 2px;
  margin: 0;
}

/* Floating form styles */
.floating-form-container {
  position: relative;
  z-index: 10;
  margin-top: -140px;
  padding: 0 20px;
  margin-bottom: 60px;
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .desktop .div {
    padding: 8px 20px;
  }

  .desktop .frame-2 {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .desktop .header {
    height: auto;
    min-height: 500px;
    padding: 40px 0 0 0;
    background-image: url(/Img1/HeroMobile.png);
    background-size: cover;
    background-position: center;
  }

  .desktop .title {
  width: 92%;
  top: 40px;
  margin: 0 auto;        /* centra el bloque, sin corrimiento */
  left: auto;            /* anula el left que empujaba a la derecha */
  right: auto;
  transform: none;
  padding: 0 8px;        /* un pelín de respiración, sin gran margen */
  align-items: flex-start;
  text-align: left;
  }

  .desktop .frame-3 {
    align-items: flex-start;
    text-align: left;
  }

  .desktop .text-wrapper-4 {
    font-size: 57.2px;
    line-height: 59.8px;
    font-weight: 800;
    text-align: left;
  }

  .desktop .ingres-tu-direcci-n {
    text-align: left;
    font-size: 16px;
    line-height: 24px;
    max-width: 85%;
  }

  .desktop .frame-4 {
    display: none; /* Hide form in hero on mobile */
  }

  .floating-form-container {
    display: block;
  }

  .floating-form-container .frame-4 {
    display: flex;
    margin-top: 0;
    padding: 24px;
    box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.12), 0px 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 24px;
  }

  .desktop .frame-5 {
    flex-direction: column;
    gap: 16px;
  }

  .desktop .frame-6,
  .desktop .frame-7 {
    width: 100%;
  }

  .desktop .frame-11 {
    padding: 40px 20px 60px;
    gap: 40px;
  }

  .desktop .text-wrapper-8 {
    font-size: 28px;
    line-height: 32px;
  }

  .desktop .frame-12 {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .desktop .frame-13 {
    width: 100%;
    max-width: 300px;
  }

  .desktop .text-wrapper-9,
  .desktop .text-wrapper-10 {
    font-size: 20px;
    line-height: 26px;
  }

  .desktop .p {
    font-size: 16px;
    line-height: 22px;
  }

  .desktop .frame-wrapper {
    height: auto;
    min-height: 300px;
    background-image: url(./Img1/Banner_Secu_Mobile.png);
  }

  .desktop .frame-14 {
    width: 90%;
    top: 60px;
    padding: 0 20px;
  }

  .desktop .una-soluci-n-para {
    font-size: 30px;
    line-height: 34px;
    height: auto;
    white-space: normal;
    text-align: center;
    color: #ffffff !important;
  }

  .desktop .una-soluci-n-para .span {
    color: #ffffff !important;
  }

  .desktop .una-soluci-n-para .text-wrapper-11 {
    color: #ffffff !important;
  }

  .desktop .frame-14 .p {
    color: #ffffff;
  }

  .desktop .menu-subscription {
    padding: 40px 20px 0px;
  }

  .desktop .div-2 {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .desktop .menu {
    width: 100%;
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .desktop .footer-menu-items {
    align-items: center;
    text-align: center;
  }

  .desktop .div-3 {
    align-items: center;
  }

  .desktop .HR-rights {
    margin-top: 40px;
    padding-bottom: 30px;
  }

  .desktop .HR-rights .div-2 {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
  }
}

@media (min-width: 769px) {
  .floating-form-container {
    display: none !important;
  }
  
  .desktop .frame-4 {
    display: flex !important;
  }
}

/* 725px and below - 2 lines */
@media (max-width: 725px) {
  .desktop .ingres-tu-direcci-n {
    max-width: 85%;
  }
}

/* 560px to 725px - 3 lines */
@media (max-width: 725px) and (min-width: 561px) {
  .desktop .ingres-tu-direcci-n {
    max-width: 70%;
  }
}

/* 560px and below - 4 lines */
@media (max-width: 560px) {
  .desktop .ingres-tu-direcci-n {
    max-width: 55%;
  }
}

@media (max-width: 480px) {
  .desktop .div {
    padding: 8px 15px;
  }

  .desktop .text-wrapper-4 {
    font-size: 57.2px;
    line-height: 59.8px;
    font-weight: 800;
  }

  .desktop .title {
  left: auto;            /* sin corrimiento */
  padding-left: 0;       /* quitamos padding extra */
  margin: 0 auto;
  width: 94%;
  }

  .desktop .ingres-tu-direcci-n {
    font-size: 16px;
    line-height: 24px;
    max-width: 50%;
  }

  .desktop .frame-4 {
    padding: 20px;
  }

  .floating-form-container .frame-4 {
    padding: 20px;
  }

  .desktop .frame-11 {
    padding: 30px 15px 40px;
  }

  .desktop .text-wrapper-8 {
    font-size: 24px;
    line-height: 28px;
  }

  .desktop .frame-14 {
    top: 40px;
  }

  .desktop .una-soluci-n-para {
    font-size: 30px;
    line-height: 34px;
    color: #ffffff !important;
  }

  .desktop .una-soluci-n-para .span {
    color: #ffffff !important;
  }

  .desktop .una-soluci-n-para .text-wrapper-11 {
    color: #ffffff !important;
  }

  .desktop .frame-14 .p {
    color: #ffffff;
  }

  .desktop .menu-subscription {
    padding: 30px 15px 0px;
  }

  .desktop .HR-rights {
    padding-bottom: 30px;
  }
}

/* Very small screens - prevent more than 6 lines */
@media (max-width: 390px) {
  .desktop .ingres-tu-direcci-n {
    max-width: 75%;
  }
}

.tooltip-text {
    visibility: hidden;
    width: 220px;
    background-color: #333;
    color: #fff;
    text-align: left;
    padding: 8px;
    border-radius: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85em;
    line-height: 1.3em;
    opacity: 0;
    transition: opacity 0.2s;
  }
  /* Tooltip: forzar blanco incluso si el número es autolink (tel:) */
.tooltip-text { color: #fff; }

.tooltip-text a[href^="tel"],
.tooltip-text a[href^="tel"]:visited,
.tooltip-text a[href^="tel"]:hover,
.tooltip-text a[href^="tel"]:active,
.tooltip-text b,
.tooltip-text strong {
  color: #fff !important;
  text-decoration: none !important;
}

/* Opcional: si no querés que el ejemplo sea clickeable */
.tooltip-text a[href^="tel"] {
  pointer-events: none;
  cursor: default;
}
  .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
  }

  /* Hover para mostrar tooltip */
  div:hover > .tooltip-text {
    visibility: visible;
    opacity: 1;
  }


/* Mobile/Click: mostrar cuando el wrapper tenga la clase .open */
.info-wrap.open .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Asegurar que nada lo recorte */
.desktop .frame-8{ overflow: visible; height: auto; }

/* La lista de sugerencias de Google por encima de todo y fija al viewport */
.pac-container{
  z-index: 1000000 !important;
  position: fixed !important; /* así no “queda en cualquier lado” al scrollear */
  width: auto; /* la ajustamos por JS al ancho del input */
}

/* ===== Modal Mapa Mobile ===== */
#map-modal {
  position: fixed;
  inset: 0;
  display: none;                 /* se muestra con .open */
  z-index: 1000000;              /* debajo de pac-container (que ya pusiste más alto) */
}

#map-modal.open { display: block; }

#map-modal .map-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
}

#map-modal .map-modal__sheet {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: min(92vw, 560px);
  height: min(70vh, 560px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,.25);
  overflow: hidden;
  display: flex;
}

#map-mobile { flex: 1; }

/* Asegurá que las sugerencias pasen por encima del modal */
.pac-container {
  z-index: 1000002 !important;   /* > modal (1000000) y > map pop desktop (999999) */
  position: fixed !important;
}

#thanks-ok {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  border: 0;
  background: #da251d; /* rojo actual */
  color: #fff !important; /* forzar blanco */
  font-weight: 700; /* más grueso que 600 */
  cursor: pointer;
  font-size: 16px;
}
#thanks-ok:hover {
  background: #b51e17; /* un tono más oscuro al pasar el mouse */
}

/* Que el contenedor del input no lo recorte */
.desktop .frame-7 { position: relative; overflow: visible; }

/* iOS Safari fix: evitar shrink-to-fit y corte por carácter */
.info-wrap { position: relative; }

.info-wrap .tooltip-text{
  /* colocación y tamaño robustos */
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0 !important;         /* anclado al icono */
  left: auto !important;
  transform: none !important;

  /* ancho flexible pero con base mínima para que no sea “una columna” */
  width: auto !important;
  min-width: 220px;             /* evita la columna de 1 caracter */
  max-width: min(90vw, 320px);  /* nunca más ancho que la pantalla */
  box-sizing: border-box;

  /* wrapping razonable (no “anywhere”) */
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;

  z-index: 10000;
}

/* flechita alineada al icono */
.info-wrap .tooltip-text::after{
  left: auto;
  right: 12px;
  transform: none;
}

/* En pantallas muy chicas, centrarlo y ocupar casi todo el ancho */
@media (max-width: 420px){
  .info-wrap .tooltip-text{
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    min-width: 0;                              /* ya no hace falta base mínima */
    width: calc(100vw - 24px) !important;      /* 12px de margen por lado */
    max-width: calc(100vw - 24px) !important;
  }
  .info-wrap .tooltip-text::after{
    left: 50%;
    right: auto;
    transform: translateX(-50%) rotate(45deg);
  }
}

/* Mantener el número blanco aunque Safari lo haga tel: */
.tooltip-text,
.tooltip-text a[href^="tel"],
.tooltip-text a[href^="tel"]:visited,
.tooltip-text a[href^="tel"]:hover,
.tooltip-text b, .tooltip-text strong{
  color:#fff !important;
  text-decoration:none !important;
}

/* Mobile: ajustar tooltip del ícono ℹ️ sin tocar desktop */
@media (max-width: 480px) {
  .info-wrap .tooltip-text {
    left: auto;          /* deja de centrarse */
    right: 0;            /* pegado al ícono */
    transform: none;
    width: auto;
    max-width: 260px;    /* ajustá si querés 240–300px */
    padding: 10px 12px;
  }
  .info-wrap .tooltip-text::after {
    left: auto;
    right: 10px;         /* flecha alineada al ícono */
    transform: none;
  }
}

/* iOS: evitar auto-zoom en inputs (font-size >= 16px) */
@media (max-width: 768px) {
  /* tus clases de inputs */
  .desktop .text-wrapper-5,
  .desktop .text-wrapper-6 {
    font-size: 16px !important;
    line-height: 22px;
  }

  /* por si el selector de arriba no alcanza, forcemos también el input */
  .frame-6 input,
  .frame-7 input,
  .frame-8 input,
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="search"],
  input[type="number"],
  select, textarea {
    font-size: 16px !important;
  }
}

/* Safari iOS aún más específico (opcional) */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 768px) {
    .desktop .text-wrapper-5,
    .desktop .text-wrapper-6 { font-size: 16px !important; }
  }
}