/* ━━━ صفحة الدليل ━━━ */
/* padding-top compensa el header fijo (banner + subnav = 78px) */
.guide-page { max-width: 800px; margin: 0 auto; padding: 110px 20px 80px; }

.guide-back {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; margin-bottom: 36px;
    font-size: 14px; color: #8a6a4a; font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* حركة مرنة ومبهجة */
}
.guide-back:hover { 
    opacity: 1; 
    color: #8B2635; 
    transform: translateX(-5px); /* تتحرك لليمين/اليسار قليلاً عند التحويم */
}
.guide-back img { 
    height: 40px; 
    transition: transform 0.3s ease;
}
.guide-back:hover img {
    transform: scale(1.1) rotate(-8deg); /* تمايل لطيف للأيقونة */
}

.guide-hero { 
    text-align: center; 
    margin-bottom: 48px; 
    position: relative;
}
.guide-hero-icon { 
    font-size: 52px; 
    margin-bottom: 12px; 
    display: inline-block;
    animation: floaty 3s ease-in-out infinite; /* تأثير الطفو اللطيف مثل البالون */
}
.guide-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem; font-weight: 900; color: #2c1810; margin-bottom: 8px;
    letter-spacing: -0.5px;
}
.guide-sub { color: #8a6a4a; font-size: 16px; line-height: 1.6; }

/* ━━━ القسم ━━━ */
.guide-section {
    background: #fffef5;
    border: 1px solid #e0c98a;
    border-radius: 24px; /* زوايا أكثر دائرية تناسب أجواء الأطفال */
    padding: 28px 32px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px rgba(44, 24, 16, 0.03);
}
.guide-section:hover { 
    transform: translateY(-6px); /* يرتفع الكارت بنعومة عند مرور الماوس */
    border-color: #8B2635;
    box-shadow: 0 12px 28px rgba(139,38,53, 0.12); 
}

/* خلفية جمالية خفيفة جداً تظهر عند التحويم */
.guide-section::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.03), transparent);
    opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
.guide-section:hover::before { opacity: 1; }

.guide-section-head {
    display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
}
.guide-section-icon {
    width: 50px; height: 50px; border-radius: 16px;
    background: linear-gradient(135deg,#8B2635,#c0504d);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; flex-shrink: 0;
    color: #fff;
    box-shadow: 0 4px 10px rgba(139,38,53, 0.3);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.guide-section:hover .guide-section-icon {
    transform: scale(1.1) rotate(5deg); /* تكبير وتدوير بسيط يعطي حيوية */
}
.guide-section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem; font-weight: 700; color: #2c1810;
}

.guide-steps { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.guide-steps li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 15px; color: #4a3728; line-height: 1.7;
    transition: transform 0.2s ease;
}
.guide-steps li:hover {
    transform: translateX(4px); /* تفاعل لطيف عند قراءة الأباء للخطوات */
}
.guide-steps li .step-num {
    min-width: 26px; height: 26px; border-radius: 50%;
    background: #8B2635; color: #fff;
    font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; margin-top: 2px;
    box-shadow: 0 2px 5px rgba(139,38,53, 0.2);
    transition: background 0.3s ease;
}
.guide-steps li:hover .step-num {
    background: #c0504d;
}
.guide-steps li .step-ico { 
    font-size: 18px; flex-shrink: 0; margin-top: 2px; 
    display: inline-block;
    transition: transform 0.2s ease;
}
.guide-steps li:hover .step-ico {
    transform: scale(1.2);
}

.guide-tip {
    background: #fef9ec; border-left: 4px solid #f59e0b;
    border-radius: 8px 16px 16px 8px; padding: 14px 18px;
    font-size: 14px; color: #78350f; margin-top: 16px; line-height: 1.6;
    box-shadow: inset 0 0 10px rgba(245, 158, 11, 0.05);
}

/* حركة الطفو للأيقونة العلوية */
@keyframes floaty {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

/* ━━━ شاشات صغيرة ━━━ */
@media(max-width:600px){
    .guide-title { font-size: 1.9rem; }
    .guide-section { padding: 20px 18px; border-radius: 20px; }
}

/* ━━━ الوضع الليلي ━━━ */
[data-theme="dark"] .guide-back  { color: #a893b8; }
[data-theme="dark"] .guide-back:hover { color: #dcbef2; }
[data-theme="dark"] .guide-title { color: #ede4f5; }
[data-theme="dark"] .guide-sub   { color: #a893b8; }

[data-theme="dark"] .guide-section {
    background: #1a1226;
    border-color: rgba(180,100,220,0.22);
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}
[data-theme="dark"] .guide-section:hover { 
    box-shadow: 0 12px 28px rgba(180,100,220,0.15); 
    border-color: rgba(180,100,220,0.5);
}
[data-theme="dark"] .guide-section::before {
    background: radial-gradient(circle at top right, rgba(180,100,220, 0.05), transparent);
}
[data-theme="dark"] .guide-section-title { color: #ede4f5; }
[data-theme="dark"] .guide-steps li { color: #cfc2dc; }
[data-theme="dark"] .guide-steps li strong { color: #ede4f5; }

[data-theme="dark"] .guide-tip {
    background: rgba(245,158,11,0.08);
    border-left-color: #d97706;
    color: #e8c88a;
}