:root {
  --color-azul: #1976d2;
  --color-azul-hsl: 217, 71%, 46%;
  --color-naranja: #fb8c00;
  --color-naranja-hsl: 34, 98%, 49%;
  --color-verde: #43a047;
  --color-verde-hsl: 132, 39%, 45%;
  --color-amarillo: #fbc02d;
  --color-amarillo-hsl: 45, 96%, 57%;
  --color-azul-oscuro: #00838F;
  --color-azul-oscuro-hsl: 185, 100%, 28%;
  --color-naranja-palido: #fdb863;

  --chat--color-primary: #000000;
	--chat--color-primary-shade-50: #db4061;
	--chat--color-primary-shade-100: #cf3c5c;
	--chat--color-secondary: #E4CB86;
	--chat--color-secondary-shade-50: #E4CB86;
	--chat--color-white: #ffffff;
	--chat--color-light: #f2f4f8;
	--chat--color-light-shade-50: #e6e9f1;
	--chat--color-light-shade-100: #c2c5cc;
	--chat--color-medium: #E4CB86;
	--chat--color-dark: #000000 !important;
	--chat--color-disabled: #777980;
	--chat--color-typing: #E4CB86;
	--chat--spacing: 0,1rem;
	--chat--border-radius: 1.25rem !important;
	--chat--transition-duration: 0.15s;
	--chat--window--width: 300px !important;
	--chat--window--height: 500px!important;
	--chat--header-height: auto;
	--chat--header--padding: var(--chat--spacing);
	--chat--header--background: var(--chat--color-dark);
	--chat--header--color: var(--chat--color-light);
	--chat--header--border-top: 0 !important;
	--chat--heading--font-size: 1rem !important;
	--chat--header--color: var(--chat--color-light);
	--chat--subtitle--line-height: 1.1;
	--chat--textarea--height: 50px;
	--chat--message--font-size: 0.675rem;
	--chat--message--padding: var(--chat--spacing);
	--chat--message--border-radius: 0px;
	--chat--message-line-height: 1.1;
	--chat--message--bot--background: rgba(228, 203, 134, 0.3);
	--chat--message--bot--color: #464646;
	--chat--message--bot--border: #f4f4f4 1px solid !important;
	--chat--message--user--background: #f4f4f4 !important;
	--chat--message--user--color: black !important;
	--chat--message--user--border: #77757542 1px solid !important;
	--chat--message--pre--background: rgba(0, 0, 0, 1);
	--chat--toggle--background: #000000 !important;
	--chat--toggle--hover--background: #e6e3dd !important;
	--chat--toggle--active--background: #E4CB86;
	--chat--toggle--color: black;
	--chat--toggle--size: 64px;
  --chat--input--font-size:0.675rem;
  --chat--font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.container-fluid{
  width:90%;
}

.container{
  max-width:96% !important;
  margin-left:2% !important;
  margin-right:2% !important;
}
/* general */
body {
  background-color: #fff;
  color: #000;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.6;
  color: #000;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

section {
  padding: 60px 2rem;
  background-color: #fff;
  transition: background-color 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* menu */
.navbar {
  background-color: #000;
}

.nav-link {
  color: #f8f9fa !important;
  transition: color 0.3s, border-bottom 0.3s;
  position: relative;
  margin: 0px 5px;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
  color: inherit;
}

.nav-desarrollo:hover {
  color: var(--color-azul) !important;
}
.nav-automatizacion:hover {
  color: var(--color-naranja) !important;
}
.nav-diseno:hover {
  color: var(--color-verde) !important;
}
.nav-hosting:hover {
  color: var(--color-amarillo) !important;
}
.nav-asesoria:hover {
  color: var(--color-azul-oscuro) !important;
}

.nav-link.active.nav-desarrollo {
  color: var(--color-azul) !important;
  font-weight: bold;
  border-bottom: 2px solid var(--color-azul);
}

.nav-link.active.nav-automatizacion {
  color: var(--color-naranja) !important;
  font-weight: bold;
  border-bottom: 2px solid var(--color-naranja);
}

.nav-link.active.nav-asesoria {
  color: var(--color-azul-oscuro) !important;
  font-weight: bold;
  border-bottom: 2px solid var(--color-azul-oscuro);
}

.nav-link.active.nav-diseno {
  color: var(--color-verde) !important;
  font-weight: bold;
  border-bottom: 2px solid var(--color-verde);
}

.nav-link.active.nav-hosting {
  color: var(--color-amarillo) !important;
  font-weight: bold;
  border-bottom: 2px solid var(--color-amarillo);
}


footer {
  background-color: #000;
  padding: 20px 0;
  text-align: center;
  color: #ccc;
  border-top: 1px solid #444;
}

footer img {
    max-height: 20px;
    width: auto; 
    padding: 0px 1rem;
}

.encabezado_inicio {
  background: url('../img/inicio.jpg') no-repeat center center/cover;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
  z-index: 1;
}

.encabezado_inicio-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 60px;
  border-radius: 15px;
  max-width:80% !important;
}

@media (max-width: 768px) {
  .encabezado_inicio-overlay {
    display:none;
  }

  .encabezado_inicio{
    min-height: 50vh;
  }
}

/* secciones */


.service-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.5s ease;
}

.service-img:hover {
  transform: scale(1.05);
}

#contenido {
  width: 90%;
  margin: -250px auto 0 auto; /* superposición */
  background-color: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: -10px 0 15px -10px rgba(0, 0, 0, 0.3), 
              10px 0 15px -10px rgba(0, 0, 0, 0.3),
              0 10px 15px -10px rgba(0, 0, 0, 0.3);
  z-index: 2;
  position: relative;
  overflow: hidden;
}

