:root {
    --primary: #2D5A27;
    --primary-dark: #1E3D1A;
    --primary-light: #4A7C3F;
    --accent: #F4A460;
    --accent-2: #E6B800;
    --light: #FDFBF7;
    --cream: #F5EFE3;
    --dark: #1A1A1A;
    --muted: #5b6b58;
    --gradient: linear-gradient(135deg, #2D5A27 0%, #4A7C3F 100%);
    --shadow-sm: 0 2px 8px rgba(45, 90, 39, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Outfit', 'Noto Sans Devanagari', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.7;
    padding-bottom: 76px;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.announce {
    background: var(--primary-dark); color: #fff; text-align: center;
    font-size: 0.85rem; padding: 0.45rem 1rem;
}
.announce strong { color: var(--accent-2); }

.site-header { position: sticky; top: 0; z-index: 100; }
nav.nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.85rem 5%; position: relative;
    background: rgba(253, 251, 247, 0.92);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(45, 90, 39, 0.10);
}
.logo {
    display: flex; align-items: center; gap: 0.65rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700; font-size: 1.25rem; color: var(--primary);
}
.logo-icon {
    width: 44px; height: 44px;
    background: url('../images/Applogo.png') no-repeat center / cover;
    border-radius: 10px; box-shadow: var(--shadow-sm);
}
.nav-links { display: flex; gap: 1.75rem; list-style: none; align-items: center; }
.nav-links a {
    font-weight: 500; color: var(--dark); position: relative;
    font-size: 0.95rem; transition: color .2s; text-decoration: none;
}
.nav-links a:hover { color: var(--primary); text-decoration: none; }
.nav-links a.active { color: var(--primary); }
.nav-links a.active::after {
    content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
    height: 2px; background: var(--primary);
}
.nav-actions { display: flex; gap: 0.65rem; align-items: center; }
.lang-toggle {
    display: inline-flex; align-items: center; gap: 0.4rem;
    border: 1px solid rgba(45, 90, 39, 0.25); background: #fff;
    color: var(--primary-dark); border-radius: 999px;
    padding: 0.45rem 0.85rem; font-weight: 600; font-size: 0.85rem;
    cursor: pointer; font-family: inherit;
}
.lang-toggle:hover { border-color: var(--primary); background: rgba(45, 90, 39, 0.06); }
.nav-cta {
    background: var(--gradient); color: #fff;
    padding: 0.55rem 1.15rem; border-radius: 12px;
    font-weight: 600; font-size: 0.9rem;
    display: inline-flex; align-items: center; gap: 0.45rem;
    box-shadow: 0 6px 16px rgba(45, 90, 39, 0.25); text-decoration: none;
}
.nav-cta:hover { text-decoration: none; transform: translateY(-2px); }
.nav-toggle {
    display: none; width: 42px; height: 42px;
    border: 1px solid rgba(45, 90, 39, 0.2); border-radius: 12px;
    background: #fff; color: var(--primary-dark); cursor: pointer;
    align-items: center; justify-content: center; font-size: 1.1rem;
}

.page-hero {
    background: var(--gradient); color: #fff;
    padding: 3.5rem 5% 2.5rem; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before, .page-hero::after {
    content: ''; position: absolute; border-radius: 50%;
    background: rgba(255,255,255,0.08);
}
.page-hero::before { width: 220px; height: 220px; top: -70px; left: -50px; }
.page-hero::after { width: 180px; height: 180px; bottom: -60px; right: -40px; }
.page-hero h1 {
    font-family: 'Space Grotesk', 'Noto Sans Devanagari', sans-serif;
    font-size: clamp(1.7rem, 3.4vw, 2.5rem); position: relative; z-index: 1;
}
.page-hero .crumbs {
    margin-top: 0.6rem; font-size: 0.9rem; opacity: 0.9; position: relative; z-index: 1;
}
.page-hero .crumbs a { color: #fff; opacity: 0.85; text-decoration: none; }
.page-hero .crumbs a:hover { opacity: 1; text-decoration: underline; }
.last-updated { color: rgba(255,255,255,0.85); font-size: 0.88rem; margin-top: 0.35rem; position: relative; z-index: 1; }

main.legal {
    max-width: 860px; margin: 0 auto; padding: 3rem 5% 4rem;
}
main.legal section {
    margin-bottom: 2rem; padding: 1.75rem;
    background: #fff; border: 1px solid rgba(45, 90, 39, 0.10);
    border-radius: 18px; box-shadow: var(--shadow-sm);
}
main.legal section h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--primary); margin-bottom: 0.85rem; font-size: 1.25rem;
}
main.legal section h3 {
    font-family: 'Space Grotesk', sans-serif;
    margin: 1.1rem 0 0.5rem; font-size: 1.05rem; color: var(--primary-dark);
}
main.legal section p { margin-bottom: 0.85rem; color: #333; }
main.legal section ul { padding-left: 1.4rem; margin-bottom: 0.85rem; color: #333; }
main.legal section li { margin-bottom: 0.4rem; }
main.legal section .highlight {
    background: rgba(244, 164, 96, 0.10);
    border-left: 4px solid var(--accent);
    padding: 1rem 1.1rem; border-radius: 8px; margin: 0.85rem 0;
}

footer {
    background: var(--primary-dark); color: #d9e3d8;
    padding: 3.5rem 5% 1.25rem; margin-top: 2rem;
}
.footer-content {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem;
}
.footer-brand .logo { color: #fff; }
.footer-brand p { margin-top: 0.85rem; font-size: 0.92rem; opacity: 0.85; max-width: 320px; }
footer h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: #fff; font-size: 0.95rem; margin-bottom: 1rem;
    text-transform: uppercase; letter-spacing: 0.06em;
}
footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
footer ul a { font-size: 0.92rem; opacity: 0.85; color: #d9e3d8; text-decoration: none; transition: opacity .2s, color .2s; }
footer ul a:hover { opacity: 1; color: var(--accent-2); }
footer .contact-row { display: flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; }
footer .contact-row i { color: var(--accent-2); }
.footer-bottom {
    max-width: 1200px; margin: 2.5rem auto 0; padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem;
    font-size: 0.85rem; opacity: 0.8;
}

.fab-whatsapp {
    position: fixed; right: 18px; bottom: 92px; z-index: 95;
    width: 54px; height: 54px; border-radius: 50%;
    background: #25D366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 8px 24px rgba(37,211,102,0.45);
    text-decoration: none;
    transition: transform .2s;
}
.fab-whatsapp:hover { transform: scale(1.08); text-decoration: none; }

.fab-call {
    position: fixed; right: 18px; bottom: 158px; z-index: 95;
    width: 54px; height: 54px; border-radius: 50%;
    background: var(--gradient); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.45rem; text-decoration: none;
    transition: transform .2s;
    animation: callPulse 2.4s ease-out infinite;
}
.fab-call:hover { transform: scale(1.08); text-decoration: none; }
.fab-call::after {
    content: attr(data-tip);
    position: absolute; right: 66px; top: 50%; transform: translateY(-50%);
    white-space: nowrap; background: var(--dark); color: #fff;
    padding: 0.45rem 0.75rem; border-radius: 9px; font-size: 0.8rem;
    opacity: 0; pointer-events: none; transition: opacity .2s;
    box-shadow: 0 8px 24px rgba(45,90,39,0.18);
}
.fab-call:hover::after { opacity: 1; }
@keyframes callPulse {
    0%   { box-shadow: 0 8px 24px rgba(45,90,39,0.4), 0 0 0 0 rgba(45,90,39,0.45); }
    70%  { box-shadow: 0 8px 24px rgba(45,90,39,0.4), 0 0 0 14px rgba(45,90,39,0); }
    100% { box-shadow: 0 8px 24px rgba(45,90,39,0.4), 0 0 0 0 rgba(45,90,39,0); }
}
@media (prefers-reduced-motion: reduce) {
    .fab-call { animation: none; box-shadow: 0 8px 24px rgba(45,90,39,0.4); }
}

.sticky-cta {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    background: #fff;
    border-top: 1px solid rgba(45,90,39,0.15);
    box-shadow: 0 -8px 20px rgba(0,0,0,0.08);
    padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom));
    display: flex; gap: 0.6rem;
}
.sticky-cta .btn {
    flex: 1; justify-content: center; padding: 0.85rem 0.5rem; font-size: 0.95rem;
    display: inline-flex; align-items: center; gap: 0.6rem;
    border-radius: 12px; font-weight: 600; font-family: inherit;
    border: none; text-decoration: none;
}
.sticky-cta .btn-primary { background: var(--gradient); color: #fff; }
.sticky-cta .btn-whatsapp { background: #25D366; color: #fff; }
.sticky-cta .btn-call-sticky {
    flex: 0 0 50px; width: 50px; padding: 0.85rem 0;
    background: var(--gradient); color: #fff;
}

@media (max-width: 720px) {
    .nav-links { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav-links.open {
        display: flex; flex-direction: column; gap: 0;
        position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; padding: 0.5rem 1rem 1rem;
        box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    }
    .nav-links.open li { padding: 0.6rem 0; border-top: 1px solid rgba(45,90,39,0.08); }
    .nav-cta { display: none; }
    .footer-content { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .fab-whatsapp { bottom: 88px; }
    .fab-call { bottom: 154px; }
    .fab-call::after { display: none; }
}
@media (min-width: 721px) {
    .sticky-cta { display: none; }
    body { padding-bottom: 0; }
    .fab-whatsapp { bottom: 24px; }
    .fab-call { bottom: 90px; }
}
