:root {
    --primary-color: #2a3563;
    --secondary-color: #ff0000;
    --text-color: #333;
    --light-gray: #E4EAEE;
    --dark-bg: #1a1a1a; /* Para footer top */
    --darker-bg: #111; /* Para footer bottom */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary-color);
}

a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}
a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.mgt-20 { margin-top: 20px; }
.mgt-30 { margin-top: 30px; }
.mgt-40 { margin-top: 40px; }
.mgt-50 { margin-top: 50px; }

.btn-custom {
    background-color: var(--primary-color);
    color: #fff !important; /* Importante para anular otros estilos de link */
    border: 2px solid var(--primary-color);
    padding: 10px 25px;
    font-weight: 500;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease-in-out;
}

.btn-custom span { /* Necesario para que el texto esté sobre el ::before */
    position: relative;
    z-index: 2;
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    transition: left 0.4s ease-in-out;
    z-index: -1;
}

.btn-custom:hover {
    color: #fff !important;
}

.btn-custom:hover::before {
    left: 0;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}
.section-title-primary { 
    color: var(--primary-color); 
    font-weight: 700; 
}
.section-title .text-primary { color: var(--primary-color) !important; }
.section-title .text-secondary { color: var(--secondary-color) !important; }

.section-title-alt { /* Para fondos oscuros */
    font-size: 4.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}
.section-title-alt .text-primary { color: #fff !important; } /* Ajustar si es necesario */
.section-title-alt .text-secondary { color: var(--secondary-color) !important; }


hr.title-hr {
    width: 60px;
    border-top: 3px solid var(--secondary-color);
    margin: 10px 0 20px 0; /* auto para centrar si el texto está centrado */
}

/* CABECERA */
/*
.top-bar {
    background-color: #f8f9fa; 
    padding: 8px 50px;
    font-size: 0.85rem;
}
.top-bar .social-links a {
    margin-right: 10px;
    color: var(--text-color);
}
.top-bar .social-links a:hover {
    color: var(--primary-color);
}
.top-bar .contact-info a {
    color: var(--text-color);
    margin-left: 5px;
}
.top-bar .contact-info a:hover {
    color: var(--primary-color);
}
.top-bar .contact-info i {
    color: var(--secondary-color);
    margin-right: 3px;
}

#navbar {
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    padding: 0 50px;
}
#main-logo {
    max-height: 100px;
    transition: max-height 0.3s ease;
}
.header-fixed #main-logo {
    max-height: 40px;
}
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: #fff !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}
.navbar-nav .nav-link {
    padding: 10px 25px !important;
    font-weight: 500;
    color: var(--primary-color) !important;
    position: relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
    background-color: var(--secondary-color);
    color: #fff !important;
}
.dropdown-toggle::after {
    display: none;
}
.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    margin-top: 0; 
}
.navbar-nav .dropdown-item:hover {
    background-color: var(--secondary-color);
    color: #fff;
}
.dropdown-toggle .fa-caret-down {
    transition: transform 0.3s ease;
}
.dropdown.show .dropdown-toggle .fa-caret-down,
.dropdown:hover .dropdown-toggle .fa-caret-down { 
    transform: rotate(180deg);
}
*/



/* HERO SECTION */
#hero {
    position: relative;
}
.hero-slider .hero-slide-item {
    height: 85vh; /* Ajusta según necesites */
    min-height: 500px;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    position: relative;
}
.hero-slider .hero-slide-item::before { /* Overlay oscuro para legibilidad */
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.4);
}
.hero-slider .hero-content {
    position: relative; /* Para que esté sobre el overlay */
    z-index: 2;
    color: #fff;
    padding: 0 0 0 80px;
}
.hero-slider .hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}
.hero-slider .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}
.slide-progress-bar-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: rgba(255,255,255,0.3); /* Fondo de la barra */
    z-index: 10;
}
.slide-progress-bar {
    height: 100%;
    background-color: rgba(255,255,255,0.7); /* Color de la barra de progreso */
    width: 0%; /* Se animará con JS */
}
.hero-slider .owl-nav button.owl-prev,
.hero-slider .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3) !important;
    color: #fff !important;
    padding: 10px 15px !important;
    font-size: 1.5rem !important;
    border-radius: 5px;
}
.hero-slider .owl-nav button.owl-prev:hover,
.hero-slider .owl-nav button.owl-next:hover {
    background: var(--secondary-color) !important;
}
.hero-slider .owl-nav button.owl-prev { left: 20px; }
.hero-slider .owl-nav button.owl-next { right: 20px; }
.hero-slider .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}
.hero-slider .owl-dots .owl-dot span {
    background: rgba(255,255,255,0.5) !important;
}
.hero-slider .owl-dots .owl-dot.active span,
.hero-slider .owl-dots .owl-dot:hover span {
    background: #fff !important;
}


