/* HOME PAGE STYLES */

/* --- HERO BANNERS --- */
.hero-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-main {
    background: linear-gradient(135deg, var(--c-primary) 0%, #1a8aab 100%);
    color: white;
    border-radius: var(--radius);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.hero-main::after {
    content: '';
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 15px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.btn-hero {
    display: inline-block;
    background: white;
    color: var(--c-primary);
    padding: 12px 30px;
    font-weight: 700;
    border-radius: 4px;
    /* Slightly rounded */
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.promo-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--c-border);
    transition: transform 0.2s;
}

.promo-card:hover {
    transform: translateY(-3px);
    border-color: var(--c-primary);
}

.promo-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--c-dark);
    margin: 0 0 5px;
}

.promo-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.promo-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--c-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* --- CATEGORY PILLS (ENHANCED) --- */
/* Overrides or extensions to global pills if necessary, but global looked okay. 
   Let's ensure they are responsive and snappy container-wise. */
.cat-pills-container {
    margin-bottom: 50px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--c-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: '';
    display: block;
    width: 6px;
    height: 24px;
    background: var(--c-primary);
    border-radius: 2px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-side {
        flex-direction: row;
    }
}

@media (max-width: 600px) {
    .hero-side {
        flex-direction: column;
    }

    .hero-title {
        font-size: 1.8rem;
    }
}
/* --- CONTENT GRID (artículos home) --- */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
    margin-bottom: 40px;
}
.content-col h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
    border-bottom: 3px solid #eee;
    padding-bottom: 10px;
    position: relative;
}
.content-col h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #008AC9;
}
.article-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    text-decoration: none;
    height: 100%;
    cursor: pointer;
}
.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #bce0f5;
}
.article-img-container {
    width: 100%;
    height: 250px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding: 15px;
}
.article-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}
.article-card:hover .article-img { transform: scale(1.08); }
.article-body {
    padding: 10px 20px 25px 20px;
    text-align: center;
    background: #fff;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.article-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #222;
    line-height: 1.4;
    margin: 0;
    transition: color 0.3s;
}
.article-card:hover .article-title { color: #008AC9; }
.hover-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 50px;
    height: 50px;
    background: rgba(0, 138, 201, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
}
.article-card:hover .hover-icon {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* --- REVIEWS HOME --- */
.reviews-section {
    clear: both;
    margin-top: 120px;
    padding-top: 20px;
    margin-bottom: 50px;
}
.reviews-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
    border-bottom: 3px solid #eee;
    padding-bottom: 10px;
    position: relative;
    text-align: left;
}
.reviews-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #008AC9;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.review-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.review-author { font-weight: 700; font-size: 1.05rem; color: #333; }
.review-stars { color: #f1c40f; font-size: 0.9rem; }
.review-text {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
    font-style: italic;
    flex-grow: 1;
    margin-bottom: 20px;
}
.review-source {
    font-size: 0.8rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
}
.source-icon { font-size: 1.2rem; }
.google-icon { color: #db4437; }
.shop-icon { color: #008AC9; }
.review-reply {
    margin-top: 15px;
    padding: 15px;
    background: #f8fbff;
    border-left: 3px solid #008AC9;
    font-size: 0.9rem;
    border-radius: 0 8px 8px 0;
}
.review-reply strong {
    display: block;
    color: #008AC9;
    font-size: 0.8rem;
    margin-bottom: 5px;
    text-transform: uppercase;
}
