/* ==========================================================================
   زفلتة - الصفحة الرئيسية
   ========================================================================== */

/* ==========================================================================
   عن الشركة
   ========================================================================== */
.about-media {
    position: relative;
    isolation: isolate;
    padding-bottom: 90px;
}
.about-media::before {
    content: "";
    position: absolute;
    top: -22px;
    right: -22px;
    z-index: -1;
    width: 65%;
    height: 70%;
    border: 3px solid var(--gold);
    border-radius: var(--radius-lg);
}
.about-img-main {
    margin-left: 70px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.about-img-main img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; }

.about-img-small {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    border: 8px solid var(--cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-img-small img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* الختم الدوار */
.about-seal {
    position: absolute;
    top: 20px;
    left: 0;
    display: grid;
    place-items: center;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: var(--navy);
    box-shadow: var(--shadow);
}
.about-seal svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: spin 18s linear infinite;
}
.about-seal text { fill: var(--gold); font-size: 10.5px; font-weight: 700; font-family: var(--font); }
.about-seal i { color: var(--gold); font-size: 2.2rem; }

.about-text { color: var(--gray); font-size: 1.08rem; margin-bottom: 24px; }

.about-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 20px;
    padding: 0;
    margin: 0 0 32px;
    list-style: none;
    font-weight: 700;
}
.about-list i {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    margin-left: 8px;
    border-radius: 50%;
    background: var(--gold-soft);
    color: var(--gold);
    font-size: .9rem;
}

/* الأرقام */
.stats-row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 80px;
    padding: 40px 20px;
    border-radius: var(--radius-lg);
    background: var(--navy);
    overflow: hidden;
}
.stats-row::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: repeating-linear-gradient(90deg, var(--gold) 0 40px, transparent 40px 70px);
    animation: road-move 2.5s linear infinite;
}
.stat-item { text-align: center; padding: 10px; }
.stat-item + .stat-item { border-right: 1px solid rgba(255, 255, 255, .1); }
.stat-number {
    color: var(--gold);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    line-height: 1.2;
    direction: ltr;
}
.stat-label { color: rgba(255, 255, 255, .8); font-weight: 500; }

@media (max-width: 991.98px) {
    .about-media { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 767.98px) {
    .about-img-main { margin-left: 30px; }
    .about-seal { width: 104px; height: 104px; top: auto; bottom: 40px; left: auto; right: 10px; }
    .about-list { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
    .stat-item:nth-child(3) { border-right: 0; }
}

/* ==========================================================================
   الخدمات
   ========================================================================== */
.services-home {
    position: relative;
    background:
        radial-gradient(circle at 10% 20%, rgba(220, 154, 3, .07), transparent 40%),
        var(--white);
}

.service-card {
    --rx: 0deg;
    --ry: 0deg;
    --ty: 0px;
    position: relative;
    height: 100%;
    padding: 42px 32px 38px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--white);
    overflow: hidden;
    isolation: isolate;
    transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--ty));
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
/* الخلفية الكحلي بتتفرش من عند الأيقونة */
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 85% 15%, rgba(220, 154, 3, .25), transparent 45%),
        linear-gradient(160deg, var(--navy-light), var(--navy));
    clip-path: circle(0% at 85% 70px);
    transition: clip-path .75s var(--ease);
}
.service-card:hover,
.service-card.in-focus {
    --ty: -10px;
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}
.service-card:hover::before,
.service-card.in-focus::before { clip-path: circle(150% at 85% 70px); }

.service-num {
    position: absolute;
    top: 20px;
    left: 26px;
    font-size: 4.4rem;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(8, 29, 48, .12);
    transition: all .5s var(--ease);
}
.service-card:hover .service-num,
.service-card.in-focus .service-num {
    -webkit-text-stroke-color: rgba(220, 154, 3, .55);
    transform: translateY(-6px);
}

.service-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    margin-bottom: 26px;
    border-radius: 22px;
    background: var(--gold-soft);
    color: var(--gold);
    font-size: 2.1rem;
    transition: background .5s var(--ease), color .5s var(--ease), transform .5s var(--ease);
}
.service-icon::after {
    content: "";
    position: absolute;
    inset: -9px;
    border: 2px dashed var(--gold);
    border-radius: 28px;
    opacity: 0;
    transform: scale(.7);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.service-card:hover .service-icon,
.service-card.in-focus .service-icon {
    background: var(--gold);
    color: var(--navy);
    transform: rotate(-8deg);
}
.service-card:hover .service-icon::after,
.service-card.in-focus .service-icon::after {
    opacity: 1;
    transform: scale(1);
    animation: spin 10s linear infinite;
}
.service-card:hover .service-icon i,
.service-card.in-focus .service-icon i { animation: icon-bounce .6s var(--ease); }

.service-title { font-size: 1.35rem; margin-bottom: 12px; transition: color .4s var(--ease); }
.service-text { color: var(--gray); margin-bottom: 22px; transition: color .4s var(--ease); }
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-weight: 800;
    transition: color .4s var(--ease);
}
.service-link i { transition: transform .4s var(--ease); }

