/* ============================================================
   ADHISHAKTI — Policy Pages Stylesheet
   Extends assets/css/style.css with policy-specific styles.
   ============================================================ */

/* ---- Breadcrumb ---- */
.breadcrumb-bar {
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--muted);
    list-style: none;
    margin: 0;
    padding: 0;
}
.breadcrumb a {
    color: var(--maroon);
    font-weight: 600;
    transition: opacity .15s;
}
.breadcrumb a:hover { opacity: .75; }
.breadcrumb-sep { color: var(--line); }
.breadcrumb li:last-child { color: var(--ink); font-weight: 600; }

/* ---- Policy page layout ---- */
.policy-page {
    max-width: 860px;
    margin: 0 auto;
    padding: var(--s-7) var(--s-4) var(--s-8);
}

/* ---- Page hero header ---- */
.policy-hero {
    text-align: center;
    margin-bottom: var(--s-7);
    padding-bottom: var(--s-6);
    border-bottom: 2px solid var(--line);
    position: relative;
}
.policy-hero::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    background: var(--maroon);
    border-radius: 999px;
    margin: var(--s-4) auto 0;
}
.policy-icon {
    width: 72px;
    height: 72px;
    background: var(--maroon-soft);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto var(--s-4);
    font-size: 32px;
}
.policy-hero h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(26px, 5vw, 38px);
    font-weight: 700;
    letter-spacing: -.8px;
    color: var(--ink);
    line-height: 1.1;
    margin-bottom: var(--s-2);
}
.policy-hero .effective-date {
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}
.policy-hero .effective-date strong {
    color: var(--maroon);
}

/* ---- Section cards ---- */
.policy-section {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: var(--s-6) var(--s-6);
    margin-bottom: var(--s-5);
    position: relative;
    overflow: hidden;
    animation: card-enter .4s var(--ease-out) both;
}
.policy-section::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--maroon);
    border-radius: 4px 0 0 4px;
}
.policy-section:hover {
    border-color: var(--maroon-soft);
    box-shadow: var(--shadow-sm);
}
.policy-section h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--maroon);
    margin-bottom: var(--s-4);
    display: flex;
    align-items: center;
    gap: var(--s-2);
}
.section-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: var(--maroon);
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    font-family: 'Manrope', sans-serif;
    flex-shrink: 0;
}
.policy-section p {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--ink-2);
    margin-bottom: var(--s-3);
}
.policy-section p:last-child { margin-bottom: 0; }
.policy-section ul,
.policy-section ol {
    padding-left: 22px;
    margin: var(--s-2) 0 var(--s-3);
}
.policy-section li {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--ink-2);
    margin-bottom: var(--s-1);
}
.policy-section li::marker { color: var(--maroon); }
.policy-section strong { color: var(--ink); }
.policy-section a { color: var(--maroon); font-weight: 600; }
.policy-section a:hover { text-decoration: underline; }

/* ---- Contact highlight card ---- */
.contact-card {
    background: linear-gradient(135deg, var(--maroon-soft) 0%, #FEF0F0 100%);
    border: 1.5px solid #F0CCC9;
    border-radius: var(--r-lg);
    padding: var(--s-6);
    margin-top: var(--s-5);
    text-align: center;
}
.contact-card h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--maroon);
    margin-bottom: var(--s-3);
}
.contact-card p {
    font-size: 14.5px;
    color: var(--ink-2);
    line-height: 1.7;
    margin-bottom: var(--s-2);
}
.contact-card a {
    color: var(--maroon);
    font-weight: 700;
}

/* ---- FAQ specific ---- */
.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    margin-bottom: var(--s-3);
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}
.faq-item:hover { border-color: var(--maroon-soft); }
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--s-3);
    padding: var(--s-4) var(--s-5);
    background: transparent;
    border: 0;
    text-align: left;
    font-family: 'Manrope', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    transition: color .15s, background .15s;
}
.faq-question:hover { color: var(--maroon); background: var(--paper-2); }
.faq-question.open { color: var(--maroon); background: var(--maroon-soft); }
.faq-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    background: var(--maroon);
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}
.faq-question.open .faq-num { background: var(--maroon-d); }
.faq-chevron {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform .25s var(--ease-out);
}
.faq-question.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
    display: none;
    padding: 0 var(--s-5) var(--s-4);
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--ink-2);
}
.faq-answer.open { display: block; }
.faq-answer ul {
    padding-left: 20px;
    margin-top: var(--s-2);
}
.faq-answer li { margin-bottom: var(--s-1); }
.faq-answer li::marker { color: var(--maroon); }

