/**
 * Engel Asset Management — Inner page sections
 */

.ea-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bs-primary);
    margin-bottom: 0.75rem;
}

.ea-kicker--light { color: #fff; opacity: 0.85; }

.ea-icon-chip {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(184, 9, 9, 0.1);
    color: #B80909;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.ea-icon-chip--light {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.py-lg-8 { padding-top: 5rem !important; padding-bottom: 5rem !important; }

@media (min-width: 992px) {
    .py-lg-8 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
}

.ea-page-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    padding: 5rem 0 3rem;
    background-size: cover;
    background-position: center;
}

.ea-page-hero .bg-overlay { opacity: 0.78 !important; }

.ea-page-hero__kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.75rem;
}

.ea-page-split__img {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(11, 29, 58, 0.12);
}

.ea-page-split__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 320px;
    transition: transform 0.6s ease;
}

.ea-page-split__img:hover img { transform: scale(1.03); }

.ea-process-card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
    padding: 1.75rem;
    height: 100%;
    background: #fff;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.ea-process-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(11, 29, 58, 0.08);
    border-color: rgba(184, 9, 9, 0.2);
}

.ea-process-card__num {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(184, 9, 9, 0.45);
    margin-bottom: 0.75rem;
}

.ea-portfolio-item,
.ea-return-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ea-portfolio-item:last-child,
.ea-return-item:last-child { border-bottom: 0; }

.ea-adv-card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
    padding: 1.75rem;
    height: 100%;
    background: #fff;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ea-adv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(11, 29, 58, 0.08);
}

.ea-plan-card {
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1.25rem;
    overflow: hidden;
    height: 100%;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ea-plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(11, 29, 58, 0.1);
}

.ea-plan-card--featured {
    border-color: #B80909;
    box-shadow: 0 16px 40px rgba(184, 9, 9, 0.12);
}

.ea-plan-card__head {
    padding: 1.75rem;
    background: linear-gradient(135deg, #0a1018 0%, #1a0a0a 100%);
    color: #fff;
}

.ea-plan-card__head .h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ea-plan-card--featured .ea-plan-card__head {
    background: linear-gradient(135deg, #B80909 0%, #6E0505 100%);
}

.ea-plan-card__desc {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.ea-plan-range {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bs-body-color);
}

.ea-plan-cycle {
    font-size: 0.8125rem;
    color: var(--bs-secondary-color);
}

.ea-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.ea-service-hub-card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
    overflow: hidden;
    height: 100%;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ea-service-hub-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(11, 29, 58, 0.1);
}

.ea-service-hub-card__img {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.ea-team-card img {
    transition: transform 0.5s ease;
}

.ea-team-card:hover img { transform: scale(1.04); }

.ea-contact-office {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
    background: #fff;
}

.ea-section-dark {
    background: linear-gradient(135deg, #0a1018 0%, #121a24 100%);
}

.ea-section-off { background: #f8f9fb; }

.ea-philosophy-grid .ea-governance-mini { min-height: 340px; }

/* Philosophy mobile swiper */
.ea-philosophy-mobile {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.ea-philosophy-swiper {
    overflow: visible;
}

.ea-philosophy-swiper .ea-governance-mini {
    min-height: 360px;
}

.ea-philosophy-pagination {
    position: relative !important;
    bottom: auto !important;
}

.ea-philosophy-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.35);
    opacity: 1;
    transition: transform 0.3s ease, background 0.3s ease;
}

.ea-philosophy-pagination .swiper-pagination-bullet-active {
    background: #B80909;
    transform: scale(1.25);
}

@media (min-width: 992px) {
    .ea-page-hero { min-height: 380px; padding-bottom: 3.5rem; }
}

/* Auth pages */
.ea-auth-card {
    border-radius: 1.25rem;
    background: #fff;
}

.ea-auth-panel {
    border-radius: 1.25rem;
    overflow: hidden;
    min-height: 100%;
    background: linear-gradient(135deg, #0a1018 0%, #1a0a0a 100%);
}

.ea-auth-panel__img {
    height: 220px;
    background-size: cover;
    background-position: center;
    opacity: 0.55;
}

.ea-auth-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.ea-auth-feature + .ea-auth-feature {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Terms & Privacy policy page */
.ea-page-hero--legal {
    background: linear-gradient(135deg, #0a1018 0%, #1a0a0a 100%);
}

.ea-policy-wrap {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
}

.ea-policy-intro {
    background: rgba(184, 9, 9, 0.04);
    border-left: 4px solid #B80909;
    border-radius: 0.75rem;
    padding: 1.75rem;
    margin-bottom: 2.5rem;
}

.ea-policy-toc {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    padding: 1.75rem;
    margin-bottom: 2.5rem;
}

.ea-policy-toc__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.ea-policy-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ea-policy-toc li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ea-policy-toc li:last-child {
    border-bottom: none;
}

.ea-policy-toc a {
    color: var(--bs-body-color);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.ea-policy-toc a:hover {
    color: #B80909;
    padding-left: 0.35rem;
}

.ea-policy-toc a i {
    color: #B80909;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.ea-policy-toc a:hover i {
    opacity: 1;
}

.ea-policy-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(184, 9, 9, 0.15);
    scroll-margin-top: 6rem;
}

.ea-policy-content h2:first-child {
    margin-top: 0;
}

.ea-policy-content h4 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.ea-policy-content p,
.ea-policy-content li {
    line-height: 1.8;
    color: var(--bs-secondary-color);
}

.ea-policy-content ul,
.ea-policy-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.ea-policy-content li {
    margin-bottom: 0.5rem;
}

.ea-policy-highlight {
    background: rgba(184, 9, 9, 0.06);
    border-left: 3px solid #B80909;
    border-radius: 0.5rem;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.ea-policy-highlight p:last-child {
    margin-bottom: 0;
}

.ea-policy-contact {
    background: linear-gradient(135deg, #0a1018 0%, #1a0a0a 100%);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    text-align: center;
    margin-top: 3rem;
}

