/* style.css - limpiado el 25/11/2026 con datos/herramientas/limpiar_css.py:
   se quitaron las reglas de la plantilla que no afectaban a nada de la web.
   Los comentarios originales estan en la copia de datos/copias. */

html,
body {
    height: 100%;
}

p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #000;
    margin: 0;
}

a {
    -webkit-transition: .3s;
    transition: .3s
}

a:hover {
    color: #000;
    text-decoration: none;
}

h1,
h2,
h3,
h4 {
    font-family: 'Source Sans Pro', sans-serif;
    color: #000;
    font-weight: 600;
    line-height: 1.7;
    margin: 0;
}

.d-table {
    width: 100%;
    height: 100%;
}

.d-table-cell {
    vertical-align: middle;
}

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

.button {
    color: #fff;
    display: inline-block;
    text-transform: uppercase;
    border: 2px solid;
    padding: 10px 20px;
}

.button:hover {
    color: #000;
}

.section-padding {
    padding: 100px 0;
}

.pb-70 {
    padding-bottom: 70px;
}

.pb-85 {
    padding-bottom: 85px;
}

.bg-img {
    background-color: #ddd;
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 1;
}

.bg-primari {
    background-color: #000 !important;
}

.bg-secondary {
    background-color: #ffc900 !important;
}

button:focus {
    outline: none;
}



.section-title {
    margin-bottom: 60px;
}

.section-title h1,
.section-title h2 {
    text-transform: uppercase;
    position: relative;
    font-size: 32px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    line-height: 1;
}

.section-title h1:before,
.section-title h1:after,
.section-title h2:before,
.section-title h2:after {
    position: absolute;
    content: '';
    left: 50%;
    bottom: 0;
    width: 50px;
    height: 5px;
    background-color: #000;
}

.section-title h1:before,
.section-title h2:before {
    left: auto;
    right: 50%;
    background-color: #ffc900
}

.navbar {
    -webkit-transition: .3s;
    transition: .3s;
}

.navbar-expand-lg .navbar-nav .nav-link {
    color: #fff;
    font-size: 15px;
}

.navbar-expand-lg .navbar-nav .nav-link:hover,
.navbar-expand-lg .navbar-nav .nav-link.active {
    color: #ffc900;
}

.hero-aria,
.hero-area-slids,
.single-slider {
    height: 100%;
    position: relative;
    z-index: 1;
    background-position: center;
    background-size: cover;
}

.hero-aria:after {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    
    opacity: .8;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    z-index: 2;
}

.hero-area-slids .owl-stage-outer,
.hero-area-slids .owl-stage,
.hero-area-slids .owl-item {
    height: 100%;
}

.slider-bg {
    height: 100%;
    width: 100%;
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 1;
}

.slider-bg:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: .3;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
    z-index: -1;
}

.hero-content {
    position: absolute;
    z-index: 999;
    max-width: 40%;
}

.hero-content .hero-especialistas {
    color: #ffc900;
	text-shadow: black 0.03em 0.03em 0.05em;
    font-size: 50px;
    font-weight: 600;
    line-height: 1;
}

.hero-content .button {
    margin-top: 30px;
}

.about-bg {
    height: 100%;
    min-height: 400px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: #ffc900;
}

.about-content h2 span {
    color: #ffc900;
    font-size: 100%;
}

.about-content h4 {
    font-weight: 400;
    font-size: 22px;
    margin-bottom: 15px;
}

.about-content p {
    font-weight: 400;
}

.fact-counter:after {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: -1;
    opacity: .8;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
}

.service-area {
    position: relative;
    z-index: 2;
}

.service-area .section-title h2:before {
    background-color: #fff;
}

.service-area:before {
    background-color: #ffc900;
    position: absolute;
    content: '';
    width: 100%;
    height: 65%;
    left: 0;
    top: 0;
}

.single-service {
    background-color: #fff;
    padding: 15px;
    border: 1px solid #ffc900;
    -webkit-transition: .3s;
    transition: .3s;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.single-service h2,
.single-service p {
    -webkit-transition: .3s;
    transition: .3s;
}

.single-service:after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 5px;
    background-color: #000;
    z-index: -1;
    -webkit-transition: .3s;
    transition: .3s;
}

.single-service:hover h2,
.single-service:hover p {
    color: #fff
}

.single-service:hover:after {
    height: 100%;
}

.row.portfolio .col-lg-4 {
    padding-left: 7.5px;
    padding-right: 7.5px;
}

