/* style.css - JF Servicios Rediseño tipo "Suprek" */

/* =========================================================================
   1. CSS VARIABLES (Tema Industrial)
   ========================================================================= */
:root {
    /* Brand Colors */
    --color-primary: #fecb00;
    /* Suprek Yellow */
    --color-primary-hover: #e5b600;

    /* Darks & Grays */
    --color-dark: #1f1f1f;
    --color-dark-alt: #222222;
    --color-gray-dark: #333333;
    --color-gray-light: #f8f8f8;
    --color-border: #eeeeee;

    /* Backgrounds */
    --color-bg: #ffffff;

    /* Text */
    --color-text: #333333;
    --color-text-light: #777777;
    --color-heading: #000000;

    /* Typography */
    --font-main: 'Poppins', sans-serif;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* =========================================================================
   2. RESET & BASE
   ========================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 75%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
}

.mt-4 {
    margin-top: 1.5rem;
}

.text-center {
    text-align: center;
}

/* =========================================================================
   3. TOPBAR
   ========================================================================= */
.topbar {
    background-color: var(--color-dark);
    color: #ffffff;
    padding: 10px 0;
    font-size: 13px;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-right {
    display: flex;
    align-items: center;
}

.topbar-link {
    color: #cccccc;
    margin-left: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.topbar-link:hover {
    color: var(--color-primary);
}

.topbar-phone {
    background-color: var(--color-primary);
    color: #000;
    padding: 10px 20px;
    margin-left: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: skew(-15deg);
    /* Estilo industrial anguloso */
}

.topbar-phone i,
.topbar-phone span,
.topbar-phone text {
    transform: skew(15deg);
    /* Deshacer skew en el texto */
    display: inline-block;
}

.topbar-phone:hover {
    background-color: #fff;
}

/* =========================================================================
   4. NAVBAR
   ========================================================================= */
.navbar {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon-wrapper {
    background-color: var(--color-primary);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #000;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-text-main {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    color: #000;
}

.logo-text-sub {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-light);
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 600;
    font-size: 15px;
    color: var(--color-heading);
    text-transform: capitalize;
    position: relative;
    padding: 5px 0;
}

/* Estilo corchete activo como en Suprek ( [ Contact ] ) */
.nav-link.active,
.nav-link:hover {
    color: var(--color-primary);
}

.nav-link.active::before,
.nav-link:hover::before {
    content: '[';
    position: absolute;
    left: -10px;
    color: var(--color-primary);
}

.nav-link.active::after,
.nav-link:hover::after {
    content: ']';
    position: absolute;
    right: -10px;
    color: var(--color-primary);
}

.nav-extra {
    display: flex;
    gap: 20px;
    font-size: 20px;
    color: var(--color-heading);
}

.search-btn,
.menu-btn {
    cursor: pointer;
}

.search-btn:hover {
    color: var(--color-primary);
}

.mobile-toggle {
    display: none;
    font-size: 24px;
}

/* =========================================================================
   5. PAGE BANNER (HERO SLIDER & COLLAGE)
   ========================================================================= */
.page-banner {
    position: relative;
    background-color: var(--color-dark);
    /* Fallback */
    padding: 175px 0;
    /* Altura para el banner principal (más compacta) */
    color: #fff;
    z-index: 1;
    overflow: hidden;
    /* Evitar desbordes del grid */
}

/* Slider Behavior */
.slider-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
    z-index: -2;
}

.hero-slide {
    position: relative;
    width: 100%;
    flex-shrink: 0;
    height: 100%;
    min-height: 400px;
    /* Fallback height */
}

.slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 800px;
    z-index: 5;
}

.slide-title {
    color: #ffffff;
    font-size: 40px;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9);
    text-transform: uppercase;
    margin: 0;
    animation: fadeInUp 1s ease;
}

@media (max-width: 768px) {
    .slide-title {
        font-size: 28px;
    }
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(31, 31, 31, 0.6);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    border-radius: 50%;
}

