/* ========================================
   ENHANCED MINIMALIST BLOG - BELLA CATYS
   Modern Editorial Modal Design
   ======================================== */

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    line-height: 1.6;
}

/* Hide body scroll when modal is open */
html.modal-open,
body.modal-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- MINIMALIST HERO --- */
.blog-hero-minimal {
    height: 40vh;
    min-height: 300px;
    max-height: 400px;
    background: linear-gradient(135deg, #314d44 0%, #4a7065 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 90px;
    position: relative;
    overflow: hidden;
}

.blog-hero-minimal::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    top: -250px;
    right: -100px;
}

.hero-content-minimal {
    text-align: center;
    z-index: 2;
}

.hero-content-minimal h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-content-minimal p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* --- FILTER SECTION (CENTERED) --- */
.filter-section {
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    padding: 0;
    position: sticky;
    top: 90px;
    z-index: 900;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.filter-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    justify-content: center;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tab {
    background: transparent;
    border: none;
    padding: 1.2rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    border-bottom: 2px solid transparent;
}

.filter-tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-verde-oscuro);
    transition: width 0.3s ease;
}

.filter-tab:hover {
    color: var(--color-verde-oscuro);
}

.filter-tab.active {
    color: var(--color-verde-oscuro);
    font-weight: 600;
}

.filter-tab.active::after {
    width: 100%;
}

/* --- MAIN CONTENT --- */
.content-main {
    padding: 4rem 0 6rem;
    background: #fafafa;
}

.search-wrapper {
    max-width: 600px;
    margin: 0 auto 3rem;
    position: relative;
}

.search-wrapper i {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1rem;
}

.search-wrapper input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.search-wrapper input:focus {
    outline: none;
    border-color: var(--color-verde-oscuro);
    box-shadow: 0 0 0 3px rgba(49, 77, 68, 0.05);
}

