/* =========================================================================
   PRIDE LOANS — MAIN STYLESHEET
   Design tokens
   ---------------------------------------------------------------------
   Colour
     --pl-navy        #16305C   primary text / headings / header bg
     --pl-navy-deep   #0E2044   darkest navy, footer bg
     --pl-red         #E23B3B   primary accent, CTAs, keyhole motif
     --pl-red-deep    #C22A2A   hover state for red
     --pl-paper       #F5F7FA   page background (cool, not cream)
     --pl-card        #FFFFFF   card / surface background
     --pl-line        #E3E8F0   hairline borders
     --pl-ink-soft    #5A6B85   secondary text

   Type
     Display: 'Sora'   — headings, numerals, brand voice (geometric, confident)
     Body:    'Inter'  — paragraphs, forms, labels
   ------------------------------------------------------------------------- */

:root {
  --pl-navy: #16305C;
  --pl-navy-deep: #0E2044;
  --pl-red: #E23B3B;
  --pl-red-deep: #C22A2A;
  --pl-paper: #F5F7FA;
  --pl-card: #FFFFFF;
  --pl-line: #E3E8F0;
  --pl-ink-soft: #5A6B85;
  --pl-gold: #F2A93B; /* sparing use: badges / ratings only */

  --pl-font-display: 'Sora', 'Segoe UI', sans-serif;
  --pl-font-body: 'Inter', 'Segoe UI', sans-serif;

  --pl-radius: 14px;
  --pl-radius-sm: 8px;
  --pl-container: 1160px;
  --pl-shadow: 0 10px 30px -12px rgba(14, 32, 68, 0.18);
}

/* ---------------------------------------------------------------------
   Reset / base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--pl-font-body);
  color: var(--pl-navy);
  background: var(--pl-paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--pl-font-display);
  color: var(--pl-navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
}
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--pl-gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

.container {
  width: 100%;
  max-width: var(--pl-container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--navy { background: var(--pl-navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--paper { background: var(--pl-paper); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--pl-font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pl-red);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--pl-red);
  display: inline-block;
}

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head p { color: var(--pl-ink-soft); font-size: 1.05rem; }

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--pl-font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--pl-red); color: #fff; box-shadow: 0 10px 22px -10px rgba(226,59,59,0.65); }
.btn-primary:hover { background: var(--pl-red-deep); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-navy { background: var(--pl-navy); color: #fff; }
.btn-navy:hover { background: var(--pl-navy-deep); }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--pl-line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}
.site-branding { display: flex; align-items: center; }
.site-branding img { max-height: 56px; width: auto; }
.site-branding .site-title {
  font-family: var(--pl-font-display);
  font-size: 1.4rem;
  font-weight: 800;
}
.site-branding .site-title .accent { color: var(--pl-red); }

.primary-nav { display: flex; align-items: center; gap: 8px; }
.primary-nav ul { display: flex; align-items: center; gap: 4px; }
.primary-nav a {
  display: block;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 999px;
  color: var(--pl-navy);
}
.primary-nav a:hover { background: var(--pl-paper); color: var(--pl-red); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--pl-font-display);
  font-weight: 700;
  color: var(--pl-navy);
}
.header-phone .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--pl-red);
  box-shadow: 0 0 0 4px rgba(226,59,59,0.15);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--pl-navy);
  margin: 5px 0;
  transition: 0.2s;
}

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  letter-spacing: -0.01em;
}
.hero-copy h1 .accent { color: var(--pl-red); }
.hero-copy .lede { font-size: 1.15rem; color: var(--pl-ink-soft); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--pl-line);
}
.hero-stats .stat strong {
  display: block;
  font-family: var(--pl-font-display);
  font-size: 1.6rem;
  color: var(--pl-navy);
}
.hero-stats .stat span { font-size: 13px; color: var(--pl-ink-soft); }

.hero-visual {
  position: relative;
  background: var(--pl-navy);
  border-radius: 24px;
  padding: 40px;
  color: #fff;
  overflow: hidden;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 260px; height: 260px;
  background: var(--pl-red);
  opacity: 0.18;
  border-radius: 50%;
}
.hero-visual .keyhole-badge {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-visual .keyhole-badge .badge-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--pl-radius-sm);
  padding: 14px 16px;
}
.hero-visual .keyhole-badge .badge-row .icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--pl-red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-visual .keyhole-badge .badge-row strong { display: block; font-family: var(--pl-font-display); }
.hero-visual .keyhole-badge .badge-row span { font-size: 13px; color: rgba(255,255,255,0.7); }

/* keyhole svg icon, reused as signature motif site-wide */
.keyhole-icon { width: 20px; height: 20px; display: block; }

