/* ==========================================================
   MANWA Beauty Salon – home.css
   ستايل الصفحة الرئيسية فقط (Hero • Features • Services • About • Contact)
   يعتمد على المتغيرات والأزرار من site.css
   ========================================================== */

/* ---------- Variables (خاصة بالهيرو) ---------- */
:root {
    /* درجة التضليل فوق صورة الهيرو: 0 = بدون تضليل، جرّب 0.25 أو 0.35 إذا بدك طبقة خفيفة */
    --hero-veil: 0;

    /* هالة بيضاء خفيفة تخلي الخط الصغير واضح فوق الصورة */
    --text-glow: 0 0 14px rgba(255, 255, 255, .95), 0 0 4px rgba(255, 255, 255, .85);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    /* بيكبر مع طول الشاشة بس بحدود (ما يصير قصير على الشاشات الكبيرة) */
    min-height: clamp(510px, 72vh, 860px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--pink-light);
    /* الصورة حسب ثيم الألوان (themes.css) */
    background-image: var(--hero-image, url('/images/hero-rose.svg'));
    /* المنتجات واسم الصالون على الشمال، والنص على اليمين */
    background-position: left center;
    background-size: cover;
}

/* طبقة التضليل: مطفية افتراضياً، تتحكم فيها --hero-veil */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(250, 246, 248, var(--hero-veil));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-block: 75px;
}

.hero-text {
    max-width: 590px;
}

.hero .eyebrow {
    text-shadow: var(--text-glow);
}

.hero h1 {
    margin: 0 0 20px;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.25;
    font-weight: 800;
    color: var(--gray-dark);
}

    .hero h1 span,
    .section-heading h2 span,
    .about-text h2 span {
        color: var(--pink-dark);
    }

.hero-text > p {
    max-width: 510px;
    margin: 0 0 28px;
    color: var(--gray-dark);
    font-size: 18px;
    font-weight: 500;
    line-height: 2;
    text-shadow: var(--text-glow);
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 30px;
    color: var(--gray-dark);
    font-size: 14px;
    font-weight: 600;
    text-shadow: var(--text-glow);
}

.note-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pink-dark);
    animation: pulseDot 2.2s ease-in-out infinite;
}

/* دخول تدريجي لعناصر الهيرو */
.hero-text > * {
    animation: fadeUp .9s var(--ease-soft) backwards;
}

    .hero-text > :nth-child(1) { animation-delay: .10s; }
    .hero-text > :nth-child(2) { animation-delay: .25s; }
    .hero-text > :nth-child(3) { animation-delay: .40s; }
    .hero-text > :nth-child(4) { animation-delay: .55s; }
    .hero-text > :nth-child(5) { animation-delay: .70s; }

/* ---------- Features ---------- */
.features {
    background: var(--gray-bg);
    border-bottom: 1px solid var(--border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(14px, 2vw, 24px); /* المسافة بين البوكسات */
    padding-block: 36px;
}

.feature-card {
    margin: 0;
    text-align: center;
    padding: 22px 18px;
    border: 1px solid var(--border);
    border-radius: 22px;
    transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft);
}

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lift);
    }

.feature-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: var(--pink-soft);
    color: var(--pink-dark);
    font-size: 29px;
    transition: transform .45s var(--ease-soft);
}

.feature-card:hover .feature-icon {
    transform: scale(1.12) rotate(10deg);
}

.feature-card h3 {
    margin: 0 0 7px;
    font-size: 18px;
}

.feature-card p {
    margin: 0;
    color: var(--gray-text);
    font-size: 14px;
}

/* ---------- Services ---------- */
.section-space {
    padding-block: 90px;
}

.section-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 42px;
}

    .section-heading h2,
    .about-text h2 {
        margin: 0 0 12px;
        font-size: clamp(1.7rem, 3.4vw, 2.6rem);
        line-height: 1.4;
    }

    .section-heading p {
        color: var(--gray-text);
        margin: 0;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 34px 30px;
    min-height: 255px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft);
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lift);
    }

    /* خط سفلي ينمو عند hover */
    .service-card::after {
        content: "";
        position: absolute;
        inset-inline: 0;
        bottom: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--pink), var(--pink-dark));
        transform: scaleX(0);
        transform-origin: right center;
        transition: transform .55s var(--ease-soft);
    }

    .service-card:hover::after {
        transform: scaleX(1);
    }

