/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: #F7F5F0;
  color: #1A1A1A;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ── CSS VARIABLES ── */
:root {
  --green: #1D9E75;
  --green-dark: #0F6E56;
  --green-deep: #04342C;
  --green-light: #E1F5EE;
  --cream: #F7F5F0;
  --cream-dark: #EDEAE3;
  --ink: #1A1A1A;
  --ink-muted: #6B6B6B;
  --ink-light: #9A9A9A;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 32px rgba(0,0,0,0.08);
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, .logo, .hero-title, .section-title, .contact-title {
  font-family: 'Fraunces', serif;
}
em { font-style: italic; color: var(--green); }

/* ── CONTAINER ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green); color: var(--white);
  padding: 13px 26px; border-radius: 50px;
  font-size: 14px; font-weight: 500;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--ink);
  padding: 13px 26px; border-radius: 50px;
  border: 1.5px solid rgba(26,26,26,0.2);
  font-size: 14px; font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--green); color: var(--green); }
.btn-outline {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--green);
  padding: 11px 24px; border-radius: 50px;
  border: 1.5px solid var(--green);
  font-size: 14px; font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--green); color: var(--white); }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(247,245,240,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; gap: 40px;
}
.logo {
  font-family: 'Fraunces', serif;
  font-size: 22px; font-weight: 600;
  color: var(--ink); flex-shrink: 0;
}
.logo-n { color: var(--green); }
.logo-accent { color: var(--green); }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a {
  font-size: 14px; color: var(--ink-muted);
  transition: color 0.2s; font-weight: 400;
}
.nav-links a:hover { color: var(--green); }
.nav-cta {
  background: var(--green); color: var(--white);
  padding: 9px 20px; border-radius: 50px;
  font-size: 13px; font-weight: 500;
  transition: background 0.2s; flex-shrink: 0;
}
.nav-cta:hover { background: var(--green-dark); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
  margin-left: auto;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu {
  display: none; flex-direction: column; gap: 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 8px 24px 16px;
}
.mobile-menu a {
  padding: 12px 0; font-size: 15px; color: var(--ink-muted);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-cta {
  display: inline-block; margin-top: 8px;
  background: var(--green); color: var(--white) !important;
  padding: 11px 20px; border-radius: 50px;
  font-size: 14px; text-align: center;
}
.mobile-menu.open { display: flex; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  padding: 120px 24px 80px;
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center;
  gap: 60px; position: relative; overflow: hidden;
}
.hero-bg-text {
  position: absolute; right: -60px; top: 50%;
  transform: translateY(-50%);
  font-family: 'Fraunces', serif;
  font-size: 220px; font-weight: 600;
  color: rgba(29,158,117,0.05);
  white-space: nowrap; pointer-events: none;
  user-select: none; z-index: 0;
}
.hero-content { flex: 1; min-width: 0; position: relative; z-index: 1; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-light); color: var(--green-dark);
  font-size: 13px; font-weight: 500;
  padding: 6px 14px; border-radius: 50px;
  margin-bottom: 24px;
}
.tag-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
}
.hero-title {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 300; line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px; color: var(--ink);
}
.hero-desc {
  font-size: 17px; color: var(--ink-muted);
  line-height: 1.7; max-width: 460px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: flex; align-items: center; gap: 24px;
  padding: 20px 0; border-top: 1px solid rgba(0,0,0,0.08);
}
.h-stat { display: flex; flex-direction: column; gap: 2px; }
.h-num { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 400; color: var(--ink); }
.h-label { font-size: 12px; color: var(--ink-light); }
.h-divider { width: 1px; height: 36px; background: rgba(0,0,0,0.1); }

.hero-visual {
  flex: 0 0 380px; position: relative;
  height: 440px; z-index: 1;
}
.hero-ring {
  position: absolute; width: 340px; height: 340px;
  border-radius: 50%; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border: 1px dashed rgba(29,158,117,0.2);
}
.hero-card {
  position: absolute; background: var(--white);
  border-radius: var(--radius); padding: 16px 18px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  min-width: 220px;
  animation: floatCard 4s ease-in-out infinite;
}
.hc1 { top: 20px; left: 10px; animation-delay: 0s; }
.hc2 { top: 50%; right: 0; transform: translateY(-50%); animation-delay: 1.3s; }
.hc3 { bottom: 20px; left: 20px; animation-delay: 2.6s; }
@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hc2 { animation: floatCard2 4s ease-in-out infinite 1.3s; }
@keyframes floatCard2 {
  0%,100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 8px)); }
}
.hc-icon { font-size: 28px; flex-shrink: 0; }
.hc-title { font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 2px; }
.hc-sub { font-size: 12px; color: var(--ink-light); }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--green-deep); padding: 18px 24px;
}
.trust-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.trust-label { font-size: 13px; color: rgba(255,255,255,0.5); flex-shrink: 0; }
.trust-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85);
  font-size: 12px; padding: 5px 14px; border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.1);
}

/* ── SECTION BASE ── */
.section { padding: 96px 0; }
.section-tag {
  display: inline-block;
  font-size: 12px; font-weight: 500; letter-spacing: 1px;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 12px;
}
.section-tag.light { color: rgba(255,255,255,0.6); }
.section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300; line-height: 1.15;
  letter-spacing: -0.5px; color: var(--ink);
  margin-bottom: 16px;
}
.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }

/* ── BLOGS ── */
.blogs-section { background: var(--white); }
.blog-filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-btn {
  background: none; border: 1.5px solid rgba(0,0,0,0.12);
  color: var(--ink-muted); font-size: 13px;
  padding: 7px 18px; border-radius: 50px; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--green); border-color: var(--green);
  color: var(--white);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.blog-card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(0,0,0,0.05);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card.featured { grid-column: span 1; }
.bc-img {
  height: 160px; position: relative;
  display: flex; align-items: flex-end;
  padding: 14px;
}
.bc-green { background: linear-gradient(135deg, #E1F5EE, #9FE1CB); }
.bc-blue { background: linear-gradient(135deg, #E6F1FB, #85B7EB); }
.bc-amber { background: linear-gradient(135deg, #FAEEDA, #EF9F27); }
.bc-coral { background: linear-gradient(135deg, #FAECE7, #F0997B); }
.bc-category {
  background: rgba(255,255,255,0.9);
  font-size: 11px; font-weight: 500;
  padding: 4px 10px; border-radius: 50px;
  color: var(--ink);
}
.bc-read {
  position: absolute; top: 14px; right: 14px;
  font-size: 11px; color: rgba(0,0,0,0.4);
}
.bc-body { padding: 18px; }
.bc-city {
  font-size: 11px; font-weight: 500; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 6px;
}
.bc-title {
  font-family: 'Fraunces', serif;
  font-size: 17px; font-weight: 400; line-height: 1.35;
  color: var(--ink); margin-bottom: 10px;
}
.bc-desc { font-size: 13px; color: var(--ink-muted); line-height: 1.6; margin-bottom: 14px; }
.bc-link { font-size: 13px; color: var(--green); font-weight: 500; }
.bc-link:hover { text-decoration: underline; }
.blogs-cta { text-align: center; margin-top: 48px; }
.blogs-cta p { font-size: 14px; color: var(--ink-muted); margin-bottom: 14px; }
.blog-card.hidden { display: none; }

/* ── CITIES ── */
.cities-section { background: var(--cream); }
.cities-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.city-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px; border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.city-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.city-card.city-featured {
  background: var(--green-deep); color: var(--white);
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(4,52,44,0.3);
}
.city-num {
  font-family: 'Fraunces', serif; font-size: 13px; font-weight: 300;
  color: var(--ink-light); margin-bottom: 8px;
}
.city-featured .city-num { color: rgba(255,255,255,0.4); }
.city-name {
  font-family: 'Fraunces', serif;
  font-size: 30px; font-weight: 300; color: var(--ink); margin-bottom: 2px;
}
.city-featured .city-name { color: var(--white); }
.city-state { font-size: 13px; color: var(--ink-light); margin-bottom: 14px; }
.city-featured .city-state { color: rgba(255,255,255,0.5); }
.city-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.city-tags span {
  font-size: 11px; padding: 3px 10px; border-radius: 50px;
  background: var(--cream); color: var(--ink-muted);
  border: 1px solid rgba(0,0,0,0.08);
}
.city-featured .city-tags span {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.15);
}
.city-desc { font-size: 14px; line-height: 1.65; color: var(--ink-muted); margin-bottom: 18px; }
.city-featured .city-desc { color: rgba(255,255,255,0.65); }
.city-stat {
  font-size: 13px; font-weight: 500;
  color: var(--green); padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.07);
}
.city-featured .city-stat {
  color: #9FE1CB;
  border-top-color: rgba(255,255,255,0.1);
}

/* ── EMI CALCULATOR ── */
.calc-section { background: var(--white); }
.calc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.calc-desc { font-size: 15px; color: var(--ink-muted); line-height: 1.7; margin-bottom: 28px; }
.loan-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.lf-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-muted); }
.lf-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
}
.calc-card {
  background: var(--cream); border-radius: var(--radius);
  padding: 28px; border: 1px solid rgba(0,0,0,0.07);
}
.calc-field { margin-bottom: 22px; }
.calc-field label { display: block; font-size: 13px; color: var(--ink-muted); margin-bottom: 10px; }
.slider-row { display: flex; align-items: center; gap: 14px; }
.slider {
  flex: 1; -webkit-appearance: none; height: 4px;
  background: var(--cream-dark); border-radius: 2px; outline: none;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px;
  border-radius: 50%; background: var(--green);
  cursor: pointer; border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--green);
}
.slider-val { font-size: 14px; font-weight: 500; min-width: 56px; text-align: right; color: var(--ink); }
.calc-result {
  background: var(--green-deep); border-radius: var(--radius-sm);
  padding: 20px; display: grid; grid-template-columns: 1fr auto 1fr 1fr;
  align-items: center; gap: 0; margin-bottom: 16px;
}
.cr-item { padding: 0 12px; }
.cr-item:first-child { padding-left: 0; }
.cr-label { font-size: 11px; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.cr-value { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 300; color: var(--white); }
.cr-value.small { font-size: 16px; }
.cr-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); margin: 0 4px; }
.calc-cta {
  display: block; text-align: center;
  font-size: 13px; color: var(--green); font-weight: 500;
}
.calc-cta:hover { text-decoration: underline; }

/* ── WHY ── */
.why-section { background: var(--cream); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card {
  background: var(--white); border-radius: var(--radius);
  padding: 24px; border: 1px solid rgba(0,0,0,0.06);
}
.why-icon {
  font-size: 20px; color: var(--green); margin-bottom: 14px;
  display: block;
}
.why-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 18px; font-weight: 400;
  margin-bottom: 10px; color: var(--ink);
}
.why-card p { font-size: 14px; color: var(--ink-muted); line-height: 1.65; }

/* ── CONTACT ── */
.contact-section { background: var(--green-deep); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.contact-title {
  font-size: clamp(28px, 3vw, 42px); font-weight: 300;
  color: var(--white); margin-bottom: 16px; line-height: 1.15;
}
.contact-desc { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 28px; }
.contact-promise { display: flex; flex-direction: column; gap: 10px; }
.cp-item {
  font-size: 14px; color: rgba(255,255,255,0.7);
  display: flex; align-items: center; gap: 8px;
}
.cp-item::before { content: '✓'; color: #9FE1CB; font-weight: 500; }

.lead-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 0.3px; }
.form-group input,
.form-group select {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 11px 14px; font-size: 14px;
  color: var(--white); font-family: 'DM Sans', sans-serif;
  outline: none; transition: border-color 0.2s;
}
.form-group input::placeholder { color: rgba(255,255,255,0.25); }
.form-group input:focus,
.form-group select:focus { border-color: rgba(255,255,255,0.35); }
.form-group select option { background: var(--green-deep); color: var(--white); }
.radio-group { display: flex; gap: 16px; flex-wrap: wrap; padding-top: 4px; }
.radio-label { display: flex; align-items: center; gap: 7px; font-size: 14px; color: rgba(255,255,255,0.7); cursor: pointer; }
.radio-label input { accent-color: var(--green); width: 15px; height: 15px; }
.form-submit {
  background: var(--green); color: var(--white);
  border: none; border-radius: 50px; padding: 14px;
  font-size: 15px; font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer; transition: background 0.2s;
  margin-top: 4px;
}
.form-submit:hover { background: #24B385; }
.form-success {
  display: none; background: rgba(29,158,117,0.2);
  border: 1px solid rgba(29,158,117,0.4);
  border-radius: var(--radius-sm); padding: 14px;
  font-size: 14px; color: #9FE1CB; text-align: center;
}

/* ── FOOTER ── */
.footer { background: #0A0A0A; padding: 56px 0 28px; }
.footer-top { display: flex; gap: 60px; margin-bottom: 40px; }
.footer-brand { flex: 1; }
.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 22px; color: var(--white); margin-bottom: 12px;
}
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.35); line-height: 1.6; max-width: 260px; }
.footer-links { display: flex; gap: 48px; }
.fl-col { display: flex; flex-direction: column; gap: 10px; }
.fl-head { font-size: 12px; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 4px; }
.fl-col a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.fl-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 13px; color: rgba(255,255,255,0.25);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-tag { animation: fadeUp 0.6s ease both 0.1s; }
.hero-title { animation: fadeUp 0.6s ease both 0.2s; }
.hero-desc { animation: fadeUp 0.6s ease both 0.3s; }
.hero-actions { animation: fadeUp 0.6s ease both 0.4s; }
.hero-stats { animation: fadeUp 0.6s ease both 0.5s; }
.hero-visual { animation: fadeUp 0.8s ease both 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-wrap { gap: 40px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { flex-direction: column; padding: 100px 24px 60px; text-align: center; gap: 40px; }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-bg-text { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .cities-grid { grid-template-columns: 1fr; }
  .city-card.city-featured { transform: none; }
  .calc-wrap { grid-template-columns: 1fr; gap: 32px; }
  .calc-result { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .cr-divider { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-links { flex-wrap: wrap; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 36px; }
}

/* ── WHATSAPP FALLBACK (all forms) ── */
.wa-fallback {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
.wa-fallback span { font-size: 13px; color: rgba(255,255,255,0.35); }
.wa-btn {
  font-size: 13px; font-weight: 500;
  color: #9FE1CB;
  background: rgba(29,158,117,0.15);
  padding: 6px 16px; border-radius: 50px;
  border: 1px solid rgba(29,158,117,0.3);
  transition: background 0.2s;
}
.wa-btn:hover { background: rgba(29,158,117,0.3); }

/* form-note (small text under submit) */
.form-note {
  font-size: 11px; color: rgba(255,255,255,0.25);
  text-align: center; margin-top: 8px; line-height: 1.5;
}
