/* =====================================================================
   ASTROLOGY SERVICES LISTING & SINGLE CONSULTATION PAGES
   Styles: public/css/astrology.css
   (app/Views/astrology/index.php & app/Views/astrology/show.php)
   Scoped strictly under .pas for luxury presentation.
   ===================================================================== */

.pas {
    --night: #12070a;
    --night-2: #1f0b10;
    --maroon: #8B1A1A;
    --gold: #C59B2B;
    --gold-hi: #F6DC98;
    --gold-soft: #E2B46A;
    --gold-lo: #8A6417;
    --gold-grad: linear-gradient(135deg, #F6DC98 0%, #D9B048 38%, #C59B2B 62%, #8A6417 100%);
    --ivory: #FFF8EF;
    --cream: #FBF3E7;
    --ink: #241c19;
    --muted: #6a5d52;
    --border: #EFE3CF;
    --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    --sans: "Raleway", "Roboto", system-ui, sans-serif;
    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --shadow-card: 0 1px 2px rgba(60, 31, 18, .04), 0 16px 40px -16px rgba(60, 31, 18, .22);
    --shadow-lift: 0 2px 4px rgba(60, 31, 18, .05), 0 30px 64px -22px rgba(110, 20, 25, .38);

    --pas-facets-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='%23fff' stroke='%23fff' stroke-opacity='.10' stroke-width='.6'%3E%3Cpath d='M0 0L0 40L40 40Z' fill-opacity='0.050'/%3E%3Cpath d='M0 0L80 0L40 40Z' fill-opacity='0.110'/%3E%3Cpath d='M80 0L40 40L120 40Z' fill-opacity='0.020'/%3E%3Cpath d='M80 0L120 40L160 40Z' fill-opacity='0.080'/%3E%3Cpath d='M80 0L160 0L160 40Z' fill-opacity='0.140'/%3E%3Cpath d='M0 40L40 40L0 80Z' fill-opacity='0.040'/%3E%3Cpath d='M40 40L0 80L80 80Z' fill-opacity='0.090'/%3E%3Cpath d='M40 40L120 40L80 80Z' fill-opacity='0.010'/%3E%3Cpath d='M120 40L80 80L160 80Z' fill-opacity='0.120'/%3E%3Cpath d='M120 40L160 40L160 80Z' fill-opacity='0.060'/%3E%3Cpath d='M0 80L0 120L40 120Z' fill-opacity='0.030'/%3E%3Cpath d='M0 80L80 80L40 120Z' fill-opacity='0.100'/%3E%3Cpath d='M80 80L40 120L120 120Z' fill-opacity='0.070'/%3E%3Cpath d='M80 80L120 120L160 120Z' fill-opacity='0.130'/%3E%3Cpath d='M80 80L160 80L160 120Z' fill-opacity='0.020'/%3E%3Cpath d='M0 120L40 120L0 160Z' fill-opacity='0.080'/%3E%3Cpath d='M40 120L0 160L80 160Z' fill-opacity='0.050'/%3E%3Cpath d='M40 120L120 120L80 160Z' fill-opacity='0.110'/%3E%3Cpath d='M120 120L80 160L160 160Z' fill-opacity='0.030'/%3E%3Cpath d='M120 120L160 120L160 160Z' fill-opacity='0.090'/%3E%3C/g%3E%3C/svg%3E");

    font-family: var(--sans);
    color: var(--ink);
    background: var(--ivory);
    background-image: var(--pas-facets-light);
    overflow-x: clip;
}

.pas *, .pas *::before, .pas *::after { box-sizing: border-box; }
.pas img { max-width: 100%; display: block; }
.pas a { text-decoration: none; }

.pas [class^="flaticon-"]::before,
.pas [class*=" flaticon-"]::before,
.pas [class^="flaticon-"]::after,
.pas [class*=" flaticon-"]::after,
.pas .fa::before,
.pas .fa::after {
    margin: 0 !important;
    display: inline-block;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
}

.pas-section { padding: clamp(68px, 8vw, 110px) 0; position: relative; }
.pas-section--cream { background: var(--cream); }
.pas-head { text-align: center; max-width: 820px; margin: 0 auto clamp(36px, 4.5vw, 60px); }
.pas-eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font: 600 12.5px/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase;
    color: var(--maroon); margin: 0 0 16px;
}
.pas-eyebrow__line { width: 36px; height: 1px; background: var(--gold); }
.pas-title { font: 600 clamp(34px, 4.4vw, 54px)/1.1 var(--serif); color: var(--ink); margin: 0; }
.pas-title em { color: var(--maroon); font-style: italic; }
.pas-intro { font-size: 17px; line-height: 1.75; color: var(--muted); margin: 18px auto 0; max-width: 720px; }

