/* Greaterbhiwadi.com — custom styles layered on Tailwind */
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; background: #F9FAFB; color: #334155; -webkit-font-smoothing: antialiased; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

:focus-visible { outline: 3px solid #D97706; outline-offset: 2px; border-radius: 6px; }

.skip-link { position: absolute; left: -999px; top: 0.5rem; z-index: 100; background: #0F172A; color: #fff; padding: .6rem 1rem; border-radius: .5rem; }
.skip-link:focus { left: .5rem; }

/* Header */
#site-header { transition: box-shadow .25s ease, background-color .25s ease; }
#site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(15,23,42,.18); }
.nav-link { position: relative; padding: .5rem .1rem; font-weight: 600; color: #475569; transition: color .2s; }
.nav-link:hover { color: #0F172A; }
.nav-link::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: #D97706; transition: right .25s ease; }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { right: 0; }
.nav-link[aria-current="page"] { color: #0F172A; }

/* Buttons & cards */
:where(.btn) { display: inline-flex; }
.btn { align-items: center; justify-content: center; gap: .5rem; font-weight: 700; border-radius: .75rem; padding: .85rem 1.5rem; transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: #D97706; color: #fff; box-shadow: 0 8px 20px -8px rgba(217,119,6,.65); }
.btn-primary:hover { background: #B45309; }
.btn-dark { background: #0F172A; color: #fff; }
.btn-dark:hover { background: #1E293B; }
.btn-outline { background: #fff; color: #0F172A; border: 1.5px solid #CBD5E1; }
.btn-outline:hover { border-color: #0F172A; }
.btn-green { background: #059669; color: #fff; }
.btn-green:hover { background: #047857; }
.card { background: #fff; border: 1px solid #E2E8F0; border-radius: 1.25rem; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.card-hover { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(15,23,42,.25); border-color: #FCD9A8; }
.eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: #D97706; }

/* Hero backdrop */
.hero-bg { background:
  radial-gradient(60rem 28rem at 85% -10%, rgba(217,119,6,.13), transparent 60%),
  radial-gradient(40rem 24rem at -5% 20%, rgba(5,150,105,.09), transparent 60%),
  #F9FAFB; }
.grid-dots { background-image: radial-gradient(#CBD5E1 1px, transparent 1px); background-size: 22px 22px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Range sliders */
input[type=range].slider { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; outline-offset: 6px;
  background: linear-gradient(to right, #D97706 var(--fill, 30%), #E2E8F0 var(--fill, 30%)); }
input[type=range].slider::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid #D97706; box-shadow: 0 2px 8px rgba(15,23,42,.25); cursor: pointer; }
input[type=range].slider::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid #D97706; box-shadow: 0 2px 8px rgba(15,23,42,.25); cursor: pointer; }

/* EMI donut */
.donut { --p: 50%; width: 9rem; height: 9rem; border-radius: 50%;
  background: conic-gradient(#0F172A 0 var(--p), #D97706 var(--p) 100%); position: relative; flex-shrink: 0; }
.donut::after { content: ''; position: absolute; inset: 1.25rem; background: #fff; border-radius: 50%; }

/* Forms */
.field { width: 100%; background: #fff; border: 1.5px solid #CBD5E1; border-radius: .75rem; padding: .8rem 1rem; color: #0F172A; transition: border-color .2s, box-shadow .2s; }
.field:hover { border-color: #94A3B8; }
.field:focus { outline: none; border-color: #D97706; box-shadow: 0 0 0 4px rgba(217,119,6,.18); }
.field.field-error { border-color: #DC2626; box-shadow: 0 0 0 4px rgba(220,38,38,.1); }
.error-text { color: #B91C1C; font-size: .82rem; min-height: 1.1rem; margin-top: .3rem; }

/* Misc */
.avatar { background: linear-gradient(135deg, #FFF3E0, #FDE3BD); color: #B45309; }
.logo-img { filter: drop-shadow(0 2px 6px rgba(194,65,12,.18)); }
.tick { flex-shrink: 0; margin-top: .2rem; }

/* Services dropdown */
.has-menu .menu { display: none; position: absolute; left: -1rem; top: 100%; padding-top: .9rem; min-width: 16.5rem; z-index: 60; }
.has-menu .menu-inner { background: #fff; border: 1px solid #E2E8F0; border-radius: 1rem; box-shadow: 0 18px 40px -16px rgba(15,23,42,.28); padding: .5rem; }
.has-menu:hover .menu, .has-menu:focus-within .menu { display: block; }

/* Loan guide pages */
.h2 { font-size: 1.6rem; line-height: 1.2; font-weight: 800; color: #0F172A; letter-spacing: -.01em; }
@media (min-width: 640px) { .h2 { font-size: 2rem; } }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.25rem; font-weight: 700; color: #0F172A; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; line-height: 1; color: #D97706; transition: transform .2s; }
.faq[open] summary::after { content: '\2212'; }
.faq[open] { border-color: #FCD9A8; }
article section { scroll-margin-top: 6rem; }

/* Honeypot field: visible to bots, hidden from people and screen readers */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
