/* =========================================
   tips.css — Page Conseils Pèlerins
   omratok.com
   ========================================= */

/* ======= HERO ======= */
.tips-hero {
    position: relative;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, #1B8A6B 100%);
    overflow: hidden;
    color: var(--white);
}

.tips-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.tips-hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(212,175,55,.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.08) 0%, transparent 40%);
}

/* Arabesque SVG pattern overlay */
.tips-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: .5;
}

.tips-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.tips-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212,175,55,.2);
    border: 1px solid rgba(212,175,55,.4);
    color: #F5D678;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: .875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.tips-hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 18px;
    color: var(--white);
}

.gold-text { color: var(--gold); }

.tips-hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,.85);
    margin-bottom: 36px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.tips-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 500;
    transition: all var(--trans);
    cursor: pointer;
}

.pill:hover {
    background: rgba(255,255,255,.25);
    transform: translateY(-2px);
    border-color: rgba(255,255,255,.5);
}

/* Deco strip */
.tips-hero-deco {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,.15);
    padding: 10px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-family: var(--font-deco);
    font-size: .85rem;
    color: rgba(255,255,255,.5);
    letter-spacing: .04em;
    overflow: hidden;
    z-index: 2;
}

/* ======= PROGRESS BAR NAV ======= */
.progress-bar-sticky {
    position: sticky;
    top: 68px;
    z-index: 800;
    background: var(--white);
    border-bottom: 2px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.progress-nav {
    display: flex;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 4px;
    padding: 0 4px;
}

.progress-nav::-webkit-scrollbar { display: none; }

.prog-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 10px 14px;
    font-size: .72rem;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all var(--trans);
    text-decoration: none;
    flex-shrink: 0;
}

.prog-link i { font-size: .95rem; }

.prog-link:hover,
.prog-link.active {
    color: var(--green);
    border-bottom-color: var(--green);
}

/* ======= MAIN LAYOUT ======= */
.tips-main {
    background: var(--white);
}

.tips-section {
    padding: 80px 0;
}

.tips-section.alt-bg {
    background: var(--off-white);
}

/* ======= SECTION HEAD ======= */
.section-head {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 48px;
}

.section-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.section-icon.green {
    background: var(--green-light);
    color: var(--green);
}

.section-icon.white {
    background: rgba(255,255,255,.15);
    color: var(--white);
    box-shadow: 0 0 0 1px rgba(255,255,255,.2);
}

.alt-bg .section-head { /* dark section */
    color: inherit;
}

.section-tag {
    display: inline-block;
    background: var(--green-light);
    color: var(--green-dark);
    font-size: .78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 8px;
    letter-spacing: .03em;
}

.section-tag.gold {
    background: var(--gold-light);
    color: #8B6914;
}

.section-head h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--green-dark);
}

.alt-bg .section-head h2 { color: var(--text); }

.section-head p {
    color: var(--text-light);
    font-size: 1rem;
}

/* ======= TIPS GRID ======= */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.tip-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--trans);
    position: relative;
    overflow: hidden;
}

.tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: var(--green);
    opacity: 0;
    transition: opacity var(--trans);
}

.tip-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--green-light);
}

.tip-card:hover::before { opacity: 1; }

.tip-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--green-light);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.tip-card-icon.gold {
    background: var(--gold-light);
    color: #8B6914;
}

.tip-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.tip-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tip-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .9rem;
    line-height: 1.5;
    color: var(--text-light);
}

.tip-list li i {
    color: var(--green);
    margin-top: 3px;
    flex-shrink: 0;
}

.tip-list li i.gold { color: var(--gold); }

/* ======= ALERT BOXES ======= */
.alert-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    margin-top: 36px;
    border: 1px solid;
}

.alert-box > i {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-box > div { flex: 1; font-size: .9rem; line-height: 1.6; }
.alert-box strong { display: block; margin-bottom: 4px; font-size: 1rem; }

.alert-gold {
    background: var(--gold-light);
    border-color: rgba(212,175,55,.4);
    color: #6b5200;
}
.alert-gold > i { color: var(--gold); }

.alert-green {
    background: var(--green-light);
    border-color: rgba(0,121,107,.3);
    color: var(--green-dark);
}
.alert-green > i { color: var(--green); }

.alert-red {
    background: #FFF5F5;
    border-color: rgba(229,57,53,.3);
    color: #7B1515;
}
.alert-red > i { color: var(--red); }

.alert-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gold);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    flex-shrink: 0;
    transition: all var(--trans);
    align-self: center;
}
.alert-btn:hover { background: #b8920e; transform: translateX(-3px); }

/* ======= IHRAM STEPS ======= */
.ihram-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.ihram-step {
    display: flex;
    gap: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border);
    transition: box-shadow var(--trans);
}