.service-number {
    position: absolute;
    left: 22px;
    top: 10px;
    color: var(--pink-soft);
    font-size: 38px;
    font-weight: 800;
    transition: transform .5s var(--ease-soft);
}

.service-card:hover .service-number {
    transform: translateY(-4px);
}

.service-symbol {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--pink-light);
    color: var(--pink-dark);
    font-size: 26px;
    transition: transform .6s var(--ease-soft);
}

.service-card:hover .service-symbol {
    transform: scale(1.15) rotate(12deg);
}

.service-card h3 {
    margin: 17px 0 7px;
    font-size: 21px;
}

.service-card p {
    color: var(--gray-text);
    font-size: 14px;
}

.service-card > a {
    display: inline-block;
    margin-top: 8px;
    color: var(--pink-dark);
    font-weight: 700;
    transition: transform .35s var(--ease-soft);
}

    .service-card > a:hover {
        transform: translateX(-6px);
    }

/* ---------- About ---------- */
.about {
    background: var(--gray-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 75px;
}

.about-text > p {
    margin: 18px 0 27px;
    color: var(--gray-text);
    line-height: 2.1;
}

.about-text .primary-btn {
    display: inline-flex;
}

/* ---------- Contact ---------- */
.contact-section {
    padding-block: 70px;
    text-align: center;
    background: linear-gradient(120deg, var(--gray-bg), var(--pink-light));
}

.contact-content h2 {
    margin: 0 0 10px;
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    line-height: 1.4;
}

.contact-content p {
    margin: 0 0 25px;
    color: var(--gray-text);
    text-wrap: balance;
}

.light-btn {
    background: var(--white);
    color: var(--pink-dark);
    border: 1px solid var(--pink);
}

    .light-btn:hover {
        background: var(--pink-dark);
        color: var(--white);
    }

/* ---------- Scroll reveal ---------- */
.reveal-ready .reveal:not(.is-visible) {
    opacity: 0;
}

.reveal-ready .reveal.is-visible {
    animation: revealUp .9s var(--ease-soft) backwards;
    animation-delay: calc(var(--d, 0) * 110ms);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-ready .reveal:not(.is-visible) {
        opacity: 1;
    }
}

/* ---------- Keyframes ---------- */
@keyframes fadeUp {
    from { opacity: 0; translate: 0 28px; }
    to   { opacity: 1; translate: 0 0; }
}

@keyframes revealUp {
    from { opacity: 0; translate: 0 36px; }
    to   { opacity: 1; translate: 0 0; }
}

@keyframes sway {
    0%, 100% { rotate: -4deg; }
    50%      { rotate: 4deg; }
}

@keyframes pulseDot {
    0%, 100% { scale: 1; opacity: 1; }
    50%      { scale: 1.5; opacity: .6; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero {
        min-height: 470px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 35px;
    }
}

@media (max-width: 650px) {
    /* الموبايل: الرسمة (المنتجات + اسم الصالون) تحت النص مش وراه، عشان ما يتداخلوا */
    .hero {
        min-height: 0;
        align-items: flex-start;
        background-image: none;
    }

        .hero .hero-overlay {
            display: none;
        }

        /* الرسمة كطبقة لحالها تحت، وأطرافها العلوية بتتلاشى بلون الخلفية (بدون خط فاصل) */
        .hero::after {
            content: "";
            position: absolute;
            inset-inline: 0;
            bottom: 0;
            height: 330px;
            background: var(--hero-image) 12% bottom / 175% auto no-repeat;
            -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 32%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 32%);
            pointer-events: none;
        }

    .hero-content {
        padding-block: 44px 300px;
    }

    .hero-text {
        text-align: center;
    }

        .hero-text > p {
            font-size: 16px;
        }

    .hero-actions {
        justify-content: center;
    }

    .hero-note {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding-block: 25px;
    }

    .feature-card {
        padding: 16px 10px;
    }

        .feature-card h3 {
            font-size: 16px;
        }

        .feature-card p {
            font-size: 12px;
        }

    .section-space {
        padding-block: 60px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        min-height: auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }


}

/* كرت خدمة بصورة (من لوحة التحكم: الإعدادات ← خدمات الموقع) – الصورة 4:3 */
.service-card.has-image {
    display: flex;
    flex-direction: column;
    padding: 0;
    min-height: 0;
}

.service-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--pink-light);
}

    .service-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .8s var(--ease-soft);
    }

