/* About page, part 1: intro with pill photos, values cards, mission split
   (Zeinet home-four: about-five, service-four, offer-one). */

/* Intro: three pill-shaped photos and a blue stats bar. */
.zn-pills { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: start; }
.zn-pill { overflow: hidden; border-radius: 999px; background: var(--surface); }
.zn-pill img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zn-pills__left { display: grid; gap: 24px; }
.zn-pills__left .zn-pill:first-child { height: 330px; }
.zn-pills__left .zn-pill:last-child { height: 260px; border-radius: 999px 999px 0 0; }
.zn-pills__right { margin-top: 60px; height: 520px; }
/* Rotating frames: photos stacked, the active one fades in over the last. */
.zn-rotate { position: relative; }
.zn-rotate img { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity 1.6s var(--ease), transform 8s linear; }
.zn-rotate img.is-active { opacity: 1; transform: scale(1); }
.zn-intro__body { margin: 26px 0 30px; }
.zn-intro__body p { margin-bottom: 14px; }
.zn-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; list-style: none; margin: 0 0 32px; padding: 0; }
.zn-checks li { display: flex; gap: 12px; align-items: center; color: var(--secondary); font-weight: 500; }
.zn-checks .zn-icon { color: var(--primary); font-size: 20px; }
.zn-statbar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    margin-bottom: 40px;
    padding: 26px 10px;
    border-radius: 0 0 14px 14px;
    background: var(--secondary);
    color: var(--white);
}
.zn-statbar div { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; text-align: center; }
.zn-statbar div + div { border-left: 1px solid rgba(255, 255, 255, 0.25); }
.zn-statbar strong { color: var(--primary); font-size: 32px; font-weight: 700; line-height: 1; }
.zn-statbar span { font-size: 15px; font-weight: 500; line-height: 1.3; }
.zn-btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* Values: white cards capped with a faded photo, ringed icon on the seam, round arrow. */
.zn-network {
    background-color: var(--surface);
    background-image:
        linear-gradient(30deg, rgba(2, 62, 88, 0.04) 1px, transparent 1px),
        linear-gradient(150deg, rgba(2, 62, 88, 0.04) 1px, transparent 1px);
    background-size: 90px 52px;
}
.zn-value {
    position: relative;
    height: 100%;
    padding: 0 26px 54px;
    border-radius: 6px;
    text-align: center;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(1, 42, 61, 0.06);
    transition: transform 0.4s var(--ease);
}
.zn-value:hover { transform: translateY(-8px); }
.zn-value__cap {
    position: relative;
    height: 150px;
    margin: 0 -26px 0;
    overflow: hidden;
    border-radius: 6px 6px 0 0;
    background-color: var(--secondary);
    background-size: cover;
    background-position: center;
    clip-path: polygon(0 0, 100% 0, 100% 78%, 80% 92%, 60% 82%, 40% 96%, 20% 84%, 0 94%);
    transition: background-size 0.6s var(--ease);
}
/* Brand-blue fade over the photo; lifts a little on hover. */
.zn-value__cap::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 62, 88, 0.42) 0%, rgba(1, 42, 61, 0.74) 100%); transition: opacity 0.4s var(--ease); }
.zn-value:hover .zn-value__cap::before { opacity: 0.82; }
.zn-value__icon {
    width: 88px; height: 88px;
    margin: -50px auto 20px;
    position: relative;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-size: 32px;
    outline: 3px dashed rgba(235, 113, 29, 0.45);
    outline-offset: 4px;
}
.zn-value h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.zn-value p { font-size: 15px; margin: 0; }
.zn-value__arrow {
    position: absolute;
    left: 50%; bottom: -28px;
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    transform: translateX(-50%);
}
.zn-value__arrow:hover { background: var(--secondary); color: var(--white); }

/* Mission & vision: copy left, tall photo right over a blue block. */
.zn-mission { position: relative; overflow: hidden; }
.zn-mission::before { content: ''; position: absolute; top: 0; right: 0; width: 38%; height: 140px; background: var(--navy); }
.zn-mission::after { content: ''; position: absolute; bottom: 0; right: 0; width: 38%; height: 140px; background: var(--navy); }
.zn-mission__photo { position: relative; z-index: 1; height: 100%; min-height: 560px; background-size: cover; background-position: center; border-radius: 6px; }
.zn-mv { display: flex; gap: 18px; padding: 26px 28px; margin-bottom: 20px; border: 1px solid var(--border); border-radius: 6px; background: var(--white); }
.zn-mv:hover { border-color: var(--primary); }
.zn-mv__icon {
    width: 58px; height: 58px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(235, 113, 29, 0.12);
    color: var(--primary);
    font-size: 22px;
}
.zn-mv h3 { font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.zn-mv p { margin: 0; font-size: 15px; }
.zn-emergency { display: flex; align-items: center; gap: 14px; color: var(--secondary); }
.zn-emergency__icon { font-size: 38px; color: var(--primary); display: inline-flex; }
.zn-emergency small { display: block; font-size: 14px; color: var(--text); }
.zn-emergency strong { font-size: 20px; }

@media (max-width: 991px) {
    .zn-pills__right { height: 420px; }
    .zn-mission::before, .zn-mission::after { display: none; }
    .zn-mission__photo { min-height: 380px; }
}

@media (max-width: 575px) {
    .zn-pills { grid-template-columns: 1fr 1fr; gap: 12px; }
    .zn-pills__left { gap: 12px; }
    .zn-pills__left .zn-pill:first-child { height: 200px; }
    .zn-pills__left .zn-pill:last-child { height: 160px; }
    .zn-pills__right { margin-top: 30px; height: 300px; }
    .zn-checks { grid-template-columns: 1fr; }
    .zn-statbar div + div { border-left: 0; }
    .zn-statbar { gap: 16px; }
}
