/* ========================================== */
/* FOOTER STYLES (Dr Pathik - Earthy Premium) */
/* ========================================== */

/* --- Variables --- */
:root {
    --footer-bg: #30271F;
    --footer-heading: #F0E4D2;
    --footer-text: #D3C9BC;
    --footer-accent: #805633;
    --footer-accent-dark: #493321;
    --footer-hover: #F0E4D2;
    --footer-border: #493321;

    --font-heading: 'Playfair Display', 'Noto Serif Devanagari', serif;
    --font-body: 'Inter', 'Noto Sans Devanagari', sans-serif;
}

/* --- Footer Container --- */
.dr-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    font-family: var(--font-body);
    padding: 60px 0 20px 0;
    position: relative;
    margin: 0;
    width: 100%;
    overflow-x: hidden;
    background-image: linear-gradient(180deg, #30271F 0%, #241C16 100%);
}

.dr-footer *,
.dr-footer *::before,
.dr-footer *::after {
    box-sizing: border-box;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- TOP GRID (4 Columns) --- */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* --- Column 1: Brand --- */
.footer-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 16px;
}
.footer-logo-icon {
    width: 36px;
    height: 36px;
    background-color: var(--footer-accent-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-logo-icon svg { width: 18px; height: 18px; }

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--footer-heading);
    letter-spacing: -0.5px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--footer-text);
    margin-bottom: 24px;
    max-width: 320px;
    opacity: 0.85;
}

/* --- Social Icons --- */
.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}
.footer-social-icon {
    width: 36px;
    height: 36px;
    border: 1px solid var(--footer-accent-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-heading);
    transition: all 0.3s ease;
    text-decoration: none;
}
.footer-social-icon:hover {
    background-color: var(--footer-accent);
    color: var(--footer-heading);
    border-color: var(--footer-accent);
    transform: translateY(-3px);
}

/* --- Reviews Section --- */
.footer-review {
    font-size: 0.8rem;
    color: var(--footer-text);
    opacity: 0.85;
}
.footer-review span { display: block; margin-bottom: 8px; }

/* --- Column Headings --- */
.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--footer-heading);
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* --- Links --- */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links li { margin: 0; padding: 0; }
.footer-links li a {
    text-decoration: none;
    color: var(--footer-text) !important;
    font-size: 0.9rem;
    margin: 0;
    padding: 0;
    transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    display: inline-block;
    opacity: 0.85;
}
.footer-links li a:hover {
    color: var(--footer-hover) !important;
    opacity: 1;
    transform: translateX(4px);
}

/* --- BOTTOM BAR --- */
.footer-bottom {
    border-top: 1px solid var(--footer-accent-dark);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--footer-text);
    margin: 0;
    opacity: 0.75;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-bottom-links a {
    text-decoration: none;
    color: var(--footer-text);
    font-size: 0.8rem;
    transition: color 0.2s ease, opacity 0.2s ease;
    opacity: 0.75;
}
.footer-bottom-links a:hover {
    color: var(--footer-hover);
    opacity: 1;
}

