:root {
    --blanco: #ffffff;
    --oscuro: #212121;
    --primario: #FFC107;
    --secundario: #50b9c5;
    --secundariob: #c5eef3;
    --gris: #757575;
    --grisClaro: #DFE9F3;

    /*forma */

    --color-background: #cbd5e1;
    --color-background-alt: #64748b;
    --color-border-active: #64748b;
    --color-border-default: #94a3b8;
    --color-highlight: #cbd5e1;
    --color-primary: #1e293b;
    --color-primary-active: #090f1d;
    --color-text-default: #0f172a;
    --color-text-muted: #475569;

    --font-family-body: "Roboto ital", system-ui, sans-serif;
    --font-family-display: "Roboto ital", system-ui, sans-serif;

}

/*  Globales **/
html {
    font-size: 62.5%;
    box-sizing: border-box; /* Hack para Box Model **/
    /*scroll-snap-type: y mandatory;*/
}
/** Scroll Snap**/

.servicios,
.navegacion-principal,
.formulario {
    scroll-snap-align: center;
    scroll-snap-stop: always;
}


*, *:before, *:after {
    box-sizing: inherit;
    margin:0;
    padding:0;
    box-sizing:border-box;
}


body{
    font-family:Arial, Helvetica, sans-serif;
}

header{
    width:100%;
    background:#fff;
    box-shadow:0 2px 10px rgba(0,0,0,.12);
}

.top-header{
    max-width:1200px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px;
}

.logo img{
    width:150px;
}

.empresa{
    flex:1;
    margin-left:20px;
}

.empresa h1{
    color:#1d7272;
    font-size:34px;
}

.empresa span{
    color:#666;
}

.datos{
    text-align:right;
    line-height:1.8;
    font-size:16px;
}

/* Navegacion Principal */
.nav-bg {
    background-color: var(--secundario);
}

.navegacion-principal {
    display: flex;
    flex-direction: column;    
}

@media (min-width: 768px) {
    .navegacion-principal {
        flex-direction: row;
        justify-content: space-evenly;  /*space-evenly*/
    }
}

.navegacion-principal a{
    display:block;
    text-align: center;
    color: var(--blanco);
    text-decoration:none;
    font-size: 2rem;
    font-weight: 700;
    padding: 1rem;
}

.navegacion-principal a:hover{
    background-color:var(--secundariob); /*--primario*/
    color: var(--oscuro);
}



/* Hero */
.hero {
  background-image: url('/recursos/fondo_web_c.jpg');
  background-attachment: scroll;
  height:  900px;
  background-repeat:  no-repeat;
  background-size: contain;
  background-position: center center;
  overflow: : auto;
  margin-bottom: 2rem;
  align-items: flex-start;
  color: var(--oscuro);
  text-align: center; 
  padding: 2rem 0.5rem;
  border-radius: 5rem;
}

.hero h2 {
  font-size: 5rem;
  font-weight: 700;  
}

.contenido-hero .ubicacion {
    display: flex;
    align-items: center;
}

.contenido-hero h2 {
    flex-direction: row;
    align-items: flex-start;
}

.ubicacion {
   display: flex;
   width: 62.25rem ;
   height: 65rem;
   margin: 0 auto;
   flex-direction:column;
  
   flex-wrap: wrap;
   justify-content: center;
   

}



/* Estilos opcionales para mejorar la experiencia de usuario */
.enlace-icono-mapa {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease; /* Suaviza las animaciones */
  cursor: pointer;
}

/* Efecto al pasar el mouse por encima (Hover) */
.enlace-icono-mapa:hover {
  transform: scale(1.1); /* Hace el icono un 10% más grande */
  opacity: 0.9;          /* Lo vuelve sutilmente más claro */
}

/* Efecto al hacer clic */
.enlace-icono-mapa:active {
  transform: scale(0.95); /* Simula el hundimiento de un botón */
}



/** Servicios **/
@media (min-width: 768px) {
    .servicios {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 1rem;
    }
}



.contenedor {
    max-width: 200rem;
       
    /* margin: 0 auto;*/
}

.contenedor h2 {
  padding-top: 10rem;
  font-size: 5rem;
  font-weight: 700;  
}

.container {
    width: 40%;
    margin:auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;

}

.card {
    background-color: #fff;
    border-radius: 8px;
    flex: 1;
    min-width: 200px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;

}

.card img {
    width: 100%;
    height: auto;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    margin-bottom: 10px;
}

.card .content {
    padding: 15px;
}

.card .content h3 {
    font-size: 26px;
    margin-bottom: 10px;
    color: #1d7272;
}

.card .content p {
    font-size: 17px;
    color: #666;
    line-height: 30px;
    
}


.sombra {
    box-shadow: 0px 5px 15px 0px rgba(112,112,112,0.48);
    background-color: var(--blanco);
    padding: 2rem;
    border-radius: 1rem;
}


.carrusel {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    height: 100vh;  
}

.imagenes{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
}

.img{
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.85);
    height: 50rem;
    width: 80rem;
    border-radius: 0.938rem ;
    margin: 0.313rem;
    object-fit: cover;
    filter: saturate(175%);
}

.texto{
    overflow: hidden;
    position: absolute;
    flex-direction: column;
    transform: translateY(0rem);
    margin-bottom: 0.563rem;
    backdrop-filter: blur(1.25rem);
    background-color: rgba(63, 106, 138, 0.21);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.875rem;
}

