/* ==========================================================================
   Propfix Realty -- main stylesheet
   Brand: blue gradient (#0e5fb3 -> #16a3e0), navy text, clean sans-serif
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --pf-blue-dark: #0b2a5b;
  --pf-blue: #0e5fb3;
  --pf-blue-light: #16a3e0;
  --pf-blue-lighter: #eaf4fc;
  --pf-navy: #10233f;
  --pf-gray: #5c6b7a;
  --pf-gray-light: #f4f6f9;
  --pf-border: #e3e8ef;
  --pf-white: #ffffff;
  --pf-danger: #d64545;
  --pf-success: #1f9d55;
  --pf-radius: 12px;
  --pf-shadow: 0 4px 18px rgba(16, 35, 63, 0.08);
  --pf-shadow-hover: 0 10px 30px rgba(16, 35, 63, 0.14);
  font-size: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--pf-navy);
  background: var(--pf-white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--pf-blue); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--pf-blue-light); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--pf-navy); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: 1rem; }

/* ---- Icons (replace emoji) ---- */
.icon-svg { width: 0.85em; height: 0.85em; flex-shrink: 0; vertical-align: -0.1em; opacity: .85; }
.icon-inline { display: inline-flex; align-items: center; gap: 6px; }

/* ---- Motion ---- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in-view { opacity: 1; transform: translateY(0); }

  .hero-eyebrow, .hero h1, .hero p.lead, .hero-stats { animation: pfFadeUp .7s ease both; }
  .hero h1 { animation-delay: .08s; }
  .hero p.lead { animation-delay: .16s; }
  .hero-stats { animation-delay: .24s; }
}
@keyframes pfFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.btn { transition: all .18s ease, transform .18s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(14,95,179,.28); }

.main-nav a { position: relative; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px;
  background: var(--pf-blue); transition: right .2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }

.brand-logo { transition: transform .2s ease; }
.brand:hover .brand-logo { transform: scale(1.05); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 60px 0; }
.section-tight { padding: 36px 0; }
.section-header { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.section-header h2 { font-size: 1.9rem; }
.section-header p { color: var(--pf-gray); }
.text-center { text-align: center; }

.eyebrow {
  display: inline-block;
  color: var(--pf-blue);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(90deg, var(--pf-blue) 0%, var(--pf-blue-light) 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(14, 95, 179, .28);
}
.btn-primary:hover { filter: brightness(1.06); color: #fff; transform: translateY(-1px); }
.btn-outline { background: #fff; border-color: var(--pf-border); color: var(--pf-navy); }
.btn-outline:hover { border-color: var(--pf-blue); color: var(--pf-blue); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: .875rem; }
.btn-white { background: #fff; color: var(--pf-blue); }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--pf-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.25rem; color: var(--pf-navy); }
.brand-logo { height: 15px; width: auto; flex-shrink: 0; }
.brand-tagline { display: block; font-weight: 500; font-size: .65rem; color: var(--pf-gray); letter-spacing: .04em; text-transform: uppercase; margin-top: 2px; border-left: 1px solid var(--pf-border); padding-left: 12px; white-space: nowrap; }

.footer-logo-wrap { display: inline-flex; background: #fff; padding: 6px 12px; border-radius: 8px; margin-bottom: 14px; }
.footer-logo-wrap .brand-logo { height: 18px; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--pf-navy); font-weight: 600; font-size: .95rem; }
.main-nav a.active, .main-nav a:hover { color: var(--pf-blue); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; color: var(--pf-navy); padding: 6px; }
.nav-toggle .icon-svg { width: 19px; height: 19px; opacity: 1; }

/* ---- Nav dropdowns (Properties / New Projects) ---- */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  background: none; border: none; cursor: pointer; font-family: inherit;
  color: var(--pf-navy); font-weight: 600; font-size: .95rem; padding: 0; position: relative;
}
.nav-dropdown-toggle::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--pf-blue); transition: right .2s ease; }
.nav-dropdown-toggle:hover::after, .nav-dropdown-toggle.active::after { right: 0; }
.nav-dropdown-toggle .icon-svg { width: 14px; height: 14px; opacity: 1; transition: transform .18s ease; }
.nav-dropdown.open .nav-dropdown-toggle .icon-svg { transform: rotate(180deg); }
.nav-dropdown-toggle:hover, .nav-dropdown-toggle.active { color: var(--pf-blue); }

