/* Slide background variants */
.slide-bg-hero-0 {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%), url('../images/portada-comprar-motosierra-online.jpg');
    background-size: cover;
    background-position: center;
}

.slide-bg-hero-1 {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%), url('../images/markus-spiske-MOc9DhYwmDI-unsplash.jpg');
    background-size: cover;
    background-position: center;
}

.slide-bg-hero-2 {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%), url('../images/sven-brandsma-1FaMcK1FLWg-unsplash.jpg');
    background-size: cover;
    background-position: center;
}

.slide-bg-hero-3 {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%), url('../images/daniel-watson-8vBpYpTGo90-unsplash.jpg');
    background-size: cover;
    background-position: center;
}

.slide-bg-hero-4 {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%), url('../images/generador-portatil-honda-eu32i-profesional-bomberos.jpg');
    background-size: cover;
    background-position: center;
}

/* ===== RESET Y VARIABLES ===== */
/* Paleta de colores industrial para maquinaria agrícola */
:root {
    /* Colores principales del logotipo DIMAJARDIN */
    --primary-color: #9ACD32;
    /* Verde lima - Color principal del logo */
    --secondary-color: #32CD32;
    /* Verde hierba - Hover y acentos */
    --dark-color: #556B2F;
    /* Verde oliva - Elementos oscuros */
    --accent-color: #ADFF2F;
    /* Verde claro - Destacados */

    /* Colores industriales complementarios */
    --metal-color: #708090;
    /* Gris metal - Elementos técnicos */
    --earth-color: #8B4513;
    /* Marrón tierra - Acentos naturales */
    --steel-color: #2F4F4F;
    /* Gris acero - Textos técnicos */
    --rust-color: #B7410E;
    /* Naranja óxido - Alertas y destacados */

    /* Colores neutros */
    --light-color: #F8F9FA;
    /* Gris muy claro - Fondos */
    --text-color: #2B2B2B;
    /* Gris oscuro - Textos */
    --gray-color: #6B6B6B;
    /* Gris medio - Textos secundarios */
    --white: #ffffff;
    /* Blanco puro */
    --gray-light: #E8E8E8;
    /* Gris claro - Bordes */

    /* Sombras y efectos industriales */
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.18);
    --shadow-metal: 0 2px 10px rgba(112, 128, 144, 0.3);
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--light-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: var(--transition);
    line-height: 1;
}

.nav-logo-link:hover {
    opacity: 0.8;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: var(--transition);
    display: block;
}

.nav-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    padding: 0;
    line-height: 1;
    transition: var(--transition);
}

@media (max-width: 1200px) and (min-width: 1025px) {
    .nav-logo-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-logo-text {
        font-size: 1.4rem;
    }
}

.nav-tagline {
    font-size: 0.75rem;
    color: var(--gray-color);
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    align-items: center;
    margin-left: 1.5rem;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 10px;
    border-radius: 4px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.btn-contact {
    background: var(--primary-color);
    color: var(--white);
}

.nav-link.btn-contact:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* ===== HERO SECTION PREMIUM ===== */
.hero-premium {
    position: relative;
    height: 100vh;
    margin-top: 80px;
    overflow: hidden;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.carousel-slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    animation: slideInUp 1s ease-out;
}

.slide-badge {
    display: inline-block;
    background: rgba(154, 205, 50, 0.9);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== CONTROLES DEL CARRUSEL ===== */
.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 3;
    pointer-events: none;
}

.carousel-prev,
.carousel-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(154, 205, 50, 0.8);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active,
.indicator:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(112, 128, 144, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 69, 19, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.05) 49%, rgba(255, 255, 255, 0.05) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255, 255, 255, 0.05) 49%, rgba(255, 255, 255, 0.05) 51%, transparent 52%);
    background-size: 30px 30px;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-transform: uppercase;
    font-family: 'Poppins', 'Roboto', sans-serif;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 4;
}

.hero-scroll span {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--white);
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.scroll-icon {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 20px;
    margin: 0 auto;
    position: relative;
}

.scroll-icon::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {

    0%,
    100% {
        top: 10px;
        opacity: 1;
    }

    50% {
        top: 25px;
        opacity: 0.5;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: var(--shadow-metal);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-metal);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: inset 0 0 0 0 var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: inset 0 0 0 0 var(--primary-color), var(--shadow-metal);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* ===== OFERTAS DE TEMPORADA ===== */
.ofertas-temporada {
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 100%);
    padding: 100px 0;
    position: relative;
}

.ofertas-temporada::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(154, 205, 50, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(183, 65, 14, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.ofertas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.ofertas-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    border: 1px dashed var(--gray-light);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--gray-color);
    font-weight: 500;
}

.ofertas-placeholder a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

.oferta-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
    position: relative;
}

.oferta-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.oferta-card.destacada {
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 30px rgba(154, 205, 50, 0.2);
}

.oferta-card.destacada::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 1;
}

.oferta-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--rust-color), #D2691E);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: var(--shadow-metal);
}

.oferta-imagen {
    height: 200px;
    padding: 1.5rem;
    box-sizing: border-box;
    background: var(--white);
    border-radius: 18px;
    border: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.oferta-imagen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.oferta-imagen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 48%, rgba(112, 128, 144, 0.05) 49%, rgba(112, 128, 144, 0.05) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(112, 128, 144, 0.05) 49%, rgba(112, 128, 144, 0.05) 51%, transparent 52%);
    background-size: 25px 25px;
}

.oferta-placeholder {
    font-size: 4rem;
    color: var(--metal-color);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    z-index: 1;
    position: relative;
}

.oferta-content {
    padding: 2rem;
}

.oferta-marca {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.oferta-nombre {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--steel-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.oferta-descripcion {
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.oferta-precios {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.oferta-precio-anterior {
    font-size: 1.1rem;
    color: var(--gray-color);
    text-decoration: line-through;
    font-weight: 500;
    flex-shrink: 1;
    min-width: 0;
}

.oferta-precio-actual {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--rust-color);
    flex-shrink: 1;
    min-width: 0;
}

.oferta-descuento {
    background: var(--rust-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    white-space: nowrap;
}

.oferta-acciones {
    display: flex;
    gap: 0.75rem;
}

.oferta-acciones .btn {
    flex: 1;
    padding: 12px 20px;
    font-size: 0.9rem;
}


/* ===== REVIEWS SECTION (GOOGLE) ===== */
.reviews-section {
    padding: 100px 0;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.reviews-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.google-rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.google-logo {
    height: 24px;
    width: auto;
}

.rating-number {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-color);
}

.rating-stars {
    color: #FFD700;
    /* Google yellow/gold */
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.review-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    text-align: left;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--gray-light);
    /* Fallback */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
    border: 2px solid var(--primary-color);
}

.review-author-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--text-color);
}

.review-author-info span {
    font-size: 0.8rem;
    color: var(--gray-color);
    display: block;
}

.review-stars {
    color: #FFD700;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.review-text {
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    font-style: italic;
}

.review-date {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: #999;
    text-align: right;
}

.google-action {
    text-align: center;
    margin-top: 20px;
}

.btn-google {
    background: var(--white);
    color: #4285F4;
    border: 1px solid #dadce0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.btn-google:hover {
    background: #f8f9fa;
    box-shadow: var(--shadow);
    color: #3367d6;
}

/* ===== STATS SECTION PREMIUM ===== */

.stats {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--steel-color) 100%);
    padding: 80px 0;
    position: relative;
    color: var(--white);
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(154, 205, 50, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(154, 205, 50, 0.05) 0%, transparent 40%);
    z-index: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    /* Glass dark effect */
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.4;
}