.ihram-step:hover { box-shadow: var(--shadow-md); }

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: var(--font-deco);
}

.step-content { flex: 1; }
.step-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}
.step-content p { color: var(--text-light); font-size: .95rem; line-height: 1.65; }

.step-tip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--green-light);
    color: var(--green-dark);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: .85rem;
    font-weight: 500;
    margin-top: 14px;
}

.step-tip.warning {
    background: #FFF8E1;
    color: #7B5800;
}
.step-tip.warning i { color: #F57F17; }
.step-tip i { color: var(--gold); }

/* Miqat */
.miqat-box {
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    color: var(--white);
    border-radius: var(--radius-xl);
    padding: 36px;
}

.miqat-box h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.miqat-box h3 i { color: var(--gold); }

.miqat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.miqat-item {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
}

.miqat-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.miqat-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 8px;
    color: #F5D678;
}

.miqat-item p { font-size: .85rem; color: rgba(255,255,255,.75); line-height: 1.5; }

/* ======= RITUALS TIMELINE ======= */
.rituals-timeline {
    position: relative;
    padding-right: 24px;
}

.ritual-item {
    display: flex;
    gap: 24px;
    margin-bottom: 36px;
    position: relative;
}

.ritual-num {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.ritual-num span {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-deco);
    box-shadow: 0 0 0 5px var(--green-light);
}

.ritual-line {
    width: 2px;
    flex: 1;
    background: var(--green-light);
    margin: 8px 0;
    min-height: 40px;
}

.ritual-content {
    flex: 1;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: box-shadow var(--trans);
}

.ritual-content:hover { box-shadow: var(--shadow-md); }

.ritual-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.ritual-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--green-light);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.ritual-icon.gold {
    background: var(--gold-light);
    color: #8B6914;
}

.ritual-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
}

.ritual-content > p {
    color: var(--text-light);
    font-size: .95rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.ritual-tips {
    background: var(--off-white);
    border-radius: var(--radius-md);
    padding: 18px;
}

.ritual-tips h4 {
    font-size: .9rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 12px;
}

.ritual-tips ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ritual-tips ul li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .875rem;
    color: var(--text-light);
    line-height: 1.5;
}

.ritual-tips ul li::before {
    content: '◈';
    color: var(--green);
    font-size: .8rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ======= HEALTH GRID ======= */
.health-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 36px;
}

.health-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: box-shadow var(--trans);
}

.health-card:hover { box-shadow: var(--shadow-md); }

.warning-card {
    border-top: 4px solid #F57F17;
}

.health-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.health-card-header i {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--green-light);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.warning-card .health-card-header i {
    background: #FFF3E0;
    color: #E65100;
}

.health-card-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.health-desc {
    color: var(--text-light);
    font-size: .9rem;
    margin-bottom: 14px;
    font-style: italic;
}

.tip-list li i.green { color: var(--green); }

/* ======= PLACES GRID ======= */
.places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.place-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--trans);
}

.place-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--green-light);
    transform: translateY(-3px);
}

.place-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--green-light);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.place-icon.gold {
    background: var(--gold-light);
    color: #8B6914;
}

.place-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.place-card p {
    font-size: .875rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 14px;
}

.place-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 600;
    background: var(--off-white);
    color: var(--text-light);
    border: 1px solid var(--border);
}

.tag.green {
    background: var(--green-light);
    color: var(--green-dark);
    border-color: transparent;
}

.tag.gold {
    background: var(--gold-light);
    color: #6b5200;
    border-color: transparent;
}

/* Transport Box */
.transport-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
}

.transport-box h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--green-dark);
}
.transport-box h3 i { color: var(--green); }

.transport-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.transport-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    transition: background var(--trans);
}

.transport-item:hover { background: var(--green-light); }

.t-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.t-icon.gold { color: #8B6914; }

.transport-item h4 {
    font-size: .9rem;
    font-weight: 700;
    color: var(--text);
}

.transport-item p {
    font-size: .8rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ======= MADINAH ======= */
.madinah-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.madinah-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: box-shadow var(--trans);
}

.madinah-card:hover { box-shadow: var(--shadow-md); }

.madinah-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--green-light);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.madinah-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text);
}

.madinah-places-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.madinah-place {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.mp-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}

