/* Firefox */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: light;
    }
}

/* Chrome */
@media (forced-colors: active) {
    :root {
        color-scheme: light;
    }
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth; 
}

#quienessomos, #servicios, #quejas, #politicas, #contacto {
  scroll-margin-top: 180px; 
}

.foto {
  width: 50%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 15px;
}

body {
  margin-top: 125px;
}

body .page-background {
  background-color: #d6d6d6;
}

h1, h2, h3 {
  background-image: linear-gradient(to left, rgb(67, 7, 12), rgb(239, 102, 166));
  -webkit-background-clip: text;
  color: transparent;
  font-family: 'Roboto', Arial, sans-serif;
}

h1 {
  font-size: 50px;
  font-weight: 900;
}

h2 {
  font-size: 40px;
  font-weight: 900;
}

h3 {
  font-size: 32px;
}

h4 {
  color: rgb(158, 47, 82);
  font-size: 22px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

p, li {
  text-align: justify;
  font-size: 18px;
  line-height: 1.8;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

  button {
    padding: 5px 10px;
    background-color: rgb(150, 64, 103);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
 
  }
  
  button:hover {
    background-color: #f39c12;
  }





/* Grid responsive: 1 col en móvil, 2-3 en pantallas mayores */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 18px;
}

/* Tarjeta */
.card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,.10);
}

/* Título */
.card h3 {
  font-size: 1.1rem;
  margin: 0;
  color: #2b3964; /* tu paleta */
}

/* Imagen responsive con recorte elegante */
.card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  /* Mantén proporción visual uniforme en todas las cards */
  aspect-ratio: 4 / 3;      /* requiere navegadores modernos */
  object-fit: cover;
}

/* Párrafo */
.card p {
  margin: 0;
  color: #333;
  line-height: 1.55;
  font-size: .95rem;
  flex: 1; /* Empuja los botones al fondo para alinear alturas */
}

/* Botonera */
.card-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 6px;
}

/* Botones (como <a>) */
.card .btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: .92rem;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

/* Primario */
.card .btn.primary {
  background: rgb(158, 47, 82);
  color: #fff;
  border: 1px solid rgb(158, 47, 82);
}

.card .btn.primary:hover {
  background: rgb(84, 12, 33);
  border-color: rgb(84, 12, 33);
}

/* Secundario/ghost */
.card .btn.ghost {
  background: transparent;
  color: #2b3964;
  border: 1px solid #b7c0d8;
}

.card .btn.ghost:hover {
  background: #f1f4fb;
  border-color: #2b3964;
}

/* Ajustes finos por breakpoint */
@media (max-width: 480px) {
  .card {
    padding: 14px;
  }
  .card h3 {
    font-size: 1.02rem;
  }
  .card .btn {
    padding: 10px 14px;
    font-size: .9rem;
  }
}












.p-center {
  text-align: center;
}

.texto-footer{
  font-size: 15px;
}


.page-background {
  min-height: 100vh;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.content-container {
  background-color: white;
  padding: 80px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  max-width: 800px;
  width: 100%;
  text-align: center; 
}

.intro {
  min-height: 500px;
}

.form-container {
  background: linear-gradient(to left, rgb(67, 7, 12), rgb(175, 79, 122));
  padding: 30px;
  border-radius: 20px;
  color: white;
  width: 50%; 
  margin: 0 auto; 
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  text-align: left; 
  font-family: 'Roboto', Arial, sans-serif;
}


.map-container {
  position: relative;
  width: 100%;
  max-width: 1000px;   /* opcional */
  margin: 0 auto;      /* centrar */
  aspect-ratio: 16 / 9; /* hace el contenedor “alto” sin altura fija */
}

.map-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  pointer-events: auto; /* asegúrate de que reciba clics */
}


.input {
  width: 98%; 
}

.input-comentario {
  width: 98%; 
  height: 200px;
}

.App {
  text-align: center;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.logo-container {
  position: relative;
  display: inline-block;
  margin-top: 20px;
  margin-bottom: 20px;
  z-index: 1;
}

.App-logo {
  height: 32vmin;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 60s linear;
    transform-origin: center;
  }
}

.content {
  flex-grow: 1;
  overflow-y: auto;
}

footer {
  flex-shrink: 0;
  background-color: #f8f8f8;
  padding: 20px;
  text-align: center;
}

.App-link {
  color: #b33d63;
}

.lab-images {
  width: 80%;
  border-radius: 15px;
  margin-bottom: 20px;
}

.lab-texto {
  width: 80%;
  margin-left: 10%;
}

.search-bar {
  width: 90%;
  padding: 10px;
  margin: 20px 0;
  font-size: 16px;
}

.search-results {
  margin-top: 20px;
}

.search-item {
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
}




@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 925px) {
  
.form-container{
width: 80%;
}

.map-container {
  width: 90%; 
}

h1 {
  font-size: 35px;
}

p, li {
  font-size: 16px;
}

.App-logo {
  height: 50vmin;
}



.content-container {
  padding: 40px;
}
}



@media (max-width: 640px) {

h1 {
  font-size: 30px;
}

h2 {
  font-size: 26px;
}

h3 {
  font-size: 22px;
}

h4 {
  font-size: 15px;
}

p, li {
  font-size: 14px;
}
.foto {
  width: 100%;}
}