#contenido_interno{
  width: 90%;
  margin: -150px auto 0 auto; /* superposición */
  background-color: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: -10px 0 15px -10px rgba(0, 0, 0, 0.3), 
              10px 0 15px -10px rgba(0, 0, 0, 0.3),
              0 10px 15px -10px rgba(0, 0, 0, 0.3);
  z-index: 2;
  position: relative;
  overflow: hidden;
}

#contenido section {
  padding: 60px 2rem;
  border-bottom: 1px solid #eee;
}

.titulo-link {
  position: relative;
  text-decoration: none;
  font-weight: bold;
  color: inherit; 
}

.titulo-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0%;
  background-color: currentColor;
  transition: width 0.3s ease-in-out;
}

.titulo-link:hover::after {
  width: 100%;
}

.text-azul { color: var(--color-azul); }
.text-naranja { color: var(--color-naranja) }
.text-verde { color: var(--color-verde) }
.text-amarillo { color: var(--color-amarillo) }
.text-azul-oscuro { color: var(--color-azul-oscuro) }

/* desarrollo */
#desarrollo:hover {
  background-color: hsla(var(--color-azul-hsl), 0.08);
}

.desarrollo_fondo{
  background-color: var(--color-azul);
}

.btn-outline-desarrollo {
  color: var(--color-azul);
  border: 2px solid var(--color-azul);
  background-color: transparent;
  transition: all 0.3s ease;
}

.btn-outline-desarrollo:hover {
  background-color: var(--color-azul);
  color: #fff;
}

/* automatizacion */
#automatizacion { 
  background-color: #f1f1f1;
}

#automatizacion:hover {
  background-color: hsla(var(--color-naranja-hsl), 0.08);
}

.automatizacion_fondo{
  background-color: var(--color-naranja-palido);
}

.btn-outline-automatizacion {
  color: var(--color-naranja);
  border: 2px solid var(--color-naranja);
  background-color: transparent;
  transition: all 0.3s ease;
}

.btn-outline-automatizacion:hover {
  background-color: var(--color-naranja);
  color: #fff;
}

/* asesoria */
#asesoria { 
  background-color: #fefefe; 
}

#asesoria:hover {
  background-color: hsla(var(--color-azul-oscuro-hsl), 0.08);
}

.btn-outline-asesoria {
  color: var(--color-azul-oscuro);
  border: 2px solid var(--color-azul-oscuro);
  background-color: transparent;
  transition: all 0.3s ease;
}

.btn-outline-asesoria:hover {
  background-color: var(--color-azul-oscuro);
  color: #fff;
}

.asesoria_fondo{
  background-color: var(--color-azul-oscuro);
}

/* diseño */
#diseno { 
  background-color: #f9f9f9; 
}

.diseno_fondo{
  background-color: var(--color-verde);
}

#diseno:hover {
  background-color: hsla(var(--color-verde-hsl), 0.08);
}

.btn-outline-diseno {
  color: var(--color-verde);
  border: 2px solid var(--color-verde);
  background-color: transparent;
  transition: all 0.3s ease;
}

.btn-outline-diseno:hover {
  background-color: var(--color-verde);
  color: #fff;
}

/* hosting */

#hosting { 
  background-color: #fefefe; 
  border-bottom: none; 
}

#hosting:hover {
  background-color: hsla(var(--color-amarillo-hsl), 0.08);
}

.hosting_fondo{
  background-color: var(--color-amarillo);
}

.btn-outline-hosting {
  color: var(--color-amarillo);
  border: 2px solid var(--color-amarillo);
  background-color: transparent;
  transition: all 0.3s ease;
}

.btn-outline-hosting:hover {
  background-color: var(--color-amarillo);
  color: #fff;
}

.logo-img {
  max-height: 50px;
  height: auto;
  width: auto;
}

section a{
  text-decoration: none;
  font-weight: bold;
}

.btn-outline-custom {
  border: 2px solid #000;
  color: #000;
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.btn-outline-custom:hover {
  background-color: #444;
  color: #fff;
  border-color: #000;
}

.banner{
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center; /* <-- clave */
  height: 500px;
  width: 100%;
}

.banner-desarrollo {
  background: url('../img/software.jpg');
}

.banner-automatizacion {
  background: url('../img/automatizacion.jpg');
}

.banner-asesoria {
  background: url('../img/asesoramiento.jpg');
}

.banner-diseno {
  background: url('../img/diseno_web.jpg');
}

.banner-hosting {
  background: url('/img/hosting.jpg');
}

.marcas{
  text-align:center;
  width:100%;
}

.marcas img{
  height: 50px;
  width: auto;
  margin: 0 10px;
  vertical-align: middle;
}