/* NUESTROS SERVICIOS & ARTÍCULOS (Estilo similar) */
.service-box, .article-box {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block; /* Para que el <a> ocupe todo */
    text-decoration: none !important;
}
.service-box:hover, .article-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}
.service-image, .article-image {
    position: relative;
    overflow: hidden; /* Para el zoom de la imagen */
    height: 220px; /* Ajusta según necesidad */
}
.service-image img, .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-box:hover .service-image img,
.article-box:hover .article-image img {
    transform: scale(1.1);
}
.service-caption { /* Título sobre la imagen */
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    padding: 20px 15px 10px;
    transition: all 0.3s ease;
}
.article-caption { /* Título sobre la imagen */
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    /*background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);*/
    background-color: var(--primary-color);
    padding: 20px 15px 10px;
    transition: all 0.3s ease;
}
.service-caption h3, .article-caption h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0;
}
.service-box:hover .service-caption { /* Título sube al centro */
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6); /* Overlay completo */
    text-align: center;
}
/* Solo para servicios */
.service-line-plus {
    height: 3px;
    background-color: var(--secondary-color);
    position: relative;
    margin: 0 15px; /* Para que no toque los bordes de la caja */
}
.service-line-plus .plus-icon {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--secondary-color);
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}
.service-description {
    padding: 15px;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0;
}
.ver-mas {
    padding: 10px 15px;
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
}
.ver-mas a {
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}
/* Para artículos (info debajo) */
.article-meta {
    padding: 15px;
}
.article-summary {
    font-size: 0.9rem;
    color: #555;
    min-height: 3.2em; /* Aprox 2 líneas */
    overflow: hidden;
    margin-bottom: 10px;
}
.article-date {
    font-size: 0.8rem;
    color: #777;
}
.article-box .btn-sm {
    padding: 5px 10px;
    font-size: 0.8rem;
}


/* LA GRÚA MÁS POTENTE */
#grua-potente {
    background: url('../img/bg-gruas.webp') no-repeat center center;
    background-size: cover;
    position: relative;
    padding: 4rem 50px;
}
#grua-potente::before { /* Overlay */
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.1);
}
#grua-potente .container {
    position: relative; /* Para estar sobre el overlay */
    z-index: 2;
}
#grua-potente h2, #grua-potente p, #grua-potente ul li {
    color: #fff;
}
#grua-potente h2 .text-primary { color: #fff !important;} /* Override */
.check-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}
.check-list li i.fa-check {
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    top: 5px;
}

/* NUESTRA EXPERIENCIA */
section#experiencia {
    padding: 80px 80px;
}
.proyecto-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}
.proyecto-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}
.proyecto-item:hover img {
    transform: scale(1.05);
}
.proyecto-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.proyecto-item:hover .proyecto-overlay {
    opacity: 1;
}
.proyecto-overlay h4 {
    color: #fff;
    transform: translateX(-30px);
    opacity: 0;
    transition: transform 0.4s 0.1s ease, opacity 0.4s 0.1s ease;
}
.proyecto-item:hover .proyecto-overlay h4 {
    transform: translateX(0);
    opacity: 1;
}
.proyectos-slider .owl-dots { 
    margin-top: 15px; 
    text-align: center;
} /* Para los puntos de owl carousel*/
.proyectos-slider .owl-dots .owl-dot {
  display: inline-block;
  zoom: 1;
  display: inline;
}
.proyectos-slider .owl-dots .owl-dot span {
  width: 50px;
  height: 8px;
  margin: 5px 7px;
  background: var(--sky);
  display: block;
  -webkit-backface-visibility: visible;
  transition: opacity 200ms ease;
  border-radius: 30px;
  background-color: #c5c2c2;
}
.proyectos-slider .owl-dots .owl-dot.active span, .proyectos-slider .owl-dots .owl-dot:hover span {
  background-color: var(--secondary-color);
}

