/* 
   Alebrijes de Oaxaca Teotihuacán
   Fuerzas Basicas Page Styles
*/

/* Header Variants - Emerald & Gold Premium Design */
.header-fuerzas {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-height) + 40px) 0 60px 0;
    background: linear-gradient(135deg, #064e3b 0%, #065f46 30%, #047857 60%, #059669 100%);
    overflow: hidden;
}

/* Diagonal stripes pattern */
.header-fuerzas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(45deg,
            transparent,
            transparent 30px,
            rgba(255, 215, 0, 0.08) 30px,
            rgba(255, 215, 0, 0.08) 32px),
        repeating-linear-gradient(-45deg,
            transparent,
            transparent 30px,
            rgba(255, 255, 255, 0.03) 30px,
            rgba(255, 255, 255, 0.03) 32px);
    z-index: 0;
    pointer-events: none;
}

/* Gold accent glow */
.header-fuerzas::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.header-fuerzas .header-overlay {
    display: none;
}

.header-fuerzas-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 3;
}

.header-fuerzas-content {
    z-index: 3;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

.header-fuerzas-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--white);
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.header-fuerzas-content h1 .text-gradient {
    display: inline-block;
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, #ff8c42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-fuerzas-content p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 400;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.header-fuerzas-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding: 0;
    width: 100%;
    height: 100%;
}

.header-fuerzas-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(243, 106, 33, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.header-fuerzas .header-bg-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.12),
        0 3px 10px rgba(243, 106, 33, 0.15);
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    padding: 15px;
    border: 1px solid rgba(243, 106, 33, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header-fuerzas .header-bg-img:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.15),
        0 5px 15px rgba(243, 106, 33, 0.2);
}

/* Categories Section - Alebrijes Pattern (same as Casa Club hero) */
.categories-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

/* Alebrijes Pattern Background */
.categories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg width='400' height='300' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='alebrijesPattern' x='0' y='0' width='400' height='300' patternUnits='userSpaceOnUse'%3E%3Crect x='0' y='0' width='80' height='60' fill='%23FF3333' stroke='%23000' stroke-width='2'/%3E%3Crect x='80' y='0' width='70' height='60' fill='%23FF6B00' stroke='%23000' stroke-width='2'/%3E%3Crect x='150' y='0' width='90' height='60' fill='%23FFD700' stroke='%23000' stroke-width='2'/%3E%3Crect x='240' y='0' width='65' height='60' fill='%23FF1493' stroke='%23000' stroke-width='2'/%3E%3Crect x='305' y='0' width='95' height='60' fill='%2332CD32' stroke='%23000' stroke-width='2'/%3E%3Crect x='0' y='60' width='60' height='70' fill='%234169E1' stroke='%23000' stroke-width='2'/%3E%3Crect x='60' y='60' width='85' height='70' fill='%239932CC' stroke='%23000' stroke-width='2'/%3E%3Crect x='145' y='60' width='75' height='70' fill='%23FF6B00' stroke='%23000' stroke-width='2'/%3E%3Crect x='220' y='60' width='100' height='70' fill='%23FF3333' stroke='%23000' stroke-width='2'/%3E%3Crect x='320' y='60' width='80' height='70' fill='%23FFD700' stroke='%23000' stroke-width='2'/%3E%3Crect x='0' y='130' width='95' height='65' fill='%23FF1493' stroke='%23000' stroke-width='2'/%3E%3Crect x='95' y='130' width='70' height='65' fill='%2332CD32' stroke='%23000' stroke-width='2'/%3E%3Crect x='165' y='130' width='85' height='65' fill='%234169E1' stroke='%23000' stroke-width='2'/%3E%3Crect x='250' y='130' width='75' height='65' fill='%239932CC' stroke='%23000' stroke-width='2'/%3E%3Crect x='325' y='130' width='75' height='65' fill='%23FF6B00' stroke='%23000' stroke-width='2'/%3E%3Crect x='0' y='195' width='65' height='105' fill='%23FF3333' stroke='%23000' stroke-width='2'/%3E%3Crect x='65' y='195' width='90' height='105' fill='%23FFD700' stroke='%23000' stroke-width='2'/%3E%3Crect x='155' y='195' width='70' height='105' fill='%23FF1493' stroke='%23000' stroke-width='2'/%3E%3Crect x='225' y='195' width='85' height='105' fill='%2332CD32' stroke='%23000' stroke-width='2'/%3E%3Crect x='310' y='195' width='90' height='105' fill='%234169E1' stroke='%23000' stroke-width='2'/%3E%3Crect x='280' y='20' width='120' height='40' fill='%231E3A8A'/%3E%3Ccircle cx='290' cy='30' r='4' fill='%23FFD700'/%3E%3Ccircle cx='310' cy='30' r='4' fill='%23FFD700'/%3E%3Ccircle cx='330' cy='30' r='4' fill='%23FFD700'/%3E%3Ccircle cx='350' cy='30' r='4' fill='%23FFD700'/%3E%3Ccircle cx='290' cy='50' r='4' fill='%23FFD700'/%3E%3Ccircle cx='310' cy='50' r='4' fill='%23FFD700'/%3E%3Ccircle cx='330' cy='50' r='4' fill='%23FFD700'/%3E%3Ccircle cx='350' cy='50' r='4' fill='%23FFD700'/%3E%3Crect x='0' y='240' width='100' height='60' fill='%231E3A8A'/%3E%3Ccircle cx='20' cy='250' r='5' fill='%23FFD700'/%3E%3Ccircle cx='40' cy='250' r='5' fill='%23FFD700'/%3E%3Ccircle cx='60' cy='250' r='5' fill='%23FFD700'/%3E%3Ccircle cx='80' cy='250' r='5' fill='%23FFD700'/%3E%3Ccircle cx='20' cy='270' r='5' fill='%23FFD700'/%3E%3Ccircle cx='40' cy='270' r='5' fill='%23FFD700'/%3E%3Ccircle cx='60' cy='270' r='5' fill='%23FFD700'/%3E%3Ccircle cx='80' cy='270' r='5' fill='%23FFD700'/%3E%3Ccircle cx='20' cy='290' r='5' fill='%23FFD700'/%3E%3Ccircle cx='40' cy='290' r='5' fill='%23FFD700'/%3E%3Ccircle cx='60' cy='290' r='5' fill='%23FFD700'/%3E%3Ccircle cx='80' cy='290' r='5' fill='%23FFD700'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23alebrijesPattern)' opacity='0.3'/%3E%3C/svg%3E");
    background-size: 400px 300px;
    background-repeat: repeat;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.categories-section .section-title {
    color: var(--white);
    text-align: center;
    position: relative;
    z-index: 2;
    font-weight: 900;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
    align-items: stretch;
}

