:root {
    --purple: #4a1a4a;
    --purple-mid: #6a3a6a;
    --purple-soft: #8b5a8b;
    --green: #8bc34a;
    --green-dark: #689f38;
    --bg-top: #f5e6f0;
    --bg-bottom: #e8d5e8;
    --text: #2d2d2d;
    --muted: #666;
    --white: #fff;
    --shadow: 0 12px 40px rgba(74, 26, 74, 0.12);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
    background: linear-gradient(165deg, var(--bg-top) 0%, var(--bg-bottom) 45%, #efe0ef 100%);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}
.blob-a { width: 280px; height: 280px; background: var(--purple-soft); top: -80px; left: -60px; animation: drift 14s ease-in-out infinite; }
.blob-b { width: 220px; height: 220px; background: var(--green); bottom: 10%; right: -40px; animation: drift 18s ease-in-out infinite reverse; }
@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, 30px) scale(1.08); }
}
.wrap { position: relative; z-index: 1; max-width: 960px; margin: 0 auto; padding: 24px 20px 120px; }
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: fadeDown 0.7s ease-out both;
}
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand img { width: 52px; height: 52px; object-fit: contain; border-radius: 14px; box-shadow: var(--shadow); }
.brand-text strong { font-size: 1.35rem; color: var(--purple); display: block; }
.brand-text span { font-size: 0.8rem; color: var(--green-dark); font-weight: 600; }
.header-cta {
    background: var(--purple);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(74, 26, 74, 0.25);
}
.header-cta:hover { transform: translateY(-2px); }
.hero { text-align: center; padding: 48px 0 36px; animation: fadeUp 0.8s ease-out 0.15s both; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-logo {
    width: min(200px, 55vw);
    margin: 0 auto 20px;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 16px 32px rgba(74, 26, 74, 0.15));
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.hero h1 { font-size: clamp(1.5rem, 4.5vw, 2rem); color: var(--purple); margin-bottom: 12px; }
.hero p { color: var(--muted); font-size: 1.05rem; line-height: 1.75; max-width: 520px; margin: 0 auto 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 32px; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 14px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: transform 0.2s;
}
.btn-primary {
    background: linear-gradient(135deg, var(--purple), var(--purple-mid));
    color: var(--white);
    box-shadow: 0 8px 24px rgba(74, 26, 74, 0.35);
    animation: pulseGlow 2.5s ease-in-out infinite;
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 8px 24px rgba(74, 26, 74, 0.35); }
    50% { box-shadow: 0 8px 32px rgba(139, 195, 74, 0.45); }
}
.btn-whatsapp { background: #25d366; color: var(--white); }
.btn-outline { background: rgba(255,255,255,0.85); color: var(--purple); border: 2px solid rgba(74, 26, 74, 0.15); }
.btn:hover { transform: translateY(-3px); }
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    max-width: 640px;
    margin: 0 auto 40px;
}
.contact-card {
    background: rgba(255,255,255,0.92);
    border-radius: 16px;
    padding: 16px 12px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--shadow);
    transition: transform 0.25s;
}
.contact-card:hover { transform: translateY(-4px); }
.contact-card .icon {
    width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
}
.contact-card .icon.purple { background: linear-gradient(135deg, var(--purple), var(--purple-mid)); }
.contact-card .icon.green { background: #25d366; }
.contact-card .icon.mail { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.contact-card strong { display: block; font-size: 0.85rem; color: var(--purple); margin-bottom: 4px; }
.contact-card span { font-size: 0.78rem; color: var(--muted); }
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}
.feature { background: rgba(255,255,255,0.9); border-radius: 18px; padding: 22px 18px; box-shadow: var(--shadow); }
.feature h3 { color: var(--purple); font-size: 1rem; margin-bottom: 8px; }
.feature p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }
.trust {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px;
    padding: 24px; background: rgba(255,255,255,0.6); border-radius: 20px;
}
.trust img { height: 36px; width: auto; opacity: 0.85; }
footer { text-align: center; margin-top: 32px; font-size: 0.8rem; color: var(--muted); }
.fab-stack {
    position: fixed; bottom: 24px; left: 20px; z-index: 100;
    display: flex; flex-direction: column; gap: 10px;
}
.fab {
    width: 52px; height: 52px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; text-decoration: none; font-size: 1.35rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}