.service-card:hover .service-title,
.service-card.in-focus .service-title { color: var(--white); }
.service-card:hover .service-text,
.service-card.in-focus .service-text { color: rgba(255, 255, 255, .72); }
.service-card:hover .service-link,
.service-card.in-focus .service-link { color: var(--gold); }
.service-card:hover .service-link i,
.service-card.in-focus .service-link i { transform: translateX(-8px); }

/* خط الطريق تحت الكارت */
.service-road {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: repeating-linear-gradient(90deg, var(--gold) 0 34px, transparent 34px 56px);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .6s var(--ease) .1s;
}
.service-card:hover .service-road,
.service-card.in-focus .service-road {
    transform: scaleX(1);
    animation: road-move-sm 1.6s linear infinite;
}

/* ---------- كارت الخدمة بصورة ---------- */
.service-card.has-media { padding: 14px 14px 30px; }

/* الكحلي بيطلع من مكان الأيقونة الجديد (تحت الصورة) */
.service-card.has-media::before { clip-path: circle(0% at calc(100% - 57px) 222px); }
.service-card.has-media:hover::before,
.service-card.has-media.in-focus::before { clip-path: circle(160% at calc(100% - 57px) 222px); }

.service-media {
    position: relative;
    height: 210px;
    border-radius: 18px;
    overflow: hidden;
    isolation: isolate;
}
.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}
.service-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 29, 48, .65), rgba(8, 29, 48, 0) 55%);
    transition: background .5s var(--ease);
}
.service-card.has-media:hover .service-media img,
.service-card.has-media.in-focus .service-media img { transform: scale(1.1); }
.service-card.has-media:hover .service-media::after,
.service-card.has-media.in-focus .service-media::after { background: linear-gradient(0deg, rgba(8, 29, 48, .8), rgba(220, 154, 3, .12)); }

/* الرقم فوق الصورة */
.service-card.has-media .service-num {
    top: 14px;
    left: 16px;
    z-index: 2;
    font-size: 3.4rem;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85);
}

/* الأيقونة راكبة على حافة الصورة */
.service-card.has-media .service-icon {
    z-index: 3;
    width: 70px;
    height: 70px;
    margin: -35px 22px 16px auto;
    border: 5px solid var(--white);
    border-radius: 20px;
    background: var(--gold);
    color: var(--navy);
    font-size: 1.8rem;
    box-shadow: 0 10px 24px rgba(8, 29, 48, .18);
}
.service-card.has-media:hover .service-icon,
.service-card.has-media.in-focus .service-icon { border-color: var(--navy-light); background: var(--white); color: var(--navy); }

.service-body { padding: 0 18px; }
.service-card.has-media .service-road { right: 32px; left: 32px; width: auto; }

/* ==========================================================================
   أحدث الأعمال
   ========================================================================== */
.projects-home { overflow: hidden; }

.marquee {
    direction: ltr;
    overflow: hidden;
    padding: 6px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee + .marquee { margin-top: 22px; }
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 55s linear infinite;
}
.marquee-reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }

.project-item {
    position: relative;
    flex-shrink: 0;
    width: 380px;
    height: 270px;
    margin: 0 22px 0 0;
    border-radius: 20px;
    overflow: hidden;
    cursor: zoom-in;
    direction: rtl;
}
.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}
.project-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 29, 48, .92), rgba(8, 29, 48, .1) 60%, transparent);
    opacity: .55;
    transition: opacity .5s var(--ease);
}
.project-item figcaption {
    position: absolute;
    right: 22px;
    left: 22px;
    bottom: 20px;
    z-index: 2;
    color: var(--white);
    transform: translateY(14px);
    transition: transform .5s var(--ease);
}
.project-item figcaption span {
    display: inline-block;
    padding: 2px 12px;
    margin-bottom: 6px;
    border-radius: 30px;
    background: var(--gold);
    color: var(--navy);
    font-size: .8rem;
    font-weight: 700;
}
.project-item figcaption strong { display: block; font-size: 1.15rem; }
.project-zoom {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    opacity: 0;
    transform: scale(.5) rotate(-90deg);
    transition: all .5s var(--ease);
}
.project-item:hover img,
.project-item.in-focus img { transform: scale(1.1); }
.project-item:hover::after,
.project-item.in-focus::after { opacity: 1; }
.project-item:hover figcaption,
.project-item.in-focus figcaption { transform: translateY(0); }
.project-item:hover .project-zoom,
.project-item.in-focus .project-zoom { opacity: 1; transform: none; }

