/* === TIPOGRAFÍAS PERSONALIZADAS === */
@font-face {
  font-family: 'Gotham Bold';
  src: url('assets/fonts/GothamBold.otf') format('truetype');
  font-weight: bold;
}
@font-face {
  font-family: 'Gotham Light';
  src: url('assets/fonts/GothamLight.otf') format('truetype');
  font-weight: 300;
}
@font-face {
  font-family: 'Roboto Regular';
  src: url('assets/fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'Roboto Medium';
  src: url('assets/fonts/Roboto-Medium.ttf') format('truetype');
  font-weight: 500;
}

/* === RESET BÁSICO === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Gotham Light', Arial, sans-serif;
}
strong, h1, h2, h3, h4 {
  font-family: 'Gotham Bold', sans-serif;
}
footer,
.nota-pop,
.footer-contact,
.instalaciones-info .texto p {
  font-family: 'Roboto Regular', sans-serif;
}

/* === NAVBAR === */
.navbar {
  width: 100%;
  background-color: white;
  padding: 10px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.container-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.navbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo {
  height: 70px;
}
.menu-icon {
  height: 50px;
  cursor: pointer;
}
.navbar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}
.nav-icon {
  height: 38px;
  cursor: pointer;
}
.btn-resultados {
  height: 55px;
  cursor: pointer;
}

/* === BANNER PRINCIPAL: TOMOGRAFÍA === */
.main-banner {
  position: relative;
  width: 100%;
  background: white url("assets/Web-elementos_Banner-fondo.png") no-repeat right bottom;
  background-size: 55%;
  padding: 40px;
}
.container-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.banner-text {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  margin-left: 80px;
}
.banner-text h2 {
  color: #002f6c;
  font-size: 2.2rem;
  margin-bottom: 15px;
  line-height: 1.1;
}
.banner-text p {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 6px;
  line-height: 1.3;
}
.banner-text p strong {
  color: #002f6c;
  font-weight: 600;
}
.img-tomografia {
  width: 900px;
  height: auto;
}
.btn-ver-mas {
  margin-top: 15px;
  height: 80px;
  cursor: pointer;
}
.nota-pop {
  font-size: 0.75rem;
  color: #333;
  margin-left: 20px;
}
.btn-whatsapp {
  position: absolute;
  bottom: 40px;
  right: 60px;
  height: 55px;
  cursor: pointer;
  z-index: 10;
}

/* === NUEVAS INSTALACIONES === */
.nuevas-instalaciones {
  background-color: #0e2c69;
  width: 100%;
  overflow-x: hidden;
}
.instalaciones-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  padding: 10px 40px;
  gap: 20px;
}
.titulo-instalaciones {
  height: 70px;
}
.texto-instalaciones p {
  color: #c8d3e2;
  font-size: 0.95rem;
  margin: 0;
  text-align: center;
}
.instalaciones-boton {
  text-align: right;
}
.instalaciones-boton img {
  height: 65px;
  cursor: pointer;
}

