
html {
  font-size: 62.5%; 
}

:root {
  --azul-primario: #00c3ff;
  --fondo-oscuro: #0d2033;
  --resaltado-rosa: #e373d1;
  --blanco: #ffffff;
  --text-main: "Oswald", sans-serif;
  --text-secundario: "Montserrat", sans-serif;
  --azul-secundario: #00adef;
  --azul-oscuro: #032556;
  --gris-oscuro: #292929;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  font-size: 1.6rem;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.container {
  width: 85%;
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 0.5rem;
  display: flex;
  align-items: center;
}

/* ===== BARRA DE NAVEGACIÓN ===== */
.navbar {
  background-color: transparent !important;
  padding: 1rem 0;
  position: absolute;
  width: 100%;
  z-index: 10;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  z-index: 1;
}

.navbar, .nav-link, .navbar-brand {
  font-family: var(--text-main);
}

.navbar-brand {
  margin-left: 15.2rem;
}

.navbar-brand img {
  max-width: 18.3rem;
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
}

.navbar-toggle {
  display: none;
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--blanco);
  font-size: 2.4rem;
}

#navbarNav {
  display: flex;
  justify-content: center;
  flex: 1 1 auto;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  margin-left: auto;
  margin-right: 20rem;
  align-self: flex-start;
  padding-top: 5rem;
}

.navbar-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  margin: 0 auto;
  list-style: none;
}

.nav-item {
  display: flex;
  align-items: center;
}

.nav-link {
  color: var(--blanco) !important;
  font-weight: 100;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-link img {
  width: 2.6rem;
  height: auto;
}

.active-link span {
  color: var(--azul-primario);
  font-weight: bold;
}

#navbarNav.show {
  display: block !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
  max-height: 50rem !important; 
}

/* ===== HEADER CON IMAGEN DE FONDO ===== */
.header-contenedor {
  position: relative;
  height: 104vh;
  min-height: 60rem;
  color: white;
  overflow: hidden;
}

.flexslider-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.flexslider-background .slides,
.flexslider-background .slides li {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flexslider-background .slides li {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.flexslider-background .slides li::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.6) 20%,
    rgba(0, 0, 0, 0.5) 40%,
    rgba(0, 0, 0, 0.3) 60%,
    rgba(0, 0, 0, 0.1) 80%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: none !important;
}

.hero-content::after {
  display: none; 
}

/* ===== CONTROLES DEL SLIDER ===== */
.custom-controls {
  position: absolute;
  bottom: 5rem; 
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1.5rem;
  z-index: 5;
}

.flex-control-nav, 
.flex-direction-nav {
  display: none !important;
}

.indicator {
  width: 12rem;
  height: 0.6rem;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  background-color: #FFFFFF;
}

.indicator.active {
  background-color: #05A2E0 !important;
}

.indicator:hover {
  opacity: 0.8;
}

.carousel-indicators {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1.5rem;
  z-index: 5;
}

/* ===== GRID DE CONTENIDO HERO ===== */
.hero-grid-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto auto auto auto;
  gap: 2rem;
  width: 100%;
  max-width: 120rem;
  padding: 0;
  position: relative;
  z-index: 2;
  padding-top: 5rem;
}

.grid-item {
  display: flex;
  align-items: center;
}

.grid-titulo {
  grid-column: 4 / 12;
  justify-content: center;
  margin-bottom: 0;
}

.titulo-hero {
  font-family: var(--text-secundario);
  font-weight: 800;
  font-size: 4rem;
  text-shadow: 0.2rem 0.2rem 0.4rem rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.1rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  width: 100%;
}

.grid-subtitulo {
  grid-column: 8 / 12;
  grid-row: 2;
  justify-content: flex-start;
  margin-top: 0;
}

.resaltado {
  margin-top: -2rem;
  font-family: var(--text-secundario);
  font-weight: 800;
  font-size: 4rem;
  display: inline-block;
  background-color: rgba(227, 115, 209, 0.8);
  text-transform: uppercase;
  line-height: 1.2;
  position: relative;
  padding-left: 3.7rem;
}

.resaltado:after {
  content: "";
  position: absolute;
  top: 0;
  right: -200rem;
  width: 200rem;
  height: 100%;
  background-color: rgba(227, 115, 209, 0.8);
  z-index: -1;
}

.grid-descripcion-1 {
  grid-column: 4 / 12;
  grid-row: 3;
  justify-content: flex-end;
  margin-top: 3rem;
  margin-bottom: 0;
  margin-right: 5.5rem;
}

