/* =========================================================
   Dera Ghar — palette drawn from D.I. Khan:
   Saraiki ajrak indigo & madder red, Indus blue,
   date-palm brown, sun-baked clay, lacquerware stripes.
   ========================================================= */
:root {
  --indigo: #1c2541;
  --indigo-2: #2d3a63;
  --madder: #9e2a2b;
  --madder-2: #b8392f;
  --saffron: #e9a03b;
  --indus: #2e6f86;
  --date: #6b3e26;
  --clay: #f4ead7;
  --clay-2: #ead9b9;
  --ink: #2a1f1a;
  --muted: #6e5d50;
  --white: #fffaf2;
  --radius: 16px;

  --urdu: "Noto Nastaliq Urdu", serif;
  --display: "Marcellus", Georgia, serif;
  --body: "Mukta", system-ui, sans-serif;

  /* Ajrak block-print tile: indigo ground, madder star, white dots */
  --ajrak: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Crect width='56' height='56' fill='%231c2541'/%3E%3Cg fill='%239e2a2b'%3E%3Crect x='17' y='17' width='22' height='22'/%3E%3Crect x='17' y='17' width='22' height='22' transform='rotate(45 28 28)'/%3E%3C/g%3E%3Ccircle cx='28' cy='28' r='6' fill='%231c2541'/%3E%3Ccircle cx='28' cy='28' r='2.5' fill='%23f4ead7'/%3E%3Cg fill='%23f4ead7'%3E%3Ccircle cx='0' cy='0' r='4'/%3E%3Ccircle cx='56' cy='0' r='4'/%3E%3Ccircle cx='0' cy='56' r='4'/%3E%3Ccircle cx='56' cy='56' r='4'/%3E%3Ccircle cx='28' cy='3' r='1.6'/%3E%3Ccircle cx='28' cy='53' r='1.6'/%3E%3Ccircle cx='3' cy='28' r='1.6'/%3E%3Ccircle cx='53' cy='28' r='1.6'/%3E%3C/g%3E%3C/svg%3E");

  /* D.I. Khan lacquerware bands */
  --lacquer: repeating-linear-gradient(90deg,
    var(--madder-2) 0 18px, #f2b705 18px 26px, #1f6f43 26px 40px,
    #111 40px 44px, #f2b705 44px 50px, var(--indigo) 50px 60px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-size: 17px;
  color: var(--ink);
  background: var(--clay);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
.container { width: min(1160px, 100% - 32px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.2; }
[lang="ur"] { font-family: var(--urdu); line-height: 2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--madder);
  color: var(--white);
  border: 0;
  padding: 14px 26px;
  border-radius: 999px;
  font: 600 1rem var(--body);
  cursor: pointer;
  transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); background: var(--madder-2); }
.btn-small { padding: 8px 20px; }

/* ---------- Lacquer stripe divider ---------- */
.lacquer { height: 10px; background: var(--lacquer); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(244, 234, 215, .95);
  backdrop-filter: blur(6px);
  border-bottom: 4px solid transparent;
  border-image: var(--lacquer) 1;
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 40px; height: 40px;
  border-radius: 50% 50% 6px 6px;
  background: var(--ajrak);
  background-size: 28px;
  border: 2px solid var(--madder);
}
.logo-text { font-family: var(--display); font-size: 1.45rem; color: var(--indigo); display: flex; align-items: baseline; gap: 8px; }
.logo-text small { font-size: .85rem; color: var(--madder); }
.links { display: flex; gap: 28px; align-items: center; font-weight: 600; }
.links a:not(.btn):hover { color: var(--madder); }

/* ---------- Hero: dusk over the Indus ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 80px 0 230px;
  background: linear-gradient(180deg, #241a3a 0%, #5a2442 30%, #a8383a 58%, #e0782f 82%, #f2b45e 100%);
}
.sun {
  position: absolute;
  right: 12%; bottom: 120px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe2a1 0%, #f7b955 55%, rgba(247,185,85,0) 72%);
}
.hero-inner { position: relative; z-index: 2; }
.urdu-tag { font-size: 1.6rem; color: var(--saffron); text-align: left; direction: rtl; display: inline-block; }
.eyebrow { text-transform: uppercase; letter-spacing: 2.5px; font-size: .85rem; font-weight: 600; opacity: .85; margin-top: 4px; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 760px; margin: 12px 0 16px; }
.lead { font-size: 1.15rem; max-width: 600px; opacity: .92; }

.search {
  margin-top: 34px;
  background: var(--white);
  color: var(--ink);
  padding: 12px;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.3fr auto;
  gap: 10px;
  max-width: 900px;
  align-items: end;
  box-shadow: 0 24px 50px rgba(20, 10, 30, .35);
  border-bottom: 5px solid var(--saffron);
}
.search label { display: flex; flex-direction: column; font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.search label span { padding: 0 6px 4px; }
.search select {
  padding: 12px;
  border: 1px solid var(--clay-2);
  border-radius: 12px;
  font: 1rem var(--body);
  color: var(--ink);
  background: var(--clay);
}
.search .btn { height: 50px; }
.secondary-cta {
  display: inline-block;
  margin-top: 18px;
  font-weight: 600;
  border-bottom: 2px solid var(--saffron);
}
.secondary-cta:hover { color: var(--saffron); }

.skyline {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 260px;
  z-index: 1;
}
.silhouette { fill: #2a1730; color: #2a1730; }
.river { fill: var(--indus); }
.ripples { stroke: #f7c27a; opacity: .7; }

/* ---------- Trust strip (ajrak band) ---------- */
.trust {
  background: var(--ajrak);
  background-size: 56px;
  padding: 26px 0;
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.trust-inner div {
  background: rgba(28, 37, 65, .88);
  border: 1px solid rgba(244, 234, 215, .25);
  color: var(--white);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.trust strong { display: block; font-family: var(--display); font-size: 1.7rem; color: var(--saffron); font-weight: 400; }
.trust span { font-size: .95rem; opacity: .9; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.heading { text-align: center; margin-bottom: 44px; }
.heading .urdu { font-size: 1.3rem; color: var(--madder); }
.heading h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--indigo); }
.sub { color: var(--muted); max-width: 560px; margin: 6px auto 0; }
.urdu.light { color: var(--saffron); font-size: 1.2rem; text-align: left; }

/* ---------- Property cards (jharoka arches) ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px; }
.card {
  background: var(--white);
  border-radius: 140px 140px var(--radius) var(--radius);
  padding: 10px 10px 0;
  box-shadow: 0 10px 28px rgba(60, 30, 10, .12);
  border: 1px solid var(--clay-2);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(60, 30, 10, .18); }
.arch {
  position: relative;
  height: 210px;
  border-radius: 130px 130px 8px 8px;
  border: 4px solid var(--white);
  outline: 2px solid var(--saffron);
  overflow: hidden;
}
.arch::after { /* lacquer sill under each arch */
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 8px;
  background: var(--lacquer);
}
.arch-1 { background: linear-gradient(160deg, #e7b87a, #b0643a 60%, #6b3e26); }
.arch-2 { background: linear-gradient(160deg, #8fb7c4, #2e6f86 60%, #1c2541); }
.arch-3 { background: linear-gradient(160deg, #c9d38a, #6f8b3a 60%, #3d4f22); }
.arch-4 { background: var(--ajrak); background-size: 46px; }
.tag {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white); color: var(--madder);
  font-size: .8rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px;
}
.card-body { padding: 18px 10px 20px; text-align: center; }
.card-body h3 { font-size: 1.25rem; color: var(--indigo); }
.loc { color: var(--muted); font-size: .95rem; }
.meta { list-style: none; display: flex; justify-content: center; gap: 8px; margin: 12px 0; font-size: .82rem; flex-wrap: wrap; }
.meta li { background: var(--clay); color: var(--date); padding: 2px 10px; border-radius: 999px; }
.price { font-weight: 700; color: var(--madder); font-size: 1.2rem; }

/* ---------- Areas ---------- */
.areas-section { background: var(--white); border-block: 1px solid var(--clay-2); }
.areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.area {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--clay);
  border-left: 6px solid var(--madder);
  transition: background .2s, color .2s;
}
.area b { font-family: var(--display); font-weight: 400; font-size: 1.2rem; color: var(--indigo); }
.area i { font-style: normal; color: var(--madder); font-size: 1rem; grid-row: span 2; }
.area span { color: var(--muted); font-size: .9rem; }
.area:hover { background: var(--indigo); }
.area:hover b, .area:hover span { color: var(--white); }
.area:hover i { color: var(--saffron); }

/* ---------- Life in Dera ---------- */
.life { background: linear-gradient(180deg, var(--clay) 0%, var(--clay-2) 100%); }
.life-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.life-item {
  background: var(--white);
  padding: 30px 24px;
  border-radius: var(--radius);
  border-top: 6px solid var(--indus);
  text-align: center;
}
.life-item:nth-child(2) { border-top-color: #6f8b3a; }
.life-item:nth-child(3) { border-top-color: var(--saffron); }
.life-item:nth-child(4) { border-top-color: var(--madder); }
.life-item svg {
  width: 56px; height: 56px;
  fill: none; stroke: var(--indigo); stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: 10px;
}
.life-item h3 { color: var(--indigo); font-size: 1.2rem; margin-bottom: 6px; }
.life-item p { color: var(--muted); font-size: .95rem; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--white); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
blockquote {
  position: relative;
  background: var(--clay);
  border-radius: var(--radius);
  padding: 34px 26px 24px;
  border: 1px solid var(--clay-2);
}
blockquote::before {
  content: "”";
  position: absolute; top: -18px; left: 22px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  font: 2.4rem/1 var(--display);
  color: var(--white);
  background: var(--madder);
  border-radius: 50%;
}
blockquote p { font-size: 1.02rem; }
cite { display: block; margin-top: 14px; font-style: normal; font-weight: 700; color: var(--indigo); font-size: .92rem; }

/* ---------- Seller CTA ---------- */
.sell {
  background: var(--ajrak);
  background-size: 56px;
  padding: 80px 0;
}
.sell-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  background: var(--indigo);
  color: var(--white);
  border-radius: 24px;
  padding: 44px;
  border: 3px solid var(--saffron);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .3);
}
.sell-card h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
.sell-card p { opacity: .9; }
.contact { display: grid; gap: 12px; }
.contact input {
  padding: 14px 18px;
  border-radius: 999px;
  border: 0;
  font: 1rem var(--body);
  background: var(--white);
}
.contact .btn { background: var(--saffron); color: var(--ink); }
.contact .btn:hover { background: #f2b45e; }

/* ---------- Footer ---------- */
.footer { background: #160f22; color: #cbbfae; padding: 34px 0; font-size: .95rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-logo { font-family: var(--display); color: var(--white); font-size: 1.3rem; }
.footer-logo span { color: var(--saffron); font-size: .95rem; margin-left: 6px; }
.footer-urdu { font-size: 1.4rem; color: var(--saffron); }
.copy { font-size: .85rem; opacity: .7; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .search { grid-template-columns: 1fr 1fr; }
  .search .btn { grid-column: 1 / -1; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .sell-card { grid-template-columns: 1fr; padding: 32px 24px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .links a:not(.btn) { display: none; }
  .logo-text small { display: none; }
  .hero { padding: 56px 0 200px; }
  .sun { width: 150px; height: 150px; right: -20px; bottom: 110px; }
  .search { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .footer-inner { flex-direction: column; text-align: center; }
}