/* === IMAGENOLOGÍA === */
.imagenologia {
  padding: 60px 20px;
  text-align: center;
  background-color: #fff;
}
.titulo-imagenologia {
  font-size: 2.2rem;
  color: #0e2c69;
  margin-bottom: 40px;
}
.grupo-imagenologia {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.btn-servicio {
  height: 250px;
  cursor: pointer;
}

/* === FOOTER GENERAL === */
.footer {
  width: 100%;
}
.footer-top {
  background-color: #56b1df;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px 60px;
  gap: 30px;
  font-size: 0.85rem;
}
.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-left {
  justify-content: flex-start;
  gap: 30px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-left: 120px;
}
.footer-logo {
  height: 60px;
}
.contact-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: white;
  font-size: 0.95rem;
}
.footer-contact img {
  height: 18px;
}
.footer-center {
  flex-direction: column;
  gap: 10px;
}
.footer-center .redes {
  display: flex;
  gap: 30px;
}
.footer-center .redes img {
  height: 18px;
}
.footer-center .divider {
  width: 100%;
  max-width: 130px;
  height: 2px;
  background-color: white;
  margin-top: 10px;
}
.footer-right {
  justify-content: flex-end;
  gap: 60px;
}
.footer-right ul {
  list-style: none;
}
.footer-right li {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 10px;
  cursor: pointer;
}
.footer-bottom {
  background-color: #0e2c69;
  padding: 30px 10px;
  text-align: center;
}
.footer-bottom-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  font-size: 0.85rem;
  color: white;
  line-height: 1.6;
}
.footer-contact-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  font-size: 0.95rem;
  color: white;
}
.footer-contact-inline .contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.contact-separator {
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
}
.footer-bottom-content a {
  color: white;
  text-decoration: underline;
}
@media (max-width: 600px) {
  .footer-contact-inline {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* === MODAL: TOMOGRAFÍA GENERAL === */
.modal-tomografia {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 999;
  font-family: 'Gotham Light', sans-serif;
}
.modal-content {
  background-color: #0e2c69;
  padding: 30px 40px;
  border-top-left-radius: 40px;
  width: 105%;
  max-width: 1000px;
  color: white;
  position: relative;
}
.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 26px;
  cursor: pointer;
  color: white;
}
.modal-title {
  font-family: 'Gotham Bold';
  color: #65d0e6;
  font-size: 1.8rem;
  margin-bottom: 25px;
  text-align: left;     /* 👈 Esto alinea a la izquierda */
  padding-left: 80px;   /* 👈 Opcional: añade un pequeño margen izquierdo */
}

/* === MODAL: TOMOGRAFÍA CARDS === */
.modal-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 10px;
}
.modal-row {
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  gap: 30px;
  margin-bottom: 30px;
  align-items: stretch;
  height: 220px;
}
.modal-card {
  background-color: transparent;
  padding: 10px;
  text-align: center;
  height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Gotham Bold';
  font-size: 1rem;
}
.modal-header h3 {
  font-size: 1rem;
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 90%;
  margin: 0 auto;
}
.modal-precio {
  color: #65d0e6;
  font-size: 1.3rem;
  margin: 10px 0;
  font-family: 'Gotham Bold';
}
.img-indicaciones-btn {
  height: 40px;
  margin: 10px auto;
  cursor: pointer;
  display: block;
}
.nota-info {
  font-size: 0.65rem;
  color: #b4c3d9;
  margin-top: 5px;
}
.modal-divider {
  width: 2px;
  height: 150px;
  background-color: white;
  align-self: stretch;
}
.modal-footer {
  margin-top: 25px;
  font-size: 0.7rem;
  color: #cbd6ea;
  text-align: center;
  line-height: 1.3;
}

/* === MODAL: BIOPSIAS === */
.modal-biopsias {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 999;
  font-family: 'Gotham Light', sans-serif;
}
.modal-biopsias .modal-content {
  background-color: #0e2c69;
  padding: 30px 40px;
  border-radius: 40px;
  width: 90%;
  max-width: 600px;
  color: white;
  position: relative;
}
.close-modal-biopsias {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 26px;
  cursor: pointer;
  color: white;
}
.modal-biopsias .modal-title {
  font-size: 1.8rem;
  font-family: 'Gotham Bold';
  margin-bottom: 20px;
  color: #65d0e6;
}
.biopsias-texto {
  font-size: 1rem;
  color: #fff;
  text-align: center;
  line-height: 1.4;
}

/* === MODAL: INDICACIONES === */
.modal-indicaciones {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: 'Gotham Light', sans-serif;
}
.modal-indicaciones-content {
  background-color: white;
  padding: 60px 50px 40px 50px;
  border-radius: 40px 0 0 0;
  width: 100%;
  max-width: 600px;
  text-align: left;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}
.close-indicaciones {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #002f6c;
}
.indicaciones-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}
.indicaciones-icon {
  width: 50px;
}
.indicaciones-titulo {
  font-size: 1.9rem;
  font-family: 'Gotham Bold';
  color: #002f6c;
  line-height: 1.1;
}
.indicaciones-subtitulo {
  font-size: 1.6rem;
  font-family: 'Gotham Bold';
  color: #002f6c;
  margin: 40px 0 10px;
}
.indicaciones-texto {
  font-size: 1.2rem;
  color: #002f6c;
  margin-bottom: 50px;
}
.btn-agendar {
  background-color: #b4ede7;
  color: #002f6c;
  font-family: 'Gotham Bold', sans-serif;
  padding: 8px 22px;          /* menos margen */
  border-radius: 999px;       /* pill shape */
  border: none;
  font-size: 1rem;            /* texto más compacto */
  font-weight: 900;           /* full bold */
  cursor: pointer;
  display: inline-block;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.btn-agendar:hover {
  background-color: #a0d8d3;
}

.nota-wsp {
  font-size: 0.7rem;
  margin-top: 10px;
  color: #666;
}


.hide{
  display: none;
}

.pointer{
  cursor: pointer;
}