.slider-btn:hover {
    background: var(--color-primary);
    color: #000;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--color-primary);
    width: 24px;
    border-radius: 6px;
}

/* Estructura del mosaico fotográfico */
.collage-grid {
    width: 100%;
    height: 100%;
    display: grid;
    /* La izquierda toma 40% del ancho (foto vertical), la derecha se divide en dos para la base */
    grid-template-columns: 40% 30% 30%;
    grid-template-rows: 50% 50%;
    /* 50% para lograr el efecto gran angular más puro en la parte superior */
    gap: 4px;
    /* Separación entre fotos */
    background-color: var(--color-primary);
    /* Las líneas divisorias serán amarillas */
}

.collage-item {
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

/* Distribución asimétrica adaptada a la forma de las fotos */
.item-1 {
    /* Toma las dos columnas de la derecha completas en la fila de arriba (Panorámica) */
    grid-column: 2 / 4;
    grid-row: 1 / 2;
    background-size: cover;
    /* Vuelve a sus proporciones naturales sin estirarse */
    background-position: center 50%;
    /* Enfoca exactamente en el tercio superior donde debe estar el aire y la bandeja */
}

/* Imagen grande izq. */
.item-2 {
    /* Toma la columna completa de la izquierda que es del 40% de ancho y 100% de alto (Vertical / Retrato) */
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    background-size: cover;
    background-position: center top;
    /* Enfocar la mitad para arriba */
}

/* Imagen ancha arr-der. */
.item-3 {
    /* Toma la mitad abajo a la derecha */
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    background-size: cover;
    background-position: center;
}

/* Cuadro ab-cen-der. */
.item-4 {
    /* Toma la esquina abajo a la derecha */
    grid-column: 3 / 4;
    grid-row: 2 / 3;
    background-size: cover;
    background-position: center;
}

/* Cuadro ab-der. */

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(31, 31, 31, 0.50);
    /* Overlay para contrastar el logotipo */
    z-index: -1;
}

.relative-container {
    position: relative;
    z-index: 2;
}

.banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 200px;
}

.hero-banner-logo {
    position: absolute;
    bottom: 30px;
    right: 30px;
    max-width: 150px;
    height: auto;
    opacity: 0.5;
    animation: fadeInUp 1s ease;
    z-index: 3;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================================
   6. PORTFOLIO / PROYECTOS SECTION
   ========================================================================= */
.projects-section {
    background-color: var(--color-gray-light);
}

.projects-carousel-container {
    width: 100%;
    overflow-x: auto;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    padding: 10px 0 30px;
    /* Space for box-shadows */
}

.projects-carousel-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.projects-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    width: max-content;
    transition: width 0.4s ease;
}

.project-card {
    flex: 0 0 350px;
    max-width: 85vw;
    /* For responsiveness on small devices */
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform-origin: center;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.project-img-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #ddd;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.1);
}

.project-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #004fb0;
    color: #fff;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 31, 31, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 3;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: #fff;
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.project-card:hover .overlay-content {
    transform: translateY(0);
}