/* --- ENHANCED ARTICLES GRID --- */
.articles-grid-minimal {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card-minimal {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
    position: relative;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.article-card-minimal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(158, 180, 136, 0.3), rgba(49, 77, 68, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.article-card-minimal:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(49, 77, 68, 0.18);
}

.article-card-minimal:hover::before {
    opacity: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-card-minimal:nth-child(1) {
    animation-delay: 0.1s;
}

.article-card-minimal:nth-child(2) {
    animation-delay: 0.2s;
}

.article-card-minimal:nth-child(3) {
    animation-delay: 0.3s;
}

.article-card-minimal:nth-child(4) {
    animation-delay: 0.4s;
}

.article-card-minimal:nth-child(5) {
    animation-delay: 0.5s;
}

.article-card-minimal:nth-child(6) {
    animation-delay: 0.6s;
}

.article-image-minimal {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.article-image-minimal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.article-card-minimal:hover .article-image-minimal::after {
    opacity: 1;
}

.article-image-minimal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: brightness(1) saturate(1);
}

.article-card-minimal:hover .article-image-minimal img {
    transform: scale(1.1) rotate(1deg);
    filter: brightness(1.05) saturate(1.1);
}

.article-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-verde-oscuro);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.article-card-minimal:hover .article-category-badge {
    transform: translateY(-4px) scale(1.05);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.article-body-minimal {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-meta-minimal {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #999;
}

.article-meta-minimal span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.article-title-minimal {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
    transition: color 0.3s ease, transform 0.3s ease;
}

.article-card-minimal:hover .article-title-minimal {
    color: var(--color-verde-oscuro);
    transform: translateX(4px);
}

.article-excerpt-minimal {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

.article-footer-minimal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.read-more-minimal {
    color: var(--color-verde-oscuro);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.read-more-minimal::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-verde-oscuro), var(--color-verde-claro));
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.read-more-minimal:hover {
    gap: 1rem;
    background: linear-gradient(90deg, var(--color-verde-oscuro), var(--color-verde-claro));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.read-more-minimal:hover::before {
    width: calc(100% - 1.5rem);
}

.read-more-minimal i {
    font-size: 0.8rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.read-more-minimal:hover i {
    transform: translateX(4px);
    animation: arrowBounce 0.6s ease infinite;
}

@keyframes arrowBounce {

    0%,
    100% {
        transform: translateX(4px);
    }

    50% {
        transform: translateX(8px);
    }
}

/* --- LOAD MORE BUTTON --- */
.load-more-wrapper {
    text-align: center;
    margin-top: 3rem;
}

.btn-load-more {
    background: transparent;
    color: var(--color-verde-oscuro);
    border: 2px solid var(--color-verde-oscuro);
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-load-more:hover {
    background: var(--color-verde-oscuro);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(49, 77, 68, 0.25);
}

/* --- FAQ SECTION --- */
.faq-section {
    padding: 6rem 0;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
}

.faq-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.faq-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.faq-header p {
    color: #666;
    font-size: 1.1rem;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    flex-shrink: 0;
}

.faq-item:hover {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-color: #e0e0e0;
}

.faq-item.active {
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(49, 77, 68, 0.08);
    border-color: var(--color-verde-oscuro);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question h4 {
    color: var(--color-verde-oscuro);
}

.faq-question i {
    color: #999;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--color-verde-oscuro);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 600px;
    /* Adjust if content is longer */
    transition: max-height 4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
    border-top: 1px solid #f0f0f0;
    padding-top: 1rem;
}

/* ========================================
   REVOLUTIONARY EDITORIAL MODAL DESIGN
   ======================================== */

.modal-fullscreen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: #f8f8f8;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-fullscreen.active {
    display: block;
    animation: modalFadeSlideIn 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-fullscreen.closing {
    animation: modalFadeSlideOut 0.5s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
}

@keyframes modalFadeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.92);
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes modalFadeSlideOut {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-40px) scale(0.95);
    }
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-verde-oscuro), var(--color-verde-claro));
    z-index: 10001;
    transition: width 0.1s ease;
}

/* Modal Close Button - Fixed Top Right */
.modal-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    color: #333;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.modal-close:hover {
    background: var(--color-verde-oscuro);
    color: #ffffff;
    transform: rotate(90deg) scale(1.1);
    border-color: var(--color-verde-oscuro);
    box-shadow: 0 6px 20px rgba(49, 77, 68, 0.25);
}

/* Modal Hero Header */
.modal-header-fullscreen {
    position: relative;
    height: 65vh;
    min-height: 450px;
    max-height: 700px;
    overflow: hidden;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

.modal-header-fullscreen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.modal-header-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    padding: 4rem 2rem 3rem;
}

.modal-header-overlay .container {
    max-width: 1000px;
}

.modal-title-main {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #ffffff;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.modal-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    flex-wrap: wrap;
}

.modal-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-meta i {
    color: var(--color-verde-claro);
}

/*Editorial Content Container */
.modal-content-container {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 4rem;
    max-width: 1200px;
    margin: 5rem auto 0;
    padding: 0 2rem 6rem;
    position: relative;
    z-index: 2;
}

/* Main Content Column */
.modal-content-body {
    margin-top: 10rem auto 0;
    background: #ffffff;
    padding: 4rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    animation: contentSlideUp 0.6s ease 0.2s backwards;
}

@keyframes contentSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sidebar - Table of Contents */
.modal-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
    animation: sidebarSlideIn 0.6s ease 0.4s backwards;
}

@keyframes sidebarSlideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sidebar-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
}

.sidebar-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-verde-oscuro);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #f0f0f0;
}

.toc-list {
    list-style: none;
}

.toc-item {
    margin-bottom: 1rem;
}

.toc-link {
    display: block;
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1.5rem;
}

.toc-link::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #ccc;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.toc-link:hover {
    background: #f5f5f5;
    color: var(--color-verde-oscuro);
    padding-left: 2rem;
}

.toc-link:hover::before {
    background: var(--color-verde-claro);
    width: 8px;
    height: 8px;
}

.toc-link.active {
    background: linear-gradient(90deg, rgba(158, 180, 136, 0.1), transparent);
    color: var(--color-verde-oscuro);
    font-weight: 600;
}

.toc-link.active::before {
    background: var(--color-verde-claro);
    width: 8px;
    height: 8px;
}

/* Article Metadata in Sidebar */
.article-info {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0f9f4 0%, #e8f5ee 100%);
    border-radius: 12px;
    margin-top: 1.5rem;
}

