/* sobremi/static/sobremi/css/sobremi.css */

/* =============================================
   Hero Section
   ============================================= */
.sobremi-hero-img {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 5px solid white;
    box-shadow: 0 20px 50px rgba(14, 30, 60, 0.15);
}

.sobremi-hero-ring {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 2px dashed rgba(32, 96, 223, 0.25);
    animation: spin-slow 30s linear infinite;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* =============================================
   Pillars Section
   ============================================= */
.pillar-card {
    border-radius: 1.25rem;
    border: 1px solid var(--secondary-color);
    padding: 2rem 1.5rem;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(14, 30, 60, 0.1);
}

.pillar-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.pillar-icon-wrap.gold {
    background-color: rgba(212, 175, 55, 0.12);
    color: var(--accent-gold);
}

.pillar-icon-wrap.blue {
    background-color: rgba(32, 96, 223, 0.1);
    color: var(--primary-color);
}

/* =============================================
   Story Section (Timeline)
   ============================================= */
.story-timeline {
    position: relative;
    padding-left: 2.5rem;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 0.6rem;
    top: 0.5rem;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), rgba(32, 96, 223, 0.05));
}

.story-block {
    position: relative;
    margin-bottom: 2.5rem;
}

.story-block::before {
    content: '';
    position: absolute;
    left: -2.1rem;
    top: 0.45rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 2px solid white;
    box-shadow: 0 0 0 3px rgba(32, 96, 223, 0.2);
}

.story-quote {
    border-left: 4px solid var(--primary-color);
    background: #f0f4fc;
    border-radius: 0 1rem 1rem 0;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}

/* =============================================
   Journey Section
   ============================================= */
.journey-card {
    background: #f0f4fc;
    border-radius: 1.5rem;
    padding: 2.5rem;
}

.journey-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: rgba(32, 96, 223, 0.1);
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}

.journey-stat {
    text-align: center;
    padding: 1.25rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(14, 30, 60, 0.06);
}

.journey-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.journey-stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 0.25rem;
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 767px) {
    .sobremi-hero-img {
        max-width: 280px;
    }

    .story-timeline {
        padding-left: 1.75rem;
    }

    .journey-card {
        padding: 1.5rem;
    }
}