.service-card.has-image:hover .service-image img {
    transform: scale(1.06);
}

/* تدرّج خفيف تحت الصورة + الرقم فوقها */
.service-image::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(to top, rgba(0, 0, 0, .28), transparent);
    pointer-events: none;
}

.service-card.has-image .service-number {
    z-index: 1;
    top: auto;
    bottom: 10px;
    left: 18px;
    color: rgba(255, 255, 255, .92);
    font-size: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}

.service-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 26px 26px;
}

.service-card.has-image h3 {
    margin: 0 0 6px;
}

.service-card.has-image p {
    flex: 1;
    margin: 0 0 6px;
    line-height: 1.8;
}

.service-card.has-image .service-body > a {
    align-self: flex-start;
    margin-top: 6px;
    color: var(--pink-dark);
    font-weight: 700;
    transition: transform .35s var(--ease-soft);
}

    .service-card.has-image .service-body > a:hover {
        transform: translateX(-6px);
    }

@media (max-width: 992px) and (min-width: 651px) {
    .services-grid:has(.has-image) {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-image img {
        transition: none;
    }

    .service-card.has-image:hover .service-image img {
        transform: none;
    }
}

/* زر "عرض المزيد من الخدمات" بالرئيسية */
.services-more {
    display: flex;
    justify-content: center;
    margin-top: 38px;
}

    .services-more .primary-btn {
        background: var(--pink-dark);
        color: var(--white);
        box-shadow: 0 12px 26px color-mix(in srgb, var(--pink-dark) 25%, transparent);
    }

        .services-more .primary-btn:hover {
            background: var(--pink-nav-dark);
            color: var(--white);
            transform: translateY(-3px);
        }

.services-more-count {
    min-width: 28px;
    padding: 1px 9px;
    border-radius: 50px;
    background: rgba(255, 255, 255, .22);
    font-size: 13px;
    text-align: center;
}

/* ---------- صفحة "خدماتنا" ---------- */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0 56px;
    background:
        radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--pink) 35%, transparent), transparent 45%),
        radial-gradient(circle at 85% 80%, color-mix(in srgb, var(--pink-soft) 70%, transparent), transparent 50%),
        var(--pink-light);
    text-align: center;
}

    .page-hero h1 {
        margin: 0 0 12px;
        font-size: clamp(1.9rem, 4vw, 3rem);
        line-height: 1.35;
    }

        .page-hero h1 span {
            color: var(--pink-dark);
        }

    .page-hero p {
        max-width: 560px;
        margin: 0 auto;
        color: var(--gray-text);
    }

.breadcrumb-line {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--gray-text);
    font-size: 14px;
}

    .breadcrumb-line a {
        color: var(--pink-dark);
        font-weight: 700;
    }

        .breadcrumb-line a:hover {
            text-decoration: underline;
        }

.services-page {
    padding-top: 56px;
}

.services-empty {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 40px 20px;
    border: 1px dashed var(--border);
    border-radius: 24px;
    text-align: center;
}

    .services-empty strong {
        font-size: 20px;
    }

    .services-empty p {
        margin: 0 0 10px;
        color: var(--gray-text);
    }

@media (max-width: 650px) {
    .page-hero {
        padding: 44px 0 40px;
    }

    .services-more .primary-btn {
        width: 100%;
    }
}