.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--pf-border); border-radius: 10px; box-shadow: var(--pf-shadow-hover);
  padding: 8px; min-width: 190px; z-index: 60;
}
.dropdown-menu a { display: block; padding: 9px 14px; border-radius: 6px; font-weight: 600; font-size: .9rem; color: var(--pf-navy); white-space: nowrap; }
.dropdown-menu a:hover { background: var(--pf-gray-light); color: var(--pf-blue); }
.nav-dropdown.open .dropdown-menu { display: block; }
@media (hover: hover) and (pointer: fine) {
  /* invisible bridge so the cursor doesn't leave .nav-dropdown while crossing the gap to the menu */
  .nav-dropdown::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 16px; }
  .nav-dropdown:hover .dropdown-menu { display: block; }
}

@media (max-width: 860px) {
  .main-nav { position: fixed; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 20px; gap: 16px; border-bottom: 1px solid var(--pf-border); transform: translateY(-130%); transition: transform .2s ease; box-shadow: var(--pf-shadow); max-height: 80vh; overflow-y: auto; }
  .main-nav.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .header-cta .btn span { display: none; }
  .nav-dropdown { width: 100%; }
  .dropdown-menu { position: static; transform: none; box-shadow: none; border: none; width: 100%; padding: 4px 0 0 12px; display: none; }
  .nav-dropdown.open .dropdown-menu { display: block; }
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(160deg, var(--pf-blue-dark) 0%, var(--pf-blue) 55%, var(--pf-blue-light) 100%);
  color: #fff;
  padding: 52px 0 78px;
  position: relative;
  overflow: hidden;
}
.hero h1 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); max-width: 780px; position: relative; z-index: 2; }
.hero .eyebrow, .hero p.lead, .hero-stats { position: relative; z-index: 2; }
.hero p.lead { color: rgba(255,255,255,.85); font-size: 1.02rem; max-width: 600px; }
.hero-stats { display: flex; gap: 36px; margin-top: 20px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 1.35rem; }
.hero-stats div span { font-size: .8rem; color: rgba(255,255,255,.75); }
.hero-grid { display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; z-index: 2; }
.hero-copy { flex: 1; min-width: 0; }
@media (max-width: 760px) { .hero-grid { flex-direction: column; align-items: stretch; } }
.hero-art {
  position: absolute;
  right: 0; bottom: 0;
  width: min(55vw, 900px);
  height: 100%;
  z-index: 1;
  opacity: .9;
  pointer-events: none;
}
.hero-art svg { width: 100%; height: 100%; display: block; }
@media (max-width: 760px) { .hero-art { display: none; } }

