/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif !important;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Bootstrap overrides */
.container {
    max-width: 1200px !important;
}

.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

[class*="col-"] {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Títulos con fuente Nunito Sans */
h1, h2, h3, h4, h5, h6,
.hero-title,
.breadcrumb-content h1,
.section-title h2,
.section-header h2,
.company-content h2,
.content-column h2,
.footer-section h3,
.footer-section h4 {
    font-family: 'Nunito Sans', sans-serif;
}

/* Colores corporativos */
:root {
    --primary-red: #C41E3A;
    --dark-red: #A01729;
    --light-red: #E8465F;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --gray: #6C757D;
    --dark-gray: #343A40;
    --border-gray: #E9ECEF;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
    display: block;
}

p {
    margin-bottom: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-bottom: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/hero-bg.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary-red);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: var(--light-gray);
}

/* Main Section */
.main-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.content-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.content-column {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-red);
}

.content-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.content-column h2 {
    color: var(--primary-red);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.content-column p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.footer-section p {
    color: var(--light-gray);
    margin-bottom: 0.5rem;
}

.contact-info i {
    color: var(--primary-red);
    margin-right: 8px;
    width: 16px;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--light-red);
}

/* Enlaces en footer - LinkedIn en blanco */
.footer-section .contact-info a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section .contact-info a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray);
    color: var(--gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .content-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-column {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .main-section {
        padding: 60px 0;
    }

    .content-column {
        padding: 1.5rem;
    }

    .footer {
        padding: 40px 0 20px;
    }
}

/* Animaciones adicionales */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.content-column {
    animation: fadeInUp 0.8s ease-out;
}

.content-column:nth-child(1) {
    animation-delay: 0.2s;
}

.content-column:nth-child(2) {
    animation-delay: 0.4s;
}

.content-column:nth-child(3) {
    animation-delay: 0.6s;
}

/* Efectos de hover profesionales */
.nav-link,
.cta-button,
.content-column,
.footer-links a {
    cursor: pointer;
}

/* Scroll smooth */
html {
    scroll-behavior: smooth;
}

/* Styling para elementos de confianza */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-block: 2rem;
}

.trust-item {
    text-align: center;
    color: var(--white);
    opacity: 0.9;
}