/* ---------------------------------------------------------------------
   Trust strip
   --------------------------------------------------------------------- */
.trust-strip {
  border-top: 1px solid var(--pl-line);
  border-bottom: 1px solid var(--pl-line);
  background: #fff;
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  padding: 22px 24px;
}
.trust-strip .item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pl-navy);
}
.trust-strip .item .keyhole-icon { color: var(--pl-red); }

/* ---------------------------------------------------------------------
   Services grid
   --------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--pl-card);
  border: 1px solid var(--pl-line);
  border-radius: var(--pl-radius);
  padding: 30px 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pl-shadow);
  border-color: transparent;
}
.service-card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(226,59,59,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-card .icon .keyhole-icon { width: 26px; height: 26px; color: var(--pl-red); }
.service-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-card p { color: var(--pl-ink-soft); font-size: 14.5px; margin-bottom: 16px; }
.service-card .rate {
  display: inline-block;
  font-family: var(--pl-font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--pl-navy);
  background: var(--pl-paper);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.service-card a.card-link {
  font-weight: 700;
  font-size: 14px;
  color: var(--pl-red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------------------------------------------------------------------
   Process steps (genuinely sequential -> numbering is meaningful)
   --------------------------------------------------------------------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
  position: relative;
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 26px; left: 6%; right: 6%;
  height: 2px;
  background: var(--pl-line);
}
.process-step { position: relative; padding: 0 18px; text-align: left; }
.process-step .num {
  counter-increment: step;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--pl-navy);
  color: #fff;
  font-family: var(--pl-font-display);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.process-step .num::before { content: counter(step, decimal-leading-zero); }
.process-step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.process-step p { font-size: 13.5px; color: var(--pl-ink-soft); }

/* ---------------------------------------------------------------------
   Why choose us
   --------------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 32px;
}
.why-item { display: flex; gap: 16px; }
.why-item .icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--pl-navy);
  display: flex; align-items: center; justify-content: center;
}
.why-item .icon .keyhole-icon { color: #fff; width: 22px; height: 22px; }
.why-item h3 { font-size: 1.02rem; margin-bottom: 4px; }
.why-item p { font-size: 14px; color: var(--pl-ink-soft); margin: 0; }

/* ---------------------------------------------------------------------
   Testimonials
   --------------------------------------------------------------------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--pl-radius);
  padding: 28px;
  border: 1px solid var(--pl-line);
}
.testimonial-card .stars { color: var(--pl-gold); font-size: 14px; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card p.quote { font-size: 14.5px; color: var(--pl-navy); }
.testimonial-card .person { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testimonial-card .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--pl-paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--pl-font-display); font-weight: 700; color: var(--pl-navy);
}
.testimonial-card .person strong { display: block; font-size: 13.5px; }
.testimonial-card .person span { font-size: 12.5px; color: var(--pl-ink-soft); }

/* ---------------------------------------------------------------------
   EMI calculator (simple, client-side)
   --------------------------------------------------------------------- */
