/* ==========================================================================
   About Pages — Data Policy
   ========================================================================== */

:root {
    --dp-blue:        #2C3D85;
    --dp-blue-light:  #3a4ea0;
    --dp-green:       #9BB643;
    --dp-green-dark:  #8aa63a;
    --dp-text:        #4a5568;
    --dp-text-dark:   #1a2b4a;
    --dp-bg-tinted:   #f0f4ff;
    --dp-radius:      16px;
    --dp-transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Hero — fondo azul de marca con orbes decorativos
   ========================================================================== */
.dp-hero {
    background: linear-gradient(135deg, #2C3D85 0%, #1e2d66 100%);
    padding: 72px 0 64px;
    position: relative;
    overflow: hidden;
}

/* Orbe verde superior-derecha */
.dp-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -100px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: rgba(155, 182, 67, 0.1);
    pointer-events: none;
}

/* Orbe blanco inferior-izquierda */
.dp-hero::after {
    content: '';
    position: absolute;
    bottom: -90px;
    left: 25%;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.dp-hero__text {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.dp-hero__eyebrow {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9BB643;
    background: rgba(155, 182, 67, 0.15);
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    margin-bottom: 1.25rem;
}

.dp-hero__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 1.25rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.dp-hero__subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
    margin: 0;
    max-width: 520px;
}

/* ==========================================================================
   DataPolicy content — alternating split layout (dp-split-*)
   ========================================================================== */

.dp-split-section {
    background: white;
    padding: 1rem 0 5rem;
}

/* Each row: one visual col + one text col */
.dp-split-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    padding: 4rem 0;
}

.dp-split-row + .dp-split-row {
    border-top: 1px solid rgba(44, 61, 133, 0.07);
}

/* On mobile, move visual above text in flipped rows */
@media (max-width: 860px) {
    .dp-split-row--flip .dp-split-visual-col {
        order: -1;
    }
}

/* --------------------------------------------------------------------------
   Text side
   -------------------------------------------------------------------------- */
.dp-split-eyebrow {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9BB643;
    margin-bottom: 0.75rem;
}

.dp-split-heading {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: #2C3D85;
    margin: 0 0 1.25rem;
    line-height: 1.2;
}

.dp-split-body {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.85;
    margin: 0 0 0.85rem;
}

.dp-split-body:last-child { margin-bottom: 0; }

.dp-split-body strong {
    color: #2C3D85;
    font-weight: 700;
}

/* Inline list used in text col (Información section) */
.dp-split-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dp-split-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.88rem;
    color: #4a5568;
}

.dp-split-list li i {
    color: #9BB643;
    font-size: 0.68rem;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Visual panel
   -------------------------------------------------------------------------- */
.dp-split-visual {
    border-radius: 22px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2.5rem;
}

.dp-split-visual--blue {
    background: linear-gradient(135deg, #eef1fb 0%, #dce4f7 100%);
}

.dp-split-visual--green {
    background: linear-gradient(135deg, #eef6e4 0%, #dceece 100%);
}

/* Image-backed visual — img fills container, chips overlay on top */
.dp-split-visual--img {
    padding: 0;
}

.dp-split-visual--img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Large central icon box */
.dp-vis-icon {
    width: 100px;
    height: 100px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    position: relative;
    z-index: 1;
}

.dp-vis-icon--blue {
    background: linear-gradient(135deg, #2C3D85, #3a4ea0);
    box-shadow: 0 16px 40px rgba(44, 61, 133, 0.3);
}

.dp-vis-icon--green {
    background: linear-gradient(135deg, #9BB643, #b0cc55);
    box-shadow: 0 16px 40px rgba(155, 182, 67, 0.35);
}

/* Floating pill chips */
.dp-vis-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: white;
    border-radius: 30px;
    padding: 0.45rem 0.9rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: #2C3D85;
    box-shadow: 0 4px 18px rgba(44, 61, 133, 0.14);
    white-space: nowrap;
    z-index: 2;
}

.dp-vis-chip i {
    font-size: 0.75rem;
    color: #9BB643;
}

.dp-vis-chip--tl { top:  1.5rem; left:  1.75rem; }
.dp-vis-chip--tr { top:  1.5rem; right: 1.75rem; }
.dp-vis-chip--bl { bottom: 1.5rem; left:  1.75rem; }
.dp-vis-chip--br { bottom: 1.5rem; right: 1.75rem; }

/* Shield watermark */
.dp-vis-watermark {
    position: absolute;
    font-size: 11rem;
    color: #2C3D85;
    opacity: 0.07;
    pointer-events: none;
    line-height: 1;
}

/* Mockup card inside visual (Información section) */
.dp-vis-card {
    background: white;
    border-radius: 16px;
    padding: 1.4rem 1.65rem;
    box-shadow: 0 10px 36px rgba(44, 61, 133, 0.13);
    width: 100%;
    max-width: 310px;
    position: relative;
    z-index: 1;
}

.dp-vis-card__head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(44, 61, 133, 0.08);
}

.dp-vis-card__head-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #9BB643, #b0cc55);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    color: white;
    flex-shrink: 0;
}

.dp-vis-card__head span {
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: #2C3D85;
}

.dp-vis-card__item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.32rem 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8rem;
    color: #4a5568;
}

.dp-vis-card__item i {
    color: #9BB643;
    font-size: 0.62rem;
    flex-shrink: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
    .dp-hero__text { max-width: 100%; }
}

@media (max-width: 860px) {
    .dp-split-row {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 0;
    }
}

@media (max-width: 640px) {
    .dp-hero          { padding: 2.5rem 0; }
    .dp-split-section { padding: 2rem 0 3.5rem; }
    .dp-split-visual  { min-height: 230px; padding: 2rem; }
    .dp-vis-chip--tl,
    .dp-vis-chip--tr  { display: none; }
}

/* ==========================================================================
   LEYES Y REGLAMENTOS — lc-* namespace
   ========================================================================== */

/* Hero — fondo azul de marca con orbes decorativos */
.lc-hero {
    background: linear-gradient(135deg, #2C3D85 0%, #1e2d66 100%);
    padding: 72px 0 64px;
    position: relative;
    overflow: hidden;
}

.lc-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -100px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: rgba(155, 182, 67, 0.1);
    pointer-events: none;
}

.lc-hero::after {
    content: '';
    position: absolute;
    bottom: -90px;
    left: 25%;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.lc-hero__text {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.lc-hero__eyebrow {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9BB643;
    background: rgba(155, 182, 67, 0.15);
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    margin-bottom: 1.25rem;
}

.lc-hero__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 1.25rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.lc-hero__subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
    margin: 0;
    max-width: 520px;
}


/* Section wrapper */
.lc-section {
    padding: 2.75rem 0 3.25rem;
}

.lc-section--tinted {
    background: #f5f6f8;
}

/* Category header */
.lc-category-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(44, 61, 133, 0.1);
}

.lc-category-header__icon {
    width: 56px;
    min-width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    flex-shrink: 0;
}

.lc-category-header__icon--blue {
    background: linear-gradient(135deg, #2C3D85 0%, #3a4ea0 100%);
    box-shadow: 0 4px 16px rgba(44, 61, 133, 0.28);
}

.lc-category-header__icon--green {
    background: linear-gradient(135deg, #9BB643 0%, #b0cc55 100%);
    box-shadow: 0 4px 16px rgba(155, 182, 67, 0.3);
}

.lc-category-header__badge {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    margin-bottom: 0.3rem;
}

.lc-category-header__badge--blue {
    background: rgba(44, 61, 133, 0.1);
    color: #2C3D85;
}

.lc-category-header__badge--green {
    background: rgba(155, 182, 67, 0.15);
    color: #6e8530;
}

.lc-category-header__title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #2C3D85;
    margin: 0 0 0.2rem;
    line-height: 1.2;
}

.lc-category-header__desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
}

/* ==========================================================================
   Legal documents grid — prominent horizontal cards
   ========================================================================== */
.lc-legal-grid {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.lc-doc-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: white;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(44, 61, 133, 0.08);
    border-left: 4px solid #2C3D85;
    box-shadow: 0 2px 12px rgba(44, 61, 133, 0.06);
    transition: all 0.25s ease;
    text-decoration: none;
}

.lc-doc-card:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 24px rgba(44, 61, 133, 0.12);
    border-left-color: #9BB643;
}