/* Refined footer: a clear collection link, warmer depth, and tighter responsive rhythm. */
.dr-footer {
    isolation: isolate;
    padding: clamp(38px, 6vw, 76px) 0 22px;
    background:
        radial-gradient(60rem 28rem at 100% 0%, rgba(128, 86, 51, .22), transparent 70%),
        radial-gradient(34rem 24rem at 0% 100%, rgba(201, 163, 106, .08), transparent 72%),
        linear-gradient(155deg, #30271F 0%, #241C16 72%, #1E1712 100%);
}
.dr-footer::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 163, 106, .8), transparent);
}
.dr-footer .footer-container { width: min(1320px, calc(100% - 48px)); }
.footer-social-icon:focus-visible,
.footer-links a:focus-visible,
.footer-bottom-links a:focus-visible { outline: 2px solid #E3C78F; outline-offset: 4px; }

.dr-footer .footer-grid {
    grid-template-columns: minmax(240px, 1.55fr) repeat(3, minmax(130px, 1fr));
    gap: clamp(24px, 4vw, 54px);
    margin-bottom: clamp(34px, 5vw, 52px);
}
.dr-footer .footer-col { min-width: 0; }
.dr-footer .footer-logo { gap: 14px; width: fit-content; max-width: 100%; }
.dr-footer .footer-logo-icon { width: 58px; height: 58px; flex: none; background: rgba(201, 163, 106, .15); box-shadow: 0 0 0 1px rgba(201, 163, 106, .26); }
.dr-footer .footer-brand-name { overflow-wrap: anywhere; font-size: clamp(1.15rem, 2vw, 1.4rem); }
.dr-footer .footer-desc { max-width: 350px; margin-bottom: 20px; line-height: 1.75; }
.dr-footer .footer-socials { gap: 9px; margin: auto 0 0; }
.dr-footer .footer-social-icon { width: 40px; height: 40px; border-color: rgba(240, 228, 210, .2); background: rgba(255, 253, 249, .035); }
.dr-footer .footer-social-icon:hover { border-color: #A8794E; background: #805633; }
.dr-footer .footer-heading { margin: 5px 0 19px; color: #E6D6BD; font-size: .76rem; letter-spacing: .15em; }
.dr-footer .footer-heading::after { content: ""; display: block; width: 28px; height: 1px; margin-top: 11px; background: linear-gradient(90deg, #C9A36A, transparent); }
.dr-footer .footer-links { gap: 11px; }
.dr-footer .footer-links li a { max-width: 100%; line-height: 1.5; overflow-wrap: anywhere; }
.dr-footer .footer-bottom { border-color: rgba(240, 228, 210, .14); padding-top: 20px; }
.dr-footer .footer-copyright { line-height: 1.6; }
.dr-footer .footer-bottom-links { gap: 9px 18px; }
.dr-footer .footer-bottom-links a { line-height: 1.5; }

@media (max-width: 980px) {
    .dr-footer .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dr-footer .footer-col.brand-col { grid-column: 1 / -1; }
    .dr-footer .footer-desc { max-width: 560px; }
}
@media (max-width: 680px) {
    .dr-footer .footer-container { width: min(560px, calc(100% - 32px)); padding: 0; }
    .dr-footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 27px 20px; }
    .dr-footer .footer-col.brand-col { grid-column: 1 / -1; }
    .dr-footer .footer-col.resources-col { grid-column: 1 / -1; }
    .dr-footer .footer-heading { margin-bottom: 15px; }
    .dr-footer .footer-links { gap: 10px; }
    .dr-footer .footer-links li a { font-size: .86rem; }
    .dr-footer .footer-bottom { align-items: flex-start; text-align: left; }
    .dr-footer .footer-bottom-links { justify-content: flex-start; }
}
@media (max-width: 380px) {
    .dr-footer .footer-container { width: calc(100% - 28px); }
    .dr-footer .footer-grid { gap: 24px 14px; }
    .dr-footer .footer-links li a { font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
    .footer-social-icon, .footer-links li a { transition: none; }
}

/* ========================================== */
/* RESPONSIVE DESIGN                          */
/* ========================================== */

/* Tablet: brand full width, menus 3 columns */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px;
    }
    .footer-col.brand-col {
        grid-column: 1 / -1;
    }
}

/* Mobile: brand full width, menus 2 columns per row */
@media (max-width: 768px) {
    .dr-footer { padding: 40px 0 20px 0; }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 20px;
        margin-bottom: 36px;
    }

    .footer-col.brand-col {
        grid-column: 1 / -1;
    }

    .footer-desc { max-width: 100%; }

    .footer-heading {
        font-size: 0.85rem;
        margin-bottom: 14px;
    }

    .footer-links { gap: 10px; }
    .footer-links li a { font-size: 0.85rem; }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-bottom-links {
        justify-content: center;
        gap: 12px 16px;
    }
}

/* Very small phones */
@media (max-width: 360px) {
    .footer-container { padding: 0 16px; }
    .footer-grid { gap: 24px 12px; }
    .footer-links li a { font-size: 0.8rem; }
    .footer-heading { font-size: 0.8rem; letter-spacing: 0.3px; }
}

/* Footer logo = header wala logo (admin se badalta hai) */
.footer-logo-icon { overflow: hidden; }
.footer-logo-icon img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }

.dr-footer {
    background:
        radial-gradient(48rem 24rem at 100% 0%, rgba(160, 116, 70, .16), transparent 72%),
        linear-gradient(155deg, #2B2119 0%, #211912 72%, #1B1510 100%);
}
.dr-footer .footer-logo-icon {
    width: 58px;
    height: 58px;
    box-shadow: 0 0 0 3px rgba(201, 163, 106, .08), 0 0 0 1px rgba(201, 163, 106, .38);
}
@media (max-width: 380px) {
    .dr-footer .footer-logo-icon { width: 52px; height: 52px; }
}
.dr-footer .footer-desc {
    color: #D8CCBC;
    opacity: .92;
}
.dr-footer .footer-heading {
    color: #E8D3B2;
}
.dr-footer .footer-links li a {
    color: #D8CCBC !important;
    opacity: .88;
}
.dr-footer .footer-links li a:hover {
    color: #FFF8EC !important;
}
.dr-footer .footer-social-icon {
    width: 42px;
    height: 42px;
    color: #E7D6BF;
    border-color: rgba(231, 214, 191, .24);
    background: rgba(255, 255, 255, .035);
}
.dr-footer .footer-social-icon:hover {
    color: #FFF9F0;
    border-color: #A8794E;
    background: #805633;
}
.dr-footer .footer-bottom {
    border-color: rgba(231, 214, 191, .16);
}
.dr-footer .footer-copyright,
.dr-footer .footer-bottom-links a {
    color: #CFC2B1;
}
.dr-footer .footer-bottom-links a:hover {
    color: #FFF8EC;
}

/* Policy pages (/disclaimer, /privacy-policy ...) */
.pol { padding: 56px 20px 72px; background: #fffdf9; }
.pol__wrap { max-width: 820px; margin: 0 auto; color: #3b2a1c; }
.pol__title { font-family: var(--font-heading, 'Playfair Display', serif); font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0 0 8px; color: #2f2118; }
.pol__meta { margin: 0 0 28px; color: #8a7561; font-size: .9rem; }
.pol__body h2 { font-family: var(--font-heading, 'Playfair Display', serif); font-size: 1.3rem; margin: 30px 0 8px; color: #805633; }
.pol__body p, .pol__body li { font-size: 1rem; line-height: 1.75; color: #4a3a2c; }
.pol__body p { margin: 0 0 14px; }
.pol__body ul { margin: 0 0 16px; padding-left: 22px; }
.pol__body a { color: #805633; text-decoration: underline; }

/* ==========================================================
   Footer — premium layer (CTA band, watermark, refined columns)
   ========================================================== */
.dr-footer { padding-top: clamp(44px, 6vw, 84px); padding-bottom: 0; overflow: hidden; }
.dr-footer .footer-container { position: relative; z-index: 1; }

.dr-footer .footer-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 28px 40px; flex-wrap: wrap;
  margin-bottom: clamp(40px, 6vw, 72px);
  padding: clamp(24px, 3.4vw, 40px) clamp(22px, 3.6vw, 48px);
  border-radius: 24px;
  background:
    radial-gradient(30rem 14rem at 100% 0%, rgba(233, 168, 103, .28), transparent 70%),
    linear-gradient(135deg, #7a4b2a 0%, #4b2f1b 100%);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(240, 214, 170, .22) inset;
  position: relative; overflow: hidden;
}
.dr-footer .footer-cta::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: 30%; left: -40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .12), transparent); transform: skewX(-18deg);
  animation: ftSweep 7s 1.2s ease-in-out infinite;
}
@keyframes ftSweep { 0%, 60% { left: -40%; } 100% { left: 130%; } }
.dr-footer .footer-cta-copy { max-width: 560px; position: relative; }
.dr-footer .footer-cta h3 { margin: 0 0 8px; font-family: var(--font-heading); font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.25; color: #fff; font-weight: 700; }
.dr-footer .footer-cta p { margin: 0; font-size: .95rem; line-height: 1.7; color: #f1e2cb; }
.dr-footer .footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.dr-footer .footer-cta-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px;
  border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; color: #fff;
  border: 1px solid rgba(255, 255, 255, .42); background: rgba(255, 255, 255, .06);
  transition: transform .25s cubic-bezier(.22, .61, .36, 1), background .25s, box-shadow .25s, color .25s;
}
.dr-footer .footer-cta-btn:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .16); }
.dr-footer .footer-cta-btn.is-primary { background: #fff; color: #4b2f1b; border-color: #fff; box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .6); }
.dr-footer .footer-cta-btn.is-primary:hover { background: #fff6e8; box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .7); }
.dr-footer .footer-cta-btn:focus-visible { outline: 3px solid #e3c78f; outline-offset: 3px; }

/* links: underline slide instead of jump */
.dr-footer .footer-links li a { position: relative; padding-bottom: 2px; transform: none; }
.dr-footer .footer-links li a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: #c9a36a; transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.22, .61, .36, 1);
}
.dr-footer .footer-links li a:hover { transform: none; }
.dr-footer .footer-links li a:hover::after { transform: scaleX(1); }

.dr-footer .footer-social-icon { transition: transform .3s cubic-bezier(.22, .61, .36, 1), background .3s, border-color .3s, box-shadow .3s; }
.dr-footer .footer-social-icon:hover { transform: translateY(-4px); box-shadow: 0 12px 20px -10px rgba(0, 0, 0, .7); }

.dr-footer .footer-bottom { position: relative; z-index: 1; padding-bottom: 26px; }
.dr-footer .footer-top {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #e7d6bf; text-decoration: none;
  border: 1px solid rgba(231, 214, 191, .26); background: rgba(255, 255, 255, .04);
  transition: transform .3s cubic-bezier(.22, .61, .36, 1), background .3s, color .3s;
}
.dr-footer .footer-top:hover { transform: translateY(-4px); background: #805633; color: #fff; }
.dr-footer .footer-top:focus-visible { outline: 2px solid #e3c78f; outline-offset: 4px; }

/* giant watermark */
.dr-footer .footer-mark {
  display: block; position: relative; z-index: 0; pointer-events: none; user-select: none;
  margin-top: -6px; padding: 0 24px; text-align: center; white-space: nowrap; overflow: hidden;
  font-family: var(--font-heading); font-weight: 700; line-height: .82; letter-spacing: -.03em;
  font-size: clamp(64px, 17vw, 250px);
  color: transparent; -webkit-text-stroke: 1px rgba(231, 214, 191, .14);
  background: linear-gradient(180deg, rgba(231, 214, 191, .12), transparent 85%); -webkit-background-clip: text; background-clip: text;
  transform: translateY(9%);
}

@media (max-width: 680px) {
  .dr-footer .footer-cta { border-radius: 18px; }
  .dr-footer .footer-cta-actions { width: 100%; }
  .dr-footer .footer-cta-btn { flex: 1; padding: 0 14px; }
  .dr-footer .footer-bottom { flex-direction: row; flex-wrap: wrap; text-align: left; align-items: center; }
  .dr-footer .footer-top { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .dr-footer .footer-cta::before { animation: none; }
  .dr-footer .footer-links li a::after, .dr-footer .footer-top, .dr-footer .footer-cta-btn { transition: none; }
}