.emi-calc {
  background: #fff;
  border-radius: var(--pl-radius);
  border: 1px solid var(--pl-line);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.emi-field { margin-bottom: 20px; }
.emi-field label {
  display: flex; justify-content: space-between;
  font-size: 13.5px; font-weight: 600; margin-bottom: 8px;
}
.emi-field label .val { color: var(--pl-red); font-family: var(--pl-font-display); }
.emi-field input[type="range"] { width: 100%; accent-color: var(--pl-red); }
.emi-result {
  background: var(--pl-navy);
  color: #fff;
  border-radius: var(--pl-radius);
  padding: 28px;
  text-align: center;
}
.emi-result .amount { font-family: var(--pl-font-display); font-size: 2.2rem; font-weight: 700; }
.emi-result .label { font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 6px; }

/* ---------------------------------------------------------------------
   CTA banner
   --------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--pl-red), var(--pl-red-deep));
  border-radius: 24px;
  padding: 52px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 6px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-banner .btn-outline { border-color: rgba(255,255,255,0.6); }
.cta-banner .btn-white { background: #fff; color: var(--pl-red-deep); }
.cta-banner .btn-white:hover { background: #f4f4f4; }

/* ---------------------------------------------------------------------
   Contact / enquiry form
   --------------------------------------------------------------------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.contact-info-card {
  background: var(--pl-navy);
  color: #fff;
  border-radius: var(--pl-radius);
  padding: 32px;
}
.contact-info-card h3 { color: #fff; }
.contact-info-card .row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.contact-info-card .row:last-child { border-bottom: none; }
.contact-info-card .row .icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--pl-red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-card .row strong { display: block; font-size: 13px; color: rgba(255,255,255,0.65); font-weight: 600; }
.contact-info-card .row span, .contact-info-card .row a { font-size: 15px; font-weight: 600; }

.enquiry-form {
  background: #fff;
  border: 1px solid var(--pl-line);
  border-radius: var(--pl-radius);
  padding: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--pl-radius-sm);
  border: 1px solid var(--pl-line);
  font-family: var(--pl-font-body);
  font-size: 14.5px;
  background: var(--pl-paper);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--pl-red);
  background: #fff;
}
.form-note { font-size: 12.5px; color: var(--pl-ink-soft); margin-top: 10px; }
.form-success {
  background: #E9F8EF; color: #1C7C42;
  border-radius: var(--pl-radius-sm);
  padding: 14px 16px; font-size: 14px; font-weight: 600; margin-bottom: 18px;
}

/* ---------------------------------------------------------------------
   FAQ (native details/summary, no JS needed)
   --------------------------------------------------------------------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--pl-line);
  border-radius: var(--pl-radius-sm);
  padding: 4px 22px;
  margin-bottom: 12px;
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
  font-family: var(--pl-font-display);
  font-size: 15px;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--pl-red);
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding-bottom: 18px; color: var(--pl-ink-soft); font-size: 14.5px; margin: 0; }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--pl-navy-deep);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .site-title { color: #fff; font-family: var(--pl-font-display); font-size: 1.3rem; font-weight: 800; }
.footer-brand .site-title .accent { color: var(--pl-red); }
.footer-brand .tagline { font-style: italic; font-size: 13.5px; margin-top: 6px; color: rgba(255,255,255,0.55); }
.footer-brand p.about { font-size: 13.5px; margin-top: 14px; max-width: 40ch; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; font-size: 13.5px; }
.footer-col ul li a:hover { color: var(--pl-red); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 10px; padding-top: 22px; font-size: 12.5px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-socials a:hover { background: var(--pl-red); }

.sticky-call {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  background: var(--pl-navy);
  padding: 12px 16px;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.15);
}
.sticky-call a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: #fff; font-family: var(--pl-font-display); font-weight: 700;
}

/* ---------------------------------------------------------------------
   Generic page / single content (blog, pages)
   --------------------------------------------------------------------- */
.page-content { max-width: 780px; margin: 0 auto; padding: 64px 24px; }
.page-content h1 { font-size: 2.1rem; margin-bottom: 24px; }
.page-content img { border-radius: var(--pl-radius); margin: 24px 0; }

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .process-steps::before { display: none; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .emi-calc { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .primary-nav { display: none; }
  .header-phone span.txt { display: none; }
  .menu-toggle { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
  .sticky-call { display: block; }
  body { padding-bottom: 58px; }
  .section { padding: 56px 0; }
}

/* Mobile nav drawer */
.primary-nav.is-open {
  display: block;
  position: absolute;
  top: 84px; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--pl-line);
  box-shadow: var(--pl-shadow);
}
.primary-nav.is-open ul { flex-direction: column; align-items: stretch; padding: 12px; gap: 2px; }
.primary-nav.is-open a { padding: 14px 16px; }