.project-category {
    font-size: 12px;
    font-weight: 600;
    color: #2b7cff;
    /* Lighter electric Blue */
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.project-title {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.project-desc {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-lightbox {
    background-color: var(--color-primary);
    color: #000;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-lightbox:hover {
    background-color: #fff;
    color: #0056b3;
    transform: scale(1.1);
}

/* Lightbox Modal Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid #333;
}

.lightbox-caption {
    color: #fff;
    margin-top: 15px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--color-primary);
}

/* Custom Blue variant for suprek button */
.btn-blue {
    border-color: #0056b3;
    color: #0056b3;
}

.btn-blue .btn-icon {
    background-color: #0056b3;
    color: #fff;
}

.btn-blue:hover {
    background-color: #0056b3;
    color: #fff;
}

.btn-blue:hover .btn-icon {
    background-color: #fff;
    color: #0056b3;
}

/* =========================================================================
   CORPORATE SHOWCASE (Grid Cards)
   ========================================================================= */

.corporate-showcase-section {
    padding: 60px 0;
    background-color: var(--color-bg);
}

.corporate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 991px) {
    .corporate-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.corporate-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    margin-bottom: 0;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
    height: 100%;
}

.corp-img-col {
    width: 100%;
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.corp-img-col .corp-img-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-position: center;
    background-size: cover;
    transition: transform 0.6s ease;
}

.corporate-card:hover .corp-img-bg {
    transform: scale(1.05);
}

.corp-text-col {
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    flex: 1; /* Toma el espacio sobrante si la tarjeta compañera es más alta */
}

@media (max-width: 991px) {
    .corp-text-col {
        padding: 30px 20px;
    }
}

.corp-tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    margin-bottom: 20px;
    border-left: 3px solid var(--color-primary);
}

.corp-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.corp-desc {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 30px;
}

.corp-specs-list {
    margin-bottom: 35px;
}

.corp-spec-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.corp-spec-icon {
    font-size: 20px;
    color: var(--color-primary);
    margin-right: 15px;
    margin-top: 2px;
}

.corp-spec-text strong {
    display: block;
    font-size: 14px;
    color: var(--color-dark);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.corp-spec-text span {
    font-size: 14px;
    color: var(--color-text-light);
}

.corp-btn-wrapper {
    margin-top: auto;
}

.btn-corporate {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background-color: var(--color-dark);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-corporate.btn-lightbox {
    width: auto !important;
    height: auto !important;
    border-radius: 4px !important;
    background-color: var(--color-dark) !important;
    justify-content: center !important;
}

.btn-corporate:hover, .btn-corporate.btn-lightbox:hover {
    background-color: var(--color-primary) !important;
    color: #000 !important;
}

.d-none { display: none !important; }

/* =========================================================================
   7. CONTACT SECTION
   ========================================================================= */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

/* Columna Izquierda: Cajas Oscuras */
.contact-info-col {
    flex: 1;
    min-width: 300px;
}

.info-box-dark {
    background-color: var(--color-dark);
    color: #fff;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.info-box-dark:hover {
    background-color: var(--color-primary);
}

.info-box-dark:hover .info-icon {
    background-color: #fff;
    color: var(--color-primary);
}

.info-box-dark:hover h4,
.info-box-dark:hover p {
    color: #000;
}

.info-icon {
    min-width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--color-primary);
    font-size: 24px;
    transition: var(--transition);
}

.info-content h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 5px;
}

.info-content p {
    color: #ccc;
    font-size: 14px;
    margin: 0;
}

.social-share h4 {
    font-size: 18px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.social-share h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: var(--color-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-heading);
    border-radius: 3px;
}

.social-icons a:hover {
    background-color: var(--color-primary);
    color: #fff;
}

/* Columna Derecha: Formulario */
.contact-form-col {
    flex: 2;
    min-width: 300px;
    background: #fff;
    padding: 40px;
    border: 1px solid var(--color-border);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
}

.form-header h2 span {
    display: block;
    color: var(--color-text-light);
    font-weight: 300;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    background-color: var(--color-gray-light);
    border: 1px solid transparent;
    font-family: var(--font-main);
    font-size: 15px;
    color: var(--color-text);
    outline: none;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-primary);
    background-color: #fff;
}

/* Suprek Style Button */
.btn-suprek {
    background-color: transparent;
    border: 2px solid var(--color-heading);
    color: var(--color-heading);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 12px 30px 12px 30px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-suprek .btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: var(--color-primary);
    color: #000;
    border-radius: 50%;
    font-size: 18px;
    transition: var(--transition);
}

.btn-suprek:hover {
    background-color: var(--color-heading);
    color: #fff;
}

/* =========================================================================
   7. NEWSLETTER BAR
   ========================================================================= */
.newsletter-bar {
    background-color: var(--color-primary);
    padding: 40px 0;
}