/* ---- About Us specific ---- */
.about-hero-banner {
    background: linear-gradient(135deg, var(--maroon) 0%, #7A1714 100%);
    border-radius: var(--r-lg);
    padding: var(--s-7) var(--s-6);
    text-align: center;
    margin-bottom: var(--s-6);
    color: #fff;
}
.about-hero-banner h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 700;
    letter-spacing: -.5px;
    margin-bottom: var(--s-3);
}
.about-hero-banner p {
    font-size: 15px;
    line-height: 1.7;
    opacity: .9;
    max-width: 560px;
    margin: 0 auto;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--s-4);
    margin-top: var(--s-4);
}
.why-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: var(--s-4);
    display: flex;
    align-items: flex-start;
    gap: var(--s-3);
    transition: border-color .15s, box-shadow .2s, transform .1s;
}
.why-item:hover {
    border-color: var(--maroon-soft);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}
.why-icon {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}
.why-item strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
}

/* ---- Contact Us specific ---- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--s-4);
    margin-top: var(--s-5);
}
.contact-tile {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: var(--s-5);
    text-align: center;
    transition: border-color .15s, box-shadow .2s, transform .1s;
}
.contact-tile:hover {
    border-color: var(--maroon-soft);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.contact-tile-icon {
    font-size: 36px;
    margin-bottom: var(--s-3);
}
.contact-tile h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--maroon);
    margin-bottom: var(--s-2);
}
.contact-tile p, .contact-tile a {
    font-size: 13.5px;
    color: var(--ink-2);
    line-height: 1.6;
}
.contact-tile a {
    color: var(--maroon);
    font-weight: 600;
}

/* ---- Policy quick-nav sidebar on wide screens ---- */
.policy-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-5);
    max-width: 1060px;
    margin: 0 auto;
    padding: var(--s-7) var(--s-4) var(--s-8);
}
@media (min-width: 900px) {
    .policy-layout {
        grid-template-columns: 220px 1fr;
        align-items: start;
    }
}
.policy-nav {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: var(--s-4);
    position: sticky;
    top: 80px;
}
.policy-nav h4 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--muted);
    margin-bottom: var(--s-3);
    padding-bottom: var(--s-2);
    border-bottom: 1px solid var(--line);
}
.policy-nav a {
    display: block;
    padding: 8px 10px;
    border-radius: var(--r-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
    transition: background .15s, color .15s;
}
.policy-nav a:hover, .policy-nav a.active {
    background: var(--maroon-soft);
    color: var(--maroon);
}
.policy-content { min-width: 0; }
.policy-content .policy-section { margin-bottom: var(--s-4); }

/* ---- Cookie / Disclaimer — simple single card ---- */
.simple-policy {
    max-width: 760px;
    margin: 0 auto;
    padding: var(--s-7) var(--s-4) var(--s-8);
}
.simple-policy .policy-section { animation: none; }

/* ---- Shared animations ---- */
@keyframes card-enter {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.policy-section:nth-child(1)  { animation-delay: .05s; }
.policy-section:nth-child(2)  { animation-delay: .10s; }
.policy-section:nth-child(3)  { animation-delay: .15s; }
.policy-section:nth-child(4)  { animation-delay: .20s; }
.policy-section:nth-child(5)  { animation-delay: .25s; }
.policy-section:nth-child(6)  { animation-delay: .30s; }
.policy-section:nth-child(7)  { animation-delay: .35s; }
.policy-section:nth-child(8)  { animation-delay: .40s; }
.policy-section:nth-child(9)  { animation-delay: .45s; }
.policy-section:nth-child(10) { animation-delay: .50s; }

/* ---- Back to top button ---- */
.back-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 42px;
    height: 42px;
    background: var(--maroon);
    color: #fff;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px rgba(160,33,27,.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .25s;
    cursor: pointer;
    z-index: 99;
}
.back-top.visible { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-3px); }
.back-top svg { width: 18px; height: 18px; }

@media (max-width: 640px) {
    .policy-section { padding: var(--s-4); }
    .policy-hero h1 { font-size: 26px; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
}
