/* ============================================
   COMPLAINTS BOOK PAGE — css/reclamaciones.css
   ============================================ */

/* ── Hero ────────────────────────────────────── */
.reclamaciones-hero .gategory-hero-img {
    background: linear-gradient(155deg, #1a2a40 0%, #0a1220 100%);
    height: 48vh;
    min-height: 260px;
}

.reclamaciones-hero .hero-entrada-content {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.08) 0%,
        rgba(0, 0, 0, 0.04) 30%,
        rgba(10, 20, 40, 0.55) 70%,
        rgba(10, 18, 35, 0.82) 100%
    );
}

/* ── Page Body ───────────────────────────────── */
.lr-page {
    padding: 60px 0 90px;
}

.lr-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 48px;
    align-items: start;
}

/* ── Left: Info Panel ────────────────────────── */
.lr-info {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Official badge */
.lr-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--color-secundario);
    border-radius: 12px;
    padding: 16px 18px;
    color: #fff;
}

.lr-badge-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lr-badge-icon svg {
    width: 22px;
    height: 22px;
    color: #fff;
}

.lr-badge-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lr-badge-sup {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.65);
}

.lr-badge-text strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

/* Reclamo vs Queja definitions */
.lr-defs-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 20px 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.lr-defs-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #888;
    margin: 0 0 14px;
}

.lr-def {
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 10px;
    font-size: 0.84rem;
    line-height: 1.5;
    color: #444;
}

.lr-def:last-child {
    margin-bottom: 0;
}

.lr-def p {
    margin: 0;
}

.lr-def--reclamo {
    background: #fff5f5;
    border-left: 3px solid #e05252;
}

.lr-def--queja {
    background: #fff8ec;
    border-left: 3px solid #e09a2a;
}

.lr-def-tag {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 6px;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.lr-def--reclamo .lr-def-tag {
    background: #fee2e2;
    color: #b91c1c;
}

.lr-def--queja .lr-def-tag {
    background: #fef3c7;
    color: #92400e;
}

/* Legal notices */
.lr-notices {
    background: #f5faf5;
    border: 1px solid #d9ecd9;
    border-radius: 14px;
    padding: 18px 16px;
}

.lr-notices-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-logo1, #007a00);
    margin: 0 0 12px;
}

.lr-notice-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    color: #555;
    line-height: 1.5;
    padding: 7px 0;
    border-bottom: 1px solid #deeede;
}

.lr-notice-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.lr-notice-row svg {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    color: var(--color-logo1, #007a00);
    margin-top: 2px;
}

/* INDECOPI link */
.lr-indecopi {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px 16px;
}

.lr-indecopi-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #888;
    margin: 0 0 6px;
}

.lr-indecopi-text {
    font-size: 0.82rem;
    color: #555;
    line-height: 1.5;
    margin: 0 0 10px;
}

.lr-indecopi-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-logo1, #007a00);
    text-decoration: none;
}

.lr-indecopi-link:hover {
    text-decoration: underline;
    color: var(--color-logo1, #007a00);
}

.lr-indecopi-link svg {
    width: 13px;
    height: 13px;
}

/* ── Right: Form Card ────────────────────────── */
.lr-form-wrap {
    background: #fff;
    border-radius: 18px;
    padding: 44px 44px 48px;
    box-shadow: 0 6px 40px rgba(0, 0, 0, 0.07);
    border: 1px solid #efefef;
}

.lr-form-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px;
}

.lr-form-subtitle {
    color: #666;
    font-size: 0.92rem;
    margin: 0 0 32px;
    line-height: 1.5;
}

.lr-required-note {
    color: #c0392b;
    font-weight: 700;
}

/* Form sections */
.lr-form-section {
    margin-bottom: 8px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.lr-form-section:first-of-type {
    border-top: none;
    padding-top: 0;
}

.lr-section-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-logo1, #007a00);
    margin-bottom: 16px;
}

/* ── Tipo: radio cards ───────────────────────── */
.lr-tipo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 4px;
}

.lr-tipo-card {
    cursor: pointer;
}

.lr-tipo-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.lr-tipo-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    background: #fafafa;
    text-align: center;
    transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}

.lr-tipo-card-inner svg {
    width: 28px;
    height: 28px;
    color: #aaa;
    transition: color 0.18s;
}

.lr-tipo-card-inner strong {
    font-size: 0.9rem;
    color: #333;
    display: block;
}

.lr-tipo-card-inner span {
    font-size: 0.78rem;
    color: #888;
    display: block;
}

/* Selected state */
.lr-tipo-card[data-tipo="RECLAMO"] input:checked ~ .lr-tipo-card-inner {
    border-color: #e05252;
    background: #fff5f5;
    box-shadow: 0 0 0 3px rgba(224, 82, 82, 0.12);
}

.lr-tipo-card[data-tipo="RECLAMO"] input:checked ~ .lr-tipo-card-inner svg,
.lr-tipo-card[data-tipo="RECLAMO"] input:checked ~ .lr-tipo-card-inner strong {
    color: #c0392b;
}

.lr-tipo-card[data-tipo="QUEJA"] input:checked ~ .lr-tipo-card-inner {
    border-color: #e09a2a;
    background: #fff8ec;
    box-shadow: 0 0 0 3px rgba(224, 154, 42, 0.12);
}

.lr-tipo-card[data-tipo="QUEJA"] input:checked ~ .lr-tipo-card-inner svg,
.lr-tipo-card[data-tipo="QUEJA"] input:checked ~ .lr-tipo-card-inner strong {
    color: #b45309;
}

.lr-tipo-card-inner:hover {
    border-color: #ccc;
    background: #f5f5f5;
}

/* Required type validation */
.lr-tipo-card.lr-tipo-invalid .lr-tipo-card-inner {
    border-color: #e05252;
    background: #fff5f5;
}

/* Field hint */
.lr-field-hint {
    font-size: 0.78rem;
    font-weight: 400;
    color: #888;
    text-transform: none;
    letter-spacing: 0;
}

/* Terms notice */
.lr-terms-notice {
    font-size: 0.82rem;
    color: #777;
    line-height: 1.6;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 24px;
    border-left: 3px solid #d0d0d0;
}

/* Submit button */
.lr-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 1rem;
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1024px) {
    .lr-layout {
        grid-template-columns: 280px 1fr;
        gap: 32px;
    }
}

@media (max-width: 820px) {
    .lr-page {
        padding: 36px 0 60px;
    }

    .lr-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .lr-info {
        position: static;
    }

    .lr-form-wrap {
        padding: 28px 22px 32px;
    }

    .lr-form-heading {
        font-size: 1.3rem;
    }

    .lr-tipo-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .lr-tipo-grid {
        grid-template-columns: 1fr;
    }
}