/* ==========================================================
   الواجهة مع سلايدر الصور (الإعدادات ← صور الواجهة)
   النص يمين، والصور بإطار قوس على الشمال
   ========================================================== */
.hero.has-slider {
    background-image:
        radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--pink) 30%, transparent), transparent 42%),
        radial-gradient(circle at 88% 85%, color-mix(in srgb, var(--pink-soft) 80%, transparent), transparent 45%);
    background-size: auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(28px, 4vw, 64px);
}

/* على الخلفية الفاتحة الزر الأساسي معبّى */
.hero.has-slider .hero-actions .primary-btn {
    background: var(--pink-dark);
    color: var(--white);
}

    .hero.has-slider .hero-actions .primary-btn:hover {
        background: var(--pink-nav-dark);
    }

.hero-gallery {
    width: clamp(330px, 40vw, 540px);
    animation: fadeUp 1s var(--ease-soft) .3s backwards;
}

.hero-frame {
    position: relative;
    padding: 14px;
}

    /* إطار خطّي مزاح شوي + دائرة ناعمة ورا */
    .hero-frame::before {
        content: "";
        position: absolute;
        inset: 0 -16px -16px 16px;
        border: 2px solid var(--pink);
        border-radius: 999px 999px 34px 34px;
        pointer-events: none;
    }

    .hero-frame::after {
        content: "";
        position: absolute;
        z-index: -1;
        top: -34px;
        left: -46px;
        width: 62%;
        aspect-ratio: 1;
        border-radius: 50%;
        background: color-mix(in srgb, var(--pink-soft) 85%, transparent);
    }

.hero-arch {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 8px solid var(--white);
    border-radius: 999px 999px 30px 30px;
    background: var(--pink-light);
    box-shadow: 0 26px 60px color-mix(in srgb, var(--pink-dark) 22%, transparent);
    touch-action: pan-y;
    user-select: none;
}

.hero-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

    .hero-slide.is-active {
        opacity: 1;
    }

    .hero-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.06);
        transition: transform 6s ease-out;
        pointer-events: none;
    }

    /* تقريب ناعم للصورة الظاهرة */
    .hero-slide.is-active img {
        transform: scale(1);
    }

    .hero-slide figcaption {
        position: absolute;
        right: 50%;
        bottom: 18px;
        max-width: calc(100% - 40px);
        padding: 6px 16px;
        overflow: hidden;
        border-radius: 50px;
        background: rgba(255, 255, 255, .92);
        color: var(--pink-dark);
        font-size: 14px;
        font-weight: 700;
        white-space: nowrap;
        text-overflow: ellipsis;
        transform: translateX(50%);
        box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
    }

.hero-badge {
    position: absolute;
    left: -18px;
    bottom: 54px;
    padding: 8px 16px;
    border-radius: 50px;
    background: var(--white);
    color: var(--pink-dark);
    font-size: 14px;
    font-weight: 800;
    box-shadow: var(--shadow-soft, 0 10px 24px rgba(0, 0, 0, .1));
    animation: floatY 4s ease-in-out infinite;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

.hero-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 26px;
}

.hero-arrow {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--pink);
    border-radius: 50%;
    background: var(--white);
    color: var(--pink-dark);
    font: inherit;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: background .25s, color .25s, transform .25s;
}

    .hero-arrow:hover,
    .hero-arrow:focus-visible {
        background: var(--pink-dark);
        color: var(--white);
        outline: none;
    }

    .hero-arrow:active {
        transform: scale(.92);
    }

.hero-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50px;
    background: color-mix(in srgb, var(--pink-dark) 25%, transparent);
    cursor: pointer;
    transition: width .35s var(--ease-soft), background .35s;
}

    .hero-dot.is-active {
        width: 26px;
        background: var(--pink-dark);
    }

    .hero-dot:focus-visible {
        outline: 2px solid var(--pink-dark);
        outline-offset: 3px;
    }