/* ===== SECTIONS ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
}

/* ===== SERVICES SECTION ===== */
.services {
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 100%);
    padding: 100px 0;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 48%, rgba(112, 128, 144, 0.02) 49%, rgba(112, 128, 144, 0.02) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(112, 128, 144, 0.02) 49%, rgba(112, 128, 144, 0.02) 51%, transparent 52%);
    background-size: 40px 40px;
    z-index: 0;
}

/* ===== SOLUTIONS SECTION (Formerly Services) ===== */
.services {
    background: var(--white);
    padding: 100px 0;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary-color);
    transition: height 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(154, 205, 50, 0.3);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(154, 205, 50, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--steel-color);
    font-weight: 700;
}

.service-card p {
    color: var(--gray-color);
    margin-bottom: 2rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-link {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.service-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.service-link:hover::after {
    transform: translateX(5px);
}

/* ===== BRANDS SECTION PREMIUM ===== */
.brands {
    background: #fafafa;
    padding: 100px 0;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.brand-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(154, 205, 50, 0.2);
}

.brand-logo {
    margin-bottom: 2rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.brand-logo img {
    max-width: 160px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.4s ease;
}

.brand-card:hover .brand-logo img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

.brand-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 800;
    letter-spacing: 1px;
}

.brand-card p {
    color: var(--gray-color);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.brand-card .btn-outline {
    background: transparent;
    border: 1px solid var(--gray-light);
    color: var(--steel-color);
    padding: 10px 24px;
    font-size: 0.85rem;
    border-radius: 30px;
    width: auto;
    min-width: 140px;
}

.brand-card:hover .btn-outline {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(154, 205, 50, 0.3);
}

/* ===== FEATURED PRODUCTS ===== */
.featured-products {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-color) 100%);
    padding: 100px 0;
    position: relative;
}

.featured-products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(139, 69, 19, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(112, 128, 144, 0.03) 0%, transparent 50%);
    z-index: 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
    align-items: start;
}

.products-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    border: 1px dashed var(--gray-light);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--gray-color);
    font-weight: 500;
}

.products-placeholder a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--gray-light);
    display: flex;
    flex-direction: column;
}

.product-card.expanded {
    height: auto;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 1;
}

.product-card.expanded::before {
    height: 4px;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--rust-color), #D2691E);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: var(--shadow-metal);
}

.product-image {
    height: 260px;
    padding: 1.5rem;
    box-sizing: border-box;
    background: var(--white);
    border-radius: 18px;
    border: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

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

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 48%, rgba(112, 128, 144, 0.05) 49%, rgba(112, 128, 144, 0.05) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(112, 128, 144, 0.05) 49%, rgba(112, 128, 144, 0.05) 51%, transparent 52%);
    background-size: 20px 20px;
}

.product-placeholder {
    font-size: 5.5rem;
    color: var(--metal-color);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    z-index: 1;
    position: relative;
}

.product-content {
    padding: 2.5rem;
    position: relative;
}

.product-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--steel-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-category {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-description-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

.product-description {
    color: var(--gray-color);
    line-height: 1.7;
    margin: 0;
    overflow: hidden;
    transition: height 0.4s ease;
}

.product-description.is-transitioning {
    will-change: height;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.product-description-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease;
}

.product-description-toggle:hover,
.product-description-toggle:focus-visible {
    color: var(--secondary-color);
    outline: none;
}

/* ===== WORKSHOP SECTION PREMIUM ===== */
.workshop-premium {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-color) 100%);
    padding: 100px 0;
    position: relative;
}

.workshop-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(154, 205, 50, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(112, 128, 144, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.workshop-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.workshop-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

/* ===== ESTADÍSTICAS DEL TALLER ===== */
.workshop-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.workshop-stats .stat-item {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.workshop-stats .stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.workshop-stats .stat-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.workshop-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.workshop-stats .stat-label {
    font-size: 0.9rem;
    color: var(--steel-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== SERVICIOS DEL TALLER ===== */
.workshop-services h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--steel-color);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    flex-shrink: 0;
}

.service-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--steel-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-content p {
    color: var(--gray-color);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 0.3rem 0;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
}

/* ===== GARANTÍAS DEL TALLER ===== */
.workshop-guarantees {
    margin-top: 4rem;
    margin-bottom: 3rem;
    position: relative;
}

.guarantees-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.workshop-guarantees h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--steel-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.workshop-guarantees h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.guarantees-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    font-weight: 500;
    margin-top: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.guarantee-item {
    background: var(--white);
    padding: 2.5rem 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(154, 205, 50, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    min-height: 180px;
}

.guarantee-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.guarantee-item:hover::before {
    transform: scaleX(1);
}

.guarantee-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(154, 205, 50, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.guarantee-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.guarantee-item:hover::after {
    opacity: 1;
}

.guarantee-icon-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    min-width: 120px;
}

.guarantee-icon {
    font-size: 3.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
    display: block;
}

.guarantee-item:hover .guarantee-icon {
    transform: scale(1.1) rotate(5deg);
}

.guarantee-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(154, 205, 50, 0.1);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(154, 205, 50, 0.3);
    transition: all 0.3s ease;
}

.guarantee-item:hover .guarantee-badge {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.guarantee-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.guarantee-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--steel-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.guarantee-content p {
    color: var(--gray-color);
    line-height: 1.8;
    font-weight: 400;
    font-size: 1rem;
    margin: 0;
    flex: 1;
    max-width: 100%;
}

/* ===== CALL TO ACTION DEL TALLER ===== */
.workshop-cta {
    background: linear-gradient(135deg, var(--dark-color), var(--steel-color));
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
}

.workshop-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(154, 205, 50, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.workshop-cta h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.workshop-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* ===== GALERÍA DE TRABAJOS ===== */
.workshop-gallery h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--steel-color);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
}

.gallery-item.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12), 0 6px 8px rgba(0, 0, 0, 0.06);
}

/* ===== TARJETAS DE TRABAJOS ===== */
.work-card-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 3rem;
    min-height: 380px;
    overflow: hidden;
}