.grid-descripcion-2 {
  grid-column: 6 / 12;
  grid-row: 4;
  justify-content: flex-end;
  margin-top: -1.2rem;
  margin-right: 5.5rem;
}

.texto-hero {
  font-family: var(--text-secundario);
  font-size: 2.9rem;
  font-weight: 700;
  color: #7edbfe;
  text-shadow: 0.1rem 0.1rem 0.2rem rgba(0, 0, 0, 0.3);
  text-align: right;
  line-height: 1;
}

.grid-boton {
  grid-column: 9 / 11;
  grid-row: 5;
  justify-content: flex-start;
}

.boton-contacto {
  font-family: var(--text-secundario);
  display: inline-block;
  background-color: var(--azul-primario);
  color: white;
  border: none;
  padding: 0.7rem 2.4rem;
  font-weight: 600;
  border-radius: 0.2rem;
  transition: all 0.3s;
  cursor: pointer;
  font-size: 2rem;
  margin-left: 4.5rem;
}

.boton-contacto:hover {
  background-color: #0099cc;
  transform: translateY(-0.3rem);
}

/* ===== SECCIÓN DE BIENVENIDA ===== */
.seccion-bienvenida {
  padding: 12rem 0;
  background-image: url("../img/fondo_seccion2webp.webp");
  background-size: auto 100%;
  background-position: center right;
  background-repeat: no-repeat;
  position: relative;
  min-height: 60rem;
  z-index: 2;
}

.seccion-bienvenida::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.98) 15%,
    rgba(255, 255, 255, 0.95) 30%,
    rgba(255, 255, 255, 0.8) 45%,
    rgba(255, 255, 255, 0.5) 60%,
    rgba(255, 255, 255, 0.2) 75%,
    rgba(255, 255, 255, 0) 90%
  );
  z-index: 1;
}

.seccion-bienvenida::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1rem;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.632) 0%,
    rgba(0, 0, 0, 0.05) 50%,
    transparent 80%
  );
  z-index: 1;
  pointer-events: none;
}

.bienvenida-container {
  max-width: 110rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-rows: auto auto;
  position: relative;
  z-index: 2;
}

.bienvenida-titulo {
  text-align: left;
  width: 100%;
}

.bienvenida-contenido {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}

.titulo-bienvenida {
  font-family: var(--text-secundario);
  font-size: 2.8rem;
  color: var(--azul-secundario);
  margin-bottom: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.titulo-bienvenida span {
  font-weight: 800;
}

.bienvenida-texto {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.descripcion-empresa {
  font-family: var(--text-secundario);
  font-size: 1.8rem;
  line-height: 1.8;
  margin-top: 2rem;
  margin-bottom: 3.5rem;
  color: #333;
  margin-right: 8rem;
  text-align: left;
}

.texto-destacado {
  color: var(--azul-primario);
  font-weight: 600;
}

.boton-explorar {
  display: inline-block;
  background-color: var(--azul-oscuro);
  color: white;
  font-family: var(--text-main);
  padding: 1.4rem 2.8rem;
  font-weight: 600;
  border-radius: 3.2rem;
  transition: all 0.3s;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 1.6rem;
  margin-top: 2rem;
  text-align: center;
  align-self: flex-start;
}

.boton-explorar:hover {
  background-color: #021b3e;
  transform: translateY(-0.3rem);
  box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.2);
}

/* ===== TARJETAS DE CARACTERÍSTICAS ===== */
.tarjetas-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  align-items: stretch;
  position: relative;
  right: 6rem;
}

.tarjeta-wrapper {
    display: flex;
    justify-content: center;
}

.tarjeta {
  background-color: #24416a;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1.5rem solid #24416a;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}

.tarjeta img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  flex-grow: 1;
  border-radius: 2rem;
}

.tarjeta:hover img {
  border-radius: 2rem;
}

.tarjeta h3 {
  padding: 1.2rem;
  text-align: center;
  background-color: #24416a;
  color: white;
  font-family: var(--text-main);
  margin: 0;
  font-size: 1.8rem;
  text-transform: uppercase;
  font-weight: 600;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== SECCIÓN DE MISIÓN Y VISIÓN ===== */
.seccion-mision-vision {
  background-image: url("../img/fondo_seccion2.png");
  background-blend-mode: overlay;
  background-size: cover;
  padding: 8rem 0;
  position: relative;
  color: white;
}

.seccion-mision-vision::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1rem;
  background: linear-gradient(
    to bottom, 
    rgba(0, 0, 0, 0.632) 0%, 
    rgba(0, 0, 0, 0.05) 50%, 
    transparent 80%
  );
  z-index: 1;
  pointer-events: none;
}