.article-info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #555;
}

.article-info-item:last-child {
    margin-bottom: 0;
}

.article-info-item i {
    color: var(--color-verde-oscuro);
    width: 20px;
}

/* Enhanced Article Text Styling */
.articulo-texto {
    font-size: 1.175rem;
    line-height: 1.85;
    color: #2c2c2c;
    font-weight: 400;
}

.articulo-texto .intro-text {
    font-size: 1.45rem;
    line-height: 1.7;
    color: var(--color-verde-oscuro);
    font-weight: 500;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f0f9f4 0%, #e8f5ee 100%);
    border-left: 5px solid var(--color-verde-claro);
    border-radius: 0 16px 16px 0;
    font-style: italic;
}

.articulo-texto h3 {
    font-size: 2.3rem;
    color: #1a1a1a;
    margin: 4rem 0 1.8rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    position: relative;
    line-height: 1.3;
    letter-spacing: -0.02em;
}



.articulo-texto h4 {
    font-size: 1.7rem;
    color: var(--color-verde-oscuro);
    margin: 3rem 0 1.3rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.articulo-texto p {
    margin-bottom: 1.8rem;
    color: #2c2c2c;
    line-height: 1.9;
}

.articulo-texto ul,
.articulo-texto ol {
    margin: 2.5rem 0 2.5rem 1.5rem;
    padding-left: 1.5rem;
}

.articulo-texto li {
    margin-bottom: 1.3rem;
    line-height: 1.85;
    position: relative;
    padding-left: 0.5rem;
}

.articulo-texto ul li::marker {
    color: var(--color-verde-claro);
    font-size: 1.4em;
}

.articulo-texto ol li::marker {
    color: var(--color-verde-oscuro);
    font-weight: 800;
    font-size: 1.1em;
}

.articulo-texto strong {
    color: #1a1a1a;
    font-weight: 700;
}

/* Highlight Box */
.highlight-box {
    background: #f8f9fa;
    border-left: 4px solid var(--color-verde-oscuro);
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 0 12px 12px 0;
}

.highlight-box h4 {
    margin-top: 0;
    color: var(--color-verde-oscuro);
}

/* Product Tip */
.product-tip {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    border: 1px solid #ffeeba;
}

.product-tip i {
    color: #ffc107;
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

/* Related Products */
.productos-relacionados {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid #e0e0e0;
}

.productos-relacionados h3 {
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 2rem;
    text-align: center;
}

.productos-relacionados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.producto-mini {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #f0f0f0;
}

.producto-mini:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--color-verde-claro);
}

.producto-mini img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.producto-mini h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.producto-mini p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
}