.search-card {
  background: #fff;
  border-radius: var(--pf-radius);
  box-shadow: var(--pf-shadow-hover);
  padding: 22px;
  margin-top: -52px;
  position: relative;
  z-index: 5;
}
.search-tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.search-tabs button {
  border: none; background: var(--pf-gray-light); padding: 9px 18px; border-radius: 8px;
  font-weight: 700; color: var(--pf-gray); cursor: pointer;
}
.search-tabs button.active { background: var(--pf-blue); color: #fff; }

/* ---- Category tabs (New Launch / Under Construction / Ready to Move) ---- */
.category-tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.category-tabs button {
  border: 1px solid var(--pf-border); background: #fff; padding: 11px 20px; border-radius: 999px;
  font-weight: 700; font-size: .92rem; color: var(--pf-navy); cursor: pointer; transition: all .18s ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.category-tabs button .icon-svg { opacity: 1; }
.category-tabs button .count { color: var(--pf-gray); font-weight: 600; }
.category-tabs button:hover { border-color: var(--pf-blue); color: var(--pf-blue); }
.category-tabs button.active { background: var(--pf-blue); border-color: var(--pf-blue); color: #fff; }
.category-tabs button.active .count { color: rgba(255,255,255,.8); }
.category-panel[hidden] { display: none; }
.search-grid { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 12px; align-items: end; }
.search-grid label { display: block; font-size: .78rem; font-weight: 700; color: var(--pf-gray); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .03em; }
.search-grid select, .search-grid input {
  width: 100%; padding: 11px 12px; border: 1px solid var(--pf-border); border-radius: 8px; background: #fff; color: var(--pf-navy);
}
@media (max-width: 900px) { .search-grid { grid-template-columns: 1fr 1fr; } }

/* ---- Listing cards ---- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius);
  overflow: hidden;
  transition: box-shadow .18s ease, transform .18s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover { box-shadow: var(--pf-shadow-hover); transform: translateY(-3px); }
.card-media { position: relative; aspect-ratio: 4/3; background: var(--pf-gray-light); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-whatsapp {
  position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,.25); transition: transform .18s ease;
}
.card-whatsapp .icon-svg { width: 19px; height: 19px; opacity: 1; }
.card-whatsapp:hover { transform: scale(1.08); color: #fff; }
.badge {
  position: absolute; top: 12px; left: 12px; background: var(--pf-blue); color: #fff;
  padding: 5px 12px; border-radius: 999px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
}
.badge.rent { background: var(--pf-success); }
.badge-featured { position: absolute; top: 12px; right: 12px; background: #fff; color: var(--pf-navy); padding: 5px 10px; border-radius: 999px; font-size: .7rem; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.badge-featured .icon-svg { width: 10px; height: 10px; color: #f5a623; opacity: 1; }

.tag-possession {
  display: inline-flex; align-items: center; width: fit-content;
  padding: 3px 10px; border-radius: 999px; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .02em;
}
.tag-possession.new_launch { background: #eaf0fb; color: var(--pf-blue); }
.tag-possession.under_construction { background: #fff4e0; color: #b5750a; }
.tag-possession.ready_to_move { background: #e7f8ee; color: var(--pf-success); }
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-price { font-size: 1.2rem; font-weight: 800; color: var(--pf-blue-dark); }
.card-title { font-size: 1.02rem; font-weight: 700; }
.card-title a { color: var(--pf-navy); }
.card-title a:hover { color: var(--pf-blue); }
.card-loc { color: var(--pf-gray); font-size: .88rem; display: flex; align-items: center; gap: 6px; }
.card-meta { display: flex; gap: 16px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--pf-border); font-size: .85rem; color: var(--pf-gray); }
.card-meta strong { color: var(--pf-navy); }

/* ---- Filters bar (listings page) ---- */
.filters-bar { background: var(--pf-gray-light); border-radius: var(--pf-radius); padding: 18px; margin-bottom: 28px; }
.filters-grid { display: grid; grid-template-columns: repeat(6, 1fr) auto; gap: 12px; align-items: end; }
.filters-grid label { display: block; font-size: .75rem; font-weight: 700; color: var(--pf-gray); margin-bottom: 6px; text-transform: uppercase; }
.filters-grid select, .filters-grid input { width: 100%; padding: 10px; border: 1px solid var(--pf-border); border-radius: 8px; }
@media (max-width: 1100px) { .filters-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .filters-grid { grid-template-columns: 1fr 1fr; } }

.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: var(--pf-gray); font-size: .92rem; }

/* ---- Pagination ---- */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--pf-border); color: var(--pf-navy); font-weight: 600; font-size: .9rem; }
.pagination a:hover { border-color: var(--pf-blue); color: var(--pf-blue); }
.pagination .current { background: var(--pf-blue); color: #fff; border-color: var(--pf-blue); }

/* ---- Listing detail ---- */
.breadcrumbs { font-size: .85rem; color: var(--pf-gray); margin-bottom: 18px; }
.breadcrumbs a { color: var(--pf-gray); }
.breadcrumbs a:hover { color: var(--pf-blue); }
.gallery-main { border-radius: var(--pf-radius); overflow: hidden; aspect-ratio: 16/9; background: var(--pf-gray-light); margin-bottom: 10px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumbs img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; flex-shrink: 0; }
.gallery-thumbs img.active { border-color: var(--pf-blue); }

.detail-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; margin-top: 24px; }
@media (max-width: 900px) { .detail-layout { grid-template-columns: 1fr; } }

.detail-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.detail-price { font-size: 1.8rem; font-weight: 800; color: var(--pf-blue-dark); }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 16px; background: var(--pf-gray-light); border-radius: var(--pf-radius); padding: 20px; margin: 24px 0; }
.spec-grid div strong { display: block; font-size: 1.1rem; }
.spec-grid div span { font-size: .8rem; color: var(--pf-gray); text-transform: uppercase; letter-spacing: .03em; }
.amenity-list { display: flex; flex-wrap: wrap; gap: 10px; }
.amenity-list span { background: var(--pf-blue-lighter); color: var(--pf-blue-dark); padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; }