.mision-vision-container {
  max-width: 140rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.imagenes-productos {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.imagen-superior {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.imagen-item img, .imagen-inferior img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 0.8rem 1.5rem rgba(0, 0, 0, 0.5);
  transition: transform 0.3s;
  position: relative;
}

.textos-mision-vision {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.bloque-texto {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.icono-titulo {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.icono {
  width: 8rem;
  height: 8rem;
  background-color: transparent;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0.4rem solid var(--azul-secundario);
}

.icono img {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.titulo-seccion {
  font-family: var(--text-secundario);
  font-size: 3.2rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

.descripcion {
  font-family: var(--text-secundario);
  font-size: 1.6rem;
  line-height: 1.6;
  color: #e0e0e0;
  margin: 0;
  padding-left: 10rem;
  padding-right: 10rem;
}

/* ===== SECCIÓN DE VALORES ===== */
.seccion-valores {
  background-color: #fff;
}

.valores-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  padding: 2rem 0 2rem 0;
}

.valores-imagen {
  height: 100%;
  position: relative;
  overflow: hidden;
}

.valores-imagen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/fondo_seccion3.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.valores-imagen::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 20%;
  height: 100%;
  background: linear-gradient(to right, transparent, #fff);
  z-index: 2;
}

.valores-contenido {
  padding: 4rem 0 4rem 4rem;
  display: flex;
  flex-direction: column;
}

.encabezado-valores {
  background-color: var(--azul-secundario);
  padding: 1.5rem 4rem;
  border-radius: 3rem 0 0 3rem;
  margin-bottom: 3rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.encabezado-valores h2 {
  color: white;
  font-family: var(--text-secundario);
  font-size: 3.6rem;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}

.lista-valores {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-left: 2rem;
}

.valor-item {
  display: flex;
  align-items: center;
  padding-bottom: 1rem;
  padding-left: 3rem; 
  position: relative; 
  border-bottom: none; 
}

.valor-item:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 3rem; 
  right: 0;
  height: 0.1rem;
  border-bottom: 0.1rem dashed var(--azul-secundario);
}

.valor-item:last-child {
  border-bottom: none;
}

.icono-valor {
  width: 5rem;
  height: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 1.5rem;
}

.icono-valor img {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.valor-item span {
  font-family: var(--text-secundario);
  font-size: 1.8rem;
  color: #444;
  font-weight: bold;
}

/* ===== FOOTER DE CONTACTO ===== */
.footer-contacto {
  position: relative;
  background-color: var(--gris-oscuro);
  color: white;
  padding: 5rem 0 0 0;
  margin: 0;
  z-index: 2;
}

.container-footer {
  width: 100%;
  max-width: 110rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.info-contacto {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 5rem;
  padding-left: 5rem;
}

.bloque-contacto {
  flex: 1;
  min-width: 20rem;
  text-align: left;
  padding: 0 1rem;
}

.bloque-contacto h3 {
  color: var(--azul-secundario);
  font-family: var(--text-main);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.bloque-contacto p {
  margin: 0.5rem 0;
  color: #f5f5f5;
  font-size: 1.2rem;
  line-height: 1.6;
  font-family: "Lato", sans-serif;
  font-weight: 400;
}

.bloque-contacto i {
  margin-right: 0.1rem;
  color: #f5f5f5;
}

.bloque-contacto a {
  color: #f5f5f5;
  text-decoration: none;
  transition: color 0.3s;
  font-family: "Lato", sans-serif;
  font-weight: 400;
}

.bloque-contacto a:hover {
  color: var(--azul-secundario);
}

.redes-sociales {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  width: fit-content;
}

.redes-sociales a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background-color: var(--gris-oscuro);
  color: white;
  font-size: 1.8rem;
  transition: all 0.3s;
}

.redes-sociales a:hover {
  transform: translateY(-0.3rem);
}

/* ===== BARRA DE COPYRIGHT ===== */
.copyright-bar {
  background-color: var(--azul-secundario);
  color: white;
  min-height: 10rem;
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
}

.copyright-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 80rem;
}

.copyright-text, .desarrollo-por {
  font-size: 0.8rem;
  font-family: var(--text-secundario);
}

.desarrollo-por {
  display: flex;
  align-items: center;
}

.tecweb-link {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  margin-left: 0.5rem;
}

.tecweb-logo {
  width: 2rem;
  height: 2rem;
  margin-right: 0.5rem;
}

/* ===== PÁGINA DE ERROR 404 ===== */
.error-container {
  font-family: var(--text-secundario);
  text-align: center;
  padding: 10rem 2rem;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.error-container h1 {
  font-size: 12rem;
  color: var(--azul-primario);
  margin-bottom: 0;
}

.error-container h2 {
  font-size: 3.2rem;
  margin-bottom: 2rem;
}

.error-container p {
  margin-bottom: 3rem;
}

/* ===== DESCARGA CATÁLOGO ===== */
.productos-container{   
  position: relative;   
  width: 100%;   
  min-height: 40rem;   
  background-image: url("../img/fondo_seccion22.webp");   
  background-size: cover;   
  background-position: center;   
  padding: 5rem 0;   
  display: flex;   
  flex-direction: column; 
  z-index: 2;
}  

.productos-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1rem;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.632) 0%,
    rgba(0, 0, 0, 0.05) 50%,
    transparent 80%
  );
  z-index: 1;
  pointer-events: none;
}

.contenedor-imagenes {   
  position: relative;   
  width: 100%;   
  height: 40rem;   
  display: flex;   
  align-items: center;   
  justify-content: center;   
  margin: 2rem 0; 
}  

.imagen-izquierda, .imagen-derecha {   
  position: absolute;   
  top: 50%;   
  max-width: 100%;   
  height: auto;   
  transform: translateY(-50%); 
}  

.imagen-izquierda {   
  left: 0;   
  width: 55%;   
  z-index: 2; 
}  

.imagen-base {   
  width: 100%;   
  height: auto;   
  border-radius: 0 1.5rem 1.5rem 0; 
}  

.imagen-derecha {   
  right: 0;   
  width: 50%;   
  border-radius: 2rem 0 0 2rem;   
  margin-right: 30rem; 
}  

.logo-container {   
  position: absolute;   
  top: 50%;   
  left: 65%;   
  transform: translate(-50%, -50%);   
  width: 35%;   
  z-index: 3; 
}  

.logo-container img {   
  width: 80%;   
  height: auto; 
}  

.boton-descarga {   
  position: absolute;   
  top: 50%;   
  right: 25%;   
  transform: translateY(-50%);   
  z-index: 4;   
  display: flex;   
  align-items: center;   
  overflow: visible;
  cursor: pointer;
  transition: all 0.5s ease;
}  

.boton-descarga:hover {
  transform: rotate(360deg) scale(1.05) translateY(-50%);
}

.boton-descarga:active {
  transform: rotate(360deg) scale(0.95) translateY(-50%);
}

.boton-descarga .texto {   
  background-color: #e6e6e6;   
  padding: 1.5rem 2.5rem;   
  font-family: var(--text-main);   
  font-size: 1.9rem;   
  color: #555;   
  font-weight: 100;   
  white-space: nowrap;   
  display: flex;   
  align-items: center;   
  border-radius: 2rem 0 0 2rem;   
  box-shadow: 0 0.3rem 0.6rem rgba(0, 0, 0, 0.16);   
  height: 5rem;  
  position: relative; 
}  

.boton-descarga span {   
  color: #00BFFF;  
  font-size: 2.1rem;  
  font-weight: 600;   
  margin-left: 0.5rem; 
}   

.boton-descarga .iconobt {   
  background-color: #00BFFF;   
  width: 8rem;   
  height: 7rem; 
  display: flex;   
  align-items: center;   
  justify-content: center;   
  border-radius: 0 3rem 3rem 0;   
  box-shadow: 0 0.3rem 0.6rem rgba(0, 0, 0, 0.16);   
  margin-left: -1rem; 
  position: relative; 
  z-index: 5; 
}  

.iconobt img {   
  width: 50%;   
  filter: brightness(0) invert(1); 
}

/* ===== SECCIÓN DE CONTACTO ===== */
.seccion-contacto {
  padding: 8rem 0;
  background-color: white;
  display: flex;
  justify-content: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.seccion-contacto::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1rem;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.632) 0%,
    rgba(0, 0, 0, 0.05) 50%,
    transparent 80%
  );
  pointer-events: none;
  z-index: 1;
}

.container-contacto {
  width: 100%;
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.titulo-contacto {
  background-color: #244277;
  padding: 1.5rem 0;
  margin-bottom: 3rem;
  text-align: center;
}

.titulo-contacto h2 {
  color: white;
  font-family: var(--text-main);
  font-size: 2.2rem;
  margin: 0;
  font-weight: normal;
  letter-spacing: 0.1rem;
}

.mensaje-exito {
  background-color: #4CAF50;
  color: white;
  text-align: center;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  border-radius: 0.4rem;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.formulario-contacto {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.campos-formulario {
  width: 100%;
  margin-bottom: 3rem;
}

.campo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.campo {
  flex: 1;
  min-width: 25rem;
}

.campo-full {
  width: 100%;
}

.campo input, .campo-full textarea {
  width: 100%;
  padding: 1.2rem 1.5rem;
  border: none;
  background-color: #f3f3f3;
  font-family: Arial, sans-serif;
  font-size: 1.4rem;
  color: #666;
  border-radius: 0.2rem;
}

.campo-full textarea {
  resize: vertical;
  min-height: 10rem;
}

.error-mensaje {
  display: none;
}

.recaptcha-container {
  margin: 2rem 0 3rem;
  display: flex;
  justify-content: center;
}

.boton-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 2rem;
}

.btn-enviar {
  background-color: #00B0E9;
  color: white;
  border: none;
  padding: 1rem 5rem;
  font-family: var(--text-main);
  font-size: 1.6rem;
  cursor: pointer;
  border-radius: 0.3rem;
  text-transform: uppercase;
  transition: background-color 0.3s;
  letter-spacing: 0.1rem;
  font-weight: normal;
}

.btn-enviar:hover {
  background-color: #0099cc;
}

.btn-enviar:active {
  transform: scale(0.98);
}

.btn-enviar:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

::placeholder {
  color: #999;
  opacity: 1;
  font-weight: normal;
  font-style: normal;
}

/* ===== INFORMACIÓN DE CONTACTO ===== */
.info-contacto-banner {
  background-image: url("../img/Rectángulo-redes.png");
  background-size: cover;
  padding: 6rem 0;
  color: white;
  width: 100%;
}

.container-info {
  max-width: 100rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 0;
}

.info-item {
  display: flex;
  align-items: flex-start;
  flex: 0 1 auto;
  min-width: unset;
  justify-content: center;
  margin: 0 4rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  margin-right: 1rem;
  margin-top: 0.3rem;
}

.info-content {
  display: flex;
  flex-direction: column;
}

.info-content h3 {
  margin: 0;
  font-family: var(--text-main);
  font-size: 3rem;
  font-weight: 500;
}

.info-content p {
  margin: 0.5rem 0 0;
  font-size: 1.5rem;
  font-family: 'Open Sans', sans-serif;
}

.info-item a {
  display: inline-block;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.info-item a:hover {
  transform: scale(1.2);
}

/* ===== MAPA ===== */
.mapa-contacto {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.banner-ubicacion {
  background-color: #00b0f0;
  color: white;
  padding: 3rem 0;
  text-align: center;
  width: 100%;
}

.banner-ubicacion p {
  margin: 0;
  font-family: 'Segoe UI', 'Roboto', 'Open Sans', sans-serif;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 1rem;
}

.contenedor-mapa {
  width: 100%;
  line-height: 0;
}

iframe {
  display: block;
}

/* ===== ALERTAS Y MENSAJES ===== */
.alerta-box {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 1.5rem 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: none;
  max-width: 80%;
  text-align: center;
}

.error-box {
  background-color: #f8d7da;
  color: #721c24;
  border: 0.1rem solid #f5c6cb;
}

.success-box {
  background-color: #d4edda;
  color: #155724;
  border: 0.1rem solid #c3e6cb;
}

#loading-gns {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  display: flex;
  justify-content: center;
  align-items: center;
}

#loading-gns .spinner {
  width: 5rem;
  height: 5rem;
  border: 0.5rem solid #f3f3f3;
  border-top: 0.5rem solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#mensaje-exito {
  display: none;
  background-color: #d4edda;
  color: #155724;
  padding: 2rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.fade-in-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.fade-in-scroll.from-top {
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.fade-in-scroll.from-bottom {
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.fade-in-scroll.from-left {
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.fade-in-scroll.from-right {
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.fade-in-scroll.active,
.fade-in-scroll.from-top.active,
.fade-in-scroll.from-bottom.active,
.fade-in-scroll.from-left.active,
.fade-in-scroll.from-right.active {
    opacity: 1;
    transform: translate(0);
}