/* Variables CSS */
:root {
    --computservic-orange: #F37021; /* Naranja Primario (de identidad de marca) */
    --orange-bright: #F5823A; /* Naranja Brillante (derivado de identidad) */
    --orange-deep: #D85F0F; /* Naranja Profundo (mismo que antes, compatible) */
    --orange-soft: #FCD8AC; /* Naranja Suave (mismo que antes, compatible) */
    --electric-blue: #007BFF; /* Azul Eléctrico (mantener, no en identidad) */
    --emerald-green: #28A745; /* Verde Esmeralda (mantener, no en identidad) */
    --pure-white: #FFFFFF; /* Blanco Puro (de identidad de marca) */
    --soft-light-gray: #F5F5F5; /* Gris Claro Suave (de identidad de marca) */
    --warm-medium-gray: #E0E0E0; /* Gris Medio Cálido (mantener, no en identidad) */
    --charcoal-dark-gray: #000000; /* Gris Oscuro Carbón (de identidad de marca) */
    --success-color: #28A745; /* Éxito (Verde) */
    --error-color: #DC3545; /* Error (Rojo) */
    --warning-color: #FFC107; /* Advertencia (Amarillo) */
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%; /* Ensure html takes full height */
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--charcoal-dark-gray);
    background-color: var(--pure-white);
    overflow-x: hidden;
    min-height: 100vh; /* Ensure body takes full viewport height */
    display: flex; /* Enable flexbox */
    flex-direction: column; /* Stack children vertically */
}

main {
    flex-grow: 1; /* Allow main content to expand and push footer down */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--charcoal-dark-gray);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background: var(--computservic-orange);
    color: var(--pure-white);
    padding: 12px 28px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: var(--shadow);
}

.btn:hover {
    background: var(--orange-deep);
    transform: translateY(-3px);
}

.btn-secondary {
    background: var(--pure-white);
    color: var(--charcoal-dark-gray);
    border: 2px solid var(--computservic-orange);
}

.btn-secondary:hover {
    background: var(--computservic-orange);
    color: var(--pure-white);
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--computservic-orange);
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--computservic-orange);
    color: white;
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #000000;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: top 0.3s;
}

.header-container {
    display: flex;
    /* Removed justify-content: center; */
    align-items: center;
    height: 90px;
    position: relative; /* Needed for absolute positioning of children */
}

.logo-img {
    max-height: 80px;
    width: auto;
}

.logo {
    margin-left: auto; /* Center the logo */
    margin-right: auto; /* Center the logo */
    text-align: center;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--pure-white);
    font-weight: 600;
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--computservic-orange);
    transition: width 0.3s;
}

.nav-menu a:hover::after, .nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    position: absolute; /* Position absolutely */
    left: 15px; /* Align to the left, considering container padding */
    top: 50%; /* Vertically center */
    transform: translateY(-50%); /* Adjust for vertical centering */
    z-index: 1001; /* Ensure it's above other header content */
}

