/**
 * G-CERTI Argentina — Marketing Refinements
 * FAQ and conversion support pages
 */

/* ============================================================================
   FAQ
   ============================================================================ */

body.q-page-faq {
    background:
        radial-gradient(circle at top left, rgba(230, 57, 53, 0.08), transparent 28%),
        linear-gradient(180deg, #f8f4f4 0%, #ffffff 22rem);
}

body.q-page-faq .faq-hero {
    min-height: clamp(480px, 58vw, 620px) !important;
    padding: clamp(7rem, 13vw, 8.5rem) 0 clamp(4.5rem, 7vw, 5.5rem) !important;
    background:
        radial-gradient(circle at 10% 18%, rgba(230, 57, 53, 0.14), transparent 26%),
        radial-gradient(circle at 85% 16%, rgba(59, 130, 246, 0.14), transparent 26%),
        linear-gradient(135deg, #08101f 0%, #0f172a 56%, #162540 100%) !important;
}

body.q-page-faq .faq-hero__content {
    max-width: 980px;
}

body.q-page-faq .faq-hero__badge {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
}

body.q-page-faq .faq-hero__main {
    background: linear-gradient(135deg, #ffffff 24%, #fca5a5 56%, #e63935 100%) !important;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.q-page-faq .faq-hero__sub {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(241, 245, 249, 0.8) !important;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
}

body.q-page-faq .faq-hero__search {
    max-width: 720px;
}

body.q-page-faq .faq-hero__search-input {
    min-height: 62px;
    padding-right: 8rem !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 16px 40px rgba(2, 6, 23, 0.16);
}

body.q-page-faq .faq-hero__search-input:focus {
    border-color: rgba(230, 57, 53, 0.42) !important;
    box-shadow: 0 0 0 6px rgba(230, 57, 53, 0.1), 0 18px 44px rgba(2, 6, 23, 0.18) !important;
}

body.q-page-faq .faq-hero__search-hint {
    right: 1.25rem;
    padding: 0.35rem 0.7rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.86) !important;
}

body.q-page-faq .faq-hero__cat.active {
    background: rgba(230, 57, 53, 0.18) !important;
    border-color: rgba(230, 57, 53, 0.28) !important;
}

body.q-page-faq .q-section {
    position: relative;
    z-index: 4;
    margin-top: -2.5rem;
    padding-top: calc(var(--space-9) + 0.5rem);
}

body.q-page-faq .q-breadcrumb {
    margin-bottom: 2rem;
    padding: 0.9rem 1.1rem;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

body.q-page-faq .faq-group {
    max-width: 940px;
}

body.q-page-faq .faq-group__header {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
}

body.q-page-faq .faq-card {
    border-radius: 22px !important;
    border-color: rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.05) !important;
}

body.q-page-faq .faq-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.08) !important;
}

body.q-page-faq .faq-card[open] {
    border-color: rgba(230, 57, 53, 0.2) !important;
    box-shadow: 0 22px 54px rgba(230, 57, 53, 0.08) !important;
}

body.q-page-faq .faq-card__question {
    padding: 1.25rem 1.4rem !important;
    font-size: 1.02rem !important;
}

body.q-page-faq .faq-card__toggle {
    width: 38px !important;
    height: 38px !important;
}

body.q-page-faq .faq-card__answer {
    padding: 0 1.4rem 1.3rem !important;
}

body.q-page-faq .faq-card__answer-inner {
    font-size: 1rem !important;
    line-height: 1.82 !important;
}

/* ============================================================================
   POR QUÉ G-CERTI
   ============================================================================ */

body.q-page-marketing {
    background:
        radial-gradient(circle at top left, rgba(230, 57, 53, 0.08), transparent 28%),
        linear-gradient(180deg, #f8f4f4 0%, #ffffff 22rem);
}

body.q-page-marketing .q-page-header {
    min-height: clamp(320px, 40vw, 420px);
    padding: clamp(5.25rem, 9vw, 6.8rem) 0 clamp(4rem, 7vw, 5rem) !important;
    background:
        radial-gradient(circle at 10% 16%, rgba(230, 57, 53, 0.16), transparent 26%),
        linear-gradient(135deg, #08101f 0%, #0f172a 56%, #162540 100%) !important;
}

body.q-page-marketing .q-page-header .q-container {
    max-width: 1120px;
}

body.q-page-marketing .q-page-header .q-h1 {
    max-width: 760px;
    line-height: 0.98;
}

body.q-page-marketing .q-page-header .q-hero-subtitle {
    max-width: 720px;
    color: rgba(241, 245, 249, 0.78);
    font-size: clamp(1rem, 1.8vw, 1.15rem);
}

body.q-page-marketing #diferenciadores {
    margin-top: -2.5rem;
    position: relative;
    z-index: 4;
}

body.q-page-marketing #diferenciadores .q-section-header {
    margin-bottom: 2.5rem !important;
}

body.q-page-marketing #diferenciadores .q-grid {
    gap: 1.5rem !important;
}

body.q-page-marketing #diferenciadores .q-card {
    height: 100%;
    border-radius: 26px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background:
        radial-gradient(circle at top right, rgba(230, 57, 53, 0.06), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.06);
}

body.q-page-marketing #diferenciadores .q-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 64px rgba(15, 23, 42, 0.1);
}

body.q-page-marketing #diferenciadores .q-card-body {
    padding: 1.7rem;
}

body.q-page-marketing #comparativa .q-card {
    border-radius: 28px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.07);
}

body.q-page-marketing #stats {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top center, rgba(230, 57, 53, 0.12), transparent 34%),
        linear-gradient(135deg, #08101f 0%, #0f172a 100%) !important;
}

body.q-page-marketing #stats .q-stats-grid {
    gap: 1rem !important;
}

body.q-page-marketing #stats .q-stat {
    padding: 1.5rem 1rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.q-page-marketing #stats .q-stat-number {
    color: #ffffff !important;
}

body.q-page-marketing #stats .q-stat-label {
    color: rgba(241, 245, 249, 0.72) !important;
}

body.q-page-marketing #cta-final .q-container {
    max-width: 840px !important;
    padding: clamp(2rem, 4vw, 3rem);
    background:
        radial-gradient(circle at top center, rgba(230, 57, 53, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 30px;
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.08);
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 768px) {
    body.q-page-faq .faq-hero,
    body.q-page-marketing .q-page-header {
        min-height: auto;
        padding-top: clamp(6.25rem, 16vw, 7rem) !important;
    }

    body.q-page-faq .q-section,
    body.q-page-marketing #diferenciadores {
        margin-top: -1.5rem;
    }

    body.q-page-faq .faq-hero__search-input {
        padding-right: 1rem !important;
        min-height: 56px;
    }

    body.q-page-faq .faq-hero__search-hint {
        display: none;
    }

    body.q-page-marketing #cta-final .q-container {
        border-radius: 24px !important;
    }

    body.q-page-marketing #stats .q-stats-grid {
        grid-template-columns: 1fr !important;
    }
}