.category-card {
    background: var(--white);
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 3px solid #000;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-clip: padding-box;
    height: 100%;
}


.badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 10px 18px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom-left-radius: 16px;
    z-index: 3;
    box-shadow: 0 2px 10px rgba(243, 106, 33, 0.3);
}

.cat-header {
    padding: 30px 25px 20px;
    background: var(--white);
    border-bottom: 3px solid #000;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cat-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg,
            #FF3333 0%,
            #FF3333 20%,
            #FFD700 20%,
            #FFD700 40%,
            #4169E1 40%,
            #4169E1 60%,
            #9932CC 60%,
            #9932CC 80%,
            #4CAF50 80%,
            #4CAF50 100%);
    border-bottom: 2px solid #000;
}

.cat-header h3 {
    font-size: 2.5rem;
    color: var(--text);
    margin-bottom: 10px;
    font-weight: 900;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    border: 2px solid #000;
    padding: 12px 24px;
    display: inline-block;
    background: var(--white);
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.cat-header span {
    display: block;
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
}

.cat-body {
    padding: 0;
    flex: 0;
    display: none;
    background: var(--white);
}

.cat-body ul {
    list-style: none;
    padding: 0;
    width: 100%;
    text-align: left;
    margin: 0;
}

.cat-body ul li {
    margin-bottom: 14px;
    color: var(--text);
    font-size: 1rem;
    position: relative;
    padding-left: 32px;
    line-height: 1.5;
    font-weight: 500;
}

.cat-body ul li:last-child {
    margin-bottom: 0;
}

.cat-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(243, 106, 33, 0.3);
    border: 2px solid #000;
}

/* Methodology Section */
.bg-dark {
    background-color: var(--dark);
}

.text-white {
    color: var(--white);
}

.methodology-timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
}

.methodology-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 50%;
    padding-right: 40px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    margin-left: auto;
    /* Push to right */
    padding-right: 0;
    padding-left: 40px;
    text-align: left;
}

.timeline-icon {
    position: absolute;
    top: 0;
    right: -25px;
    /* Center over line */
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 4px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: var(--dark);
    font-size: 1.2rem;
    z-index: 2;
}

.timeline-item:nth-child(even) .timeline-icon {
    right: auto;
    left: -25px;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.timeline-content p {
    color: #ccc;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--white);
}

.cta-container {
    background: linear-gradient(135deg, #f3f3f3 0%, var(--white) 100%);
    border-radius: var(--radius);
    padding: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cta-content {
    flex: 1;
    padding: 60px;
}

.cta-content h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 900;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 30px;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-facebook {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: #1877f2;
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-facebook:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.3);
}

.cta-image {
    flex: 0 0 300px;
    /* Reduced width */
    height: 300px;
    /* Force square */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(243, 106, 33, 0.05);
}

.cta-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 968px) {
    .header-fuerzas-container {
        grid-template-columns: 1fr;
        padding: 0 30px;
        text-align: center;
        gap: 30px;
    }

    .header-fuerzas-content {
        order: 1;
    }

    .header-fuerzas-content p {
        margin: 0 auto;
    }

    .header-fuerzas-image {
        order: 2;
        padding: 15px;
    }

    .header-fuerzas .header-bg-img {
        max-width: 250px;
    }

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

    .btn-facebook {
        width: 100%;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .cat-header {
        padding: 30px 25px 20px;
    }

    .cat-header h3 {
        font-size: 2.2rem;
    }

    .cat-body {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .header-fuerzas {
        min-height: 400px;
        padding: calc(var(--header-height) + 30px) 0 50px 0;
    }

    .header-fuerzas-container {
        padding: 0 20px;
        gap: 25px;
        z-index: 2;
    }

    .header-fuerzas-content {
        z-index: 2;
    }

    .header-fuerzas-image {
        z-index: 2;
    }

    .header-fuerzas .header-bg-img {
        max-width: 220px;
    }

    .methodology-timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-item:nth-child(even) {
        padding-left: 60px;
    }

    .timeline-icon {
        left: -5px;
        right: auto;
    }

    .timeline-item:nth-child(even) .timeline-icon {
        left: -5px;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-image {
        width: 100%;
        height: 200px;
        flex: none;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .cat-header {
        padding: 25px 20px 20px;
    }

    .cat-header h3 {
        font-size: 2rem;
    }

    .cat-body {
        padding: 20px;
    }

    .cat-body ul li {
        font-size: 0.95rem;
        padding-left: 25px;
    }
}