
html {
    font-size: 62.5%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    height: 100%;
    scroll-snap-type:x y mandatory; /* Habilita el scroll snap */
  }
*, *::before, *::after {
    box-sizing: inherit;
  }
  body {
    font-size: 16px;
    margin: 0;
    padding: 0;
    height: 100%;
    min-height: 100vh;
    background-image: linear-gradient(to top, rgb(121, 118, 118), #ffffff);
  }
  
  h1 {
    color: black;
    text-align: center;
    font-size: 6rem;
  }
  h2 {
    color: black;
    text-align: center;
    font-size: 4rem;
  }
  h3 {
    color: black;
    text-align: center;
    font-size: 3rem;
  }
  
  .titulo {
    background-color: rgb(79, 101, 172);
    margin: 0;
    padding: 2rem 0;
  }
  
  p {
    font-size: 2rem;
    color: black;
    text-align: center;
  }
  
  a {
    text-decoration: none;
    color: floralwhite;
    padding: 1rem 2rem;
  }
  
  .nav-bg {
    background-color: rebeccapurple;
      margin: 0;
      padding: 0;
      width: 100%;
  }
  
  .navegacion-principal {
    display: flex;
    flex-direction: column;

    max-width: 120rem;
    margin: 0 auto;
  }
  @media (min-width: 768px) {
    .navegacion-principal {
      flex-direction: row;
      justify-content: space-between;
    }
  }
  
  .contenedor {
    width: 90%;
    max-width: 120rem;
    margin: 0 auto;
    }
.navegacion-principal a {
    color: floralwhite;
    padding: 1rem 2rem;
    font-size: 1.6rem;
    font-weight: bold;
    display: block;
  }
  
.navegacion-principal a:hover {
    background-color: lightgray;
    color: darkblue;
  }
.section {
    background-image: url(fondo.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 40%;
    position: relative;
    height: 100vh; /* ← usa toda la altura de la pantalla */
    margin-bottom: 3rem;
}
.titulo-real {
    text-align: center;
    height: 45rem;

}
.contenido-hero {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
.contenido-hero h2,
.contenido-hero p {
  color: white;
  text-align: center;
  font-size: 2.5rem;
}

.contenido-hero svg {
  color: white;
  display: block; /* o inline-block si prefieres */
  margin: 0 auto;  /* para centrarlo */
  width: 8rem;
  height: 8rem;
}
  main {
    padding: 2rem;
    max-width: 120rem;
    margin: 0 auto;
    background-color: white;
  }
.ubicacion {
   display: flex;
   align-items: center;
}
.boton {
    background-color: rebeccapurple;
    color: floralwhite;
    font-weight: bold;
    display: block;
    text-align: center;
    width: fit-content;
    justify-content: center;
    margin-top: 2rem;
}
/* Agrega esto a tu CSS */

/* Ajustes para el contenido-hero */
.contenido-hero {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

/* Mejora para la sección de ubicación */
.ubicacion {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Estilo para el texto con ícono */
.ubicacion p {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2.5rem;
    color: white;
    margin: 0;
}

/* Ajuste para el SVG */
.ubicacion svg {
    width: 8rem;
    height: 8rem;
}

/* Mejor estilo para el botón */
.boton {
    background-color: rebeccapurple;
    color: floralwhite;
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-align: center;
    font-size: 1.6rem;
    transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .boton {
    width: 100%;
    margin-top: 1rem;
  }
}
.boton:hover {
    background-color: #8a2be2;
    transform: translateY(-2px);
}
.descripcion {
    text-align: center;
    background-color: #f0f0f0;
}
.sombra{
box-shadow: 1px -6px 31px -3px rgba(0,0,0,0.79);
-webkit-box-shadow: 1px -6px 31px -3px rgba(0,0,0,0.79);
-moz-box-shadow: 1px -6px 31px -3px rgba(0,0,0,0.79);
   border-radius: 1rem;
}

.servicios main {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas de igual ancho */
    gap: 2rem; /* Espacio entre columnas (ajústalo si necesitas más) */
    text-align: center; /* Centra el texto dentro de cada celda */
}

.servicios main p {
    margin: 0; /* Elimina márgenes por defecto */
    padding: 1rem; /* Añade espacio interno (opcional) */
}
.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24;
  font-size: 2.5rem; /* Ajusta el tamaño del icono */
}
contacto-leyenda{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.formulario-contacto {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.contacto-titulo {
    text-align: center;
    margin-bottom: 1rem;
}

.fila-formulario {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.campo-formulario {
    display: flex;
    flex-direction: column;
}

.campo-formulario label {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.campo-formulario input,
.campo-formulario textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    width: 100%;
}

.mensaje-container {
    grid-column: span 3;
}

.mensaje-container textarea {
    width: 100%;
    resize: vertical;
}

.boton-container {
    grid-column: span 3;
    text-align: right;
    margin-top: 1rem;
}

.boton-container .boton {
    padding: 0.8rem 2rem;
    background-color: rebeccapurple;
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1.6rem;
}

.boton-container .boton:hover {
    background-color: #6a2aa8;
}

@media (max-width: 768px) {
    .fila-formulario {
        grid-template-columns: 1fr;
    }
    
    .mensaje-container,
    .boton-container {
        grid-column: span 1;
    }
}
.servicio{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #f0f0f0;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);

}
.servicio .icono {
  height: 15rem;
  width: 15rem;
  display: flex;
  background-color: yellow;
  border-radius: 50%;
  display:flex;
  justify-content: center;
  align-items: center;
}
.servicio h2 {
  color:turquoise;
}
.boton:hover {
  cursor: pointer;
}