/* ---- Amenities icon grid (listing detail) ---- */
.amenity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.amenity-grid .amenity-item {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  background: var(--pf-gray-light); border-radius: 10px; font-size: .88rem; font-weight: 600; color: var(--pf-navy);
}
.amenity-grid .amenity-item .icon-svg { width: 20px; height: 20px; color: var(--pf-blue); opacity: 1; flex-shrink: 0; }

/* ---- Lead-form consent checkbox ---- */
.form-group label.consent-check { display: flex; align-items: flex-start; gap: 8px; font-size: .82rem; line-height: 1.4; color: var(--pf-gray); font-weight: 400; cursor: pointer; }
.consent-check input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; width: 15px; height: 15px; accent-color: var(--pf-blue); }

/* ---- Features bulleted list (listing detail) ---- */
.feature-bullets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.feature-bullets li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--pf-navy); line-height: 1.4; }
.feature-bullets li .icon-svg { width: 16px; height: 16px; color: var(--pf-success); opacity: 1; flex-shrink: 0; margin-top: 3px; }
@media (max-width: 640px) { .feature-bullets { grid-template-columns: 1fr; } }

/* ---- Floor plan ---- */
.floorplan-box { border: 1px solid var(--pf-border); border-radius: var(--pf-radius); overflow: hidden; background: var(--pf-gray-light); }
.floorplan-box img { width: 100%; display: block; }