.single-portfolio {
    height: 240px;
    margin-bottom: 15px;
    background-position: center;
    background-size: cover;
    background-color: #ddd;
    padding: 15px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.single-portfolio:after {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    background-color: #000;
    opacity: .5;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    -webkit-transition: .3s;
    transition: .3s;
    z-index: -1;
}

.single-portfolio:hover:after {
    height: 100%;
}

.portfolio-icon {
    position: absolute;
    top: 100%;
    margin-top: -20px;
    left: 50%;
    margin-left: -20px;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    visibility: hidden;
    -webkit-transition: .6s;
    transition: .6s;
}

.single-portfolio:hover .portfolio-icon {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    visibility: visible;
    top: 50%
}

.portfolio-icon a {
    font-size: 15px;
    color: #fff;
    width: 40px;
    height: 40px;
    border: 1px solid;
    display: inline-block;
    line-height: 40px;
    -webkit-transition: .3s;
    transition: .3s;
}

.portfolio-icon a:hover {
    border-radius: 50%;
}

.portfolio-hover h3,
.portfolio-hover h4 {
    color: #fff;
    text-transform: uppercase;
    text-align: center;
}

.portfolio-hover {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -60px;
    padding: 5px;
    z-index: 1;
    -webkit-transition: .3s;
    transition: .3s;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    visibility: hidden;
}

.portfolio-hover:after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    content: '';
    background-color: #000;
    z-index: -1;
}

.single-portfolio:hover .portfolio-hover {
    bottom: 0;
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    visibility: visible
}

.faq-bg {
    height: 100%;
    min-height: 320px;
}

.single-faq {
    margin-bottom: 5px;
}

.single-faq .faq-pregunta {
    color: #ffc900 !important;
    padding: 5px 15px;
    background-color: #333;
    cursor: pointer;
    font-weight: 400;
    font-size: 24px;
    position: relative;
    z-index: 1;
}

.single-faq .faq-pregunta[aria-expanded="true"]:after {
    -webkit-transform: rotate(-180deg);
            transform: rotate(-180deg);
}

.single-faq .faq-pregunta:after {
    position: absolute;
    font-family: 'Font Awesome 5 Free';
    content: "\f107";
    text-align: center;
    right: 0;
    top: 0;
    color: #fff;
    background-color: #000;
    width: 30px;
    height: 100%;
    line-height: 200%;
}

.faq-body {
    background: #3e3e3e;
    color: #fff;
    padding: 15px;
}

textarea:focus,
input:focus {
    outline: none;
}

.contact-form {
    padding: 60px;
    box-shadow: 0 0 10px #ccc;
}

.contact-form .form-control {
    background-color: #f8f9fa;
    font-size: 14px;
    padding: 10px;
    border: none;
    border-radius: 0;
}

.contact-form .form-control:active {
    box-shadow: 0 0 0;
    background-color: #f8f9fa;
}

.contact-form textarea.form-control {
    height: 140px;
}

input:-webkit-autofill {
    background-color: #f8f9fa;
    border: none;
}

.form-control::-webkit-input-placeholder {
    color: #aaa;
}

.form-control:-ms-input-placeholder {
    color: #aaa;
}

.form-control::-ms-input-placeholder {
    color: #aaa;
}

.form-control::-webkit-input-placeholder {
    color: #aaa;
}

.form-control::-moz-placeholder {
    color: #aaa;
}

.form-control:-ms-input-placeholder {
    color: #aaa;
}

.form-control::placeholder {
    color: #aaa;
}

.form-control:focus {
    box-shadow: none;
}

.form-btn .button {
    margin: 0;
    border: none;
    background-color: #000;
    color: #fff;
    cursor: pointer;
    -webkit-transition: .3S;
    transition: .3S;
}

.form-btn .button:hover {
    color: #000;
    background-color: #ffc900;
}

.footer-area {
    padding: 30px;
    background-color: #000;
    border-bottom: 5px solid #ffc900;
}

.copyright-text a {
    color: #eee;
    -webkit-transition: .3s;
    transition: .3s;
}

.copyright-text a:hover {
    color: #ffc900;
}

/* ==========================================================================
   ESPACIOS - estilos propios (25/11/2026)
   Todo lo nuevo va aquí abajo para no mezclarlo con la plantilla original.
   ========================================================================== */

/* --- Letra alojada en la propia web (antes venía de Google Fonts, que
       recibía la IP de cada visitante). Solo latín: incluye á, ñ, ü... --- */
@font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/source-sans-pro-300.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/source-sans-pro-400.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/source-sans-pro-600.woff2) format('woff2'); }

/* --- Logo de la cabecera: SVG con letras blancas, para fondo oscuro.
       Se encoge un poco cuando la barra se pone negra al bajar. --------- */
/* Sobre la foto de la portada la barra lleva un degradado oscuro arriba y
   el logo una sombra oscura muy suave: se leen sobre cualquier foto sin el
   resplandor blanco que tenía el logo antiguo. */
.navbar { background-image: linear-gradient(to bottom, rgba(0,0,0,.65), rgba(0,0,0,0)); }
.navbar.bg-primari { background-image: none; }
/* Mismo tamaño arriba y al bajar: encogido se perdía (lo pidió el 25/11/2026). */
.navbar-brand.logo img { height: 96px; width: auto; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }

/* --- Portada ------------------------------------------------------------ */
.hero-content .hero-h1 {
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	margin: 0 0 14px;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .8);
}
.hero-content .hero-especialistas { margin-bottom: .5rem; font-family: 'Source Sans Pro', sans-serif; }
.hero-content .hero-typed {
	color: #fff;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.2;
	min-height: 1.2em;
	margin-bottom: .5rem;
}
.hero-content .hero-lema { color: #fff; }

/* --- Botón de volver arriba (antes estaba dentro del HTML) -------------- */
.ir-arriba {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 9999;
	padding: 8px 10px;
	background: #ffc900;
	border: 0;
	border-radius: 10px;
	font-size: 20px;
	line-height: 1;
	color: #fff;
	cursor: pointer;
}

/* --- Piezas sueltas que antes iban con style="" dentro del HTML --------- */
.texto-justificado { text-align: justify; }
.espacio-arriba { padding-top: 60px; }
.sellos { margin-top: 1.5rem; }
.visita-virtual { margin-top: 40px; }
.visita-virtual b { color: #000; }
.enlace-exposicion { display: inline-block; font-size: 18px; color: #fff; margin-bottom: 24px; }
.enlace-exposicion:hover { color: #000; }
.enlace-amarillo { color: #ffc900 !important; }
.titulo-metas { color: #ffc900 !important; font-size: 40px; font-weight: 600; }
.texto-metas { color: #fff; font-size: 26px; line-height: 1.35; max-width: 900px; margin: 0 auto; }
.logo-mhk { max-width: 300px; margin-top: 40px; }

/* --- Contacto ------------------------------------------------------------ */
.estamos-en { margin-top: 20px; }
address.direccion { font-style: normal; line-height: 1.8; margin-bottom: 16px; }
.redes a { display: inline-block; margin: 0 6px; }
.contact-form label { font-weight: 600; font-size: 15px; color: #333; margin-bottom: 4px; }
.contact-form .form-check-label { font-weight: 400; }
.contact-form .enlace-amarillo { color: #8a6a00 !important; text-decoration: underline; }
.obligatorio { color: #d0021b; font-weight: 700; }
.nota-obligatorio { font-size: 14px; color: #555; margin-bottom: 12px; }
/* Campo trampa para robots: fuera de la vista, pero no "display:none"
   (algunos robots se saltan los campos ocultos así). */
.campo-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.captcha { display: block; width: 172px; height: 42px; image-rendering: pixelated; border: 1px solid #ddd; margin-bottom: 8px; }
.campo-corto { max-width: 220px; }
.aviso { font-size: 16px; padding: 14px 18px; margin-bottom: 20px; border-left: 5px solid; }
.aviso ul { margin: 6px 0 0 18px; padding: 0; }
.aviso-ok { color: #155724; background: #d4edda; border-color: #28a745; }
.aviso-error { color: #721c24; background: #f8d7da; border-color: #dc3545; }
.mapa { padding-top: 50px; }
.mapa iframe { display: block; border: 0; }

/* --- Pie y páginas legales ----------------------------------------------- */
.pie-datos { color: #ddd; text-align: center; font-size: 15px; margin-bottom: 10px; }
.pie-datos a { color: #eee; }
.pagina-legal { padding-top: 180px; }

/* --- Tablet y móvil: la barra deja de ser fija y es negra --------------- */
@media (max-width: 991px) {
	.navbar-brand.logo img { height: 74px; }
	.pagina-legal { padding-top: 40px; }
}

/* --- Móvil: aprovechar todo el ancho (mandamiento del móvil) ------------
   Margen de la página y relleno de las columnas iguales y pequeños; la
   fila (.row) lleva el mismo margen negativo, si no se sale por la derecha. */
@media (max-width: 767px) {
	.container { padding-left: 10px; padding-right: 10px; }
	.row { margin-left: -10px; margin-right: -10px; }
	.row > [class*="col"] { padding-left: 10px; padding-right: 10px; }
	.section-padding { padding: 50px 0; }
	.pb-70, .pb-85 { padding-bottom: 40px; }
	.section-title { margin-bottom: 30px; }
	.hero-content { max-width: 100%; padding-right: 10px; }
	.hero-content .hero-h1 { font-size: 14px; }
	.texto-justificado { text-align: left; }
	.espacio-arriba { padding-top: 20px; }
	.about-bg { min-height: 260px; }
	.titulo-metas { font-size: 28px; }
	.texto-metas { font-size: 19px; }
	.contact-form { padding: 10px; }
	.form-btn .button { width: 100%; }
	.mapa { padding-top: 30px; }
	.mapa iframe { height: 320px; }
}

/* Que el teléfono no se parta en dos líneas */
a[href^="tel:"] { white-space: nowrap; }

/* --- Redes sociales (inc/redes.asp): contacto y pie ---------------------- */
.redes-lista { list-style: none; margin: 10px 0 0; padding: 0; display: flex; justify-content: center; gap: 14px; }
.red {
	display: flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 50%;
	color: #fff !important;
	transition: transform .2s, opacity .2s;
}
.red:hover, .red:focus { color: #fff; transform: translateY(-2px); opacity: .9; }
.red-facebook { background: #1877f2; }
.red-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.footer-area .redes-lista { margin: 4px 0 16px; }