@media (max-width: 767.98px) {
    .project-item { width: 270px; height: 200px; margin-right: 14px; }
    .marquee-track { animation-duration: 40s; }
}

/* عارض الصور */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(4, 17, 29, .94);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
    max-width: min(1100px, 100%);
    max-height: 85vh;
    border-radius: 16px;
    transform: scale(.9);
    transition: transform .45s var(--ease);
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    font-size: 1.2rem;
}

/* ==========================================================================
   خطوات التنفيذ
   ========================================================================== */
.process-home { background: var(--cream); }

.process-timeline {
    --progress: 0;
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
    padding: 10px 0;
}

/* الطريق في النص */
.process-road {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 18px;
    border-radius: 10px;
    background: var(--navy);
    transform: translateX(-50%);
}
.process-road::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    z-index: 2;
    width: 2px;
    margin-left: -1px;
    background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .7) 0 14px, transparent 14px 26px);
}
.process-road-fill {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: calc(var(--progress) * 100%);
    border-radius: 10px;
    background: linear-gradient(180deg, var(--gold-light), var(--gold));
}
.process-roller {
    position: absolute;
    top: calc(var(--progress) * 100%);
    left: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    font-size: 1.5rem;
    box-shadow: 0 0 0 8px rgba(220, 154, 3, .2), var(--shadow);
    transform: translate(-50%, -50%);
}
.process-roller i { transform: rotate(90deg); }

.process-step {
    position: relative;
    width: 50%;
    padding-left: 70px;
    margin-bottom: 36px;
}
.process-step:last-child { margin-bottom: 0; }
.process-step.is-even {
    margin-right: 50%;
    padding-left: 0;
    padding-right: 70px;
}

.process-dot {
    position: absolute;
    top: 30px;
    left: 0;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 3px solid var(--border);
    border-radius: 50%;
    background: var(--white);
    color: var(--navy);
    font-weight: 900;
    transform: translateX(-50%) scale(.85);
    transition: all .5s var(--ease);
}
.process-step.is-even .process-dot { left: auto; right: 0; transform: translateX(50%) scale(.85); }

.process-card {
    position: relative;
    display: flex;
    gap: 18px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    opacity: .25;
    transform: translateX(60px);
    transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .7s var(--ease), border-color .7s var(--ease);
}
.process-step.is-even .process-card { transform: translateX(-60px); }

.process-icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: var(--gold-soft);
    color: var(--gold);
    font-size: 1.7rem;
    transition: all .6s var(--ease);
}
.process-label { color: var(--gold); font-weight: 700; font-size: .9rem; }
.process-title { font-size: 1.25rem; margin: 2px 0 8px; }
.process-text { color: var(--gray); margin: 0; }

/* الخطوة بتتفعل لما الهراس يوصلها */
.process-timeline .process-step.active .process-card {
    opacity: 1;
    transform: none;
    border-color: rgba(220, 154, 3, .45);
    box-shadow: var(--shadow);
}
.process-step.active .process-dot {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--white);
    box-shadow: 0 0 0 6px rgba(220, 154, 3, .2);
    transform: translateX(-50%) scale(1);
}
.process-step.active.is-even .process-dot { transform: translateX(50%) scale(1); }
.process-step.active .process-icon { background: var(--navy); color: var(--gold); transform: rotate(-8deg); }

@media (max-width: 767.98px) {
    .process-road { left: auto; right: 21px; width: 14px; transform: translateX(50%); }
    .process-roller { left: auto; right: 21px; width: 46px; height: 46px; font-size: 1.2rem; transform: translate(50%, -50%); }
    .process-step,
    .process-step.is-even {
        width: 100%;
        margin-right: 0;
        padding-left: 0;
        padding-right: 64px;
    }
    .process-dot,
    .process-step.is-even .process-dot { left: auto; right: 21px; width: 38px; height: 38px; transform: translateX(50%) scale(.85); }
    .process-step.active .process-dot,
    .process-step.active.is-even .process-dot { transform: translateX(50%) scale(1); }
    .process-card,
    .process-step.is-even .process-card { flex-direction: column; padding: 22px; transform: translateX(-40px); }
}

/* ==========================================================================
   لماذا تختارنا
   ========================================================================== */
.why-home {
    position: relative;
    overflow: hidden;
    background: var(--navy);
}
.why-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(220, 154, 3, .16), transparent 35%),
        radial-gradient(circle at 10% 90%, rgba(220, 154, 3, .1), transparent 35%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 46px);
}

