/* =====================================================================
   PAGE MODULE — en-services-search-everywhere-seo
   Extracted verbatim from inline <style> of: servicios/busqueda-total/seo.html, en/services/search-everywhere/seo.html
   Design unchanged; loaded via `pageCss` front-matter.
   ===================================================================== */

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Section with texture */
.textured-section {
    position: relative;
    background: #FAF9F6;
    overflow: hidden;
}

.textured-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://cdn.emkt.mx/patterns/pattern-dots-grid.svg');
    opacity: 0.03;
    pointer-events: none;
}


/* Feature cards with custom icons AND SVG pattern background */
.features-section {
    padding: 6rem 2rem;
    background: #FAF9F6;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://cdn.emkt.mx/svg-patterns/EMKT-SMA-Design-Background-45.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(166, 25, 99, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    background: linear-gradient(135deg, var(--secondary-teal), var(--primary-magenta));
}

.feature-card h3 {
    font-family: 'Mirza', serif;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-magenta);
}

/* Stats section with external links AND photo */
.stats-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(166, 25, 99, 0.05), rgba(23, 167, 175, 0.05));
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

.stat-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-magenta);
}

.stat-number {
    font-family: 'Mirza', serif;
    font-size: 3rem;
    font-weight: 500;
    background: linear-gradient(135deg, var(--secondary-teal), var(--primary-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 0.5rem;
}

.stat-source {
    font-size: 0.875rem;
    color: #666;
}

.stat-source a {
    color: var(--secondary-teal);
    text-decoration: none;
    font-weight: 500;
}

.stat-source a:hover {
    text-decoration: underline;
}

.stats-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* Pricing section - Base + Add-ons */
.pricing-section {
    padding: 6rem 2rem;
    background: #FAF9F6;
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 3rem 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
}

.pricing-card.base {
    border: 3px solid var(--primary-magenta);
}

.pricing-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-teal), var(--primary-magenta));
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.pricing-card h3 {
    font-family: 'Mirza', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-magenta);
}

.pricing-card p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.pricing-features li::before {
    content: '✓';
    color: var(--secondary-teal);
    font-weight: bold;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.addon-cards {
    display: grid;
    gap: 2rem;
}

.pricing-card.addon {
    padding: 2rem;
    border: 2px solid var(--secondary-teal);
}

.pricing-card.addon h3 {
    font-size: 1.5rem;
}

.pricing-card.addon p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.pricing-cta {
    text-align: center;
    margin-top: 3rem;
}

/* FAQ section - better design */
.faq-section {
    padding: 6rem 2rem;
    background: white;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #FAF9F6;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-left: 4px solid var(--primary-magenta);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(166, 25, 99, 0.1);
}

.faq-question {
    font-family: 'Mirza', serif;
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--primary-magenta);
    padding: 1.75rem 2rem;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.faq-question::before {
    content: '?';
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-teal), var(--primary-magenta));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.faq-answer {
    padding: 0 2rem 1.75rem 5rem;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #555;
}

/* CTA section with teal gradient */
.cta-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--secondary-teal), #1a8a91);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://cdn.emkt.mx/svg-patterns/EMKT-SMA-Design-Background-20.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    pointer-events: none;
}

.cta-section h2 {
    font-family: 'Mirza', serif;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Add-on cards section - DARK WITH VIBRANT GRADIENTS */
.addons-section {
    padding: 6rem 2rem;
    background: white;
}

.addon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.addon-card {
    background: linear-gradient(135deg, #1a2332, #263159);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.addon-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--secondary-teal), var(--primary-magenta));
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.addon-card:hover::before {
    opacity: 1;
}

.addon-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(23, 167, 175, 0.3);
}

.addon-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    background: linear-gradient(135deg, #FFE5B4, #FF8C42);
}

.addon-card:nth-child(2) .addon-icon {
    background: linear-gradient(135deg, #ffffff, var(--secondary-teal));
}

.addon-card:nth-child(3) .addon-icon {
    background: linear-gradient(135deg, var(--secondary-teal), #00FFF0);
}

.addon-card h3 {
    font-family: 'Mirza', serif;
    font-size: 1.875rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, var(--secondary-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.addon-card p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

.addon-card a {
    color: #FFE5B4;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.addon-card a:hover {
    gap: 0.75rem;
    color: #FF8C42;
}

/* Testimonials */
.testimonials-section {
    padding: 6rem 2rem;
    background: #FAF9F6;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.stars {
    color: #FFB800;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-magenta);
    font-size: 1.125rem;
}

.testimonial-role {
    font-size: 0.9375rem;
    color: #666;
}

/* Mobile responsive */
/* Shimmer effect for Eluvia logo */
.comparison-table-grid > div:nth-child(3)::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 968px) {

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

    .stats-container {
        grid-template-columns: 1fr;
    }

    .pricing-container {
        grid-template-columns: 1fr;
    }

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

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .why-trust-grid {
        grid-template-columns: 1fr !important;
    }
    
    .comparison-table-grid,
    .comparison-table-row {
        grid-template-columns: 1fr !important;
    }
    
    /* Hide comparison table on mobile, show simplified version */
    .comparison-table-grid,
    .comparison-table-row {
        display: none !important;
    }
    
    .mobile-comparison {
        display: block !important;
    }
    
    .comparison-table-grid > div,
    .comparison-table-row > div {
        text-align: left !important;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .audit-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Hide SVG patterns on mobile to prevent visual issues */
    .features-section::before {
        display: none;
    }
}