.trust-item i {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.trust-item span:not(.years-experience) {
    display: block;
    font-weight: 500;
}

/* Páginas internas - Breadcrumb Hero */
.breadcrumb-hero {
    background: var(--primary-red);
    color: var(--white);
    padding: 80px 0 80px;
    text-align: center;
}

.breadcrumb-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.breadcrumb-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Company Overview */
.company-overview {
    padding: 80px 0;
    background: var(--white);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-6 {
    width: 50%;
    padding: 0 15px;
}

.section-title {
    margin-bottom: 2rem;
}

.section-title h2 {
    color: var(--primary-red);
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.title-separator {
    width: 60px;
    height: 4px;
    background: var(--primary-red);
    margin-bottom: 1.5rem;
}

.company-description {
    margin-bottom: 2rem;
}

.company-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.company-description strong {
    color: var(--primary-red);
    font-weight: 600;
}

.btn-quality {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-red);
    color: var(--white);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.btn-quality:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
    color: var(--white);
}

.company-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.img-fluid {
    width: 100%;
    height: auto;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 2rem;
}

@media (max-width: 768px) {
    .image-overlay {
        padding: 1rem;
    }
}

.overlay-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.overlay-content p {
    opacity: 0.9;
}

/* Company Stats */
.company-stats {
    padding: 80px 0;
    background: var(--light-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border-top: 4px solid var(--primary-red);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    margin-bottom: 1.5rem;
}

.stat-icon i {
    font-size: 3rem;
    color: var(--primary-red);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 1.1rem;
    color: var(--gray);
    font-weight: 500;
}

/* Company Values */
.company-values {
    padding: 80px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 10px;
    background: var(--light-gray);
    transition: all 0.3s ease;
    border: 1px solid var(--border-gray);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: var(--white);
}

.value-icon {
    margin-bottom: 1.5rem;
}

.value-icon i {
    font-size: 3rem;
    color: var(--primary-red);
}

.value-item h3 {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-item p {
    color: var(--gray);
    line-height: 1.6;
}

/* Active navigation link */
.nav-link.active {
    color: var(--primary-red);
}

.nav-link.active::after {
    width: 100%;
}

/* Página de Servicios */
.text-red {
    color: var(--primary-red);
}

.services-overview {
    padding: 80px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-red);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 3rem;
    color: var(--primary-red);
}

.service-card h3 {
    color: var(--dark-gray);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card > p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features ul {
    list-style: none;
    text-align: left;
    margin: 1rem 0;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    color: var(--gray);
}

.service-features li i {
    color: var(--primary-red);
    margin-right: 10px;
    margin-top: 2px;
    font-size: 0.9rem;
}

/* Service Process */
.service-process {
    padding: 80px 0;
    background: var(--light-gray);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-3px);
}

.step-number {
    background: var(--primary-red);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--dark-gray);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    color: var(--gray);
    line-height: 1.6;
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
    background: var(--white);
}

.why-content h2 {
    color: var(--primary-red);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.why-feature i {
    color: var(--primary-red);
    font-size: 2rem;
    margin-top: 0.5rem;
}

.why-feature h4 {
    color: var(--dark-gray);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.why-feature p {
    color: var(--gray);
    line-height: 1.6;
}

.why-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-content .cta-button {
    background: var(--white);
    color: var(--primary-red);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: inline-block;
}

.cta-content .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: var(--light-gray);
}

/* Responsive Design para páginas internas */
@media (max-width: 768px) {
    .col-lg-6 {
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .breadcrumb-content h1 {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 2rem 1rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .company-overview,
    .company-stats,
    .company-values {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .why-features {
        gap: 1rem;
    }
    
    .why-feature {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .services-overview,
    .service-process,
    .why-choose-us,
    .cta-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .breadcrumb-hero {
        padding: 60px 0 60px;
    }
    
    .breadcrumb-content h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .company-overview,
    .company-stats,
    .company-values {
        padding: 40px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .process-step {
        padding: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .services-overview,
    .service-process,
    .why-choose-us,
    .cta-section {
        padding: 40px 0;
    }
}

/* Página de Contacto */
.contact-info-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 4px solid var(--primary-red);
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    margin-bottom: 1.5rem;
}

.contact-icon i {
    font-size: 3rem;
    color: var(--primary-red);
}

.contact-info-card h3 {
    color: var(--dark-gray);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-info-card p {
    color: var(--gray);
    line-height: 1.6;
}

.contact-info-card a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-card a:hover {
    color: var(--dark-red);
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper h2 {
    color: var(--primary-red);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-form-wrapper p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--dark-gray);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-gray);
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-privacy {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--gray);
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-red);
}

.submit-btn {
    background: var(--primary-red);
    color: var(--white);
    padding: 15px 35px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
}

.submit-btn:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
}

.submit-btn i {
    font-size: 1rem;
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.sidebar-card h3 {
    color: var(--primary-red);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.sidebar-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-feature i {
    color: var(--primary-red);
    font-size: 1.2rem;
}

.sidebar-feature span {
    color: var(--gray);
    font-weight: 500;
}

/* Contact Details Sidebar */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-detail i {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-detail strong {
    color: var(--dark-gray);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-detail p {
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

.contact-detail a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-detail a:hover {
    color: var(--dark-red);
}

.schedule-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.schedule-item {
    color: var(--gray);
    line-height: 1.6;
}

.schedule-item strong {
    color: var(--dark-gray);
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: var(--white);
}

.map-wrapper {
    text-align: center;
}

.map-wrapper h2 {
    color: var(--primary-red);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.map-wrapper p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.map-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--gray);
    font-weight: 500;
}

.map-address i {
    color: var(--primary-red);
    font-size: 1.2rem;
}

/* Form Validation */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
}

.form-group input.success,
.form-group select.success,
.form-group textarea.success {
    border-color: #28a745;
}

/* Responsive Design para página de contacto */
@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info-card {
        padding: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-sidebar {
        margin-top: 2rem;
    }
    
    .sidebar-card {
        padding: 1.5rem;
    }
    
    .contact-form-section,
    .contact-info-section,
    .map-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .contact-form-wrapper h2 {
        font-size: 1.8rem;
    }
    
    .map-wrapper h2 {
        font-size: 1.8rem;
    }
    
    .contact-form-section,
    .contact-info-section,
    .map-section {
        padding: 40px 0;
    }
}

/* Blog Styles */
.blog-section {
    padding: 4rem 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.post-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.post-title a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: var(--primary-red);
}

.post-excerpt {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--dark-red);
    transform: translateX(5px);
}

.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-item {
    margin: 0;
}

.page-link {
    padding: 0.75rem 1rem;
    color: var(--primary-red);
    text-decoration: none;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

.page-item.active .page-link {
    background-color: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

.no-posts {
    text-align: center;
    padding: 4rem 0;
    color: #6c757d;
}

.no-posts-content i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-red);
}

.no-posts-content h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

/* === Single Post Page === */

/* Eliminación de estilos antiguos de Post Hero */
.post-hero, .post-hero-image, .post-hero-overlay, .post-hero-content {
    all: unset;
}

.post-single-page {
    background-color: #fff;
}

.post-header-section {
    padding: 4rem 0 2rem;
    background-color: var(--light-gray);
    text-align: center;
}

.breadcrumb-nav {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.post-title-main {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.post-meta-main {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    color: var(--gray);
    font-size: 0.95rem;
}

.post-meta-main span {
    display: flex;
    align-items: center;
}

.post-meta-main i {
    margin-right: 0.5rem;
    color: var(--primary-red);
}

.post-image-section {
    padding: 2rem 0;
}

.post-content-section {
    padding: 2rem 0 4rem;
}

.post-article {
    background-color: #fff;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.post-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.post-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
    border-radius: 8px;
}

.post-footer {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.post-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #f8f9fa;
    color: var(--primary-red);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #dee2e6;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-share span {
    font-weight: 600;
    color: var(--dark-gray);
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* === Related Posts Section === */
.related-posts {
    padding: 4rem 0;
    background: var(--light-gray);
    border-top: 1px solid var(--border-gray);
}

.related-posts > .container > h3 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.related-post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.related-post-image {
    height: 180px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.related-post-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    flex-grow: 1;
}

.related-post-content h4 a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-content h4 a:hover {
    color: var(--primary-red);
}

.related-post-content p {
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.related-post-date {
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: auto;
}

.back-to-blog {
    text-align: center;
    margin-top: 3rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-red);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: var(--primary-red);
    color: white;
}

@media (max-width: 768px) {
    .post-title-main {
        font-size: 2.2rem;
    }

    .post-header-section {
        padding: 3rem 0 1.5rem;
    }

    .post-meta-main {
        flex-direction: column;
        gap: 0.5rem;
    }
} 

/* === PRODUCTOS PAGES STYLES === */

/* Filtros de Productos */
.products-filters {
    background: var(--light-gray);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-gray);
}

.filters-wrapper {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.filters-form {
    margin-bottom: 1rem;
}

.filters-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-group {
    flex: 1;
    min-width: 250px;
}

.search-input-wrapper {
    position: relative;
}

.search-input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 1.1rem;
}



.search-input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.filter-group {
    min-width: 200px;
}

.category-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-select:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.filter-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-filter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 20px;
    background: var(--primary-red);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-filter:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
}

.btn-clear {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 20px;
    background: var(--gray);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-clear:hover {
    background: var(--dark-gray);
    color: white;
    transform: translateY(-2px);
}

.active-filters {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid var(--border-gray);
}

.filter-label {
    font-weight: 600;
    color: var(--dark-gray);
}

.filter-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.remove-filter {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.remove-filter:hover {
    opacity: 0.8;
    color: white;
}

/* Resultados de Productos */
.products-results {
    padding: 3rem 0;
}

.results-header {
    margin-bottom: 2rem;
}

.results-info h2 {
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.results-count {
    color: var(--gray);
    font-size: 1.1rem;
}

/* Header de Posts */
.posts-header {
    margin-bottom: 2rem;
}

.posts-info h2 {
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.posts-count {
    color: var(--gray);
    font-size: 1.1rem;
}

/* Grid de Productos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(196, 30, 58, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-view {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid white;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-view:hover {
    background: white;
    color: var(--primary-red);
}

.product-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    margin-bottom: 1rem;
}

.category-badge {
    background: var(--primary-red);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

.product-title a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: var(--primary-red);
}

.product-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.product-brand i {
    color: var(--primary-red);
}

.product-excerpt {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    background: var(--primary-red);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.btn-details:hover {
    background: var(--dark-red);
    color: white;
    transform: translateY(-2px);
}

.btn-pdf {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 15px;
    background: var(--gray);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-pdf:hover {
    background: var(--dark-gray);
    color: white;
    transform: translateY(-2px);
}

/* Paginación */
.products-pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-item {
    margin: 0;
}

.page-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 16px;
    background: white;
    color: var(--dark-gray);
    text-decoration: none;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

.page-item.disabled .page-link {
    background: var(--light-gray);
    color: var(--gray);
    cursor: not-allowed;
    border-color: var(--border-gray);
}

/* Sin resultados */
.no-products {
    text-align: center;
    padding: 4rem 0;
}

.no-products-content {
    max-width: 500px;
    margin: 0 auto;
}

.no-products-content i {
    font-size: 4rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.no-products-content h3 {
    font-size: 1.8rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.no-products-content p {
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-back-to-products {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: var(--primary-red);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back-to-products:hover {
    background: var(--dark-red);
    color: white;
    transform: translateY(-2px);
}

/* === PRODUCTO INDIVIDUAL === */

/* Breadcrumb para producto */
.breadcrumb-nav {
    margin-bottom: 1rem;
}

.breadcrumb {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-item a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

.product-subtitle {
    color: var(--white);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Detalle del producto */
.product-detail {
    padding: 3rem 0;
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Galería de imágenes */
.product-gallery {
    position: sticky;
    top: 100px;
}

.gallery-main {
    margin-bottom: 1rem;
}

.main-image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image-wrapper:hover .main-image {
    transform: scale(1.02);
}

.image-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
}

.zoom-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--dark-gray);
}

.zoom-btn:hover {
    background: white;
    transform: scale(1.1);
    color: var(--primary-red);
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail-item.active {
    border-color: var(--primary-red);
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail-item:hover .thumbnail-img {
    transform: scale(1.1);
}

/* Información del producto */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-header {
    border-bottom: 2px solid var(--border-gray);
    padding-bottom: 1.5rem;
}

.product-categories {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.product-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 1.1rem;
}

.product-brand i {
    color: var(--primary-red);
}

.product-description h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.description-content {
    line-height: 1.8;
    color: var(--gray);
    font-size: 1.1rem;
}

.product-actions {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 15px 30px;
    background: var(--primary-red);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--dark-red);
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 15px 30px;
    background: white;
    color: var(--primary-red);
    text-decoration: none;
    border: 2px solid var(--primary-red);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-2px);
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 15px 30px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #128C7E;
    color: white;
    transform: translateY(-2px);
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border: 2px solid var(--border-gray);
    border-radius: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray);
    font-size: 1rem;
}

.meta-item i {
    color: var(--primary-red);
    font-size: 1.2rem;
    width: 20px;
}

/* Productos relacionados */
.related-products {
    padding: 4rem 0;
    background: var(--light-gray);
    border-top: 1px solid var(--border-gray);
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.related-product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.related-product-image {
    height: 200px;
    overflow: hidden;
}

.related-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-product-card:hover .related-product-img {
    transform: scale(1.05);
}

.related-product-content {
    padding: 1.5rem;
}

.related-product-title {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.related-product-title a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-product-title a:hover {
    color: var(--primary-red);
}

.related-product-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.related-product-brand i {
    color: var(--primary-red);
}

.btn-view-related {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-view-related:hover {
    color: var(--dark-red);
    transform: translateX(5px);
}

.related-products-cta {
    text-align: center;
}

/* CTA con múltiples botones */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.cta-whatsapp {
    background: #25D366 !important;
}

.cta-whatsapp:hover {
    background: #128C7E !important;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .filters-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-group {
        min-width: auto;
    }
    
    .filter-actions {
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-gallery {
        position: static;
    }
    
    .main-image {
        height: 300px;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .filters-wrapper {
        padding: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-image {
        height: 200px;
    }
    
    .main-image {
        height: 250px;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .related-products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .results-info h2,
    .posts-info h2 {
        font-size: 2rem;
    }
}

/* === 404 PAGE STYLES === */
.error-404 {
    padding: 4rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.error-icon {
    margin-bottom: 2rem;
}

.error-icon i {
    font-size: 6rem;
    color: var(--primary-red);
    opacity: 0.8;
}

.error-content h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.error-content > p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.error-actions .btn-primary,
.error-actions .btn-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.error-actions .btn-primary {
    background: var(--primary-red);
    color: white;
}

.error-actions .btn-primary:hover {
    background: var(--dark-red);
    color: white;
    transform: translateY(-2px);
}

.error-actions .btn-secondary {
    background: white;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.error-actions .btn-secondary:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-2px);
}

.error-suggestions {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
}

.error-suggestions h3 {
    font-size: 1.3rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.error-suggestions ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.error-suggestions a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.error-suggestions a:hover {
    color: var(--dark-red);
}

@media (max-width: 768px) {
    .error-icon i {
        font-size: 4rem;
    }
    
    .error-content h2 {
        font-size: 2.5rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .error-suggestions ul {
        flex-direction: column;
        gap: 1rem;
    }
} 