.fab:hover { transform: scale(1.08); }
.fab-wa { background: #25d366; }
.fab-call { background: var(--purple); }
.fab-mail { background: var(--green-dark); }

/* عرض الخصم */
.promo-banner {
    position: relative;
    z-index: 2;
    background: linear-gradient(90deg, var(--purple), var(--purple-mid), #7a307a);
    color: var(--white);
    overflow: hidden;
    animation: promoShine 4s ease-in-out infinite;
}
@keyframes promoShine {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.08); }
}
.promo-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 16px;
    text-align: center;
}
.promo-tag {
    background: var(--green);
    color: #1b3d0a;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 999px;
    animation: tagPop 2s ease-in-out infinite;
}
@keyframes tagPop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}
.promo-text { font-size: 0.95rem; margin: 0; }
.promo-text strong { color: #c8f08a; font-size: 1.15em; }
.promo-btn {
    background: #25d366;
    color: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}
.promo-btn:hover { transform: scale(1.04); }
.promo-spark {
    position: absolute;
    top: 50%;
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    pointer-events: none;
    animation: sparkFloat 3s ease-in-out infinite;
}
@keyframes sparkFloat {
    0%, 100% { opacity: 0; transform: translateY(0) scale(0.5); }
    40% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-28px) scale(1); }
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
    animation: badgePulse 2.2s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(139, 195, 74, 0.5); }
    50% { box-shadow: 0 0 0 10px rgba(139, 195, 74, 0); }
}

.reveal {
    animation: fadeUp 0.75s ease-out both;
}
.section-block { margin-bottom: 44px; }
.section-block.alt {
    background: rgba(255,255,255,0.45);
    border-radius: 24px;
    padding: 28px 18px;
}
.section-title {
    text-align: center;
    color: var(--purple);
    font-size: 1.35rem;
    margin-bottom: 8px;
}
.section-lead {
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 22px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}
.gallery-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.gallery-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.gallery-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}
.gallery-cap {
    padding: 14px 12px 16px;
}
.gallery-cap h3 {
    font-size: 0.95rem;
    color: var(--purple);
    margin-bottom: 10px;
}
.gallery-wa {
    display: inline-block;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 10px;
}
.gallery-wa:hover { opacity: 0.92; }

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}
.service-offer {
    display: block;
    background: #fff;
    border-radius: 20px;
    padding: 22px 18px;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    opacity: 0;
    transform: scale(0.96);
    transition: border-color 0.25s, transform 0.25s, opacity 0.5s, transform 0.5s;
}
.service-offer.is-visible {
    opacity: 1;
    transform: scale(1);
}
.service-offer:hover {
    border-color: var(--green);
    transform: translateY(-4px);
}
.offer-discount {
    display: inline-block;
    background: rgba(139, 195, 74, 0.2);
    color: var(--green-dark);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    margin-bottom: 10px;
}
.service-offer h3 { color: var(--purple); margin-bottom: 8px; }
.service-offer p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.offer-cta { color: #25d366; font-weight: 800; font-size: 0.9rem; }

.workers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}
.worker-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    background: rgba(255,255,255,0.92);
    border-radius: 16px;
    padding: 16px 10px;
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--shadow);
    font-size: 0.82rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.45s ease, transform 0.45s ease, background 0.2s;
}
.worker-type.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.worker-type:hover { background: #fff; transform: translateY(-3px); }
.worker-type.highlight {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: center;
    background: linear-gradient(135deg, rgba(74,26,74,0.08), rgba(139,195,74,0.15));
    border: 2px dashed rgba(74, 26, 74, 0.2);
}
.worker-emoji { font-size: 1.6rem; }
.worker-type strong { color: var(--purple); line-height: 1.4; }

@media (max-width: 480px) {
    .promo-inner { flex-direction: column; }
    .worker-type.highlight { flex-direction: column; }
}