/* Buttons */
.pas-btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px; padding: 0 28px; border-radius: 999px; border: 0; cursor: pointer;
    font: 600 13.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
    isolation: isolate; overflow: hidden; white-space: nowrap; text-decoration: none !important;
    transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), filter .3s;
}
.pas-btn:hover { filter: brightness(1.06) saturate(1.08); transform: translateY(-2px); }
.pas-btn--gold {
    color: #3b0d10 !important; text-shadow: 0 1px 0 rgba(255, 245, 215, .55);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 45%, rgba(90, 55, 0, 0) 60%, rgba(90, 55, 0, .3) 100%),
        linear-gradient(115deg, #8A6417 0%, #D9B048 16%, #FFF1C4 30%, #C59B2B 45%, #F6DC98 60%, #A77A1E 78%, #EBCB6E 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -2px 1px rgba(110, 70, 10, .45),
        0 3px 0 #8A6417, 0 14px 30px -10px rgba(197, 155, 43, .8);
}
.pas-btn--maroon {
    color: #fff !important;
    background:
        linear-gradient(180deg, rgba(255, 200, 200, .32) 0%, rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0) 60%, rgba(30, 0, 0, .35) 100%),
        linear-gradient(115deg, #4a0b10 0%, #8B1A1A 22%, #cf4a4f 36%, #8B1A1A 52%, #b52d34 70%, #5a0f14 100%);
    box-shadow: 0 3px 0 #4a0b10, 0 14px 30px -10px rgba(139, 26, 26, .75);
}
.pas-btn--wa {
    color: #fff !important;
    background:
        linear-gradient(180deg, rgba(210, 255, 225, .35) 0%, rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0) 60%, rgba(0, 35, 15, .35) 100%),
        linear-gradient(115deg, #0b5d2c 0%, #1FAF54 22%, #7ce8a4 36%, #1FAF54 52%, #16a049 70%, #0a4f25 100%);
    box-shadow: 0 3px 0 #0b5d2c, 0 14px 30px -10px rgba(31, 175, 84, .75);
}
.pas-btn--ghost-dark {
    color: var(--maroon) !important; background: #fff;
    box-shadow: inset 0 0 0 1px var(--gold-soft), 0 4px 14px rgba(60, 31, 18, .08);
}

/* Services Listing Grid */
.pas-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.pas-card {
    display: flex; flex-direction: column; border-radius: 22px; overflow: hidden;
    background: #fff;
    border: 1px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(145deg, rgba(246, 220, 152, .95), var(--border) 32%, var(--border) 68%, rgba(197, 155, 43, .85)) border-box;
    box-shadow: var(--shadow-card);
    transition: transform .4s var(--ease-out), box-shadow .4s;
    position: relative;
}
.pas-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lift); }
.pas-card__media { position: relative; overflow: hidden; height: 220px; }
.pas-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.pas-card:hover .pas-card__media img { transform: scale(1.06); }
.pas-card__badge-icon {
    position: absolute; bottom: 16px; left: 20px;
    width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
    background: #fff; color: var(--maroon); font-size: 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), 0 0 0 1px var(--gold);
    transition: transform .35s;
}
.pas-card:hover .pas-card__badge-icon { transform: scale(1.1) rotate(-4deg); background: var(--maroon); color: #fff; }
.pas-card__body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.pas-card__title { font: 600 22px/1.25 var(--serif); color: var(--ink); margin: 0 0 8px; }
.pas-card__desc { font-size: 14px; line-height: 1.65; color: var(--muted); margin: 0 0 18px; flex: 1; }
.pas-card__link {
    display: inline-flex; align-items: center; gap: 8px;
    font: 600 12.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--maroon);
    margin-top: auto;
}
.pas-card__link i { transition: transform 0.35s var(--ease-out); }
.pas-card:hover .pas-card__link i { transform: translateX(6px); }

/* =====================================================================
   SINGLE SERVICE CONSULTATION PAGE (Sticky Image & Sidebar)
   ===================================================================== */
