/* ===== MARCA DETALLE STYLES ===== */

/* ===== THEME VARIABLES & OVERRIDES ===== */
.stihl-theme {
    --brand-color: #F37A1F;
    --brand-color-rgb: 243, 122, 31;
    --primary-color: #F37A1F;
    /* Override primary for brand feel */
    --secondary-color: #ff9d5c;
}

.honda-theme {
    --brand-color: #E60000;
    --brand-color-rgb: 230, 0, 0;
    --primary-color: #E60000;
    --secondary-color: #ff4d4d;
}

.wolf-theme {
    --brand-color: #FFD100;
    /* Wolf has red and yellow */
    --brand-color-rgb: 255, 209, 0;
    --primary-color: #E60004;
    /* Wolf Red */
    --secondary-color: #FFD100;
    /* Wolf Yellow Accent */
}

.etesia-theme {
    --brand-color: #009640;
    --brand-color-rgb: 0, 150, 64;
    --primary-color: #009640;
    --secondary-color: #4CAF50;
}

/* Enhancing gradients with brand color */
.marca-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--brand-color-rgb), 0.15) 0%, transparent 70%);
    z-index: 0;
    animation: rotate 20s linear infinite;
}

.marca-nombre {
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--dark-color), var(--brand-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 1;
}

.marca-tagline {
    font-size: 1.8rem;
    color: var(--brand-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== LOGOS ESPECÍFICOS POR MARCA ===== */
.marca-logo.stihl-logo {
    background: #F37A1F;
    box-shadow: none;
}

.marca-logo.stihl-logo::before {
    display: none;
}

.marca-logo.stihl-logo img {
    filter: none;
}

.marca-logo.honda-logo {
    background: var(--white);
}

.marca-logo.wolf-logo {
    background: #E60004;
    box-shadow: none;
}

.marca-logo.wolf-logo::before {
    display: none;
}

.marca-logo.wolf-logo img {
    filter: none;
}

.marca-logo.etesia-logo {
    background: var(--white);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    background: var(--light-color);
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-light);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.breadcrumb-nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.breadcrumb-nav a:hover {
    color: var(--secondary-color);
}

.breadcrumb-separator {
    color: var(--gray-color);
    font-weight: 300;
}

.breadcrumb-current {
    color: var(--steel-color);
    font-weight: 600;
}

/* ===== MARCA HEADER ===== */
.marca-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.marca-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(154, 205, 50, 0.05) 0%, transparent 70%);
    z-index: 0;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

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

.marca-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.marca-logo {
    width: 240px;
    height: 240px;
    background: var(--white);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.marca-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.marca-logo:hover img {
    transform: scale(1.1) rotate(-5deg);
}

.marca-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 0;
}

.logo-placeholder {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.marca-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.badge-oficial,
.badge-premium {
    background: var(--brand-color);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(var(--brand-color-rgb), 0.4);
}

.badge-premium {
    background: var(--dark-color);
    box-shadow: var(--shadow-metal);
}

.marca-info {
    max-width: 700px;
}

.marca-nombre {
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--dark-color), var(--steel-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 1;
}

.marca-tagline {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.marca-descripcion {
    font-size: 1.2rem;
    color: var(--gray-color);
    line-height: 1.8;
    margin-bottom: 3rem;
    font-weight: 400;
}

.marca-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.marca-stats .stat-item {
    background: rgba(255, 255, 255, 0.7);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.marca-stats .stat-item:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.marca-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.marca-stats .stat-label {
    font-size: 0.85rem;
    color: var(--gray-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== VENTAJAS MARCA ===== */
.marca-ventajas {
    background: var(--white);
    padding: 100px 0;
    position: relative;
}

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

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

.ventaja-item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    /* Soft premium shadow */
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.ventaja-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(154, 205, 50, 0.3);
}

.ventaja-icono {
    width: 64px;
    height: 64px;
    background: rgba(154, 205, 50, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.ventaja-item:hover .ventaja-icono {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(10deg);
}

.ventaja-content h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.ventaja-content p {
    color: var(--gray-color);
    line-height: 1.7;
    font-weight: 400;
    font-size: 1rem;
}

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

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

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

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

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

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

.producto-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;
}

.producto-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);
}

.producto-imagen {
    height: 260px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 1.25rem;
    box-sizing: border-box;
    border-radius: 18px;
}

/* Patrón decorativo sutil */
.producto-imagen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 48%, rgba(112, 128, 144, 0.03) 49%, rgba(112, 128, 144, 0.03) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(112, 128, 144, 0.03) 49%, rgba(112, 128, 144, 0.03) 51%, transparent 52%);
    background-size: 20px 20px;
    pointer-events: none;
}

.producto-icono {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Marca de agua (logo DIMAJARDIN de fondo) */
.producto-icono .producto-watermark {
    width: auto;
    height: auto;
    max-width: 50%;
    max-height: 50%;
    object-fit: contain;
    opacity: 0.1;
    filter: grayscale(100%);
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* Imagen del producto (encima de la marca de agua) */
.producto-icono img:not(.producto-watermark),
.producto-imagen .producto-img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: none;
    position: relative;
    z-index: 1;
}

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

.producto-card:hover .producto-placeholder {
    transform: scale(1.1);
}

.producto-content {
    padding: 2rem;
}

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

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

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

.producto-precio {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--rust-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ===== TECNOLOGÍAS MARCA ===== */
/* ===== TECNOLOGÍAS MARCA BLACK ===== */
.tecnologias-marca {
    background: #0f172a;
    /* Dark Tech Background */
    padding: 100px 0;
    position: relative;
    color: var(--white);
}

.tecnologias-marca::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 0;
}

.tecnologias-marca::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--brand-color-rgb), 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

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

.tecnologia-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tecnologia-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tecnologia-icono {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(154, 205, 50, 0.5);
}

.tecnologia-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tecnologia-item p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-weight: 400;
}

/* ===== MARCA CTA ===== */
.marca-cta {
    background: linear-gradient(135deg, var(--dark-color), var(--steel-color));
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.marca-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;
}

.cta-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 968px) {
    .marca-hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

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

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

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 640px) {
    .marca-nombre {
        font-size: 2.5rem;
    }

    .marca-tagline {
        font-size: 1.2rem;
    }

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

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

    .ventaja-item {
        flex-direction: column;
        text-align: center;
    }

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

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

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}