/* GRANDES EMPRESAS */
#clientes {
    background-color: var(--light-gray);
}
.cliente-logo img {
    max-height: 70px; /* Ajusta según el tamaño de tus logos */
    width: auto;
    margin: 0 auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}
.cliente-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
.clientes-slider .owl-dots { margin-top: 20px; }


/* PIE DE PÁGINA */
footer {
    color: #ccc;
}
.footer-top {
    background-color: var(--dark-bg);
}
.footer-top h5 {
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
}
.footer-logo {
    max-height: 100px;
}
.footer-top p {
    font-size: 0.9rem;
    color: #aaa;
}
.contact-list li {
    margin-bottom: 10px;
    font-size: 0.9rem;
}
.contact-list li i {
    color: var(--secondary-color);
    margin-right: 10px;
    width: 15px; /* Alineación */
}
.contact-list a {
    color: #aaa;
}
.contact-list a:hover {
    color: #fff;
}
.social-links-footer a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    margin-right: 8px;
    transition: background-color 0.3s ease;
}
.social-links-footer a:hover {
    background-color: var(--secondary-color);
}
.footer-bottom {
    background-color: var(--darker-bg);
    padding: 15px 0;
    font-size: 0.85rem;
}
.footer-bottom p {
    color: #888;
}
.footer-bottom a {
    color: #aaa;
}
.footer-bottom a:hover {
    color: #fff;
}
.footer-links li a {
    padding: 0 10px;
    color: #aaa;
}

/* BOTÓN WHATSAPP Y SCROLL TO TOP */
.whatsapp-float {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 90px;
    right: 30px;
    background-color: #51c14f;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(81, 193, 79, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(81, 193, 79, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(81, 193, 79, 0); }
}

.scroll-to-top {
    position: fixed;
    width: 45px;
    height: 45px;
    bottom: 30px; /* Arriba del WhatsApp */
    right: 35px;
    background-color: var(--primary-color);
    color: #FFF;
    border-radius: 5px;
    text-align: center;
    font-size: 20px;
    box-shadow: 1px 1px 4px rgba(0,0,0,0.2);
    z-index: 99;
    display: none; /* Se muestra con JS */
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    line-height: 44px;
}
.scroll-to-top:hover {
    background-color: var(--secondary-color);
    color: #fff;
}


/* MENU MOVIL */
#mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1039; /* Debajo del menú, encima del contenido */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s linear;
}
#mobile-nav {
    position: fixed;
    top: 0;
    left: -300px; /* Ancho del menú */
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 1040;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
}
.mobile-nav-active #mobile-nav-overlay {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}
.mobile-nav-active #mobile-nav {
    left: 0;
}
.mobile-nav-header {
    background: var(--primary-color);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mobile-nav-logo {
    max-height: 35px;
}
#mobile-nav-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
}
.mobile-nav-menu {
    list-style: none;
    padding: 20px 0;
    margin: 0;
}
.mobile-nav-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--primary-color);
    font-weight: 500;
}
.mobile-nav-menu li a:hover {
    background-color: #f0f0f0;
    color: var(--secondary-color);
}
.mobile-nav-menu .mobile-submenu-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mobile-nav-menu .mobile-submenu-toggle i {
    transition: transform 0.3s ease;
}
.mobile-nav-menu .mobile-submenu-toggle.open i {
    transform: rotate(180deg);
}
.mobile-submenu {
    list-style: none;
    padding-left: 20px; /* Indentación */
    margin: 0;
    display: none; /* Se muestra con JS */
}
.mobile-submenu li a {
    padding: 8px 20px;
    font-size: 0.9em;
    color: #555;
}

/* MEDIA QUERIES (Ejemplos) */
@media (min-width: 1200px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1300px;
  }
}
@media (max-width: 991.98px) {
    .top-bar .contact-info { display: none; } /* Ocultar en móvil o ajustar */
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-item.active .nav-link {
      background-color: transparent; /* Quitar hover de fondo en collapsed menu */
      color: var(--secondary-color) !important; /* Solo color de texto */
    }
}

@media (max-width: 767.98px) {
    .hero-slider .hero-content h1 { font-size: 2.2rem; }
    .hero-slider .hero-content p { font-size: 1rem; }
    #clientes .cliente-logo img { max-height: 50px; }
}