/* تابلت وموبايل: الصور تحت النص */
@media (max-width: 860px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        gap: 36px;
    }

    .hero.has-slider .hero-text {
        text-align: center;
    }

    .hero.has-slider .hero-actions,
    .hero.has-slider .hero-note {
        justify-content: center;
    }

    .hero-gallery {
        width: min(440px, 90vw);
    }
}

@media (max-width: 650px) {
    /* ما في رسمة المنتجات تحت (الصور مكانها) */
    .hero.has-slider::after {
        content: none;
    }

    .hero.has-slider .hero-content {
        padding-block: 40px 56px;
    }

    .hero-badge {
        left: -6px;
        font-size: 13px;
    }

    .hero-frame::before {
        inset: 0 -10px -10px 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-slide img,
    .hero-dot {
        transition: none;
    }

    .hero-badge,
    .hero-gallery {
        animation: none;
    }
}

/* مع السلايدر: مسافات أقل فوق وتحت عشان الإطار الكبير والأسهم يبينوا بأول الشاشة */
@media (min-width: 861px) {
    .hero.has-slider .hero-content {
        padding-block: 40px 44px;
    }

    .hero.has-slider .hero-controls {
        margin-top: 20px;
    }
}

/* إطار أكبر: الأسهم والنقاط فوق الصورة (مش تحتها)، والحجم مربوط بطول الشاشة كمان
   عشان الإطار كله يبين بأول الشاشة بدون ما ينقص */
.hero-gallery {
    position: relative;
}

.hero-controls {
    position: absolute;
    z-index: 3;
    inset-inline: 36px;
    bottom: 36px;
    justify-content: space-between;
    margin: 0;
}

.hero.has-slider .hero-controls {
    margin-top: 0;
}

.hero-arrow {
    border-color: transparent;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
    backdrop-filter: blur(4px);
}

.hero-dots {
    padding: 7px 10px;
    border-radius: 50px;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(4px);
}

/* التعليق يطلع فوق الأسهم */
.hero-gallery:has(.hero-controls) .hero-slide figcaption {
    bottom: 74px;
}

@media (min-width: 861px) {
    .hero-gallery {
        width: max(320px, min(clamp(340px, 40vw, 560px), calc((100svh - 150px) * .76)));
    }
}

/* الشارة فوق مستوى الأسهم */
.hero-gallery:has(.hero-controls) .hero-badge {
    bottom: 130px;
}

/* ===== قسم التواصل والحجز: بطاقة وحدة فخمة ===== */
.contact-section {
    text-align: start;
}

.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    max-width: 1020px;
    margin-inline: auto;
    overflow: hidden;
    border-radius: 32px;
    background: var(--white);
    box-shadow: 0 30px 70px color-mix(in srgb, var(--pink-dark) 22%, transparent);
}

/* يمين: وردي غامق */
.contact-brand {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: clamp(32px, 4vw, 52px);
    overflow: hidden;
    background: linear-gradient(150deg, var(--pink-nav) 0%, var(--pink-dark) 55%, var(--accent-deep, #7E3150) 100%);
    color: var(--white);
}

    /* زخرفة: قوس خطّي + دائرة ناعمة */
    .contact-brand::before {
        content: "";
        position: absolute;
        z-index: -1;
        left: -60px;
        bottom: -120px;
        width: 280px;
        height: 380px;
        border: 2px solid rgba(255, 255, 255, .18);
        border-radius: 999px 999px 0 0;
    }

    .contact-brand::after {
        content: "";
        position: absolute;
        z-index: -1;
        top: -90px;
        left: -70px;
        width: 240px;
        height: 240px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .08);
    }

.contact-logo {
    width: clamp(130px, 14vw, 170px);
    height: auto;
    margin-bottom: 14px;
    opacity: .95;
}

.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
}

    .contact-eyebrow::before {
        content: "";
        width: 22px;
        height: 1.5px;
        background: currentColor;
    }

.contact-brand h2 {
    margin: 2px 0 6px;
    color: var(--white);
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    line-height: 1.35;
}

.contact-brand p {
    max-width: 380px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, .85);
    font-size: 15px;
    line-height: 1.9;
}

.contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding: 14px 26px;
    border-radius: 50px;
    background: var(--white);
    color: var(--pink-dark);
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .18);
    transition: transform .35s var(--ease-soft), box-shadow .35s var(--ease-soft);
}

    .contact-cta svg {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: #25D366;
        stroke-width: 1.9;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .contact-cta span {
        transition: transform .35s var(--ease-soft);
    }

    .contact-cta:hover {
        color: var(--pink-dark);
        transform: translateY(-3px);
        box-shadow: 0 18px 32px rgba(0, 0, 0, .22);
    }

        .contact-cta:hover span {
            transform: translateX(-5px);
        }

/* شمال: أبيض */
.contact-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 3.6vw, 46px);
}

.contact-list-title {
    margin-bottom: 8px;
    color: var(--gray-text);
    font-size: 13px;
    font-weight: 700;
}

.contact-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 18px 0;
}

    .contact-row + .contact-row {
        border-top: 1px solid var(--border);
    }

.contact-row-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: var(--pink-light);
    color: var(--pink-dark);
}

    .contact-row-icon svg,
    .contact-round svg {
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .contact-row-icon svg {
        width: 23px;
        height: 23px;
    }

.contact-row-text {
    display: grid;
    min-width: 0;
}

    .contact-row-text small {
        color: var(--gray-text);
        font-size: 13px;
        font-weight: 700;
    }

    .contact-row-text a {
        justify-self: start;
        color: var(--gray-dark);
        font-size: clamp(19px, 2vw, 23px);
        font-weight: 800;
        letter-spacing: .6px;
        white-space: nowrap;
        transition: color .25s;
    }

        .contact-row-text a:hover {
            color: var(--pink-dark);
        }

.contact-row-actions {
    display: flex;
    gap: 8px;
}

.contact-round {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1.5px solid var(--pink);
    border-radius: 50%;
    color: var(--pink-dark);
    transition: background .25s, color .25s, border-color .25s, transform .25s;
}

    .contact-round svg {
        width: 20px;
        height: 20px;
    }

    .contact-round:hover,
    .contact-round:focus-visible {
        border-color: var(--pink-dark);
        background: var(--pink-dark);
        color: var(--white);
        transform: translateY(-2px);
        outline: none;
    }

    .contact-round.is-wa {
        border-color: #25D366;
        color: #128C4A;
    }

        .contact-round.is-wa:hover,
        .contact-round.is-wa:focus-visible {
            background: #25D366;
            color: #fff;
        }

.contact-note {
    margin: 10px 0 0;
    color: var(--gray-text);
    font-size: 13px;
}

/* تابلت وموبايل: الوردي فوق والأرقام تحت */
@media (max-width: 860px) {
    .contact-panel {
        grid-template-columns: minmax(0, 1fr);
        border-radius: 26px;
    }

    .contact-cta {
        margin-top: 4px;
    }
}

@media (max-width: 480px) {
    .contact-brand,
    .contact-list {
        padding: 26px 22px;
    }

    .contact-cta {
        align-self: stretch;
        justify-content: center;
    }

    .contact-row {
        gap: 10px;
    }

    .contact-row-icon {
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    .contact-round {
        width: 42px;
        height: 42px;
    }
}

/* ---------- رابط الخريطة + حسابات التواصل (بطاقة التواصل) ---------- */
.contact-map {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin-top: 6px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--pink-light);
    color: var(--gray-dark);
    transition: border-color .25s, transform .25s var(--ease-soft), box-shadow .25s;
}

    .contact-map:hover,
    .contact-map:focus-visible {
        border-color: var(--pink);
        color: var(--gray-dark);
        transform: translateY(-2px);
        box-shadow: 0 10px 22px color-mix(in srgb, var(--pink-dark) 14%, transparent);
        outline: none;
    }

.contact-map-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--pink-dark);
    color: var(--white);
}

    .contact-map-icon svg {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.contact-map-text {
    display: grid;
    min-width: 0;
}

    .contact-map-text strong {
        font-size: 16px;
        font-weight: 800;
    }

    .contact-map-text small {
        color: var(--gray-text);
        font-size: 12.5px;
    }

.contact-map-arrow {
    color: var(--pink-dark);
    font-size: 18px;
    transition: transform .25s var(--ease-soft);
}

.contact-map:hover .contact-map-arrow {
    transform: translateX(-4px);
}

.contact-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

    .contact-social > small {
        color: var(--gray-text);
        font-size: 13px;
        font-weight: 700;
    }

.contact-social-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.contact-round.is-ig {
    border-color: #E1306C;
    color: #C13584;
}

    .contact-round.is-ig:hover,
    .contact-round.is-ig:focus-visible {
        border-color: transparent;
        background: linear-gradient(45deg, #F58529, #DD2A7B 50%, #8134AF);
        color: #fff;
    }

.contact-round.is-fb {
    border-color: #1877F2;
    color: #1877F2;
}

    .contact-round.is-fb:hover,
    .contact-round.is-fb:focus-visible {
        border-color: #1877F2;
        background: #1877F2;
        color: #fff;
    }

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    max-width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    color: var(--gray-dark);
    font-size: 13.5px;
    font-weight: 700;
    overflow-wrap: anywhere;
    transition: border-color .25s, color .25s;
}

    .contact-email:hover,
    .contact-email:focus-visible {
        border-color: var(--pink-dark);
        color: var(--pink-dark);
        outline: none;
    }

    .contact-email svg {
        flex: none;
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

@media (max-width: 480px) {
    .contact-map {
        gap: 10px;
        padding: 12px;
    }
}

/* ---------- كل قسم بياخذ الشاشة كاملة ----------
   لما تكبسي على رابط بالقائمة (من نحن / تواصل معنا) القسم بيبدأ تحت الهيدر مباشرة
   وبيعبّي الشاشة، فما بيبين شي من القسم اللي فوقه.
   --header-h و --features-h بيقيسهم site.js */
#services.section-space,
#about.section-space,
#contact.contact-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - var(--header-h, 84px));
    min-height: calc(100svh - var(--header-h, 84px));
}

/* الهيرو + شريط المميزات تحته = أول شاشة بالضبط */
@media (min-width: 651px) {
    .hero {
        min-height: max(470px, calc(100vh - var(--header-h, 84px) - var(--features-h, 0px)));
        min-height: max(470px, calc(100svh - var(--header-h, 84px) - var(--features-h, 0px)));
    }
}
/* ---------- من نحن (التصميم الجديد) ---------- */
.about {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--pink) 18%, transparent) 0, transparent 40%),
        radial-gradient(circle at 10% 90%, color-mix(in srgb, var(--pink-nav) 12%, transparent) 0, transparent 45%),
        var(--gray-bg);
}