.feature-card {
    display: flex;
    gap: 18px;
    height: 100%;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    background: rgba(255, 255, 255, .04);
    transition: all .45s var(--ease);
}
.feature-card:hover,
.feature-card.in-focus {
    border-color: rgba(220, 154, 3, .6);
    background: rgba(220, 154, 3, .08);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
}
.feature-icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--gold);
    color: var(--navy);
    font-size: 1.6rem;
    transition: transform .5s var(--ease);
}
.feature-card:hover .feature-icon,
.feature-card.in-focus .feature-icon { transform: rotate(-10deg) scale(1.08); }
.feature-title { color: var(--white); font-size: 1.15rem; margin-bottom: 6px; }
.feature-text { color: rgba(255, 255, 255, .65); margin: 0; font-size: .97rem; }

/* ==========================================================================
   الأسئلة الشائعة
   ========================================================================== */
.faq-help {
    display: flex;
    gap: 18px;
    padding: 26px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.faq-help > i { color: var(--gold); font-size: 2.6rem; line-height: 1; }
.faq-help strong { display: block; font-size: 1.15rem; }
.faq-help p { color: var(--gray); margin-bottom: 14px; }


/* ==========================================================================
   تواصل معنا
   ========================================================================== */
.contact-home { padding-top: 40px; }

.contact-box {
    border-radius: 28px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.contact-info {
    position: relative;
    height: 100%;
    padding: 50px 40px;
    background:
        radial-gradient(circle at 100% 0, rgba(220, 154, 3, .2), transparent 45%),
        var(--navy);
    color: rgba(255, 255, 255, .75);
    overflow: hidden;
}
.contact-info .section-badge { background: rgba(220, 154, 3, .15); }
.contact-title { color: var(--white); font-size: 2rem; }
.contact-info > p { margin-bottom: 28px; }

.contact-line {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .05);
    color: var(--white);
    transition: all .35s var(--ease);
}
.contact-line:hover { background: rgba(220, 154, 3, .14); color: var(--white); transform: translateX(-6px); }
.contact-line small { display: block; color: rgba(255, 255, 255, .6); }
.contact-line-icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    font-size: 1.2rem;
}
.contact-line-icon.is-whatsapp { background: var(--whatsapp); color: var(--white); }

.contact-form { padding: 50px 40px; }
.form-title { font-size: 1.5rem; margin-bottom: 24px; }
.contact-form .form-label { font-weight: 700; }
.contact-form .form-control,
.contact-form .form-select {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background-color: var(--cream);
    font-family: var(--font);
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--gold);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(220, 154, 3, .15);
}
.contact-form .btn-gold { padding: 14px; font-size: 1.1rem; }

@media (max-width: 575.98px) {
    .contact-info,
    .contact-form { padding: 36px 22px; }
}

/* ---------- عن المؤسسة: صور كاملة ---------- */
.about-media { padding-bottom: 30px; }
.about-photos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 70px;
}
.about-photo { position: relative; margin: 0; isolation: isolate; }
/* إطار ذهبي ورا الصورة زي الصورة الكبيرة، بيبدّل ناحيته */
.about-photo::before {
    content: "";
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: -1;
    width: 60%;
    height: 55%;
    border: 3px solid var(--gold);
    border-radius: 24px;
    transition: transform .6s var(--ease);
}
.about-photo:nth-child(even)::before { right: auto; left: -14px; }
.about-photo-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.about-photo-frame img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 1s var(--ease);
}
.about-photo-num {
    position: absolute;
    top: 14px;
    left: 14px;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    font-weight: 900;
    box-shadow: var(--shadow);
}
.about-photo figcaption {
    position: relative;
    width: 86%;
    margin: -30px auto 0;
    padding: 14px 18px;
    border-radius: 16px;
    border-bottom: 4px solid var(--gold);
    background: var(--white);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform .5s var(--ease);
}
.about-photo figcaption strong { display: block; font-size: 1.05rem; line-height: 1.5; }
.about-photo figcaption small { color: var(--gray); }
.about-photo:hover .about-photo-frame img,
.about-photo.in-focus .about-photo-frame img { transform: scale(1.08); }
.about-photo:hover figcaption,
.about-photo.in-focus figcaption { transform: translateY(-6px); }
.about-photo:hover::before,
.about-photo.in-focus::before { transform: translate(-6px, 6px); }
.about-photo:nth-child(even):hover::before,
.about-photo:nth-child(even).in-focus::before { transform: translate(6px, 6px); }

@media (max-width: 1199.98px) {
    .about-photos { grid-template-columns: 1fr 1fr; gap: 44px 34px; }
}
@media (max-width: 991.98px) {
    .about-photos { grid-template-columns: 1fr; gap: 40px; max-width: 520px; margin: 44px auto 0; }
}
@media (max-width: 767.98px) {
    .about-photos { padding: 0 8px; }
}