/****************** CABECERA SECCION ******************/
.about-hero-banner {
    position: relative;
    height: 400px;
    background-image: url('../images/data-center-hero.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    z-index: 0;
}

.about-hero-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.about-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 140px 0;
}

.about-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
}

.about-hero-content p {
    font-size: 18px;
    max-width: 600px;
    line-height: 1.6;
}
.hero-triangle {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 20%;
    height: 100%;
    z-index: 1;
}

.hero-triangle svg {
    width: 100%;
    height: 100%;
}

/************ DETALLE MAQUINARIA ****************/
.sidebar.widget_nav_menu ul {
  list-style: none;
  padding: 0;
}
.sidebar.widget_nav_menu ul > li:first-of-type {
  margin-top: 0;
}
.sidebar.widget_nav_menu ul > li {
  margin: 2px 0;
}
.sidebar.widget_nav_menu ul > li.current-menu-item a {
  background-color: #E21F2F;
  color: #fff;
  text-shadow: 0 1px rgba(0,0,0,0.16);
  text-decoration: none;
}
.sidebar.widget_nav_menu ul > li > a {
  font-size: 16px;
  font-weight: 900;
  transition: all 100ms ease-out;
  display: block;
  background-color: #eee;
  color: #777;
  border-radius: 2px;
  padding: 18px 25px;
}
.widget_nav_menu ul > li > a {
  display: block;
  padding: 2px 0;
  margin: 3px 0;
  color: #777;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 13px;
}
.sidebar.widget_nav_menu ul > li > a:hover {
  background-color: #E21F2F;
  color: #fff;
  text-shadow: 0 1px rgba(0,0,0,0.16);
  text-decoration: none;    
}
.picMaquina {
    width: 100%;
    padding: 10px;
    border: 1px solid #eee;
    margin: 0 0 20px 0;
    overflow: hidden;
    position: relative;
}
.picMaquina img {
    width: 100%;
    height: auto;
    transition: all 0.3s ease-in-out;
}
.picMaquina:hover img {
    transform: scale(1.2, 1.2);
}

/******************** Blog Section Styles ***************************/
.blog-section {
    padding: 80px 0;
    background-color: #f5f5f5;
}

/* Blog Card Styles */
.blog-card {
    background-color: #ffffff;
    border-radius: 0;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.blog-link:hover {
    color: inherit;
    text-decoration: none;
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.featured-blog .blog-image {
    height: 400px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-tag {
    position: absolute;
    top: 15px;
    left: 0;
    background-color: var(--secondary-color);
    color: #ffffff;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%);
    padding-right: 20px;
}

.blog-content {
    padding: 20px;
}

.featured-blog .blog-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.5), transparent);
    color: #ffffff;
    padding: 40px 20px 20px;
}

.blog-date {
    font-size: 14px;
    color: var(--principal);
    margin-bottom: 10px;
    font-weight: 500;
}

.featured-blog .blog-date {
    color: #ffffff;
}

.blog-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.4;
}

.blog-card p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.read-more {
    color: var(--principal);
    font-weight: 500;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
}

.featured-blog .read-more {
    color: #ffffff;
    background-color: var(--principal);
    padding: 8px 15px;
    border-radius: 4px;
}

.read-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.blog-card:hover .read-more i {
    transform: translateX(5px);
}
.sumilla {
    padding: 10px;
    text-align: justify;
}
ul.pagination li.active a {
    background-color: var(--primary-color);
    color: #fff;
}
.texto-articulo {
  padding: 20px 20px;
  font-size: 16px;
  line-height: 27px;
  color: #333;
}
.texto-articulo h2 {
    font-size: 18px;
    font-weight: 700;
    line-height: 29px;
    padding: 0;
    margin: 20px 0 10px 0;
}
.sidebar-area {
  background-color: #f7f7f7;
  box-shadow: 0px 0px 10px #ccc;
  padding: 30px 30px;
  border-radius: 10px;
}
h3.widget_title {
  color: var(--primary-color);
  font-size: 22px;
  font-weight: 700;
}
.blog-img img {
    width: 100%;
    height: auto;
}
.articulo-hero-banner {
    position: relative;
    height: 400px;
    background-image: url('../images/data-center-hero.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.articulo-hero-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.articulo-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 90px 0;
}


.articulo-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
}