.work-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 10;
}

.work-icon-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 2rem auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-icon {
    font-size: 5rem;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
    transition: all 0.4s ease;
}

.gallery-item:hover .work-icon {
    transform: scale(1.05);
}

.work-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.work-card-body h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 1.5rem 0 1rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.work-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 400;
    text-align: left;
}

.work-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.work-features li {
    padding: 0.6rem 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding-left: 1.8rem;
    line-height: 1.6;
}

.work-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    font-size: 1.1rem;
}

/* ===== ESTILOS POR TIPO DE TARJETA ===== */
.work-card-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.work-card-primary .work-badge {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.work-card-secondary {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--steel-color) 100%);
    color: var(--white);
}

.work-card-secondary .work-badge {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* ===== TESTIMONIAL ===== */
.verified-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    /* Dark green */
    background: rgba(34, 139, 34, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 4px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(34, 139, 34, 0.2);
}

.review-text strong {
    color: var(--dark-color);
    font-weight: 700;
}

.gallery-testimonial {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
    position: relative;
    overflow: hidden;
}

.gallery-testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-quote {
    font-size: 4rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: var(--gray-color);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--steel-color);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-info span {
    color: var(--gray-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.testimonial-rating {
    font-size: 1.2rem;
    color: #FFD700;
}

/* ===== MARCAS QUE REPARAMOS ===== */
.workshop-brands {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
    position: relative;
    z-index: 1;
}

.workshop-brands h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--steel-color);
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.brand-item {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
    position: relative;
    overflow: hidden;
}

.brand-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.brand-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.brand-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--steel-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brand-status {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brand-item:nth-child(-n+4) .brand-status {
    background: var(--primary-color);
    color: var(--white);
}

.brand-item:nth-child(n+5) .brand-status {
    background: var(--metal-color);
    color: var(--white);
}

.workshop::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 48%, rgba(112, 128, 144, 0.02) 49%, rgba(112, 128, 144, 0.02) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(112, 128, 144, 0.02) 49%, rgba(112, 128, 144, 0.02) 51%, transparent 52%);
    background-size: 60px 60px;
    z-index: 0;
}

.workshop-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.workshop-subtitle {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.workshop-text p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
    line-height: 1.7;
}

.workshop-list {
    list-style: none;
    margin-bottom: 2rem;
}

.workshop-list li {
    padding: 0.8rem 0;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding-left: 2rem;
}

.workshop-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.workshop-highlight {
    background: linear-gradient(135deg, var(--light-color), var(--white));
    padding: 2rem;
    border-radius: 12px;
    border-left: 6px solid var(--primary-color);
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    position: relative;
}

.workshop-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(154, 205, 50, 0.05) 0%, transparent 50%);
    border-radius: 12px;
    z-index: 0;
}

.workshop-highlight p {
    position: relative;
    z-index: 1;
    margin: 0;
    font-weight: 500;
}

.workshop-image {
    height: 500px;
    position: relative;
}

.workshop-placeholder {
    height: 100%;
    background: linear-gradient(135deg, #9ACD32, #32CD32);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.workshop-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.1) 49%, rgba(255, 255, 255, 0.1) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255, 255, 255, 0.1) 49%, rgba(255, 255, 255, 0.1) 51%, transparent 52%);
    background-size: 40px 40px;
}

.placeholder-icon {
    font-size: 5.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    z-index: 1;
    position: relative;
}

.workshop-placeholder p {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
    position: relative;
}

/* ===== GUIDE SECTION ===== */
.guide {
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 100%);
    padding: 80px 0;
    position: relative;
}

