/* ==============================================================
   COMPONENTES CRO REUTILIZABLES - CLÍNICA JANDJ
   Optimizados para conversión, mobile-first y rendimiento
   ============================================================== */

/* 1. HERO CRO Y CAJAS DESTACADAS */
.cjj-hero-cro {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 26px;
    margin: 20px auto 25px auto;
    max-width: 1000px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    text-align: center;
}

.cjj-price-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cjj-microcopy {
    font-size: 13.5px;
    color: #64748b;
    margin: 14px 0 0 0;
    line-height: 1.45;
}

/* 2. BOTONES DE ACCIÓN (CTAs) */
.cjj-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 16px 0;
}

.cjj-cta-row.cjj-cta-left,
.cjj-choice-card .cjj-cta-row,
.cjj-confidential-box .cjj-cta-row {
    justify-content: flex-start;
}

.cjj-cta-row.cjj-cta-right {
    justify-content: flex-end;
}

.cjj-btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: #007a32;
    color: #ffffff !important;
    padding: 13px 22px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0, 122, 50, 0.3);
    transition: all 0.2s ease;
    min-height: 46px;
}

.cjj-btn-wa:hover {
    background: #005f27;
    transform: translateY(-2px);
    color: #ffffff !important;
}

.cjj-btn-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: linear-gradient(135deg, #ff851a 0%, #ff6600 100%);
    background-color: #ff7a00;
    color: #ffffff !important;
    padding: 13px 22px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.35);
    transition: all 0.2s ease;
    min-height: 46px;
}

.cjj-btn-call:hover,
.cjj-btn-call:focus {
    background: linear-gradient(135deg, #ff7a00 0%, #e65c00 100%);
    background-color: #e65c00;
    transform: translateY(-2px);
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(255, 122, 0, 0.45);
    text-decoration: none !important;
}

.cjj-btn-call:active {
    transform: translateY(-1px);
}

.cjj-btn-form-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: #0284c7;
    color: #ffffff !important;
    padding: 13px 22px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
    transition: all 0.2s ease;
    min-height: 46px;
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
    line-height: normal;
}

.cjj-btn-form-toggle:hover,
.cjj-btn-form-toggle:focus {
    background: #0369a1;
    transform: translateY(-2px);
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.4);
    text-decoration: none !important;
}

.cjj-btn-form-toggle:active {
    transform: translateY(-1px);
}

.cjj-btn-form-toggle.cjj-opened {
    background: #075985;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 3. TIRAS DE CONFIANZA (TRUST BADGES) */
.cjj-trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin-top: 14px;
}

.cjj-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    color: #475569;
    font-weight: 600;
}

.cjj-trust-item i {
    color: #007a32;
}

/* 4. TARJETAS DE SÍNTOMAS / SITUACIONES / MOTIVOS DE CONSULTA */
.cjj-situaciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin: 25px 0 35px 0;
}

.cjj-card-situacion {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.cjj-card-situacion:hover {
    transform: translateY(-3px);
    border-color: #a7f3d0;
}

.cjj-card-situacion h3 {
    margin: 0 0 8px 0;
    font-size: 16.5px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cjj-card-situacion h3 i {
    color: #007a32;
    flex-shrink: 0;
}

.cjj-card-situacion p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

/* 5. FLUJO DE ATENCIÓN PASO A PASO (1, 2, 3...) */
.cjj-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 25px 0 35px 0;
}

.cjj-step-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px 18px;
    text-align: center;
}

.cjj-step-number {
    width: 38px;
    height: 38px;
    background: #007a32;
    color: #ffffff;
    font-weight: 800;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 12px;
}

.cjj-step-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.cjj-step-item p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.45;
    margin: 0;
}

/* 6. TARJETA DE ESPECIALISTA / PROFESIONAL */
.cjj-team-card {
    display: flex;
    align-items: center;
    gap: 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px;
    margin: 25px 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.cjj-team-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #e2e8f0;
}

.cjj-team-info {
    flex: 1;
    min-width: 250px;
}

.cjj-team-info h3 {
    font-size: 18.5px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px 0;
}