.hamburger .line1,
.hamburger .line2,
.hamburger .line3 {
    width: 25px;
    height: 2px;
    background-color: var(--computservic-orange); /* Set to orange */
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* --- Moving Banner Styles --- */
.moving-banner {
    background-color: var(--computservic-orange);
    color: var(--pure-white);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    position: fixed;
    top: 90px; /* Height of the header */
    width: 100%;
    z-index: 999;
}

.moving-banner p {
    margin: 0;
    display: inline-block;
    padding-left: 100%;
    animation: move-text 25s linear infinite;
}

.moving-banner span {
    display: inline-block;
    padding-right: 50px; /* Space between repetitions */
}

@keyframes move-text {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Hero Section */
.hero {
    background: url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--pure-white);
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--pure-white);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons .btn {
    margin: 0 10px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--pure-white);
    padding: 40px;
    text-align: center;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    color: var(--computservic-orange);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.btn-details {
    display: inline-block;
    margin-top: 20px;
    color: var(--computservic-orange);
    text-decoration: none;
    font-weight: 600;
}

/* About Section */
.about {
    background: var(--soft-light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--computservic-orange);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--soft-light-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: var(--pure-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-author {
    font-weight: 700;
    color: var(--computservic-orange);
    text-align: right;
}

/* Blog Section */
.blog {
    background-color: var(--pure-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-post {
    background-color: var(--pure-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.blog-post:hover {
    transform: translateY(-5px);
}

.blog-post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-post-content {
    padding: 25px;
}

.blog-post-category {
    display: inline-block;
    background-color: var(--emerald-green);
    color: var(--pure-white);
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 5px;
    margin-bottom: 15px;
}

.blog-post h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.blog-post p {
    color: #666;
    margin-bottom: 20px;
}

/* Clients Section */
.clients {
    padding: 80px 0;
    background-color: #000000;
}

.clients .section-title h2,
.clients .section-title p {
    color: var(--pure-white);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding-bottom: 60px;
}

.case-study-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    display: flex; /* Usar flexbox para centrar el logo */
    align-items: center; /* Centrar verticalmente */
    justify-content: center; /* Centrar horizontalmente */
    height: 180px; /* Altura fija para todas las tarjetas, ajustada para logos */
    background-color: var(--pure-white); /* Fondo blanco para logos */
}

.case-study-card img {
    max-width: 80%; /* Limitar el ancho del logo */
    max-height: 80%; /* Limitar la altura del logo */
    object-fit: contain; /* Asegura que el logo se ajuste sin recortarse */
    transition: transform 0.3s ease;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: var(--pure-white);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    text-align: center;
}

.case-study-card:hover img {
    transform: scale(1.05);
}

.case-study-card:hover .card-overlay {
    transform: translateY(0);
}

.card-overlay h3 {
    color: var(--pure-white);
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.card-overlay p {
    color: #ccc;
    font-size: 0.9rem;
}

.clients-cta {
    text-align: center;
    background: var(--computservic-orange);
    color: var(--pure-white);
    padding: 40px;
    border-radius: var(--border-radius);
    margin-top: 0;
}

    .clients-cta h3 {
        color: var(--pure-white);
        font-size: 2rem;
        margin-bottom: 15px;
    }

    @media (max-width: 768px) {
        .case-studies-grid {
            grid-template-columns: 1fr;
        }

        .card-overlay {
            position: static;
            background: var(--charcoal-dark-gray);
            transform: translateY(0);
            border-top-left-radius: 0;
            border-top-right-radius: 0;
            text-align: center; /* Centrar el texto del overlay en móvil */
        }

        .case-study-card {
            height: auto; /* Altura automática en móvil para que el contenido se ajuste */
            flex-direction: column; /* Apilar logo y overlay en móvil */
            padding-bottom: 0; /* Eliminar padding extra si el overlay es estático */
        }

        .case-study-card img {
            max-height: 120px; /* Ajustar altura máxima del logo en móvil */
            margin-bottom: 10px; /* Espacio entre logo y texto en móvil */
        }
    }
/* Case Study Detail Page (para clientes y portafolio) */
.case-study-detail {
    padding-top: 120px;
}

.case-study-detail-content {
    max-width: 900px;
    margin: 0 auto;
}

.case-study-image {
    text-align: center;
}

.case-study-image img {
    display: block;
    margin: 0 auto;
    width: 100%; /* Asegura que la imagen ocupe el ancho completo del contenedor */
    height: auto; /* Mantiene la proporción de la imagen */
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.case-study-detail-text h3 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.case-study-detail-text ul {
    list-style-position: inside;
    padding-left: 20px;
}

.case-study-detail-text li {
    margin-bottom: 10px;
}

.testimonial {
    margin: 50px 0;
    background: var(--soft-light-gray);
    padding: 30px;
    border-left: 5px solid var(--computservic-orange);
    border-radius: var(--border-radius);
}

.testimonial blockquote {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial cite {
    font-weight: 600;
    color: var(--computservic-orange);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Paquetes Page */
.packages-hero {
    background-color: var(--soft-light-gray);
    padding: 120px 0;
    text-align: center;
}

.tabs-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.tab-link {
    padding: 10px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--charcoal-dark-gray);
    background-color: transparent;
    border: 2px solid var(--warm-medium-gray);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.tab-link:hover {
    background-color: var(--warm-medium-gray);
    border-color: var(--computservic-orange);
}

.tab-link.active {
    background-color: var(--computservic-orange);
    color: var(--pure-white);
    border-color: var(--computservic-orange);
}

.tab-content {
    display: none;
    padding: 40px 0;
}

.tab-content.active {
    display: block;
}

.package-label {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--electric-blue);
    color: var(--pure-white);
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 5px;
}

.package-card.featured .package-label {
    background-color: var(--emerald-green);
}

    .packages-section {
        padding: 0 0;
    }

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.package-card {
    background: var(--pure-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.package-card.featured {
    border: 2px solid var(--computservic-orange);
    transform: scale(1.05);
}

.package-card h3 {
    color: var(--computservic-orange);
    margin-bottom: 10px;
}

.package-subtitle {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
    min-height: 40px;
}

.package-card ul {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.package-card ul li {
    margin-bottom: 10px;
}

.package-card .btn {
    width: 100%;
    text-align: center;
}

/* Contacto Section */
.contact {
    padding: 80px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--computservic-orange);
    margin-right: 20px;
    width: 40px;
    text-align: center;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--warm-medium-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--computservic-orange);
}

.error-message {
    color: var(--error-color);
    font-size: 0.9rem;
    display: none; /* Oculto por defecto */
    margin-top: 5px;
}

.error-message.visible {
    display: block; /* Visible cuando hay error */
}

/* Footer */
footer {
    background: #000000;
    color: var(--pure-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h4,
.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--pure-white);
}

.footer-about p {
    color: #ccc;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    color: var(--pure-white);
    font-size: 1.2rem;
    margin-right: 15px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--computservic-orange);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    display: flex; /* Make it a flex container */
    align-items: flex-start; /* Align items to the start (top) */
    margin-bottom: 10px;
}

.footer-links li i {
    margin-right: 10px; /* Space between icon and text */
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.footer-links a {
    text-decoration: none;
    color: #ccc;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--pure-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Styles for tienda pages */
body.tienda-page .header-container {
    justify-content: flex-start; /* Align items to the start */
}

body.tienda-page .hamburger {
    display: block; /* Always show hamburger */
    order: -1; /* Move hamburger to the left */
    margin-right: 20px; /* Add some space between hamburger and logo */
}

body.tienda-page .logo {
    flex-grow: 0; /* Remove flex-grow so it doesn't push the nav */
    text-align: left; /* Align logo to the left */
}

body.tienda-page main {
    padding-top: 140px; /* Header (90px) + Banner (~50px) */
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Removed .header-container justify-content: flex-start; */

    .hamburger {
        display: block;
        /* Removed order and margin-right, relying on global absolute positioning */
    }

    /* Removed .logo flex-grow and text-align, relying on global centering */

    .nav-menu {
        display: none; /* Hidden by default on mobile */
        position: fixed; /* Changed to fixed for better overlay */
        top: 90px; /* Ajustado para la nueva altura del header */
        left: -100%; /* Hidden off-screen to the left */
        width: auto; /* Fit content width */
        max-width: 250px; /* Max width to prevent it from getting too wide */
        height: calc(100vh - 90px);
        background: rgba(0, 0, 0, 0.5); /* Changed to semi-transparent black */
        flex-direction: column;
        align-items: flex-start; /* Align items to the start for left alignment */
        padding: 20px; /* Adjusted padding */
        transition: left 0.3s ease;
        box-sizing: border-box; /* Include padding in width calculation */
    }

    .nav-menu.active {
        left: 0; /* Menu slides in from left */
        display: flex; /* Ensure it's displayed as flex when active */
    }

    .nav-menu li {
        margin: 20px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    body.tienda-page .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .tabs-container {
        flex-direction: column;
        gap: 15px;
    }

    .tab-content {
        padding: 20px 0; /* Reduce el padding superior e inferior en móviles */
    }
}

/* Styles for tienda pages - specific overrides */
body.tienda-page .nav-menu {
    display: none; /* Hidden by default on tienda pages */
    position: fixed; /* Ensure it behaves like a mobile menu */
    top: 90px;
    left: -100%; /* Hidden off-screen */
    width: auto; /* Fit content width */
    max-width: 250px; /* Max width to prevent it from getting too wide */
    height: calc(100vh - 90px);
    background: rgba(0, 0, 0, 0.5); /* Changed to semi-transparent black */
    flex-direction: column;
    align-items: flex-start; /* Align items to the start for left alignment */
    padding: 20px; /* Adjusted padding */
    transition: left 0.3s ease;
    z-index: 999;
    box-sizing: border-box; /* Include padding in width calculation */
}

body.tienda-page .nav-menu.active {
    left: 0; /* Show menu when active */
    display: flex; /* Ensure it's displayed as flex when active */
}

body.tienda-page .hamburger {
    display: block; /* Always show hamburger on tienda pages */
    order: -1; /* Move hamburger to the left */
    /* Removed margin-right: 20px; */
}

/* Testimonials Page Styles */
.testimonials-section {
    padding: 120px 0 80px;
}

.testimonial-form-container {
    max-width: 700px;
    margin: 0 auto 60px auto;
    padding: 40px;
    background-color: var(--soft-light-gray);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.testimonial-form-container h2 {
    text-align: center;
    margin-bottom: 30px;
}

.star-rating {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    direction: rtl; /* Para que se iluminen de derecha a izquierda */
}

.star-rating span {
    font-size: 2.5rem;
    color: var(--warm-medium-gray);
    cursor: pointer;
    transition: color 0.2s ease;
}

.star-rating:hover span {
    color: var(--warning-color);
}

.star-rating span:hover ~ span {
    color: var(--warning-color);
}

.star-rating span.selected,
.star-rating span.selected ~ span {
    color: var(--warning-color);
}

.testimonials-display-container h2 {
    text-align: center;
    margin-bottom: 40px;
}

.testimonial-card-display {
    background-color: var(--pure-white);
    border: 1px solid var(--warm-medium-gray);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.testimonial-card-display .author {
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.testimonial-card-display .comment {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
}

.testimonial-card-display .stars {
    color: var(--warning-color);
}

/* Article and Comparison Table Styles */
.article-section {
    padding: 120px 0 80px;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-header h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.article-summary {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
    font-style: italic;
}

.article-content article h2 {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--orange-soft);
    padding-bottom: 10px;
}

.article-content article p,
.article-content article ul {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.article-content article ul {
    list-style-position: inside;
    padding-left: 20px;
}

.article-content article li {
    margin-bottom: 10px;
}

.call-to-action {
    background-color: var(--soft-light-gray);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 50px;
}

.call-to-action h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--warm-medium-gray);
}

.comparison-table thead th {
    background-color: var(--charcoal-dark-gray);
    color: var(--pure-white);
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
}

.comparison-table tbody tr:nth-child(even) {
    background-color: var(--soft-light-gray);
}

.comparison-table tbody tr:hover {
    background-color: var(--orange-soft);
}

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--charcoal-dark-gray);
}

.comparison-table td {
    color: #555;
}

/* --- Shop / Product Grid Styles --- */

.shop-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 15px;
}

.shop-controls .product-count {
    font-weight: 600;
    color: #555;
}

.shop-controls .filter-sort {
    display: flex;
    gap: 20px;
}

.shop-controls .filter-sort select {
    padding: 8px 12px;
    border: 1px solid var(--warm-medium-gray);
    border-radius: var(--border-radius);
    background-color: var(--pure-white);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--pure-white);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.product-card .product-image-container {
    background-color: #f5f5f5;
    padding: 20px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card .product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-card .product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--computservic-orange);
    margin-bottom: 20px;
}

.product-card .btn {
    width: 100%;
}

/* Styles for the new product card links */
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block; /* Ensures the link takes up the full grid cell */
}

/* Styles for Product Detail Pages */
.product-detail-section {
    padding-top: 140px;
    padding-bottom: 80px;
}
.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}
.product-detail-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.product-detail-info h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.product-detail-price {
    font-size: 2rem;
    color: var(--computservic-orange);
    font-weight: 700;
    margin-bottom: 20px;
}
.product-detail-description {
    margin-bottom: 30px;
    line-height: 1.7;
}
.product-detail-info .btn {
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 1.2rem;
}
@media (max-width: 768px) {
    .product-detail-container {
        grid-template-columns: 1fr;
    }
    .product-detail-section {
        padding-top: 120px;
    }
    .product-detail-info h1 {
        font-size: 2rem;
    }
}