.newsletter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.newsletter-text h3 {
    color: #000;
    font-size: 24px;
    margin-bottom: 5px;
}

.newsletter-text p {
    color: var(--color-dark);
    margin: 0;
    font-weight: 500;
}

.newsletter-form form {
    display: flex;
    max-width: 500px;
    width: 100%;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-family: var(--font-main);
}

.newsletter-form button {
    padding: 15px 30px;
    background-color: #000;
    color: #fff;
    border: none;
    font-family: var(--font-main);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--color-gray-dark);
}

/* =========================================================================
   8. FOOTER
   ========================================================================= */
.footer-main {
    background-color: var(--color-dark);
    padding: 80px 0 40px;
    color: #ccc;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-logo {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo i {
    color: var(--color-primary);
    font-size: 28px;
}

.footer-bio {
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-contact-list i {
    color: var(--color-primary);
    font-size: 18px;
}

.widget-title {
    color: #fff;
    font-size: 20px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
}

.widget-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--color-primary);
}

.widget-links li {
    margin-bottom: 12px;
}

.widget-links a {
    color: #ccc;
    position: relative;
    padding-left: 15px;
}

.widget-links a::before {
    content: '-';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.widget-links a:hover {
    color: var(--color-primary);
    padding-left: 20px;
}

/* Recent Posts Widget */
.recent-post {
    margin-bottom: 20px;
}

.post-date {
    color: var(--color-primary);
    font-size: 13px;
    margin-bottom: 5px;
}

.post-title {
    color: #fff;
    font-size: 15px;
    display: block;
    line-height: 1.4;
}

.post-title:hover {
    color: var(--color-primary);
}

.footer-bottom {
    background-color: var(--color-dark-alt);
    padding: 20px 0;
    color: #888;
    font-size: 14px;
}

.bottom-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.bottom-links {
    display: flex;
    gap: 20px;
}

.bottom-links a:hover {
    color: var(--color-primary);
}

/* =========================================================================
   X. FEATURED SERVICES
   ========================================================================= */
.featured-services {
    background-color: var(--color-gray-light);
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--color-border);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(31, 31, 31, 0.03);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--color-dark);
    font-size: 36px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background-color: var(--color-primary);
    color: #000;
    transform: scale(1.1);
}

.service-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-heading);
}