.texto h3{
    text-shadow: 0rem 0rem 0.938rem black;
    padding-top: 2.5rem;
    color: white;
    font-weight: 300;
    font-size: 1.688rem;
}

.texto p{
    align-items: center;
    padding: 1.25rem;
    color:white;
    font-size: 0rem;
    font-weight: 300;
}

.imagenes .texto{
    width: 37.5rem;
    height: 6.25rem;
    transition: 1s;
}

.imagenes:hover .texto{
    transition: height 1s, transform 1s, background-color 1s;
    transform: translateY(-150px);
    height: 18.75rem;
    background-color: rgba(63, 106, 138, 0.71);
}

.imagenes:hover .texto p{
    transition: font-size 0s .2s linear;
    font-size: 1.438rem;
    font-weight: 300;

    text-shadow: 0rem 0rem 0.625rem #000000;
}

.puntos{
    display: flex;
    align-items: center;
    justify-content: center;
}

.puntos p{
    font-size: 100px;
    font-weight: 500;
    margin-top: -50px;
    color: black;
}

.puntos .bold{
    font-weight: 700;
    margin-left: 10px;
    margin-right: 10px;
    color: #5E17EB ;
}

@media (min-width: 1200px) {
    max-width: 11300px;
}



.info {
    margin: 5rem;
}


.contacto-desc {
   font-size: 1.5rem;
   font-weight: 700;  
}

/*xxxxFormspreexxxxx*/

.titulo_contacto {
    display: flex;
    justify-content: center;
    font-size: 2.5rem;
}





button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

[type="checkbox"],
[type="radio"],
[type="range"] {
  appearance: none;
  flex-shrink: 0;
  padding: 0;
  user-select: none;
}

[type="checkbox"]:focus,
[type="radio"]:focus,
[type="range"]:focus {
  outline: none;
}

/** Components **/
.contacto {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center;     /* Centers vertically */
   
}



.fs-form {
  /*display: flex;
  flex-direction: column;
  row-gap: 1.5rem;
  padding: 5rem 10rem 0rem 10rem;*/
  width: 60rem;
    display: grid;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    padding: 30px ;
    grid-template-columns:  1fr;

  
}

.fs-form:where(.fs-layout__1-column) {
  column-gap: 1.5rem;
  grid-template-columns:  1fr;
  
}


.fs-form:where(.fs-layout__1-column) fieldset {
  column-gap: 1.5rem;
  grid-template-columns: 1fr;
  grid-column: 1 / -1;
  justify-content: center;
}

.fs-field {

 display: flex;
  flex-direction: column;
  row-gap: 0.2rem;
  max-width: 40rem;
}

.fs-label {
  color: var(--color-text-default);
  display: block;
  font-family: var(--font-family-display);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.25rem;
  padding-bottom: 1rem;
}

.fs-description {
  color: var(--color-text-muted);
  display: block;
  font-size: 1.2rem;
  line-height: 1.25rem;
}

.fs-button-group {
  display: flex;
  flex-direction: row-reverse;
  column-gap: 1.5rem;
}

.fs-form:where(.fs-layout__2-column) .fs-button-group {
  grid-column: 1 / -1;
}

.fs-button {
  background-color: var(--color-primary);
  border-radius: 0.375rem;
  color: white;
  cursor: pointer;
  font-size: 1-5rem;
  font-weight: 700;
  line-height: 1rem;
  padding: 1rem 4rem;
  transition-duration: 200ms;
  transition-property: background-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.fs-button:hover {
  background-color: var(--color-primary-active);
}

.fs-button:focus-visible {
  background-color: var(--color-primary-active);
  outline: 3px solid var(--color-highlight);
}

.fs-input {
  appearance: none;
  border-radius: 0.375rem;
  border-width: 0;
  box-shadow: var(--color-border-default) 0 0 0 1px inset;
  color: var(--color-text-default);
  font-size: 1.6rem;
  height: 2.5rem;
  line-height: 2rem;
  outline: none;
 
}

.fs-input:focus-visible,
.fs-select:focus-visible {
  box-shadow: var(--color-border-active) 0 0 0 1.5px inset;
  outline: 3px solid var(--color-highlight);
  outline-offset: 0;
}

.fs-input::placeholder {
  color: var(--color-text-muted);
}


.fs-textarea {
  appearance: none;
  border-radius: 0.375rem;
  border-width: 0;
  box-shadow: var(--color-border-default) 0 0 0 1px inset;
  color: var(--color-primary);
  font-size: 1.6rem;
  line-height: 1.5rem;
  outline: none;
  padding: 0.5rem 0.75rem;
  resize: vertical;
}

.fs-textarea:focus-visible {
  box-shadow: var(--color-border-active) 0 0 0 1.5px inset;
  outline: 3px solid var(--color-highlight);
  outline-offset: 0;
}

.fs-textarea::placeholder {
  color: var(--color-text-muted);
}

/** Utilities **/

.col-span-full {
  grid-column: 1 / -1;
}

.fs-textarea::placeholder {
  color: var(--color-text-muted);
}

.slider-label-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 0.25rem;
}

.slider-label-text {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  white-space: nowrap;
}

        
/*xxxxxxxxx*/        

.site-footer {
  background-color: var(--secundario);
  color: var(--oscuro);
  text-align: center;
  padding: 20px;
  font-family: sans-serif;
   

}