.pas-single__grid {
    display: grid; grid-template-columns: 4.8fr 7.2fr; gap: clamp(32px, 4vw, 54px);
    align-items: start;
}
.pas-single__left {
    display: flex; flex-direction: column; gap: 20px;
}
@media (min-width: 992px) {
    .pas-single__left {
        position: -webkit-sticky;
        position: sticky;
        top: 115px;
        align-self: start;
        z-index: 4;
    }
}
.pas-single__visual {
    position: relative; border-radius: 22px; overflow: hidden;
    box-shadow: var(--shadow-lift); background: #000;
}
.pas-single__visual img {
    width: 100%; height: 340px; object-fit: cover; display: block;
    transition: transform 0.6s var(--ease-out);
}
.pas-single__visual:hover img { transform: scale(1.04); }
.pas-single__visual-badge {
    position: absolute; bottom: 16px; left: 16px; right: 16px;
    display: flex; align-items: center; gap: 12px; padding: 12px 18px;
    border-radius: 999px; background: rgba(18, 4, 7, 0.88);
    backdrop-filter: blur(8px); border: 1px solid rgba(246, 220, 152, 0.45); color: #fff;
}
.pas-single__visual-badge i { font-size: 20px; color: var(--gold-hi); }
.pas-single__visual-badge strong { font-family: var(--serif); font-size: 16px; color: #fff; }

.pas-single__action-box {
    border-radius: 20px; padding: 22px; background: #fff;
    border: 1px solid rgba(197, 155, 43, 0.25); box-shadow: var(--shadow-card);
    display: flex; flex-direction: column; gap: 14px;
}
.pas-single__action-title {
    font: 600 16px/1.2 var(--sans); color: var(--ink); margin: 0; display: flex; align-items: center; gap: 8px;
}
.pas-single__action-title i { color: var(--gold); }
.pas-single__action-btns {
    display: flex; flex-direction: column; gap: 10px;
}
.pas-single__action-btns .pas-btn { width: 100%; }

.pas-single__trust-pill {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    font-size: 13px; font-weight: 600; color: var(--muted); padding-top: 4px; border-top: 1px dashed var(--border);
}
.pas-single__trust-pill i { color: var(--maroon); }

/* Content Cards & Bullets */
.pas-card-deck {
    border-radius: 22px; padding: 30px; background: #fff;
    border: 1px solid rgba(197, 155, 43, 0.22); box-shadow: var(--shadow-card);
}
.pas-card-deck h3 { font: 600 24px/1.25 var(--serif); color: var(--ink); margin: 0 0 16px; }
.pas-card-deck p { font-size: 15.5px; line-height: 1.8; color: #433932; margin: 0; }
.pas-card-deck p + p { margin-top: 14px; }

.pas-bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.pas-bullets li {
    display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.6; color: #433932;
}
.pas-bullets li i { color: var(--maroon); margin-top: 4px; font-size: 14px; flex-shrink: 0; }

.pas-note-card {
    border-radius: 16px; padding: 20px 24px; display: flex; align-items: flex-start; gap: 14px;
    background: linear-gradient(135deg, rgba(254, 248, 238, 0.95), #fff);
    border: 1px solid rgba(197, 155, 43, 0.35); box-shadow: 0 4px 14px -4px rgba(60, 31, 18, 0.06);
}
.pas-note-card i { color: var(--gold); font-size: 20px; margin-top: 2px; }
.pas-note-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink); }

/* Sticky Right Sidebar */
.pas-sidebar { position: relative; }
@media (min-width: 992px) {
    .pas-sidebar {
        position: -webkit-sticky;
        position: sticky;
        top: 115px;
        align-self: start;
        z-index: 4;
    }
}
.pas-sidebar__widget {
    border-radius: 22px; padding: 26px; background: #fff;
    border: 1px solid rgba(197, 155, 43, 0.25); box-shadow: var(--shadow-card);
    margin-bottom: 24px;
}
.pas-sidebar__title { font: 600 20px/1.2 var(--serif); color: var(--ink); margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.pas-sidebar__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pas-sidebar__links a {
    display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-radius: 10px;
    font-size: 13.5px; font-weight: 600; color: var(--ink); background: #fdfbf7; border: 1px solid transparent;
    transition: background .3s, border-color .3s, color .3s;
}
.pas-sidebar__links a:hover, .pas-sidebar__links a.is-active {
    background: #fff; border-color: var(--gold); color: var(--maroon);
}

/* Grand Cosmic CTA */
.pas-band {
    position: relative; overflow: hidden; padding: clamp(68px, 8vw, 104px) 0;
    color: #fff; text-align: center;
    background:
        radial-gradient(900px 500px at 50% 20%, rgba(139, 26, 26, .7), transparent 70%),
        linear-gradient(180deg, var(--night-2), var(--night));
}
.pas-band > .container { position: relative; z-index: 2; }
.pas-band h2 { font: 600 clamp(32px, 4.4vw, 54px)/1.15 var(--serif); color: #fff; margin: 0 0 18px; }
.pas-band h2 em { color: transparent; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; }
.pas-band p { font-size: 17px; line-height: 1.75; color: rgba(255, 244, 228, .8); max-width: 620px; margin: 0 auto 34px; }
.pas-band__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

@media (max-width: 1199px) { .pas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 991px) {
    .pas-single__grid { grid-template-columns: 1fr; }
    .pas-grid { grid-template-columns: 1fr; }
}