.service-content p {
    color: var(--color-text-light);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
    align-self: center;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.service-card:hover .service-link::after {
    width: 100%;
}

.service-link i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================================
   9. RESPONSIVE DESIGN
   ========================================================================= */
@media (max-width: 991px) {

    .nav-list,
    .nav-extra .search-btn {
        display: none;
    }

    /* MENÚ MÓVIL: oculto por defecto, visible cuando .active es añadido por JS */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        z-index: 999;
        padding: 10px 0 20px;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu .nav-list {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0 20px;
    }

    .nav-menu .nav-item {
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .mobile-toggle,
    .d-none-desktop {
        display: inline-block;
    }

    .topbar-text {
        display: none;
    }

    .topbar-inner {
        justify-content: center;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-form-col {
        padding: 30px 20px;
    }

    /* Responsive Collage */
    .collage-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }

    .item-1 {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }

    .item-2 {
        grid-column: 1 / 3;
        grid-row: 3 / 4;
    }

    .item-3 {
        grid-column: 1 / 2;
        grid-row: 4 / 5;
    }

    .item-4 {
        grid-column: 2 / 3;
        grid-row: 4 / 5;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }

    .newsletter-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form form {
        flex-direction: column;
        gap: 10px;
    }

    .bottom-wrapper {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   8. NUESTRA EMPRESA (NOSOTROS PAGE)
   ========================================================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.sub-label {
    display: inline-block;
    background-color: rgba(254, 203, 0, 0.1);
    color: #b38f00;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.main-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    color: var(--color-heading);
}

.about-text p {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.shadow-lg {
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Metrics */
.metrics-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    border-top: 1px solid var(--color-border);
    padding-top: 25px;
    margin-top: 30px;
}

.metric-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.metric-num {
    font-size: 40px;
    font-weight: 900;
    color: var(--color-primary);
    margin: 0;
    line-height: 1;
}

.metric-text {
    font-size: 13px !important;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-heading) !important;
    margin: 0 !important;
    text-align: left !important;
    line-height: 1.2 !important;
}

/* Misión y Visión Cards */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .mv-grid {
        grid-template-columns: 1fr;
    }
}

.mv-card {
    background-color: #fff;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.mv-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--color-primary);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.mv-icon {
    width: 70px;
    height: 70px;
    background-color: var(--color-primary);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(254, 203, 0, 0.3);
}

.mv-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.mv-card p {
    color: var(--color-text-light);
    margin-bottom: 15px;
    line-height: 1.7;
    text-align: justify;
}

/* =========================================================================
   9. PROMO POPUP
   ========================================================================= */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    position: relative;
    width: auto; /* Ajustar ventana a la imagen */
    max-width: 90%;
    transform: scale(0.8);
    transition: transform 0.4s ease;
    border-radius: 10px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
    background-color: transparent; /* Sin fondo blanco visible */
    display: inline-block;
}

.popup-overlay.show .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 35px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.popup-close:hover {
    background: var(--color-primary);
    color: #000;
}

.popup-img {
    max-width: 100%;
    max-height: 85vh; /* Evita que crezca más allá del alto de la pantalla */
    width: auto;
    height: auto;
    display: block;
    border-radius: 10px; /* Mantiene las esquinas redondeadas en la foto */
}

/* =========================================================================
   10. INTRANET / LOGIN ADMIN
   ========================================================================= */
.login-page {
    background-color: #f1f3f5;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0;
    overflow: hidden;
}

.back-home-btn {
    position: absolute;
    top: 30px;
    left: 30px;
    background: #fff;
    color: var(--color-heading);
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    z-index: 100;
    transition: var(--transition);
}
.back-home-btn i { font-size: 20px; }
.back-home-btn:hover { background: var(--color-primary); color: #000; }

.login-container {
    display: flex;
    width: 100%;
    max-width: 1100px;
    height: 650px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.login-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.login-brand {
    flex: 1;
    background: url('../img/hero-banner.png') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-overlay {
    background: rgba(14, 21, 37, 0.9);
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    color: #fff;
}

.login-logo {
    max-width: 200px;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.brand-overlay h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
}
.brand-overlay p {
    font-size: 16px;
    color: #ccc;
    line-height: 1.6;
}

.login-form-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-color: #fff;
}

.login-form-inner {
    width: 100%;
    max-width: 400px;
}

.login-form-inner h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--color-heading);
}

.login-form-inner p {
    color: var(--color-text-light);
    margin-bottom: 30px;
    font-size: 15px;
}

.admin-login-form .form-group {
    margin-bottom: 20px;
}

.admin-login-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 8px;
}

.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--color-text-light);
}

.input-icon-wrapper input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    background: #f9f9f9;
    color: var(--color-heading);
    transition: var(--transition);
}

.input-icon-wrapper input:focus {
    border-color: var(--color-primary);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(254, 203, 0, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 13px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-light);
    cursor: pointer;
}

.forgot-pass {
    color: #0d6efd;
    font-weight: 600;
}
.forgot-pass:hover { text-decoration: underline; }

.btn-login {
    width: 100%;
    background-color: var(--color-primary);
    color: #000;
    border: none;
    padding: 16px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(254, 203, 0, 0.3);
    transition: var(--transition);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(254, 203, 0, 0.4);
}

.secure-badge {
    margin-top: 30px;
    text-align: center;
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

@media (max-width: 991px) {
    .login-container { 
        flex-direction: column;
        height: auto; 
        max-height: none;
        margin-top: 60px;
        border-radius: 15px;
    }
    .login-brand { 
        display: none; 
    }
    .login-form-wrapper { 
        padding: 40px 20px; 
    }
    .login-page { 
        padding: 10px; 
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
        display: block;
    }
    .back-home-btn { 
        position: fixed;
        top: 15px; 
        left: 15px; 
        width: calc(100% - 30px);
        justify-content: center;
    }
}
/* New Horizontal Services Cards */
.services-horizontal-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 30px;
    position: relative;
}

