/* ============================================
   Image Checklist Block
   ============================================ */

.amoun-ic {
    width: 100%;
    padding: 80px 0;
    overflow: hidden;
}

.amoun-ic__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Column order based on image position */
.amoun-ic.image-left  .amoun-ic__img-col  { order: 1; }
.amoun-ic.image-left  .amoun-ic__text-col { order: 2; }
.amoun-ic.image-right .amoun-ic__img-col  { order: 2; }
.amoun-ic.image-right .amoun-ic__text-col { order: 1; }

/* ---- Decorative Frame ---- */
.amoun-ic__img-frame {
    position: relative;
    /* Extra space for decorative elements */
    padding: 28px 0 28px 28px;
}

/* When image is on the right, flip the deco positions */
.amoun-ic.image-right .amoun-ic__img-frame {
    padding: 28px 28px 28px 0;
}

/* Dashed border — top-left */
.amoun-ic__deco--border {
    position: absolute;
    top: 0;
    left: 0;
    width: 62%;
    height: 62%;
    border: 2px dashed #1a237e;
    border-radius: 2px;
    z-index: 0;
}

.amoun-ic.image-right .amoun-ic__deco--border {
    left: auto;
    right: 0;
}

/* Dotted pattern — bottom-right */
.amoun-ic__deco--dots {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 38%;
    height: 38%;
    z-index: 0;
    background-image: radial-gradient(circle, #1a237e 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    opacity: 0.25;
}

.amoun-ic.image-right .amoun-ic__deco--dots {
    right: auto;
    left: 0;
}

/* Actual image — sits above decos */
.amoun-ic__img-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

.amoun-ic__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---- Text ---- */
.amoun-ic__subtitle {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 16px;
}

.amoun-ic__title {
    font-size: clamp(26px, 3.2vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    color: #111;
    margin: 0 0 20px;
}

.amoun-ic__divider {
    width: 40px;
    height: 3px;
    background: #1a237e;
    margin-bottom: 24px;
}

.amoun-ic__desc {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 28px;
}

.amoun-ic__desc p {
    margin: 0 0 16px;
}

.amoun-ic__desc p:last-child {
    margin-bottom: 0;
}

/* ---- Checklist items stagger animation ---- */
.amoun-ic__checklist-item {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.amoun-ic__checklist-item.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ---- Checklist ---- */
.amoun-ic__checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.amoun-ic__checklist-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.amoun-ic__check-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a237e;
}

/* ============================================
   Scroll Animation
   ============================================ */

.amoun-ic__animate {
    opacity: 0;
    transition: opacity 0.75s ease, transform 0.75s ease;
    will-change: transform, opacity;
}

.amoun-ic__animate--from-left  { transform: translateX(-70px); }
.amoun-ic__animate--from-right { transform: translateX(70px);  }

.amoun-ic__animate.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 900px) {
    .amoun-ic__inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .amoun-ic.image-left  .amoun-ic__img-col,
    .amoun-ic.image-right .amoun-ic__img-col  { order: 1; }
    .amoun-ic.image-left  .amoun-ic__text-col,
    .amoun-ic.image-right .amoun-ic__text-col { order: 2; }

    .amoun-ic__animate--from-left,
    .amoun-ic__animate--from-right {
        transform: translateY(40px);
    }

    .amoun-ic__animate.is-visible {
        transform: translateY(0);
    }
}