.articulo-hero-content p {
    font-size: 18px;
    max-width: 600px;
    line-height: 1.6;
}
.media-img img {
    width: 100%;
    height: auto;
}
h4.post-title {
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 20px 0;
}
.recent-post-meta a {
    font-size: 14px;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .featured-blog .blog-image {
        height: 350px;
    }
    
    .blog-card h2 {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .blog-section {
        padding: 50px 0;
    }
    
    .featured-blog .blog-image {
        height: 300px;
    }
    
    .blog-image {
        height: 180px;
    }
    
    .blog-card h2 {
        font-size: 22px;
    }
    
    .blog-card h3 {
        font-size: 16px;
    }
}

/***************** CONTACTENOS *******************/
section.cuerpo_contacto {
    background-color: #f5f5f5;
    padding: 40px 0;
}
.divformulario label {
    font-size: 14px;
    font-weight: 400;
    color: #000;
}
.divformulario input.form-control {
    background-color: #fff;
    border-radius: 0;
    border: 1px solid #000;
}
.divformulario textarea.form-control {
    background-color: #fff;
    border-radius: 0;
    border: 1px solid #000;
}
.btn-azul {
    border: 1px solid var(--primary-color);
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 700;
    color: var(--principal);
    text-decoration: none;
    margin: 0;
    background-color: #fff;
}
.btn-azul:hover {
    background-color: var(--secondary-color);
    color: #fff;
}
.sectionMapa {
    width: 100%;
    height: 450px;
    overflow: hidden;
}
.peq {
    font-size: 11px;
    line-height: 16px;
    font-weight: 400;
}
ul.listaSede {
    list-style: none;
    padding: 0;
    margin: 0;
}
ul.listaSede li {
    margin-bottom: 15px;
}
ul.listaSede i {
    width: 25px;
    color: var(--primary-color);
}
/**************** PROYECTOS ****************/
.proyecto {
    width: 100%;
    border: 1px solid #eee;
    margin: 0 0 20px 0;
}
.picProyecto {
    width: 100%;
    padding: 10px;
    overflow: hidden;
    position: relative;
}
.picProyecto img {
    width: 100%;
    height: auto;
    transition: all 0.3s ease-in-out;
}
.picProyecto:hover img {
    transform: scale(1.2, 1.2);
}
.nombreProyecto {
    display: table;
    width: 100%;
}
.innerNombreProyecto {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    height: 50px;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

/* =================================== */
/* ======= NUEVA CABECERA CSS ======== */
/* =================================== */

.header-new-design {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* Top Bar Nueva */
.top-bar-new-design {
    background-color: #f8f9fa; /* Gris claro como en la imagen */
    padding: 8px 0;
    font-size: 0.85rem;
    color: #555;
    border-bottom: 1px solid #e9ecef;
}

/* Middle Header Nueva */
.middle-header-new {
    padding: 15px 0;
}

.logo-middle-new img {
    max-height: 100px; /* Ajusta según tu logo */
    transition: max-height 0.3s ease;
}

.contact-blocks-wrapper {
    gap: 20px; /* Espacio entre bloques de contacto */
}

.contact-block {
    display: flex;
    align-items: center;
    margin-right: 25px;
}

.contact-icon {
    margin-right: 10px;
}

.contact-icon i {
    font-size: 2.5rem; /* Tamaño grande del icono */
    color: var(--secondary-color); /* Color rojo para los iconos de contacto */
    line-height: 1; /* Para mejor alineación vertical */
}

.contact-details {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.contact-details strong {
    font-weight: 700; /* Negrita para el subtítulo */
    font-size: 0.8rem; /* Tamaño del subtítulo */
    color: #333;
    text-transform: uppercase;
}

.contact-details span {
    font-size: 0.9rem; /* Tamaño del dato */
    color: #555;
}

/* Main Navigation Nueva */
.navbar-new-design {
    background-color: var(--primary-color); /* Azul principal */
    padding: 0; /* Reset padding */
    position: relative; /* Para el ::before del corte diagonal */
}

/* Corte diagonal (moderno) */

.navbar-new-design-desactivado::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 25%; /* Ancho del corte */
    max-width: 350px; /* Máximo para el corte */
    height: 100%;
    background-color: #fff; /* Color del "exterior" para simular el corte */
    clip-path: polygon(0 0, 100% 0, 0 100%, 0 100%); /* Triángulo que se superpone */
    z-index: 1;
}


.navbar-new-design .container {
    position: relative; /* Para que el contenido esté sobre el ::before */
    z-index: 2;
}

.navbar-nav-new {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
}

.nav-item-new {
    position: relative; /* Para el subrayado activo */
}

.nav-link-new {
    color: #fff;
    padding: 15px 35px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.9rem;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.nav-link-new i.fa-home {
    font-size: 1.1rem;
}

.nav-link-new:hover,
.dropdown-new:hover .nav-link-new {
    background-color: rgba(255,255,255,0.1);
}

.nav-item-new.active .nav-link-new::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color); /* Rojo para el subrayado */
}

/* Dropdown Nuevo */
.dropdown-menu-new {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    z-index: 1000;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.1);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.1);
    min-width: 200px;
}
.dropdown-new:hover .dropdown-menu-new {
    display: block;
}
.dropdown-item-new {
    display: block;
    width: 100%;
    padding: 10px 15px;
    clear: both;
    font-weight: 400;
    color: var(--primary-color);
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    font-size: 0.9rem;
}
.dropdown-item-new:hover {
    background-color: var(--secondary-color);
    color: #fff;
}
.nav-link-new.dropdown-toggle-new i {
    margin-left: 5px;
    transition: transform 0.2s ease-in-out;
}
.dropdown-new:hover .nav-link-new.dropdown-toggle-new i {
    transform: rotate(180deg);
}