.services-horizontal-list::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50px;
    bottom: 50px;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--color-primary), transparent);
    z-index: 0;
    opacity: 0.3;
}

.sh-card {
    display: flex;
    flex-wrap: wrap;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0,0,0,0.04);
}

.sh-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,1);
}

.sh-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.sh-image-col {
    flex: 1;
    min-width: 300px;
    max-width: 40%;
    position: relative;
    min-height: 280px;
    overflow: hidden;
    background: #1a1a1a;
}

.sh-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    opacity: 0.9;
}

.sh-card:hover .sh-image-col img {
    transform: scale(1.05);
    opacity: 1;
}

.sh-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: var(--color-primary);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 2;
}

.sh-content-col {
    flex: 1;
    min-width: 300px;
    padding: 40px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to right, #ffffff, #fdfdfd);
}

.sh-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.5px;
}

.sh-desc {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 500;
    border-left: 3px solid var(--color-primary);
    padding-left: 15px;
}

.sh-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px 15px;
}

.sh-services-list li {
    font-size: 14.5px;
    color: var(--color-text-dark);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
    font-weight: 400;
}

.sh-services-list li i {
    color: var(--color-primary);
    font-size: 18px;
    margin-top: 1px;
}

@media (max-width: 991px) {
    .services-horizontal-list::before { display: none; }
    .sh-image-col { max-width: 100%; min-height: 220px; }
    .sh-content-col { padding: 30px 25px; }
    .sh-title { font-size: 22px; }
}

/* Icon alternative for horizontal card */
.sh-icon-col {
    min-width: 250px;
    max-width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fbff;
    border-right: 1px solid rgba(0,0,0,0.04);
    transition: all 0.4s ease;
}

.sh-card:hover .sh-icon-col {
    background: var(--color-primary);
}

.sh-icon-col i {
    font-size: 90px;
    color: var(--color-primary);
    transition: all 0.4s ease;
}