.lc-doc-card__icon {
    width: 44px;
    min-width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #2C3D85 0%, #3a4ea0 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}


.lc-doc-card__content {
    flex: 1;
    min-width: 0;
}

.lc-doc-card__type {
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #94a3b8;
    display: block;
    margin-bottom: 0.2rem;
}

.lc-doc-card__title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #2C3D85;
    margin: 0 0 0.25rem;
}

.lc-doc-card__desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.83rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.lc-doc-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #2C3D85;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.55rem 1.1rem;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.lc-doc-card__btn:hover {
    background: #9BB643;
    color: white;
    transform: scale(1.04);
}


/* ==========================================================================
   Promotional regulations grid — 3-col cards
   ========================================================================== */
.lc-promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.lc-promo-grid--2col {
    grid-template-columns: repeat(2, 1fr);
    max-width: 760px;
}

.lc-promo-card {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid rgba(44, 61, 133, 0.18);
    box-shadow: 0 2px 10px rgba(44, 61, 133, 0.07);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: all 0.25s ease;
}

.lc-promo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(44, 61, 133, 0.11);
}

.lc-promo-card__header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #9BB643;
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.25rem;
}

.lc-promo-card__header i {
    font-size: 1rem;
}

.lc-promo-card__title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #2C3D85;
    margin: 0;
    line-height: 1.35;
}

.lc-promo-card__desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
    line-height: 1.55;
    flex: 1;
}

.lc-promo-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #2C3D85;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 0;
    border-top: 1px solid #e2e8f0;
    margin-top: 0.5rem;
    transition: all 0.2s ease;
}

.lc-promo-card__btn:hover {
    color: #9BB643;
    gap: 0.6rem;
}

/* Empty state */
.lc-empty-state {
    background: white;
    border: 1px dashed rgba(44, 61, 133, 0.18);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(44, 61, 133, 0.05);
}

.lc-empty-state__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #eef1fb 0%, #dce4f7 100%);
    color: #2C3D85;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.lc-empty-state__title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #2C3D85;
    margin: 0 0 0.4rem;
}

.lc-empty-state__desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {

    .lc-promo-grid { grid-template-columns: repeat(2, 1fr); }
    .lc-promo-grid--2col { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .lc-hero { padding: 2.5rem 0; }
    .lc-section { padding: 2rem 0 2.5rem; }
    .lc-promo-grid,
    .lc-promo-grid--2col { grid-template-columns: 1fr; }
    .lc-doc-card { flex-wrap: wrap; }
    .lc-doc-card__btn { width: 100%; justify-content: center; }
    .lc-category-header { flex-wrap: wrap; }
}