.mp-dot.green { background: var(--green); }
.mp-dot.gold  { background: var(--gold); }

.madinah-place strong {
    display: block;
    font-size: .9rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.madinah-place p {
    font-size: .83rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Timing */
.timing-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.timing-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--off-white);
}

.timing-label {
    font-weight: 700;
    font-size: .9rem;
    min-width: 120px;
    color: var(--text);
}

.timing-desc {
    flex: 1;
    font-size: .82rem;
    color: var(--text-light);
    line-height: 1.4;
}

.timing-badge {
    padding: 3px 10px;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.timing-badge.best  { background: var(--green-light); color: var(--green-dark); }
.timing-badge.good  { background: #E8F5E9; color: #2E7D32; }
.timing-badge.avoid { background: #FFEBEE; color: #C62828; }

.timing-item.best  { border-color: rgba(0,121,107,.3); }
.timing-item.avoid { border-color: rgba(229,57,53,.2); }

/* ======= PACKING ======= */
.packing-container {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.packing-tabs {
    display: flex;
    border-bottom: 2px solid var(--border);
    background: var(--off-white);
}

.ptab {
    flex: 1;
    padding: 14px 10px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-bottom: 3px solid transparent;
    transition: all var(--trans);
    cursor: pointer;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: var(--font);
}

.ptab:hover { color: var(--green); }

.ptab.active {
    color: var(--green);
    border-bottom-color: var(--green);
    background: var(--white);
}

.packing-content {
    padding: 32px;
}

.packing-tab-content { display: none; }
.packing-tab-content.active { display: block; }

.packing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.pack-category h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--green-light);
}
.pack-category h4 i { color: var(--green); }

.checklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checklist label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .9rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    transition: background var(--trans);
    line-height: 1.4;
}

.checklist label:hover { background: var(--off-white); }

.checklist input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--green);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 1px;
}

.checklist label:has(input:checked) {
    color: var(--text-light);
    text-decoration: line-through;
    opacity: .7;
}

/* Forbidden */
.forbidden-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.forbidden-item {
    display: flex;
    gap: 14px;
    background: #FFF5F5;
    border: 1px solid rgba(229,57,53,.2);
    border-radius: var(--radius-md);
    padding: 18px;
}

.forbidden-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFCDD2;
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.forbidden-item h4 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5px;
}

.forbidden-item p {
    font-size: .85rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Packing Actions */
.packing-actions {
    display: flex;
    gap: 12px;
    padding: 20px 32px;
    border-top: 1px solid var(--border);
    background: var(--off-white);
    flex-wrap: wrap;
}

.btn-print, .btn-reset-checks {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--trans);
    font-family: var(--font);
}

.btn-print {
    background: var(--green);
    color: var(--white);
    border: none;
}
.btn-print:hover { background: var(--green-dark); transform: translateY(-2px); }

.btn-reset-checks {
    background: var(--white);
    color: var(--text-light);
    border: 1px solid var(--border);
}
.btn-reset-checks:hover { border-color: var(--green); color: var(--green); }

/* ======= SPIRITUAL ======= */
.spiritual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.dhikr-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--trans);
    position: relative;
    overflow: hidden;
}

.dhikr-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green), var(--gold));
    transform: scaleX(0);
    transition: transform var(--trans);
}

.dhikr-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.dhikr-card:hover::after { transform: scaleX(1); }

.dhikr-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--green-light);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.dhikr-icon.gold {
    background: var(--gold-light);
    color: #8B6914;
}

.dhikr-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text);
}

.dhikr-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dhikr-item {
    background: var(--off-white);
    border-radius: var(--radius-sm);
    padding: 14px;
}

.dhikr-trigger {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 8px;
}

.dhikr-trigger.gold-text { color: var(--gold); }

.dhikr-item p.amiri {
    font-family: var(--font-deco);
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.8;
}

/* Amiri (quranic/dua) style */
.amiri {
    font-family: var(--font-deco);
    font-size: 1.1rem;
    color: var(--green-dark);
    line-height: 1.9;
    font-style: normal;
}

.spiritual-moments, .spiritual-tips {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spiritual-moments li, .spiritual-tips li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .875rem;
    color: var(--text-light);
    line-height: 1.5;
}

.spiritual-moments li i { color: var(--green); font-size: .7rem; margin-top: 5px; }
.spiritual-tips li i.gold-text { color: var(--gold); }

/* Closing */
.spiritual-closing {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.spiritual-closing::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.closing-inner { position: relative; z-index: 1; }

.closing-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

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

.spiritual-closing h3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}