.sh-card:hover .sh-icon-col i {
    color: #ffffff;
    transform: scale(1.15);
    text-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

@media (max-width: 991px) {
    .sh-icon-col {
        min-width: 100%;
        max-width: 100%;
        min-height: 180px;
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
}

/* Why Us Section */
.why-card {
    background: #fff; 
    padding: 40px 30px; 
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    text-align: center; 
    border-bottom: 3px solid var(--color-primary); 
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.why-card-icon {
    font-size: 45px; 
    color: var(--color-primary); 
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(var(--color-primary), 0.05);
    border-radius: 50%;
}


/* Portfolio Masonry Grid (Proyectos Page) */
.portfolio-masonry {
    column-count: 2;
    column-gap: 20px;
    padding-bottom: 20px;
}

.portfolio-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    background: #fff;
    padding: 8px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.portfolio-img-wrapper {
    overflow: hidden;
    position: relative;
    border-radius: 2px;
}

.portfolio-img-wrapper img {
    width: 100%;
    display: block;
    height: auto;
    transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-img-wrapper img {
    transform: scale(1.05); /* Efecto zoom de cámara */
}

/* Overlay simplificado y neutral según paleta corporativa */
.portfolio-overlay {
    position: absolute;
    top: 5px; left: 5px; right: 5px; bottom: 5px;
    background: rgba(28, 28, 28, 0.5); /* Tono oscuro neutral transparente sin azul */
    color: #fff;
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 2px;
    backdrop-filter: blur(2px);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.p-overlay-icon {
    font-size: 40px;
    color: var(--color-primary); /* Amarillo corporativo jfing */
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s ease;
}
.portfolio-item:hover .p-overlay-icon { transform: translateY(0); opacity: 1; }

.p-overlay-title {
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
    color: #fff;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}
.portfolio-item:hover .p-overlay-title { transform: translateY(0); opacity: 1; }

@media (max-width: 991px) {
    .portfolio-masonry { column-count: 2; column-gap: 15px; }
}

@media (max-width: 575px) {
    .portfolio-masonry { column-count: 1; }
}

/* Estilos para descripciones e información lateral de la obra */
.album-details-sticky {
    position: sticky;
    top: 100px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-top: 4px solid var(--color-primary);
}

.album-meta {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.album-meta li {
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--color-text);
}

.album-meta li strong {
    color: var(--color-dark);
    display: inline-block;
    width: 140px;
}
/* Lightbox Navigation */
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); font-size: 50px; color: #fff; cursor: pointer; transition: 0.3s; padding: 20px; z-index: 1001; }
.lightbox-prev { left: 5%; }
.lightbox-next { right: 5%; }
.lightbox-prev:hover, .lightbox-next:hover { color: var(--color-primary); }
@media (max-width: 768px) { .lightbox-prev { left: 0; padding: 10px; font-size: 40px; } .lightbox-next { right: 0; padding: 10px; font-size: 40px; } }


/* =========================================
   OVERRIDE INTRANET LOGIN (Petición de diseño)
========================================= */
.login-brand {
    background: var(--color-dark) !important; /* Fondo solido de la empresa */
}
.brand-overlay {
    background: transparent !important;
    padding-top: 15% !important; /* Mover el contenido hacia arriba de la mitad */
    justify-content: flex-start !important;
    text-align: center !important; /* Centrar todo */
}
.login-logo {
    max-width: 300px !important; /* Mas grande */
    background: transparent !important; /* Sacar fondo blanco */
    margin: 0 auto 30px auto !important; /* Centrado */
}


/* =========================================
   OVERRIDE INTRANET LOGIN - NUEVO TONO
========================================= */
.login-brand {
    /* Gradiente oscuro radial premium: gris/negro ultra oscuro con un ligerísimo destello corporativo amarillo en la esquina */
    background: radial-gradient(circle at 0% 0%, rgba(254, 203, 0, 0.12) 0%, #171717 35%, #0a0a0a 100%) !important;
}


/* =========================================
   OVERRIDE INTRANET LOGIN - TONO SOLIDO NEGRO CLARO
========================================= */
.login-brand {
    background: #1f1f1f !important; /* Gris asfalto/negro claro mate - corporativo y limpio */
}

/* =========================================
   NUEVA SECCIÓN DE CONFIANZA / NOSOTROS
========================================= */
.trust-section {
    background-color: #ffffff;
    padding: 100px 0;
}

.trust-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.trust-logo-col {
    flex: 0 0 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.trust-logo-watermark {
    max-width: 80%;
    filter: grayscale(0%) opacity(0.8); /* Logo más intenso y a color */
    transition: filter 0.5s ease, transform 0.5s ease;
}

.trust-logo-col:hover .trust-logo-watermark {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.02);
}

.trust-content-col {
    flex: 1;
}

.trust-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-heading);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 20px;
}

.trust-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--color-primary);
}

.trust-text p {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.trust-text p:last-child {
    font-weight: 500;
    color: var(--color-text); /* Destacar el último párrafo */
}

.trust-attributes {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.trust-attr {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-attr i {
    font-size: 24px;
    color: var(--color-primary);
    background: rgba(254, 203, 0, 0.1);
    padding: 8px;
    border-radius: 50%;
}

.trust-attr span {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-heading);
}

.trust-cta-wrap {
    margin-top: 10px;
}

.btn-trust {
    font-size: 15px;
    padding: 14px 28px;
}

@media (max-width: 991px) {
    .trust-layout {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .trust-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .trust-attributes {
        align-items: center;
    }

    .trust-attr {
        justify-content: center;
    }

    .trust-logo-watermark {
        max-width: 60%;
        margin-bottom: 20px;
    }
}
