/* =========================
        GLOBAL
========================= */

body {
    font-family: 'Manrope', sans-serif;
    color: #111827;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    letter-spacing: -1px;
}

p {
    font-family: 'Manrope', sans-serif;
}

/* =========================
        HEADER
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.custom-navbar {
    min-height: 72px;
    padding: 0;
}

.custom-logo {
    font-size: 30px;
    font-weight: 800;
    color: #0b2c5f;
    letter-spacing: -1px;
}

.custom-logo:hover {
    color: #0b2c5f;
}

.custom-logo-link img {
    width: 180px;
    height: auto;
}

.navbar-nav .nav-link {
    position: relative;
    color: #111827;
    font-size: 15px;
    font-weight: 600;
    padding: 26px 0;
}

.navbar-nav .nav-link:hover {
    color: #0d6efd;
}

.navbar-nav .nav-link:hover {
    color: #0d6efd;
}

.navbar-nav .current-menu-item > .nav-link {
    color: #111827;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 18px;
    width: 0;
    height: 3px;
    background: #0d6efd;
    border-radius: 20px;
    transition: 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.btn-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0d6efd;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 7px;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.25);
}

.btn-header:hover {
    background: #0b5ed7;
    color: #ffffff;
}

@media (max-width: 991px) {
    .custom-navbar {
        padding: 14px 0;
    }

    .custom-logo {
        font-size: 26px;
    }

    .navbar-collapse {
        padding-top: 20px;
    }

    .navbar-nav {
        gap: 0 !important;
    }

    .navbar-nav .nav-link {
        padding: 12px 0;
    }

    .navbar-nav .current-menu-item .nav-link::after,
    .navbar-nav .nav-link.active::after {
        display: none;
    }

    .btn-header {
        margin-top: 15px;
        width: fit-content;
    }
}

/* =========================
            HERO
========================= */

.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
}

.hero-label {
    display: inline-block;
    color: #0d6efd;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 52px;
    line-height: 1.1;
    font-weight: 800;
    color: #0b2c5f;
    margin-bottom: 24px;
}

.hero-text {
    font-size: 18px;
    color: #6b7280;
    max-width: 520px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-secondary-custom {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid #0d6efd;
    color: #0d6efd;
    border-radius: 7px;
    font-weight: 700;
}

.btn-secondary-custom:hover {
    background: #0d6efd;
    color: #ffffff;
}

.hero-image img {
    width: 100%;
    max-height: 460px;
    object-fit: contain;
}

@media (max-width: 991px) {
    .hero {
        padding: 70px 0;
        text-align: center;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        margin-top: 40px;
    }
}

/* =========================
        SERVICIOS
========================= */

.services {
    padding: 100px 0;
    background: #ffffff;
}

.section-heading {
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    color: #0d6efd;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: #0b2c5f;
}

.service-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-icon {
    font-size: 42px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0b2c5f;
}

.service-card p {
    color: #6b7280;
    line-height: 1.7;
}

/* =========================
    EQUIPOS DESTACADOS
========================= */

.products {
    padding: 100px 0;
    background: #f8fbff;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
    height: 100%;
    transition: 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.product-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 28px;
}

.product-badge {
    display: inline-block;
    background: #eaf3ff;
    color: #0d6efd;
    font-size: 14px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.product-content h3 {
    font-size: 28px;
    font-weight: 800;
    color: #0b2c5f;
    margin-bottom: 16px;
}

.product-content p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 22px;
}

.product-specs {
    margin-bottom: 26px;
    padding-left: 0;
    list-style: none;
}

.product-specs li {
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
}

.btn-product {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: #25D366;
    color: #ffffff;
    padding: 14px;
    border-radius: 8px;
    font-weight: 800;
    transition: 0.3s ease;
}

.btn-product:hover {
    background: #1ebe5d;
    color: #ffffff;
}

/* =========================
        SINGLE EQUIPO
========================= */

.single-equipo-page {
    background: #f8fbff;
}

.single-equipo-hero {
    padding: 100px 0;
}

.single-equipo-hero h1 {
    font-size: 52px;
    font-weight: 800;
    color: #0b2c5f;
    margin: 20px 0;
}

.single-equipo-description {
    color: #6b7280;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* ===== GALERÍA ===== */

.product-gallery-wrapper {
    width: 100%;
}

.product-main-image {
    width: 100%;
    height: 560px;
    border-radius: 22px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease, opacity 0.25s ease;
}

.product-main-image:hover img {
    transform: scale(1.05);
}

.product-thumbnails {
    display: flex;
    gap: 14px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.product-thumb {
    width: 120px;
    height: 90px;
    border: 3px solid transparent;
    border-radius: 14px;
    overflow: hidden;
    padding: 0;
    background: #ffffff;
    cursor: pointer;
    transition: 0.25s ease;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease;
}

.product-thumb:hover img {
    transform: scale(1.08);
}

.product-thumb:hover {
    transform: translateY(-3px);
}

.product-thumb.active {
    border-color: #0d6efd;
}

/* ===== ESPECIFICACIONES ===== */

.product-specs {
    margin-bottom: 26px;
    padding-left: 0;
    list-style: none;
}

.product-specs li {
    padding: 14px 0;
    border-bottom: 1px solid #dbe3ec;
    color: #374151;
}

.product-specs strong {
    color: #0b2c5f;
}

/* ===== BOTONES ===== */

.btn-details {
    display: inline-block;
    width: 100%;
    text-align: center;
    border: 2px solid #0d6efd;
    color: #0d6efd;
    padding: 13px;
    border-radius: 8px;
    font-weight: 800;
    margin-top: auto;
    margin-bottom: 12px;
    transition: 0.3s ease;
}
.btn-details:hover {
    background: #0d6efd;
    color: #ffffff;
}

.btn-product {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: #25D366;
    color: #ffffff;
    padding: 14px;
    border-radius: 8px;
    font-weight: 800;
    transition: 0.3s ease;
}

.btn-product:hover {
    background: #1ebe5d;
    color: #ffffff;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 991px) {

    .single-equipo-hero {
        padding: 70px 0;
    }

    .single-equipo-hero h1 {
        font-size: 40px;
    }

    .product-main-image {
        height: 420px;
    }
}

@media (max-width: 576px) {

    .product-main-image {
        height: 320px;
    }

    .product-thumbnails {
        gap: 10px;
    }

    .product-thumb {
        width: calc(50% - 5px);
        height: 90px;
    }
}

/* =========================
        CATÁLOGO
========================= */

.catalog-page {
    background: #f8fbff;
}

.catalog-hero {
    padding: 90px 0 50px;
    text-align: center;
    background: linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
}

.catalog-hero h1 {
    font-size: 52px;
    font-weight: 800;
    color: #0b2c5f;
    margin-bottom: 18px;
}

.catalog-hero p {
    color: #6b7280;
    font-size: 18px;
    max-width: 680px;
    margin: 0 auto;
}

.catalog-products {
    padding: 60px 0 100px;
}

.catalog-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 45px;
}

.filter-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #0b2c5f;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid #dbe3ec;
    transition: 0.3s ease;
}

.filter-link:hover,
.filter-link.active {
    background: #0d6efd;
    color: #ffffff;
    border-color: #0d6efd;
}

.product-content h3 a {
    color: #0b2c5f;
}

.product-content h3 a:hover {
    color: #0d6efd;
}

.catalog-pagination {
    margin-top: 50px;
    text-align: center;
}

.catalog-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.catalog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 8px;
    background: #ffffff;
    color: #0b2c5f;
    font-weight: 700;
    border: 1px solid #dbe3ec;
}

