/* =========================================================
   Sepid24 Singles — صفحه هتل و تور سبک Booking × Flytoday v1.0
   RTL-first · Vazirmatn
   ========================================================= */
:root {
        --sp-primary: #1f4bd8;
        --sp-primary-dark: #16369c;
        --sp-navy: #10205b;
        --sp-gold: #ffb703;
        --sp-gold-dark: #e09600;
        --sp-green: #0d8a3f;
        --sp-text: #1b2559;
        --sp-muted: #667085;
        --sp-bg: #f6f8fc;
        --sp-line: #e6eaf3;
        --sp-radius: 18px;
        --sp-shadow: 0 10px 30px rgba(16, 32, 91, .10);
        --sp-shadow-lg: 0 24px 70px rgba(16, 32, 91, .22);
}

.sph-page {
        background: var(--sp-bg);
        color: var(--sp-text);
        font-family: Vazirmatn, IRANSans, Tahoma, sans-serif;
        min-height: 60vh;
        padding-bottom: 70px;
}
.sph-wrap { max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.sph-page img { max-width: 100%; height: auto; }

/* ================= BREADCRUMB ================= */
.sph-crumb { padding: 14px 0 4px; font-size: 12.5px; color: var(--sp-muted); }
.sph-crumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.sph-crumb a { color: var(--sp-muted); text-decoration: none; transition: color .2s; }
.sph-crumb a:hover { color: var(--sp-primary); }
.sph-crumb li + li::before { content: '‹'; margin-inline-end: 6px; opacity: .5; }
.sph-crumb li:last-child { color: var(--sp-text); font-weight: 700; }

/* ================= HEAD ================= */
.sph-head { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px; margin: 10px 0 18px; }
.sph-head-main { flex: 1 1 420px; min-width: 0; }
.sph-title { font-size: clamp(20px, 3.4vw, 30px); font-weight: 900; line-height: 1.5; margin: 0 0 10px; color: var(--sp-text); }
.sph-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sph-chip {
        display: inline-flex; align-items: center; gap: 5px;
        background: #fff; border: 1px solid var(--sp-line);
        color: var(--sp-text); font-size: 12.5px; font-weight: 700;
        padding: 6px 12px; border-radius: 999px;
}
.sph-chip svg { width: 14px; height: 14px; fill: currentColor; opacity: .7; }
.sph-chip-gold { background: linear-gradient(135deg, #fff7e0, #ffedb3); border-color: #f3d47c; }
.sph-chip-blue { background: #eef3ff; border-color: #c9d8ff; color: var(--sp-primary); }
.sph-stars { color: var(--sp-gold); letter-spacing: 2px; font-size: 14px; }
.sph-head-side { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.sph-share {
        display: inline-flex; align-items: center; gap: 6px;
        background: #fff; border: 1px solid var(--sp-line); border-radius: 999px;
        padding: 9px 16px; font-size: 12.5px; font-weight: 700; color: var(--sp-text);
        cursor: pointer; font-family: inherit; transition: border-color .2s, color .2s;
        text-decoration: none;
}
.sph-share:hover { border-color: var(--sp-primary); color: var(--sp-primary); }
.sph-share svg { width: 14px; height: 14px; fill: currentColor; }

/* ================= GALLERY ================= */
.sph-gallery {
        display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: 200px 200px;
        gap: 10px; border-radius: var(--sp-radius); overflow: hidden;
        position: relative; margin-bottom: 14px;
}
.sph-g-main { grid-row: 1 / 3; grid-column: 1 / 2; }
.sph-g-item { position: relative; overflow: hidden; background: #dfe6f5; display: block; cursor: pointer; border: 0; padding: 0; width: 100%; }
.sph-g-item img, .sph-g-main img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.sph-g-item:hover img, .sph-g-main:hover img { transform: scale(1.06); }
.sph-g-more {
        position: absolute; inset-inline-end: 12px; bottom: 12px;
        background: rgba(16, 32, 91, .78); color: #fff; border: 0;
        border-radius: 999px; padding: 9px 16px; font-size: 12.5px; font-weight: 700;
        cursor: pointer; font-family: inherit; backdrop-filter: blur(6px);
        transition: background .2s; z-index: 2;
}
.sph-g-more:hover { background: rgba(16, 32, 91, .95); }
.sph-g-ph {
        grid-row: 1 / 3; grid-column: 1 / 4; display: grid; place-items: center;
        background: linear-gradient(140deg, #1f4bd8, #2e63ff 60%, #00c2ff);
        color: #fff; font-size: 54px;
}
@media (max-width: 767px) {
        .sph-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 190px 92px 92px; }
        .sph-g-main { grid-column: 1 / 3; grid-row: 1; }
        .sph-g-item:nth-child(3), .sph-g-item:nth-child(4) { display: none; }
}

/* ================= TABS (لنگرها) ================= */
.sph-tabsbar {
        position: sticky; top: 0; z-index: 900;
        background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
        border-bottom: 1px solid var(--sp-line);
        margin: 0; padding: 0 20px;
        box-shadow: 0 4px 18px rgba(16,32,91,.06);
}
.sph-tabs-in { max-width: 1200px; margin-inline: auto; display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.sph-tabs-in::-webkit-scrollbar { display: none; }
.sph-tablink {
        flex-shrink: 0; background: none; border: 0; cursor: pointer; font-family: inherit;
        padding: 14px 14px; font-size: 13.5px; font-weight: 700; color: var(--sp-muted);
        border-bottom: 3px solid transparent; transition: color .2s, border-color .2s;
        text-decoration: none; display: inline-block;
}
.sph-tablink:hover { color: var(--sp-primary); }
.sph-tablink.is-active { color: var(--sp-primary); border-bottom-color: var(--sp-primary); }
.sph-tablink-cta {
        margin-inline-start: auto; flex-shrink: 0;
        background: linear-gradient(135deg, var(--sp-gold), #ffca2c); color: #1b2559;
        font-weight: 800; font-size: 13px; padding: 9px 18px; border-radius: 999px;
        border: 0; cursor: pointer; font-family: inherit; text-decoration: none;
        box-shadow: 0 6px 16px rgba(255,183,3,.35); white-space: nowrap;
}
@media (max-width: 767px) { .sph-tablink { padding: 12px 10px; font-size: 12.5px; } }

/* ================= BODY GRID ================= */
.sph-body { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: start; margin-top: 22px; }
.sph-main { min-width: 0; }
@media (max-width: 991px) { .sph-body { grid-template-columns: 1fr; } }

/* ---- کارت‌های محتوا ---- */
.sph-card {
        background: #fff; border: 1px solid var(--sp-line); border-radius: var(--sp-radius);
        padding: 24px 26px; box-shadow: var(--sp-shadow); margin-bottom: 18px;
        scroll-margin-top: 130px;
}
.sph-card > h2 { display: flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 900; color: var(--sp-text); margin: 0 0 16px; }
.sph-card > h2::after { content: ''; flex: 1; height: 1px; background: linear-gradient(to left, var(--sp-line), transparent); }

/* ---- تایپوگرافی محتوا ---- */
.sph-content { font-size: 15px; line-height: 2.2; color: #333d63; }
.sph-content p { margin: 0 0 14px; }
.sph-content h2, .sph-content h3 { color: var(--sp-text); font-weight: 900; margin: 26px 0 12px; line-height: 1.6; }
.sph-content h2 { font-size: 18px; } .sph-content h3 { font-size: 16px; }
.sph-content ul, .sph-content ol { padding-inline-start: 22px; margin: 0 0 14px; }
.sph-content li { margin-bottom: 8px; }
.sph-content img { border-radius: 12px; }
.sph-content table { width: 100%; border-collapse: collapse; margin: 12px 0 16px; font-size: 13.5px; }
.sph-content th, .sph-content td { border: 1px solid var(--sp-line); padding: 9px 12px; text-align: start; }
.sph-content th { background: #f4f7ff; color: var(--sp-text); font-weight: 800; }
.sph-content a { color: var(--sp-primary); }

/* ================= BOOKING CARD ================= */
.sph-book {
        position: sticky; top: 84px;
        background: #fff; border: 1px solid var(--sp-line);
        border-radius: var(--sp-radius); box-shadow: var(--sp-shadow-lg);
        overflow: hidden;
}
.sph-book-top {
        background: linear-gradient(150deg, #0d1f63, #1f4bd8);
        color: #fff; padding: 20px 22px 16px; position: relative; overflow: hidden;
}
.sph-book-top::after {
        content: '✈'; position: absolute; inset-inline-end: -6px; top: -8px;
        font-size: 68px; opacity: .08; transform: rotate(12deg);
}
.sph-book-price-label { font-size: 12px; color: rgba(255,255,255,.8); margin-bottom: 4px; }
.sph-book-price { font-size: 27px; font-weight: 900; color: var(--sp-gold); line-height: 1.3; }
.sph-book-price small { font-size: 13px; color: rgba(255,255,255,.85); font-weight: 600; }
.sph-book-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; position: relative; z-index: 1; }
.sph-book-badge {
        background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
        color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.sph-book-in { padding: 18px 20px 20px; }
.sph-book-feats { display: grid; gap: 10px; margin-bottom: 16px; }
.sph-book-feat { display: flex; align-items: center; gap: 9px; font-size: 13px; color: #333d63; font-weight: 600; }
.sph-book-feat svg { width: 17px; height: 17px; fill: var(--sp-green); flex-shrink: 0; }
.sph-book-feat span b { color: var(--sp-text); }
.sph-book-ctas { display: grid; gap: 9px; }
.sph-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 18px; border-radius: 14px; font-weight: 800; font-size: 14px; text-decoration: none; cursor: pointer; border: 0; font-family: inherit; transition: transform .18s, box-shadow .18s; }
.sph-btn:hover { transform: translateY(-2px); }
.sph-btn-blue { background: linear-gradient(135deg, #1f4bd8, #2e63ff); color: #fff; box-shadow: 0 8px 20px rgba(31,75,216,.35); }
.sph-btn-green { background: linear-gradient(135deg, #0d8a3f, #12b251); color: #fff; box-shadow: 0 8px 20px rgba(13,138,63,.3); }
.sph-btn-ghost { background: #f0f4ff; color: var(--sp-primary); }
.sph-btn-gold { background: linear-gradient(135deg, var(--sp-gold), #ffca2c); color: #1b2559; box-shadow: 0 8px 20px rgba(255,183,3,.35); }
.sph-book-note { text-align: center; font-size: 11.5px; color: var(--sp-muted); margin-top: 10px; line-height: 1.9; }

/* ---- نوار CTA موبایل ---- */
.sph-mbar {
        position: fixed; bottom: 0; inset-inline: 0; z-index: 9000;
        background: #fff; border-top: 1px solid var(--sp-line);
        box-shadow: 0 -8px 30px rgba(16,32,91,.14);
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        display: none; align-items: center; gap: 10px;
}
.sph-mbar-price { flex: 1; min-width: 0; }
.sph-mbar-price small { display: block; font-size: 10.5px; color: var(--sp-muted); }
.sph-mbar-price b { font-size: 15.5px; color: var(--sp-gold-dark); font-weight: 900; white-space: nowrap; }
.sph-mbar .sph-btn { flex-shrink: 0; padding: 11px 16px; font-size: 13px; border-radius: 12px; }
@media (max-width: 767px) { .sph-mbar { display: flex; } .sph-page { padding-bottom: 90px; } }

/* ================= AMENITIES ================= */
.sph-amen { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.sph-amen-i {
        display: flex; align-items: center; gap: 9px;
        background: #f8faff; border: 1px solid var(--sp-line);
        border-radius: 13px; padding: 11px 13px;
        font-size: 13px; font-weight: 700; color: #333d63;
        transition: border-color .2s, transform .2s;
}
.sph-amen-i:hover { border-color: #b9ccff; transform: translateY(-2px); }
.sph-amen-i svg { width: 18px; height: 18px; fill: var(--sp-primary); flex-shrink: 0; }

/* ================= INFO GRID (ساعت کاری/آدرس) ================= */
.sph-infogrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sph-info {
        display: flex; gap: 11px; align-items: flex-start;
        background: #f8faff; border: 1px solid var(--sp-line); border-radius: 14px; padding: 14px 16px;
}
.sph-info svg { width: 20px; height: 20px; fill: var(--sp-primary); flex-shrink: 0; margin-top: 2px; }
.sph-info b { display: block; font-size: 13.5px; margin-bottom: 3px; }
.sph-info span { font-size: 12.5px; color: var(--sp-muted); line-height: 1.9; }
@media (max-width: 560px) { .sph-infogrid { grid-template-columns: 1fr; } }

/* ================= MAP ================= */
.sph-map { border-radius: 14px; overflow: hidden; border: 1px solid var(--sp-line); line-height: 0; }
.sph-map iframe { width: 100%; height: 300px; border: 0; }

/* ================= POLICY ================= */
.sph-policy { display: grid; gap: 10px; }
.sph-policy-i {
        display: flex; gap: 11px; align-items: flex-start;
        background: #fffaf0; border: 1px solid #f3d47c; border-radius: 13px; padding: 13px 16px;
        font-size: 13px; line-height: 2; color: #5a4a1a;
}
.sph-policy-i b { color: #8a6a10; }

/* ================= FAQ ================= */
.sph-faq { display: grid; gap: 10px; }
.sph-faq details { background: #f8faff; border: 1px solid var(--sp-line); border-radius: 14px; overflow: hidden; transition: border-color .2s; }
.sph-faq details[open] { border-color: #c9d8ff; background: #fff; }
.sph-faq summary {
        list-style: none; cursor: pointer; padding: 15px 18px;
        font-size: 14px; font-weight: 800; color: var(--sp-text);
        display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.sph-faq summary::-webkit-details-marker { display: none; }
.sph-faq summary::after { content: '+'; font-size: 20px; font-weight: 900; color: var(--sp-primary); transition: transform .25s; flex-shrink: 0; }
.sph-faq details[open] summary::after { transform: rotate(45deg); }
.sph-faq details p { margin: 0; padding: 0 18px 16px; font-size: 13.5px; line-height: 2.1; color: #4a5578; }

/* ================= SIMILAR (اسکرول افقی) ================= */
.sph-sim-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 255px; gap: 14px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #c9d8ff transparent; }
.sph-sim-scroll > * { scroll-snap-align: start; }

/* ================= LIGHTBOX ================= */
.sph-lb { position: fixed; inset: 0; z-index: 99999; background: rgba(10,18,50,.92); display: none; align-items: center; justify-content: center; backdrop-filter: blur(6px); }
.sph-lb.is-open { display: flex; }
.sph-lb img { max-width: 92vw; max-height: 86vh; border-radius: 12px; box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.sph-lb-x { position: absolute; top: 18px; inset-inline-start: 18px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); border: 0; color: #fff; font-size: 20px; cursor: pointer; }
.sph-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); border: 0; color: #fff; font-size: 22px; cursor: pointer; transition: background .2s; }
.sph-lb-nav:hover { background: rgba(255,255,255,.28); }
.sph-lb-prev { inset-inline-start: 16px; }
.sph-lb-next { inset-inline-end: 16px; }
.sph-lb-count { position: absolute; bottom: 20px; inset-inline-start: 50%; transform: translateX(50%); color: rgba(255,255,255,.85); font-size: 13px; font-weight: 700; background: rgba(255,255,255,.12); padding: 6px 16px; border-radius: 999px; }

/* ================= HIGHLIGHTS تور ================= */
.sph-hl { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.sph-hl-i { text-align: center; background: #f8faff; border: 1px solid var(--sp-line); border-radius: 15px; padding: 18px 12px; transition: transform .2s, border-color .2s; }
.sph-hl-i:hover { transform: translateY(-4px); border-color: #c9d8ff; }
.sph-hl-i .sph-hl-ico { font-size: 30px; display: block; margin-bottom: 8px; }
.sph-hl-i b { display: block; font-size: 13.5px; margin-bottom: 4px; }
.sph-hl-i span { font-size: 11.5px; color: var(--sp-muted); line-height: 1.8; display: block; }

/* ================= CTA پایین ================= */
.sph-cta2 {
        background: linear-gradient(150deg, #0d1f63, #1f4bd8 60%, #2e63ff);
        border-radius: var(--sp-radius); color: #fff;
        padding: 30px 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
        margin-top: 6px; position: relative; overflow: hidden;
}
.sph-cta2::before { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: #ffb703; opacity: .12; top: -120px; inset-inline-start: -60px; }
.sph-cta2 > div { position: relative; }
.sph-cta2 h3 { margin: 0 0 6px; font-size: 19px; font-weight: 900; }
.sph-cta2 p { margin: 0; font-size: 13px; color: rgba(255,255,255,.85); line-height: 2; }
.sph-cta2 .sph-cta2-btns { margin-inline-start: auto; display: flex; gap: 10px; flex-wrap: wrap; position: relative; }
@media (max-width: 767px) { .sph-cta2 .sph-cta2-btns { margin-inline-start: 0; } }

/* ================= REVIVE: انیمیشن ورود ================= */
.sph-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.sph-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .sph-reveal { opacity: 1; transform: none; transition: none; } }