.about-grid {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(40px, 6vw, 90px);
}

/* الرسمة */
.about-visual {
    position: relative;
    width: min(100%, 420px);
    margin-inline: auto;
    aspect-ratio: 4 / 5;
}

.about-ring {
    position: absolute;
    inset: -18px -18px 18px 18px;
    border: 1.5px solid color-mix(in srgb, var(--pink-dark) 35%, transparent);
    border-radius: 999px 999px 32px 32px;
}

.about-arch {
    position: absolute;
    inset: 0;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    overflow: hidden;
    border-radius: 999px 999px 32px 32px;
    background: linear-gradient(160deg, var(--pink-nav) 0%, var(--pink-dark) 70%, var(--accent-deep, #7E3150) 100%);
    box-shadow: 0 30px 60px color-mix(in srgb, var(--pink-dark) 28%, transparent);
    transition: transform .7s var(--ease-soft);
}

.about-visual:hover .about-arch {
    transform: translateY(-6px);
}

    .about-arch img {
        width: 62%;
        height: auto;
        filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .18));
    }

    .about-arch small {
        padding: 6px 16px;
        border: 1px solid rgba(255, 255, 255, .35);
        border-radius: 999px;
        color: rgba(255, 255, 255, .9);
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .04em;
    }

/* بتلات ناعمة بالخلفية */
.about-petal {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    background: rgba(255, 255, 255, .09);
}

    .about-petal.p1 {
        width: 70%;
        aspect-ratio: 1;
        top: -18%;
        right: -22%;
    }

    .about-petal.p2 {
        width: 55%;
        aspect-ratio: 1;
        bottom: -14%;
        left: -18%;
        background: transparent;
        border: 2px solid rgba(255, 255, 255, .16);
    }