.catalog-pagination .page-numbers.current,
.catalog-pagination .page-numbers:hover {
    background: #0d6efd;
    color: #ffffff;
    border-color: #0d6efd;
}

.catalog-empty {
    text-align: center;
    background: #ffffff;
    padding: 60px 30px;
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}

.catalog-empty h2 {
    color: #0b2c5f;
    margin-bottom: 12px;
}

.catalog-empty p {
    color: #6b7280;
}

/* =========================
        CONTACTO
========================= */

.contact-section {
    padding: 100px 0;
    background: #ffffff;
}

.contact-text {
    color: #6b7280;
    font-size: 18px;
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 28px;
}

.contact-info {
    display: grid;
    gap: 14px;
}

.contact-item {
    background: #f8fbff;
    border: 1px solid #dbe3ec;
    border-radius: 14px;
    padding: 18px 20px;
    color: #374151;
}

.contact-item strong {
    color: #0b2c5f;
    margin-right: 6px;
}

.contact-item a {
    color: #0d6efd;
    font-weight: 700;
}

.contact-card {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    color: #ffffff;
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(13, 110, 253, 0.25);
}

.contact-card h3 {
    font-size: 34px;
    margin-bottom: 16px;
    color: #ffffff;
}

.contact-card p {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    margin-bottom: 28px;
}

.contact-card .btn-product {
    background: #25D366;
}

.contact-card .btn-product:hover {
    background: #1ebe5d;
}

@media (max-width: 991px) {
    .contact-section {
        padding: 70px 0;
    }

    .contact-card {
        padding: 32px;
    }
}

/* =========================
            FOOTER
========================= */

.site-footer {
    background: #0b1220;
    color: #d1d5db;
    padding-top: 80px;
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
}

.footer-logo {
    width: 180px;
    height: auto;
    margin-bottom: 22px;
}

.footer-brand p {
    color: #9ca3af;
    line-height: 1.8;
    max-width: 360px;
}

.footer-column h4 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 24px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 14px;
    color: #9ca3af;
}

.footer-column a {
    color: #9ca3af;
    transition: 0.3s ease;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

@media (max-width: 991px) {

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .site-footer {
        padding-top: 60px;
    }

}