.spiritual-closing p {
    font-size: 1rem;
    color: rgba(255,255,255,.85);
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.btn-closing {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--trans);
    box-shadow: 0 4px 20px rgba(212,175,55,.4);
}

.btn-closing:hover {
    background: #b8920e;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(212,175,55,.5);
}

/* ======= SCROLL TOP BTN ======= */
.scroll-top-btn {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--trans);
    cursor: pointer;
    border: none;
    z-index: 700;
}

.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--green-dark);
    transform: translateY(-3px);
}

/* ======= PRINT STYLES ======= */
@media print {
    .navbar, .tips-hero, .progress-bar-sticky,
    .tips-hero-deco, .scroll-top-btn,
    .btn-print, .btn-reset-checks,
    .footer, .alert-btn,
    .dhikr-card:not(#tab-general .dhikr-card),
    .spiritual-closing, .transport-box { display: none !important; }

    .packing-container { box-shadow: none; border: 1px solid #ccc; }
    body { font-size: 12pt; }
    .tips-section { padding: 20px 0; }
    .packing-tabs .ptab:not(.active) { display: none; }
    .packing-tab-content { display: block !important; }
}

/* ======= RESPONSIVE ======= */
@media (max-width: 768px) {
    .tips-hero { padding: 110px 0 60px; }
    .tips-hero-deco { display: none; }

    .section-head {
        flex-direction: column;
        gap: 12px;
    }

    .ihram-step {
        flex-direction: column;
        gap: 16px;
    }

    .ritual-item {
        flex-direction: column;
        gap: 16px;
    }
    .ritual-line { display: none; }

    .packing-tabs .ptab span { display: none; }
    .packing-tabs .ptab { font-size: 1.2rem; padding: 12px; }

    .alert-box {
        flex-direction: column;
        gap: 12px;
    }

    .alert-btn { align-self: flex-start; }

    .spiritual-closing { padding: 32px 24px; }

    .timing-label { min-width: 90px; }

    .progress-nav { gap: 0; }
    .prog-link { padding: 10px 10px; font-size: .68rem; }
    .prog-link span { display: none; }
    .prog-link { flex-direction: row; gap: 0; }
    .prog-link i { font-size: 1.1rem; }
}

@media (max-width: 480px) {
    .packing-content { padding: 20px 16px; }
    .packing-actions { padding: 16px; }
    .transport-grid { grid-template-columns: 1fr 1fr; }
    .miqat-grid { grid-template-columns: 1fr; }
}

/* ======= AOS ANIMATIONS ======= */
[data-aos] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .55s ease, transform .55s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos][data-aos-delay="100"] { transition-delay: .1s; }
[data-aos][data-aos-delay="200"] { transition-delay: .2s; }
[data-aos][data-aos-delay="300"] { transition-delay: .3s; }
[data-aos][data-aos-delay="50"]  { transition-delay: .05s; }
[data-aos][data-aos-delay="80"]  { transition-delay: .08s; }
[data-aos][data-aos-delay="150"] { transition-delay: .15s; }
[data-aos][data-aos-delay="160"] { transition-delay: .16s; }
[data-aos][data-aos-delay="240"] { transition-delay: .24s; }
[data-aos][data-aos-delay="250"] { transition-delay: .25s; }
[data-aos][data-aos-delay="320"] { transition-delay: .32s; }
[data-aos][data-aos-delay="350"] { transition-delay: .35s; }
[data-aos][data-aos-delay="400"] { transition-delay: .40s; }


/* =========================================================
   SECTION الإرشادات — Styles
   ========================================================= */

/* Couleur de la section */
.section-icon.irshad {
    background: #eaf0ff;
    color: #1a56db;
}

.pill.pill-irshad {
    background: rgba(26,86,219,.12);
    border-color: rgba(26,86,219,.3);
    color: #1a56db;
}
.pill.pill-irshad:hover {
    background: #1a56db;
    color: #fff;
    border-color: #1a56db;
}

.prog-link.prog-irshad { color: #1a56db; }
.prog-link.prog-irshad.active,
.prog-link.prog-irshad:hover { background: rgba(26,86,219,.12); color: #1a56db; }

/* ===== Bloc titre ===== */
.irshad-block {
    margin-bottom: 48px;
}

.irshad-block-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 20px;
    padding: 14px 20px;
    background: #f8f9fa;
    border-radius: var(--radius-sm);
    border-right: 4px solid #1a56db;
    display: flex;
    align-items: center;
    gap: 10px;
}
.irshad-block-title i { color: #1a56db; font-size: 1.1rem; }

/* ===== Grille téléphones ===== */
.irshad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.irshad-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: box-shadow .25s;
}
.irshad-card:hover { box-shadow: var(--shadow-md); }

.irshad-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px 12px;
    border-bottom: 1px solid var(--border);
}
.irshad-card-header h4 {
    font-size: .95rem;
    font-weight: 700;
    margin: 0;
    color: var(--text);
}

.irshad-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    background: #eaf0ff;
    color: #1a56db;
}