/* الختم الدوّار */
.about-seal {
    position: absolute;
    z-index: 2;
    left: -34px;
    bottom: 54px;
    width: 116px;
    height: 116px;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .14));
}

    .about-seal circle {
        fill: var(--white);
    }

    .about-seal text {
        fill: var(--pink-dark);
        font-size: 10.5px;
        font-weight: 800;
        letter-spacing: 2.4px;
        direction: ltr;
    }

    .about-seal defs + circle + text {
        transform-origin: 60px 60px;
        animation: sealSpin 18s linear infinite;
    }

.about-seal-heart {
    fill: var(--pink);
}

@keyframes sealSpin {
    to { transform: rotate(360deg); }
}

/* البطاقتين الطايرين */
.about-chip {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 12px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 14px 30px rgba(66, 67, 75, .13);
    animation: floatY 6s ease-in-out infinite;
}

    .about-chip > span {
        display: grid;
        place-items: center;
        width: 36px;
        height: 36px;
        border-radius: 12px;
        background: var(--pink-light);
        color: var(--pink-dark);
        font-size: 17px;
    }

    .about-chip div {
        display: grid;
        line-height: 1.35;
    }

    .about-chip strong {
        color: var(--gray-dark);
        font-size: 14px;
    }

    .about-chip small {
        color: var(--gray-text);
        font-size: 11.5px;
    }

    .about-chip.chip-a {
        top: 14%;
        right: -38px;
    }

    .about-chip.chip-b {
        bottom: -18px;
        right: 22%;
        animation-delay: -3s;
    }

/* النص */
.about-text h2 span {
    color: var(--pink-dark);
}

.about-values {
    display: grid;
    gap: 12px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

    .about-values li {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 12px 14px;
        border: 1px solid var(--border);
        border-radius: 18px;
        background: color-mix(in srgb, var(--white) 75%, transparent);
        transition: border-color .3s, transform .3s var(--ease-soft), box-shadow .3s;
    }

        .about-values li:hover {
            border-color: var(--pink);
            transform: translateX(-4px);
            box-shadow: 0 10px 24px color-mix(in srgb, var(--pink-dark) 10%, transparent);
        }

        .about-values li div {
            display: grid;
            text-align: start;
        }

    .about-values strong {
        color: var(--gray-dark);
        font-size: 15.5px;
    }

    .about-values small {
        color: var(--gray-text);
        font-size: 13px;
    }

.about-value-icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--pink-dark);
    color: var(--white);
}

    .about-value-icon svg {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.about-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 22px;
}

.about-link {
    color: var(--pink-dark);
    font-weight: 800;
    border-bottom: 1.5px solid currentColor;
    padding-bottom: 2px;
    transition: opacity .25s;
}

    .about-link:hover {
        color: var(--pink-dark);
        opacity: .7;
    }

@media (max-width: 900px) {
    .about-chip.chip-a {
        right: -16px;
    }

    .about-seal {
        left: -16px;
    }
}

@media (max-width: 650px) {
    .about-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 56px;
    }

    .about-visual {
        width: min(78%, 320px);
    }

    .about-seal {
        width: 92px;
        height: 92px;
        left: -22px;
        bottom: 40px;
    }

    .about-chip {
        padding: 8px 12px 8px 10px;
    }

        .about-chip.chip-a {
            right: -30px;
        }

        .about-chip.chip-b {
            right: 10%;
        }

    .about-text {
        text-align: center;
    }

    .about-actions {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-seal defs + circle + text,
    .about-chip {
        animation: none;
    }
}