/* ---- Map embed ---- */
.map-embed { border-radius: var(--pf-radius); overflow: hidden; border: 1px solid var(--pf-border); aspect-ratio: 16/8; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---- Related projects ---- */
.tag-location { display: inline-flex; align-items: center; gap: 4px; background: var(--pf-gray-light); color: var(--pf-gray); padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.tag-location .icon-svg { width: 11px; height: 11px; opacity: 1; }

/* ---- FAQ accordion ---- */
.faq-list { border-top: 1px solid var(--pf-border); }
.faq-item { border-bottom: 1px solid var(--pf-border); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: none; border: none; text-align: left; padding: 16px 4px; cursor: pointer;
  font-weight: 700; font-size: .96rem; color: var(--pf-navy); font-family: inherit;
}
.faq-question .icon-svg { width: 16px; height: 16px; opacity: 1; color: var(--pf-blue); flex-shrink: 0; }
.faq-question .icon-minus { display: none; }
.faq-item.open .faq-question .icon-plus { display: none; }
.faq-item.open .faq-question .icon-minus { display: block; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; color: var(--pf-gray); font-size: .92rem; line-height: 1.6; }
.faq-item.open .faq-answer { max-height: 320px; }
.faq-answer p { padding: 0 4px 16px; margin: 0; }

/* ---- Lead capture popup ---- */
.lead-popup-overlay {
  position: fixed; inset: 0; background: rgba(16,35,63,.55); z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.lead-popup-overlay.show { opacity: 1; pointer-events: auto; }
.lead-popup { background: #fff; border-radius: 14px; max-width: 420px; width: 100%; padding: 28px; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.lead-popup-close { position: absolute; top: 14px; right: 14px; background: none; border: none; cursor: pointer; color: var(--pf-gray); padding: 4px; }
.lead-popup-close .icon-svg { width: 18px; height: 18px; opacity: 1; }
.lead-popup h3 { margin-bottom: 6px; }
.lead-popup p { color: var(--pf-gray); font-size: .9rem; }

/* ---- Hero banner enquiry form ---- */
.hero-enquiry-card {
  position: relative; z-index: 3; background: #fff; border-radius: var(--pf-radius); padding: 22px;
  box-shadow: var(--pf-shadow-hover); max-width: 320px; margin-left: auto;
}
.hero-enquiry-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.hero-enquiry-card p { font-size: .82rem; color: var(--pf-gray); margin-bottom: 14px; }
.hero-enquiry-card .form-group { margin-bottom: 10px; }
@media (max-width: 760px) { .hero-enquiry-card { max-width: none; width: 100%; margin-left: 0; margin-top: 24px; } }

.sidebar-card { background: #fff; border: 1px solid var(--pf-border); border-radius: var(--pf-radius); padding: 22px; box-shadow: var(--pf-shadow); position: sticky; top: 90px; }
.sidebar-card h3 { font-size: 1.1rem; }

/* ---- EMI Calculator ---- */
.emi-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; margin-top: 8px; }
@media (max-width: 860px) { .emi-layout { grid-template-columns: 1fr; } }

.emi-inputs { background: #fff; border: 1px solid var(--pf-border); border-radius: var(--pf-radius); padding: 28px; box-shadow: var(--pf-shadow); }
.emi-field { margin-bottom: 26px; }
.emi-field:last-child { margin-bottom: 0; }
.emi-field-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.emi-field-head label { font-weight: 700; font-size: .9rem; color: var(--pf-navy); }
.emi-value { font-weight: 800; color: var(--pf-blue); font-size: 1.02rem; }
.emi-field input[type="range"] {
  width: 100%; height: 6px; border-radius: 999px; background: var(--pf-gray-light);
  appearance: none; -webkit-appearance: none; outline: none;
}
.emi-field input[type="range"]::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--pf-blue); cursor: pointer; box-shadow: 0 2px 6px rgba(14,95,179,.4); border: 3px solid #fff;
}
.emi-field input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: var(--pf-blue); cursor: pointer; border: 3px solid #fff;
}

.emi-result { background: linear-gradient(160deg, var(--pf-blue-dark) 0%, var(--pf-blue) 100%); border-radius: var(--pf-radius); padding: 28px; color: #fff; }
.emi-result-main { text-align: center; margin-bottom: 20px; }
.emi-result-main span { display: block; font-size: .85rem; color: rgba(255,255,255,.75); margin-bottom: 4px; }
.emi-result-main strong { font-size: 2.1rem; font-weight: 800; }
.emi-bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: #ffb648; margin-bottom: 22px; }
.emi-bar span { display: block; height: 100%; background: #ffffff; transition: width .2s ease; }
.emi-breakdown { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; }
.emi-breakdown > div { display: flex; align-items: center; gap: 8px; }
.emi-breakdown strong { display: block; font-size: 1rem; }
.emi-breakdown span:not(.dot) { font-size: .78rem; color: rgba(255,255,255,.75); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-principal { background: #ffffff; }
.dot-interest { background: #ffb648; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--pf-border); border-radius: 8px; }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.form-grid .form-group.full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---- Generic content blocks ---- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { text-align: center; padding: 26px 18px; border-radius: var(--pf-radius); background: var(--pf-gray-light); }
.feature .icon { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--pf-blue), var(--pf-blue-light)); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 1.15rem; font-weight: 700; }
.feature .icon .icon-svg { width: 20px; height: 20px; opacity: 1; }

.cta-band { background: linear-gradient(120deg, var(--pf-blue-dark), var(--pf-blue)); color: #fff; border-radius: var(--pf-radius); padding: 48px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); }

.blog-card { border: 1px solid var(--pf-border); border-radius: var(--pf-radius); overflow: hidden; display: flex; flex-direction: column; }
.blog-card .card-media { aspect-ratio: 16/9; }
.blog-card .card-body { padding: 20px; }
.blog-meta { font-size: .82rem; color: var(--pf-gray); margin-bottom: 8px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; font-size: 1.4rem; }
.prose img { border-radius: var(--pf-radius); margin: 1em 0; }

/* ---- Footer ---- */
.site-footer { background: var(--pf-navy); color: rgba(255,255,255,.75); padding: 56px 0 24px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: 9px; font-size: .92rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; }
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: #fff; transition: background .18s ease, transform .18s ease; }
.social-row a .icon-svg { width: 14px; height: 14px; opacity: 1; }
.social-row a:hover { background: var(--pf-blue); transform: translateY(-2px); }

/* ---- Alerts / misc ---- */
.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: .92rem; }
.alert-success { background: #e7f8ee; color: var(--pf-success); border: 1px solid #bfe8cf; }
.alert-error { background: #fdecec; color: var(--pf-danger); border: 1px solid #f6c7c7; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--pf-gray); }
.mobile-only { display: none; }
@media (max-width: 860px) { .mobile-only { display: block; } .desktop-only { display: none; } }


/* Real-photo hero and About photo strip */
.hero { background: linear-gradient(160deg, rgba(8,36,92,.58) 0%, rgba(12,78,160,.44) 55%, rgba(24,130,205,.32) 100%), url('../img/hero-bg.jpg') center / cover no-repeat; }
.hero-art { display: none; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-photos img { width: 100%; height: 320px; object-fit: cover; border-radius: 16px; box-shadow: 0 10px 30px rgba(10,40,90,.14); }
@media (max-width: 700px) { .about-photos { grid-template-columns: 1fr; } .about-photos img { height: 220px; } }