.guide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(154, 205, 50, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(112, 128, 144, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.guide-card {
    background: var(--white);
    padding: 3.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
    border: 1px solid var(--gray-light);
}

.guide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.guide-icon {
    font-size: 4.5rem;
    color: var(--metal-color);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.guide-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--steel-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.guide-content p {
    color: var(--gray-color);
    line-height: 1.7;
}

/* ===== BLOG SECTION ===== */
.blog-section {
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 100%);
    padding: 100px 0;
    position: relative;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(154, 205, 50, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(112, 128, 144, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
    position: relative;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-card.destacado {
    grid-column: span 2;
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 30px rgba(154, 205, 50, 0.2);
}

.blog-card.destacado::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 1;
}

.blog-imagen {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--light-color), var(--white));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blog-card.destacado .blog-imagen {
    height: 300px;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-placeholder {
    font-size: 4rem;
    color: var(--metal-color);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: var(--transition);
}

.blog-card.destacado .blog-placeholder {
    font-size: 6rem;
}

.blog-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--rust-color), #D2691E);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: var(--shadow-metal);
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.blog-categoria {
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-fecha {
    color: var(--gray-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.blog-titulo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--steel-color);
    margin-bottom: 1rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card.destacado .blog-titulo {
    font-size: 1.6rem;
}

.blog-resumen {
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.blog-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--gray-color);
    font-weight: 500;
}

.blog-tiempo,
.blog-vistas {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ===== NEWSLETTER CTA ===== */
.blog-cta {
    background: linear-gradient(135deg, var(--dark-color), var(--steel-color));
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.blog-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(154, 205, 50, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.blog-cta h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.blog-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.newsletter-container {
    max-width: 420px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.2);
}

.newsletter-form .btn {
    padding: 12px 24px;
    font-size: 1rem;
    white-space: nowrap;
}

.newsletter-form.is-loading .btn {
    pointer-events: none;
    opacity: 0.7;
}

.newsletter-feedback {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.3;
    min-height: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
}

.newsletter-feedback.success {
    color: var(--accent-color);
}

.newsletter-feedback.error {
    color: #ff6b6b;
}

.newsletter-feedback.info {
    color: rgba(255, 255, 255, 0.75);
}

.contact-feedback {
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.4;
    min-height: 1.2rem;
    color: var(--gray-color);
}

.contact-feedback.success {
    color: var(--secondary-color);
}

.contact-feedback.error {
    color: #e74c3c;
}

.lead-form .form-group {
    position: relative;
}

.lead-form .contact-field-error {
    display: none;
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 6px;
}

.lead-form .contact-field-error.active {
    display: block;
}

.lead-form .form-group.field-invalid input,
.lead-form .form-group.field-invalid textarea,
.lead-form .form-group.field-invalid select {
    border-color: #e74c3c;
}

.contact-form .form-group {
    position: relative;
}

.contact-field-error {
    display: none;
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 6px;
}

.contact-field-error.active {
    display: block;
}

.contact-form .form-group.field-invalid input,
.contact-form .form-group.field-invalid textarea,
.contact-form .form-group.field-invalid select {
    border-color: #e74c3c;
}

.newsletter-preferences-page {
    background: linear-gradient(135deg, #1f3520, #0f2011);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

.newsletter-preferences {
    width: 100%;
}

.preferences-header {
    text-align: center;
    color: #ffffff;
    margin-bottom: 32px;
}

.preferences-header h1 {
    font-size: 2.2rem;
    margin: 16px 0 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.preferences-header p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
}

.preferences-logo img {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.preferences-card {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 32px;
    max-width: 580px;
    margin: 0 auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.preferences-form .form-group {
    margin-bottom: 20px;
}

.preferences-form label {
    display: block;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.preferences-form input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.preferences-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.preferences-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.12);
}

.form-options {
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    color: #ffffff;
    margin-bottom: 24px;
}

.form-options legend {
    padding: 0 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.option-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.option-item+.option-item {
    margin-top: 8px;
}

.option-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.option-item input[type="radio"] {
    margin-top: 4px;
    accent-color: var(--accent-color);
}

.option-item span {
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

.option-item strong {
    font-size: 1rem;
}

.option-item small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.preferences-submit {
    width: 100%;
    padding: 14px 18px;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    border-radius: 10px;
}

.preferences-card .newsletter-feedback {
    margin-top: 18px;
    text-align: center;
}

.preferences-card .newsletter-feedback.success {
    color: var(--accent-color);
}

.preferences-card .newsletter-feedback.error {
    color: #ff6b6b;
}

.preferences-card .newsletter-feedback.info {
    color: rgba(255, 255, 255, 0.75);
}

.preferences-help {
    text-align: center;
    margin-top: 32px;
    color: rgba(255, 255, 255, 0.8);
}

.preferences-help a {
    color: var(--accent-color);
    font-weight: 600;
}

@media (max-width: 640px) {
    .preferences-card {
        padding: 24px;
    }

    .preferences-header h1 {
        font-size: 1.8rem;
    }

    .option-item {
        align-items: flex-start;
    }
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 100px 0;
    background: var(--white);
}

.about-intro {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
    color: var(--gray-color);
    font-size: 1.05rem;
}

.about-intro p+p {
    margin-top: 16px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.about-card {
    background: var(--light-color);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.about-card h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
}

.team-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-list li {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 12px;
    padding: 12px 16px;
    border: 1px solid rgba(85, 107, 47, 0.15);
}

.team-role {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.team-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.team-note {
    font-size: 0.95rem;
    color: var(--gray-color);
}

.about-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.98rem;
    color: var(--gray-color);
}

.about-list li::before {
    content: '•';
    color: var(--secondary-color);
    margin-right: 8px;
    font-size: 1.4rem;
    vertical-align: middle;
}

.highlight-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.highlight-list li {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    background: rgba(154, 205, 50, 0.1);
    border: 1px solid rgba(154, 205, 50, 0.3);
    border-radius: 14px;
    padding: 16px;
}

.highlight-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.highlight-list h4 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 6px;
}

.highlight-list p {
    color: var(--gray-color);
    font-size: 0.95rem;
}

#formacion-continua-item {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.about-cta {
    background: linear-gradient(135deg, rgba(154, 205, 50, 0.15), rgba(50, 205, 50, 0.2));
    border-radius: 18px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: var(--shadow);
}

.about-cta h3 {
    font-size: 1.6rem;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.about-cta p {
    color: var(--gray-color);
    max-width: 580px;
}

.about-cta .btn {
    flex-shrink: 0;
}

/* ===== LEAD GENERATION SECTION ===== */
.lead-generation {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--steel-color) 100%);
    padding: 100px 0;
    position: relative;
    color: var(--white);
}

.lead-generation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(154, 205, 50, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(112, 128, 144, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.lead-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.lead-info .section-title {
    color: var(--white);
    margin-bottom: 1rem;
}

.lead-info .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

.lead-benefits {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(154, 205, 50, 0.2);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    flex-shrink: 0;
}

.benefit-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.benefit-content p {
    color: var(--gray-color);
    line-height: 1.6;
    font-weight: 500;
}

.lead-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.lead-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.lead-form h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--steel-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-group {
    margin-bottom: 2rem;
}

.checkbox-label {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--text-color);
    font-weight: 600;
    text-transform: uppercase;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    top: 50%;
    left: 0;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(0, 0, 0, 0.35);
    border-radius: 6px;
    position: relative;
    flex-shrink: 0;
    background: linear-gradient(145deg, #f9f9f9 0%, #e6e6e6 100%);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.checkbox-label input[type="checkbox"]:checked+.checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked+.checkmark::after {
    content: '✓';
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
}

.checkbox-label input[type="checkbox"]:focus-visible+.checkmark,
.checkbox-label input[type="checkbox"]:focus+.checkmark {
    outline: 2px solid rgba(50, 205, 50, 0.4);
    outline-offset: 2px;
}

.checkbox-label:hover .checkmark {
    border-color: var(--primary-color);
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: var(--secondary-color);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-color) 100%);
    padding: 100px 0;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 48%, rgba(112, 128, 144, 0.02) 49%, rgba(112, 128, 144, 0.02) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(112, 128, 144, 0.02) 49%, rgba(112, 128, 144, 0.02) 51%, transparent 52%);
    background-size: 50px 50px;
    z-index: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--steel-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--steel-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item p {
    color: var(--gray-color);
    font-weight: 500;
}

.contact-item a {
    color: var(--primary-color);
    transition: var(--transition);
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

/* ===== CONTACT FORM ===== */
.contact-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-light);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--steel-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--steel-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    font-weight: 500;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(154, 205, 50, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--steel-color) 100%);
    color: var(--white);
    padding: 80px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.02) 49%, rgba(255, 255, 255, 0.02) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255, 255, 255, 0.02) 49%, rgba(255, 255, 255, 0.02) 51%, transparent 52%);
    background-size: 30px 30px;
    z-index: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-weight: 500;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    font-weight: 500;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin: 0.5rem 0;
    font-weight: 500;
}

/* ===== FOOTER ALTERNATIVO PARA BLOG ===== */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-section {
    position: relative;
}

.footer-section .footer-logo {
    margin-bottom: 1.5rem;
}

.footer-section .footer-logo .logo-img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-weight: 500;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    font-weight: 500;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

/* Responsive para footer alternativo */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section {
        padding: 1rem 0;
    }
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    font-weight: 700;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transform: translateY(-8px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 0;
        margin-left: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        display: block;
        padding: 1rem;
        width: 100%;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-card {
        padding: 24px;
    }

    .about-cta {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .about-cta .btn {
        width: 100%;
        max-width: 320px;
    }

    .workshop-content,
    .contact-grid,
    .lead-content,
    .workshop-layout {
        grid-template-columns: 1fr;
    }

    .workshop-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .guarantees-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
    }

    .workshop-guarantees h3 {
        font-size: 1.75rem;
    }

    .guarantees-subtitle {
        font-size: 1.05rem;
    }

    .guarantee-item {
        padding: 2rem 2.5rem;
        min-height: auto;
        gap: 2rem;
    }

    .guarantee-icon-wrapper {
        min-width: 100px;
    }

    .guarantee-icon {
        font-size: 3rem;
    }

    .guarantee-content h4 {
        font-size: 1.2rem;
    }

    .gallery-grid {
        gap: 1.25rem;
    }

    .work-card-content {
        min-height: 350px;
        padding: 2.5rem;
    }

    .work-icon-wrapper {
        width: 120px;
        height: 120px;
        margin: 1.5rem auto 1.5rem;
    }

    .work-icon {
        font-size: 4rem;
    }

    .work-card-body h4 {
        font-size: 1.3rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .guide-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .blog-card.destacado {
        grid-column: span 1;
    }

    .newsletter-container {
        max-width: 320px;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        max-width: 100%;
        align-items: stretch;
    }

    .ofertas-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .carousel-controls {
        padding: 0 1rem;
    }

    .carousel-prev,
    .carousel-next {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    /* Evitar que el texto del hero se superponga con los botones del carrusel en tablet */
    .slide-content {
        padding-left: 80px;
        padding-right: 80px;
        max-width: calc(100% - 160px);
    }
}

@media (max-width: 640px) {

    /* Eliminar completamente el espacio entre navbar y hero */
    body {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    html {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .navbar {
        box-shadow: none !important;
        z-index: 1000;
        height: 80px !important;
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: none !important;
    }

    .navbar.scrolled {
        box-shadow: var(--shadow-lg) !important;
    }

    .nav-container {
        height: 80px !important;
        margin: 0 !important;
        padding: 0 20px !important;
    }

    /* Hero empieza exactamente donde termina el navbar - SIN ESPACIOS */
    .hero-premium {
        height: 100vh !important;
        margin-top: 0 !important;
        padding-top: 80px !important;
        padding-bottom: 0 !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1;
        overflow: hidden;
        box-sizing: border-box;
    }

    /* Asegurar que el carousel ocupe todo el espacio sin espacios */
    .hero-premium .hero-carousel {
        height: 100% !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        position: relative;
    }

    /* El slide-bg debe empezar desde arriba sin espacios */
    .hero-premium .slide-bg {
        top: 0 !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Asegurar que la siguiente sección tenga espacio */
    .about-section {
        margin-top: 0;
        padding-top: 0;
        position: relative;
        z-index: 2;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 1.1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 2rem 1rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .about-section {
        padding: 80px 0;
    }

    .about-intro {
        font-size: 1rem;
    }

    .highlight-list li {
        grid-template-columns: 48px 1fr;
        padding: 14px;
    }

    .highlight-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .nav-container {
        height: 70px;
        padding: 0 15px;
    }

    .nav-logo-text {
        font-size: 1.5rem;
    }

    .logo-img {
        height: 40px;
        max-width: 150px;
    }

    .container {
        padding: 0 15px;
    }

    .ofertas-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .oferta-card {
        margin: 0;
    }

    .oferta-acciones {
        flex-direction: column;
        gap: 0.5rem;
    }

    .oferta-acciones .btn {
        width: 100%;
    }

    .lead-form-container {
        padding: 1.5rem;
        margin: 1rem;
    }

    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }

    .carousel-controls {
        display: none;
    }

    .carousel-indicators {
        bottom: 20px;
    }

    .hero-scroll {
        bottom: 70px;
    }

    .workshop-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-grid {
        gap: 1rem;
    }

    .work-card-content {
        min-height: 300px;
        padding: 2rem 1.5rem;
    }

    .work-icon-wrapper {
        width: 100px;
        height: 100px;
        margin: 1.5rem auto 1rem;
    }

    .work-icon {
        font-size: 3.5rem;
    }

    .work-card-body h4 {
        font-size: 1.2rem;
        margin: 1rem 0 0.75rem;
    }

    .work-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .work-features li {
        font-size: 0.85rem;
        padding: 0.5rem 0;
    }

    .brands {
        padding: 60px 0;
        /* Reducir padding vertical en móviles */
    }

    .brands-grid {
        grid-template-columns: 1fr;
        /* Cambiar a 1 columna en móviles */
        gap: 1rem;
    }

    .brand-card {
        padding: 1.5rem;
        margin: 0;
        /* Asegurar que no haya margin adicional */
    }

    .brand-logo {
        height: 100px;
        /* Reducir altura del logo en móvil */
    }

    .brand-logo img {
        max-width: 120px;
        /* Reducir tamaño máximo del logo */
    }

    .service-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .testimonial-author {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blog-card.destacado {
        grid-column: span 1;
    }

    .blog-card.destacado .blog-imagen {
        height: 200px;
    }

    .blog-card.destacado .blog-placeholder {
        font-size: 4rem;
    }

    .newsletter-container {
        max-width: 100%;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        max-width: 100%;
        gap: 1rem;
    }

    .newsletter-input {
        width: 100%;
        padding: 12px 16px;
    }

    /* Mejoras específicas para formularios móviles */
    .form-group {
        margin-bottom: 1rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 16px;
        font-size: 16px;
        /* Previene zoom en iOS */
        border-radius: 8px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Mejoras para el footer móvil */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-col {
        padding: 1rem 0;
    }

    /* Mejoras para contacto móvil */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-item {
        padding: 1rem;
        text-align: center;
    }

    /* Mejoras para servicios móviles */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
        text-align: center;
    }

    /* Mejoras para productos destacados móviles */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-card {
        padding: 1rem;
    }

    /* Mejoras para el taller móvil */
    .workshop-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .workshop-services {
        padding: 1rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .workshop-guarantees {
        margin-top: 2.5rem;
        margin-bottom: 2rem;
    }

    .guarantees-header {
        margin-bottom: 2.5rem;
    }

    .workshop-guarantees h3 {
        font-size: 1.5rem;
    }

    .guarantees-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .guarantees-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
    }

    .guarantee-item {
        padding: 2rem 1.5rem;
        min-height: auto;
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .guarantee-icon {
        font-size: 3.5rem;
    }

    .guarantee-icon-wrapper {
        margin-bottom: 0;
        min-width: auto;
    }

    .guarantee-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.7rem;
    }

    .guarantee-content {
        text-align: center;
    }

    .guarantee-content h4 {
        font-size: 1.15rem;
        margin-bottom: 1rem;
    }

    .guarantee-content p {
        font-size: 0.95rem;
    }

    /* Mejoras para el carrusel móvil */
    .slide-content {
        padding: 2rem 1rem;
        text-align: center;
    }

    .slide-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1rem;
    }

    /* Mejoras para el botón back to top */
    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
    }

    /* Mejoras para el menú móvil */
    .nav-menu {
        top: 70px;
        padding: 1rem 0;
    }

    .nav-link {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Mejoras para el header de tienda móvil */
    .tienda-header {
        padding: 40px 0 30px;
    }

    .tienda-title {
        font-size: 2rem;
    }

    .tienda-subtitle {
        font-size: 1rem;
    }
}

/* ===== ESTILOS PARA PÁGINAS DE BLOG ===== */

/* Article Header */
.article-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/Dimajardin-foto-Jardin_Perfecto.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 120px 0 60px 0;
    margin-top: 80px;
    /* Espacio para navbar fijo */
}

/* Estilo específico para la página de Guía de Poda */
.article-header-poda {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/consejos/poda-arboles-profesional-dimajardin.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Estilo específico para la página de Casos Reales en Taller */
.article-header-taller {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/consejos/casos-reales-taller-dimajardin.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.article-header .container {
    text-align: center;
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.article-category {
    background: var(--white);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.article-date {
    color: var(--white);
    opacity: 0.9;
    font-size: 14px;
}

.article-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.article-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Article Content */
.article-content {
    padding: 60px 0;
    background: var(--white);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.main-content {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.article-image {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.image-placeholder {
    opacity: 0.6;
}

.article-body {
    padding: 40px;
}

.article-body h2 {
    color: var(--dark-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.article-body h3 {
    color: var(--dark-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 30px 0 15px 0;
}

.article-body p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text-color);
}

.article-body ul,
.article-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Tip Boxes */
.tip-box,
.warning-box,
.guarantee-box {
    background: var(--light-color);
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.warning-box {
    border-left-color: var(--rust-color);
    background: #FFF5F5;
}

.guarantee-box {
    border-left-color: var(--secondary-color);
    background: #F0FFF0;
}

.tip-box h3,
.warning-box h3,
.guarantee-box h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Maintenance Lists */
.maintenance-list,
.tools-list,
.benefits-list {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.maintenance-item,
.tool-item,
.benefit-item {
    background: var(--light-color);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--gray-light);
}

.maintenance-item h3,
.tool-item h3,
.benefit-item h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.tool-card {
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: var(--transition);
}

.tool-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tool-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Process Steps */
.process-steps,
.process-grid {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.process-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.step,
.process-step {
    background: var(--light-color);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.step h3,
.process-step h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Case Studies */
.case-study {
    background: var(--light-color);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    border: 1px solid var(--gray-light);
}

.case-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
}

.case-header h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.case-solution h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Season Guide */
.season-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.season-item {
    background: var(--light-color);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--gray-light);
}

.season-item h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
}

.cta-section h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--white);
    border: none;
}

.cta-section p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-section .btn {
    margin: 0 10px;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
}

.related-articles,
.contact-info {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.related-articles h3,
.contact-info h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--dark-color);
    font-size: 1.3rem;
}

.related-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-light);
}

.related-item:last-child {
    border-bottom: none;
}

.related-item h4 {
    margin-bottom: 8px;
}

.related-item a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.related-item a:hover {
    color: var(--primary-color);
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.contact-buttons .btn {
    text-align: center;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 968px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sidebar {
        position: static;
    }

    .article-title {
        font-size: 2.5rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .season-guide {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .article-header {
        padding: 100px 0 40px 0;
        margin-top: 70px;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-subtitle {
        font-size: 1rem;
    }

    .article-body {
        padding: 25px;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
    }

    .cta-section {
        padding: 25px;
    }

    .cta-section .btn {
        display: block;
        margin: 10px 0;
        width: 100%;
    }
}

@media print {

    .navbar,
    .nav-toggle,
    .back-to-top,
    .hero-scroll {
        display: none;
    }
}

/* ===== LEGAL PAGES ===== */
.legal-updated-note {
    margin-top: 20px;
    color: #6B6B6B;
}

.cookie-legal-table {
    width: 100%;
    border-collapse: collapse;
}

.cookie-legal-table th,
.cookie-legal-table td {
    text-align: left;
    border-bottom: 1px solid #ddd;
    padding: 8px;
}

/* ===== COOKIES (BANNER Y MODAL) ===== */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-light);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    z-index: 99999;
}

.cookie-banner__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-banner__content p a {
    color: var(--primary-color);
    text-decoration: underline;
}

@media (max-width: 640px) {
    .cookie-banner__actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .cookie-banner__actions .btn {
        width: 100%;
        margin: 0;
        text-align: center;
        justify-content: center;
    }
}

/* Asegurar contraste del botón Rechazar en banner (fondo claro) */
.cookie-banner .btn-secondary {
    color: var(--text-color);
    border-color: var(--gray-light);
    background: transparent;
}

.cookie-banner .btn-secondary:hover {
    background: var(--light-color);
    color: var(--text-color);
    border-color: var(--primary-color);
}

.cookie-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
}

.cookie-modal[hidden],
.cookie-banner[hidden] {
    display: none !important;
}

.cookie-modal__dialog {
    background: var(--white);
    max-width: 560px;
    width: 92%;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cookie-category {
    margin: 12px 0;
}

.cookie-modal__actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 12px;
}

.link-like {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .cookie-banner__actions {
        justify-content: stretch;
    }

    .cookie-banner__actions .btn {
        flex: 1;
    }
}

/* Asegurar contraste del botón Cancelar en modal (fondo claro) */
.cookie-modal .btn-secondary {
    color: var(--text-color);
    border-color: var(--gray-light);
    background: transparent;
}

.cookie-modal .btn-secondary:hover {
    background: var(--light-color);
    color: var(--text-color);
    border-color: var(--primary-color);
}

/* ===== GUÍAS TÉCNICAS ===== */
body.guide-page {
    background: var(--light-color);
}

.subpage-hero {
    background: linear-gradient(135deg, rgba(37, 60, 20, 0.85), rgba(85, 107, 47, 0.75)), url('../images/guias/afilar_motosierra.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 140px 0 80px;
    margin-top: 80px;
    position: relative;
}

.subpage-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(154, 205, 50, 0.35), transparent 55%);
}

.subpage-hero .container {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    margin-bottom: 30px;
    transition: var(--transition);
}

.breadcrumb:hover {
    color: var(--white);
    transform: translateX(-4px);
}

.subpage-hero__content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.subpage-hero__content p {
    max-width: 760px;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.hero-meta .tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.hero-meta .hero-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
}

.guide-content .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    padding: 60px 20px 100px;
}

.guide-article {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 40px;
}

.guide-article section+section {
    margin-top: 40px;
}

.guide-article h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 18px;
}

.guide-article h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 12px;
}

.guide-article p {
    margin-bottom: 16px;
    color: var(--text-color);
}

.guide-article ul,
.guide-article ol {
    margin: 18px 0;
    padding-left: 24px;
    color: var(--text-color);
}

.guide-article li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.guide-steps {
    counter-reset: guide-step;
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    gap: 18px;
}

.guide-steps li {
    position: relative;
    padding: 28px 28px 28px 70px;
    background: var(--light-color);
    border-radius: 14px;
    border: 1px solid var(--gray-light);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.guide-steps li::before {
    counter-increment: guide-step;
    content: counter(guide-step);
    position: absolute;
    left: 24px;
    top: 28px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(154, 205, 50, 0.4);
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 24px 0 10px;
}

.checklist-card {
    background: var(--light-color);
    border-radius: 14px;
    border: 1px solid var(--gray-light);
    padding: 24px;
    transition: var(--transition);
}

.checklist-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.guide-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: var(--white);
    border-radius: 16px;
    padding: 26px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.sidebar-card.highlight {
    background: linear-gradient(135deg, rgba(154, 205, 50, 0.12), rgba(85, 107, 47, 0.12));
    border-left: 4px solid var(--primary-color);
}

.sidebar-card h3 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 12px;
}

.sidebar-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.sidebar-links a {
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-links a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.subpage-footer {
    background: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 40px 0;
    text-align: center;
}

.subpage-footer p+p {
    margin-top: 6px;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .guide-content .container {
        grid-template-columns: 1fr;
    }

    .guide-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .guide-sidebar .sidebar-card {
        flex: 1 1 280px;
    }
}

@media (max-width: 768px) {
    .subpage-hero {
        padding: 120px 0 60px;
    }

    .subpage-hero__content h1 {
        font-size: 2.2rem;
    }

    .guide-article {
        padding: 28px;
    }

    .guide-steps li {
        padding: 24px 24px 24px 60px;
    }

    .guide-steps li::before {
        left: 18px;
    }
}

@media (max-width: 600px) {
    .guide-content .container {
        padding-top: 40px;
        padding-bottom: 80px;
    }

    .guide-sidebar {
        flex-direction: column;
    }

    .breadcrumb {
        font-size: 0.9rem;
    }
}

/* ===== MARCA DE AGUA ===== */
.watermark {
    position: fixed;
    top: 55%;
    right: 40px;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
    opacity: 0.12;
    transition: opacity 0.3s ease;
}

/* Asegurar que las secciones principales estén por encima de la marca de agua */
.services,
.stats,
.brands,
.featured-products,
.workshop-premium,
.guide,
.blog-section,
.lead-generation,
.contact,
.ofertas-temporada,
.about-section {
    position: relative;
    z-index: 2;
}

/* Asegurar que el hero-premium también esté por encima de la marca de agua */
.hero-premium {
    z-index: 2;
}

.watermark-logo {
    width: 1200px;
    height: auto;
    max-width: 1200px;
    filter: grayscale(100%);
    opacity: 1;
}

/* Asegurar que la marca de agua no interfiera con elementos interactivos */
.watermark::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    z-index: -1;
}

/* Responsive: Reducir tamaño en tablets */
@media (max-width: 968px) {
    .watermark {
        right: 20px;
    }

    .watermark-logo {
        width: 800px;
        max-width: 800px;
    }
}

/* Responsive: Reducir tamaño en móviles */
@media (max-width: 640px) {
    .watermark {
        right: 10px;
    }

    .watermark-logo {
        width: 500px;
        max-width: 500px;
    }
}

/* Ocultar marca de agua en impresión */
@media print {
    .watermark {
        display: none;
    }
}

/* ===== CONÓCENOS PREMIUM SECTION ===== */
.about-premium {
    padding: 120px 0;
    position: relative;
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

.about-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(154, 205, 50, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(183, 65, 14, 0.03) 0%, transparent 20%);
    z-index: 0;
}

/* Background Pattern */
.about-bg-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: repeating-linear-gradient(45deg,
            rgba(0, 0, 0, 0.02) 0px,
            rgba(0, 0, 0, 0.02) 1px,
            transparent 1px,
            transparent 10px);
    z-index: 0;
    pointer-events: none;
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.about-text-column {
    padding-right: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 20px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 2px;
    background-color: var(--primary-color);
}

.about-heading {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--steel-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-description {
    color: var(--gray-color);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.experience-badge-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.experience-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: var(--white);
    box-shadow: 0 10px 20px rgba(154, 205, 50, 0.3);
    transition: var(--transition);
    box-sizing: border-box;
    max-width: 100%;
    flex-shrink: 1;
}

.experience-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(154, 205, 50, 0.4);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .label {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}

.about-image-column {
    position: relative;
    min-height: 400px;
}

.img-composition {
    position: relative;
    height: 500px;
}

.img-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    height: 85%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

.img-secondary {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 50%;
    object-fit: cover;
    border-radius: 15px;
    border: 5px solid var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.img-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: repeating-linear-gradient(45deg,
            var(--primary-color),
            var(--primary-color) 2px,
            transparent 2px,
            transparent 8px);
    opacity: 0.2;
    z-index: 0;
    border-radius: 50%;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.value-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gray-light);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.value-card:hover::before {
    background: var(--primary-color);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: rgba(154, 205, 50, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

.value-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--steel-color);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .about-premium {
        overflow-x: hidden;
    }

    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        width: 100%;
        box-sizing: border-box;
    }

    .about-text-column {
        padding-right: 0;
        padding-left: 0;
        text-align: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .section-tag {
        margin: 0 auto 1rem;
        display: inline-block;
    }

    .section-tag::before {
        display: none;
    }

    .experience-badge-row {
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        box-sizing: border-box;
    }

    .experience-badge {
        max-width: 100%;
        box-sizing: border-box;
    }

    .about-image-column {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .img-composition {
        height: 400px;
        max-width: 600px;
        width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .about-premium {
        padding: 60px 0;
        overflow-x: hidden;
    }

    .about-premium .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .about-content-wrapper {
        gap: 2rem;
        margin-bottom: 3rem;
        width: 100%;
        box-sizing: border-box;
    }

    .about-text-column {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-right: 0 !important;
        padding-left: 0;
    }

    .about-heading {
        font-size: 2rem;
        margin-bottom: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .about-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .experience-badge-row {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
        width: 100%;
        box-sizing: border-box;
    }

    .experience-badge {
        justify-content: center;
        text-align: center;
        padding: 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .experience-badge .years {
        font-size: 2rem;
    }

    .experience-badge .label {
        font-size: 0.85rem;
    }

    .experience-badge-row .btn {
        width: 100%;
        max-width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .about-image-column {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .img-composition {
        height: 300px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .img-main {
        width: 90%;
        height: 90%;
        max-width: 100%;
    }

    .img-secondary {
        width: 55%;
        height: 55%;
        max-width: 100%;
    }

    .img-decoration {
        width: 60px;
        height: 60px;
        top: -10px;
        right: -10px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }

    .value-card {
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .value-icon {
        font-size: 2.5rem;
        width: 70px;
        height: 70px;
        margin-bottom: 1rem;
    }

    .value-card h4 {
        font-size: 1.2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .about-bg-pattern {
        width: 100%;
        opacity: 0.5;
    }
}

@media (max-width: 640px) {
    .about-premium {
        padding: 40px 0;
        overflow-x: hidden;
    }

    .about-premium .container {
        padding: 0 15px;
    }

    .about-content-wrapper {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .about-heading {
        font-size: 1.75rem;
        line-height: 1.3;
        padding: 0;
    }

    .about-description {
        font-size: 0.95rem;
        line-height: 1.7;
        padding: 0;
    }

    .section-tag {
        font-size: 0.75rem;
        letter-spacing: 1px;
        padding-left: 15px;
    }

    .experience-badge-row {
        gap: 1rem;
    }

    .experience-badge {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }

    .experience-badge .years {
        font-size: 1.75rem;
    }

    .experience-badge .label {
        font-size: 0.75rem;
    }

    .img-composition {
        height: 250px;
    }

    .values-grid {
        gap: 1rem;
    }

    .value-card {
        padding: 1.25rem;
    }

    .value-icon {
        font-size: 2rem;
        width: 60px;
        height: 60px;
    }

    .value-card h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .value-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .about-premium {
        padding: 30px 0;
    }

    .about-premium .container {
        padding: 0 12px;
    }

    .about-heading {
        font-size: 1.5rem;
    }

    .about-description {
        font-size: 0.9rem;
    }

    .experience-badge {
        padding: 0.65rem 0.85rem;
        gap: 0.5rem;
    }

    .experience-badge .years {
        font-size: 1.5rem;
    }

    .experience-badge .label {
        font-size: 0.7rem;
    }
}

/* ===== TALLER ELITE SECTION ===== */
.workshop-elite {
    padding: 120px 0;
    position: relative;
    background-color: #f8fafc;
    /* Slate 50 */
    overflow: hidden;
}

/* Technical Blueprint Background */
.workshop-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}

.workshop-bg-accent {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(154, 205, 50, 0.08) 0%, transparent 70%);
    z-index: 0;
}

/* Header Technical */
.tech-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
    position: relative;
    z-index: 1;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(154, 205, 50, 0.15);
}

.tech-badge::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(154, 205, 50, 0.3);
}

.tech-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--steel-color);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.tech-subtitle {
    font-size: 1.1rem;
    color: var(--metal-color);
    line-height: 1.7;
}

/* Process Flow (Timeline) */
.process-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 6rem;
    position: relative;
    z-index: 1;
}

.process-step {
    position: relative;
    padding-top: 2rem;
}

/* Connecting Line */
.process-flow::before {
    content: '';
    position: absolute;
    top: 30px;
    /* Adjust based on icon size */
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--gray-light) 20%,
            var(--gray-light) 80%,
            transparent 100%);
    z-index: -1;
}

.step-icon-box {
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.process-step:hover .step-icon-box {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(154, 205, 50, 0.1);
    transform: translateY(-5px);
    color: var(--primary-color);
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

.step-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--gray-color);
    line-height: 1.5;
}

/* Bento Grid Services */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 1.5rem;
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
}

.bento-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--gray-light);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(154, 205, 50, 0.3);
}

/* Special Sizes */
.bento-wide {
    grid-column: span 2;
}

.bento-tall {
    grid-row: span 2;
    background: linear-gradient(145deg, var(--dark-color), #2c3e50);
    color: var(--white);
    border: none;
}

.bento-tall .bento-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

.bento-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--steel-color);
}

.bento-content p {
    font-size: 0.95rem;
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Override text colors for dark card with higher specificity */
.bento-card.bento-tall .bento-content h3 {
    color: var(--white);
}

.bento-card.bento-tall .bento-content p {
    color: rgba(255, 255, 255, 0.9);
}

.bento-card.bento-tall .tech-list li {
    color: rgba(255, 255, 255, 0.9);
}

.tech-list {
    list-style: none;
    padding: 0;
}


.bento-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(154, 205, 50, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.tech-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.tech-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 2px;
}

.bento-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-top: auto;
}

/* Brand Marquee (Static Grid for now but styled technically) */
.tech-brands {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    border: 1px solid var(--gray-light);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.02);
    position: relative;
    z-index: 1;
}

.tech-brands h4 {
    font-size: 0.9rem;
    color: var(--metal-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.brand-strip {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    opacity: 0.7;
}

.brand-strip img {
    height: 40px;
    filter: grayscale(100%);
    transition: var(--transition);
}

.brand-strip img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
    opacity: 1;
}

/* Responsive Elite */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .bento-wide,
    .bento-tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .process-flow {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .process-flow::before {
        display: none;
    }

    .process-step {
        display: flex;
        align-items: flex-start;
        gap: 1.5rem;
        padding-top: 0;
    }

    .step-icon-box {
        margin-bottom: 0;
        flex-shrink: 0;
    }
}

/* ===== EFECTOS NAVIDEÑOS ===== */
/* Se activan automáticamente del 1 de diciembre al 6 de enero */

.navidad-activa {
    position: relative;
}

/* Optimización de rendimiento para copos de nieve */
#snow-container {
    will-change: transform;
    transform: translateZ(0);
}

.snowflake {
    will-change: transform, opacity;
    transform: translateZ(0);
}

/* Efectos navideños en elementos interactivos */
.navidad-activa .btn-primary:hover {
    box-shadow: 0 8px 25px rgba(154, 205, 50, 0.4),
                0 0 30px rgba(154, 205, 50, 0.3);
}

.navidad-activa .btn-secondary:hover {
    box-shadow: 0 8px 25px rgba(50, 205, 50, 0.3),
                0 0 20px rgba(50, 205, 50, 0.2);
}

/* Decoración navideña en el hero */
.navidad-activa .hero-premium {
    position: relative;
}

.navidad-activa .hero-premium::after {
    content: '✨';
    position: absolute;
    top: 10%;
    left: 5%;
    font-size: 30px;
    opacity: 0.2;
    animation: parpadear 2s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes parpadear {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

/* Efecto navideño en las estadísticas */
.navidad-activa .stat-item {
    position: relative;
}

.navidad-activa .stat-item::before {
    content: '🎁';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 20px;
    opacity: 0.3;
    animation: balancear 3s ease-in-out infinite;
    pointer-events: none;
}

/* Responsive para efectos navideños */
@media (max-width: 768px) {
    #mensaje-navideno {
        top: 80px;
        right: 10px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .navidad-activa .hero-premium::after {
        font-size: 20px;
        top: 5%;
        left: 3%;
    }

    .navidad-decoracion {
        font-size: 30px !important;
        top: 10px !important;
        right: 10px !important;
    }
}

/* Reducir efectos en dispositivos de bajo rendimiento */
@media (prefers-reduced-motion: reduce) {
    .snowflake,
    .navidad-decoracion,
    .logo-navideno,
    #mensaje-navideno {
        animation: none !important;
    }
}