.btn-ver-producto {
    background: transparent;
    border: 1px solid var(--color-verde-oscuro);
    color: var(--color-verde-oscuro);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.producto-mini:hover .btn-ver-producto {
    background: var(--color-verde-oscuro);
    color: #ffffff;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .modal-content-container {
        grid-template-columns: 1fr;
        padding: 0 2rem 4rem;
        gap: 2rem;
    }

    .modal-sidebar {
        display: none;
    }

    .modal-content-body {
        margin: 0 auto;
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .blog-hero-minimal {
        height: 30vh;
        min-height: 250px;
        margin-top: 70px;
    }

    .faq-answer p {
        font-size: 0.8rem;
    }

    .hero-content-minimal h1 {
        font-size: 2.5rem;
    }

    .articles-grid-minimal {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .modal-header-fullscreen {
        height: 40vh;
        min-height: 300px;
    }

    .modal-title-main {
        font-size: 1.3rem;
    }

    .modal-content-body {
        padding: 2rem;
        margin: 0 auto;
    }

    .articulo-texto {
        font-size: 1rem;
    }

    .articulo-texto h3 {
        font-size: 1.5rem;
    }

    .articulo-texto .intro-text {
        font-size: 1rem;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* FAQ Mobile Improvements */
    .faq-grid {
        padding-right: 0;
    }

    .faq-question {
        padding: 1rem 1.2rem;
    }

    .faq-question h4 {
        font-size: 0.95rem;
        padding-right: 1rem;
        line-height: 1.4;
    }

    .faq-question i {
        font-size: 0.9rem;
        flex-shrink: 0;
    }

    .faq-answer {
        padding: 0 1.2rem;
    }

    .faq-answer p {
        font-size: 0.9rem;
        padding-bottom: 1.2rem;
    }

    /* Filter Tabs Mobile Fix */
    .filter-tabs {
        justify-content: flex-start;
        padding: 0 1rem;
    }

    .filter-tab {
        padding: 1rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* ========================================
   QUIZ CTA SECTION - ULTRA MINIMALIST REDESIGN
   ======================================== */

.quiz-cta-redesigned {
    padding: 8rem 0;
    background: linear-gradient(135deg, #fafbfc 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.quiz-cta-redesigned::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(158, 180, 136, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.quiz-cta-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Left Content Side */
.quiz-content-side {
    max-width: 540px;
}

.quiz-tag-minimal {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(49, 77, 68, 0.06);
    color: var(--color-verde-oscuro);
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    border: 1px solid rgba(49, 77, 68, 0.1);
    text-transform: uppercase;
}

.quiz-tag-minimal i {
    font-size: 0.9rem;
    color: var(--color-verde-claro);
}

.quiz-heading-minimal {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.quiz-subtitle-minimal {
    font-size: 1.1rem;
    color: #5a5a5a;
    line-height: 1.7;
    margin-bottom: 3rem;
    font-weight: 400;
}

/* Stats Section */
.quiz-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    margin-bottom: 2.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.quiz-stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-verde-oscuro);
    font-family: 'Inter', sans-serif;
}

.stat-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.quiz-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
}

/* Button */
.btn-quiz-minimal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: var(--color-naranja);
    color: white;
    padding: 1.2rem 2.8rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: none;
}

.btn-quiz-minimal svg {
    transition: transform 0.3s ease;
}

.btn-quiz-minimal:hover {
    background: transparent;
    color: var(--color-naranja);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-quiz-minimal:hover svg {
    transform: translateX(4px);
}

/* Right Visual Side */
.quiz-visual-side {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.quiz-visual-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    display: grid;
    gap: 1.5rem;
}

.quiz-visual-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.quiz-visual-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-naranja) 0%, var(--color-naranja) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz-visual-card:hover::before {
    transform: scaleX(1);
}

.quiz-visual-card.main-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.quiz-visual-card.secondary-card {
    animation: fadeInUp 0.6s ease-out 0.2s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-visual-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-naranja) 0%, var(--color-naranja) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.quiz-visual-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-icon i {
    font-size: 1.8rem;
    color: white;
}

.quiz-visual-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.quiz-visual-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.card-badge {
    display: inline-block;
    background: rgba(49, 77, 68, 0.08);
    color: var(--color-verde-oscuro);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Quiz CTA Redesigned */
@media (max-width: 1024px) {
    .quiz-cta-wrapper {
        gap: 4rem;
    }

    .quiz-heading-minimal {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .quiz-cta-redesigned {
        padding: 5rem 0;
    }

    .quiz-cta-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .quiz-content-side {
        max-width: 100%;
    }

    .quiz-heading-minimal {
        font-size: 2.5rem;
    }

    .quiz-subtitle-minimal {
        font-size: 1rem;
    }

    .quiz-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .quiz-stat-divider {
        height: 35px;
    }

    .btn-quiz-minimal {
        width: 100%;
        max-width: 100%;
    }

    .quiz-visual-card.secondary-card {
        margin-left: 0;
    }

    .quiz-visual-container {
        max-width: 350px;
        margin: 0 auto;
    }

    .quiz-visual-card {
        padding: 2rem;
    }

    .card-icon {
        width: 50px;
        height: 50px;
    }

    .card-icon i {
        font-size: 1.5rem;
    }

    .quiz-visual-card h3 {
        font-size: 1.3rem;
    }

    .quiz-visual-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .quiz-cta-redesigned {
        padding: 4rem 0;
    }

    .quiz-heading-minimal {
        font-size: 2rem;
    }

    .quiz-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .quiz-stat-item {
        flex: 1 1 40%;
    
    }

    .quiz-stat-divider {
        display: none;
        
    }
}