/**
 * Engel Asset Management — Homepage sections
 */

/* Kicker labels */
.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; }

/* Stats */
.ea-home-stats {
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}

.ea-stat-card {
    padding: 1rem 0.5rem;
    transition: transform 0.35s ease;
}

.ea-stat-card:hover {
    transform: translateY(-4px);
}

/* About visual */
.ea-about-visual { padding-bottom: 2rem; }

.ea-about-img-main {
    transition: transform 0.6s ease;
}

.ea-about-visual:hover .ea-about-img-main {
    transform: scale(1.02);
}

.ea-about-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    max-width: 260px;
    transform: translate(8%, 12%);
}

@media (max-width: 575.98px) {
    .ea-about-badge {
        position: relative;
        transform: none;
        margin-top: 1rem;
        max-width: 100%;
    }
}

/* Icon chips */
.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;
    transition: background 0.3s ease, transform 0.3s ease;
}

.ea-icon-chip--lg {
    width: 52px;
    height: 52px;
    font-size: 1.35rem;
}

.ea-icon-chip--light {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.ea-why-card:hover .ea-icon-chip,
.ea-governance-mini:hover .ea-icon-chip {
    background: #B80909;
    color: #fff;
    transform: scale(1.05);
}

/* Service cards */
.ea-home-services {
    background: linear-gradient(145deg, #0a1018 0%, #121a24 50%, #0c1e21 100%);
}

.ea-service-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ea-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.ea-service-card__img {
    height: 160px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.ea-service-card:hover .ea-service-card__img {
    transform: scale(1.06);
}

.ea-service-card .card-body {
    position: relative;
    overflow: hidden;
}

/* Why cards */
.ea-why-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.ea-why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(11, 29, 58, 0.08);
    border-color: rgba(184, 9, 9, 0.25) !important;
}

/* Process steps */
.ea-step-card {
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ea-step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1) !important;
}

.ea-step-num {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(184, 9, 9, 0.35);
    letter-spacing: 0.05em;
}

/* Governance section */
.ea-home-governance {
    background: linear-gradient(135deg, #0a1018 0%, #1a0a0a 55%, #121a24 100%);
    position: relative;
    overflow: hidden;
}

@media (max-width: 767.98px) {
    .ea-home-governance { overflow: visible; }
}

.ea-home-governance::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 9, 9, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.ea-governance-list li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.65rem;
}

/* Principles */
.ea-principle-card {
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.ea-principle-card:hover {
    transform: translateY(-5px);
    border-color: rgba(184, 9, 9, 0.3) !important;
}

/* Globe visual */
.ea-globe-visual {
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

.ea-globe-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #B80909;
    box-shadow: 0 0 0 0 rgba(184, 9, 9, 0.5);
    animation: eaGlobePulse 2.5s ease-out infinite;
}

.ea-globe-dot--1 { top: 28%; left: 22%; animation-delay: 0s; }
.ea-globe-dot--2 { top: 45%; right: 28%; animation-delay: 0.6s; }
.ea-globe-dot--3 { bottom: 32%; left: 38%; animation-delay: 1.2s; }
.ea-globe-dot--4 { top: 22%; right: 18%; animation-delay: 1.8s; }

@keyframes eaGlobePulse {
    0%   { box-shadow: 0 0 0 0 rgba(184, 9, 9, 0.55); }
    70%  { box-shadow: 0 0 0 14px rgba(184, 9, 9, 0); }
    100% { box-shadow: 0 0 0 0 rgba(184, 9, 9, 0); }
}

.ea-global-item {
    padding: 0.75rem 1rem;
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.9rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ea-global-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* CTA banner */
.ea-home-cta .card {
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}

/* Testimonials */
.ea-testimonial-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ea-testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1) !important;
}

/* Logos */
.ea-logos-swiper img {
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.ea-logos-swiper img:hover {
    opacity: 1 !important;
    filter: none !important;
}

/* Section spacing helpers */
.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; }
}