.cjj-team-info p {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.55;
    margin: 0 0 8px 0;
}

/* 7. TABLA DE TARIFAS TRANSPARENTES */
.cjj-pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    margin: 20px 0 25px 0;
    border: 1px solid #e2e8f0;
}

.cjj-pricing-table th,
.cjj-pricing-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.cjj-pricing-table th {
    background: #f8fafc;
    font-weight: 700;
    color: #1e293b;
    font-size: 14.5px;
}

.cjj-pricing-table td {
    font-size: 14px;
    color: #475569;
}

.cjj-pricing-table tr:last-child td {
    border-bottom: none;
}

.cjj-pricing-table .cjj-price-val {
    font-weight: 700;
    color: #007a32;
    font-size: 16px;
    white-space: nowrap;
}

/* 8. TESTIMONIOS Y RESEÑAS */
.cjj-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin: 22px 0 30px 0;
}

.cjj-review-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
}

.cjj-review-card .cjj-stars {
    color: #f59e0b;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-size: 15px;
}

.cjj-review-card p {
    font-size: 14px;
    color: #334155;
    line-height: 1.55;
    margin: 0 0 12px 0;
    flex: 1;
    font-style: italic;
}

.cjj-review-author {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

/* 9. PILARES / MOTIVOS POR QUÉ ELEGIRNOS */
.cjj-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 25px 0 35px 0;
}

.cjj-pillar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.cjj-pillar-card i {
    font-size: 28px;
    color: #007a32;
    margin-bottom: 12px;
}

.cjj-pillar-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.cjj-pillar-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* 10. SECCIONES CRO COMUNES (HOME Y LANDINGS) */
.cjj-section-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
    line-height: 1.25;
}

.cjj-section-intro {
    font-size: 17px;
    color: #64748b;
    max-width: 760px;
    margin: 0 auto 35px auto;
    line-height: 1.6;
}

.cjj-why-section {
    padding: 70px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.cjj-why-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 26px 22px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cjj-why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.08);
    border-color: #34d399;
}

.cjj-why-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #ecfdf5;
    color: #047857;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.cjj-why-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-top: 0;
    margin-bottom: 8px;
}

.cjj-why-card p {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 0;
}

.cjj-help-section {
    padding: 75px 20px 65px 20px;
    background: #f8fafc;
}

.cjj-help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.cjj-help-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
}

.cjj-help-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    border-color: #007a32;
}

.cjj-help-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cjj-help-tag {
    display: inline-block;
    background: #eef7ee;
    color: #007a32;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cjj-help-card i {
    color: #94a3b8;
    font-size: 14px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.cjj-help-card:hover i {
    color: #007a32;
    transform: translateX(4px);
}

.cjj-help-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.cjj-help-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.cjj-process-section {
    padding: 70px 20px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.cjj-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 30px auto;
    text-align: left;
}

.cjj-step-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px 20px;
    position: relative;
}

.cjj-step-num {
    width: 36px;
    height: 36px;
    background: #007a32;
    color: #ffffff;
    border-radius: 50%;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.cjj-step-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin-top: 0;
    margin-bottom: 8px;
}

.cjj-step-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 0;
}

.cjj-pricing-note-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 16px 20px;
    max-width: 820px;
    margin: 20px auto 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
    color: #1e3a8a;
}

.cjj-pricing-note-box i {
    font-size: 22px;
    color: #2563eb;
    margin-top: 2px;
}

.cjj-pricing-note-box strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.cjj-pricing-note-box p {
    font-size: 14px;
    margin: 0;
    color: #3b82f6;
}

.cjj-team-section {
    padding: 60px 20px;
    background: #f8fafc;
}

.cjj-team-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.cjj-team-badge-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.cjj-team-badge-item i {
    color: #007a32;
    font-size: 18px;
}

/* RESPONSIVE */

@media (max-width: 767px) {
    .cjj-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .cjj-btn-wa, .cjj-btn-call, .cjj-btn-form-toggle {
        width: 100%;
    }

    .cjj-team-card {
        flex-direction: column;
        text-align: center;
    }

    .cjj-team-info {
        text-align: center;
    }

    .cjj-trust-strip {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}