/* Social Icons Nav Nueva */
.social-icons-nav-new {
    display: flex;
    align-items: center;
    gap: 8px;
}
.social-icon-item {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}
.social-icon-item:hover {
    opacity: 0.8;
    color: #fff;
}
.social-fb { background-color: #3b5998; }
.social-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-tk { background-color: #000000; } /* TikTok puede ser negro o tener acentos de color */

/* Sticky Header Nueva */
.header-sticky-new {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    animation: slideDown 0.5s ease-out;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.header-sticky-new .logo-middle-new img {
    max-height: 50px; /* Logo más pequeño cuando es sticky */
}
.header-sticky-new .top-bar-new-design {
    display: none; /* Ocultar la barra superior cuando es sticky */
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}


/* Mobile Toggler Nueva */
.navbar-toggler-new {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    padding: 5px 10px;
    margin-left: 15px; /* Para separarlo del borde con el corte diagonal */
}
.navbar-brand-mobile-new img {
    max-height: 35px; /* Ajusta según tu logo blanco */
}


/* == RESPONSIVE PARA NUEVA CABECERA == */
@media (max-width: 991.98px) { /* Tablets y móviles */
    .middle-header-new .contact-blocks-wrapper {
        display: none; /* Ocultar bloques de contacto en tablet/móvil para simplicidad */
    }
    .navbar-new-design .container {
        justify-content: flex-end; /* Alinea el toggler y el logo móvil */
    }
    .navbar-new-design::before { /* Ocultar el corte diagonal en móvil si no se ve bien */
        display: none;
    }
    .navbar-toggler-new {
        order: 2; /* Poner el toggler a la derecha */
        margin-left: 0;
        margin-right: 0; /* Ajustar si el logo móvil está activo */
    }
    .navbar-brand-mobile-new {
        order: 1; /* Poner el logo a la izquierda */
        margin-right: auto; /* Empuja el toggler a la derecha */
    }
    .header-sticky-new .logo-middle-new {
        display: none; /* Ocultar el logo principal en sticky móvil si el de la nav bar está presente */
    }
}

@media (max-width: 767.98px) {
    .logo-middle-new img {
        max-height: 50px; /* Ajustar logo para móviles */
    }
    .contact-block { /* Si decides mostrarlos y apilarlos */
        /* flex-basis: 100%;
        justify-content: flex-start;
        margin-bottom: 10px; */
    }
     .navbar-brand-mobile-new img {
        max-height: 30px;
    }
}

@media (max-width: 575.98px) {
    .top-bar-new-design {
        font-size: 0.75rem;
        padding: 5px 0;
    }
}

/* ESTILOS DEL MENU MOVIL (de tu código anterior, adaptados si es necesario) */
/* El #mobile-nav-header ya tiene el color primario por defecto de tu CSS anterior. */
/* Asegúrate que el logo aquí sea el blanco */
.mobile-nav-header .mobile-nav-logo {
    /* ya src="img/snazzy_logo_blanco.png" en HTML */
    max-height: 35px;
}
/* El overlay negro semitransparente ya está definido en tu CSS anterior: #mobile-nav-overlay */