.irshad-card.hospitals  .irshad-icon { background: #fff0f0; color: #e03131; }
.irshad-card.transport  .irshad-icon { background: #e8f5e9; color: #2e7d32; }
.irshad-card.emergency  .irshad-icon { background: #fff3e0; color: #e65100; }

.irshad-list {
    list-style: none;
    padding: 10px 0;
    margin: 0;
}
.irshad-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    border-bottom: 1px solid #f5f5f5;
    gap: 10px;
    flex-wrap: wrap;
}
.irshad-list li:last-child { border-bottom: none; }

.irshad-label {
    font-size: .82rem;
    color: var(--text-light);
    line-height: 1.3;
    flex: 1;
}

.irshad-num {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    font-weight: 700;
    color: #1a56db;
    text-decoration: none;
    background: #eaf0ff;
    padding: 5px 10px;
    border-radius: 6px;
    white-space: nowrap;
    transition: background .2s, color .2s;
}
.irshad-num:hover { background: #1a56db; color: #fff; }

.irshad-num.irshad-emergency {
    color: #fff;
    background: #e03131;
    font-size: .95rem;
    padding: 6px 14px;
    border-radius: 8px;
}
.irshad-num.irshad-emergency:hover { background: #c92a2a; }

/* ===== Grille applications ===== */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.app-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: box-shadow .25s, transform .25s;
}
.app-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.app-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    flex-shrink: 0;
}

.app-info h4 {
    font-size: .92rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--text);
}
.app-info p {
    font-size: .78rem;
    color: var(--text-light);
    margin: 0 0 8px;
    line-height: 1.4;
}

.app-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .68rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
}
.app-badge.android { background: #e8f5e9; color: #2e7d32; }
.app-badge.ios     { background: #f3f0ff; color: #5c35d9; }
.app-badge.official{ background: #fff3e0; color: #e65100; }
.app-badge.free    { background: #fff9db; color: #b07d02; }

/* ===== Onglets restaurants ===== */
.resto-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.resto-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-family: 'Tajawal', sans-serif;
    font-size: .88rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all .2s;
}
.resto-tab.active,
.resto-tab:hover {
    border-color: var(--green);
    background: var(--green);
    color: var(--white);
}

.resto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.resto-grid.hidden { display: none; }

.resto-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: box-shadow .25s;
}
.resto-card:hover { box-shadow: var(--shadow-md); }

.resto-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--green-light);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.resto-info h4 {
    font-size: .9rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--text);
}
.resto-type {
    font-size: .76rem;
    color: var(--green-dark);
    font-weight: 600;
    margin: 0 0 4px;
}
.resto-type i { margin-left: 3px; }
.resto-desc {
    font-size: .78rem;
    color: var(--text-light);
    margin: 0 0 8px;
    line-height: 1.4;
}
.resto-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: .74rem;
    color: var(--text-light);
    align-items: center;
}
.resto-price {
    font-weight: 700;
    color: var(--gold);
    background: #fffbe6;
    padding: 2px 8px;
    border-radius: 5px;
}

/* ===== Conseils pratiques ===== */
.practical-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.practical-tip {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    text-align: center;
    transition: box-shadow .25s, transform .25s;
}
.practical-tip:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pt-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #eaf0ff;
    color: #1a56db;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}
.practical-tip h4 {
    font-size: .9rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--text);
}
.practical-tip p {
    font-size: .8rem;
    color: var(--text-light);
    line-height: 1.55;
    margin: 0;
}

/* ===== Responsive إرشادات ===== */
@media (max-width: 768px) {
    .irshad-grid { grid-template-columns: 1fr; }
    .apps-grid   { grid-template-columns: 1fr; }
    .resto-grid  { grid-template-columns: 1fr; }
    .practical-tips-grid { grid-template-columns: 1fr 1fr; }
    .irshad-list li { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (max-width: 480px) {
    .practical-tips-grid { grid-template-columns: 1fr; }
}
