:root {
  --red: #cc171f;
  --red-dark: #9e0e14;
  --ink: #171717;
  --muted: #666b73;
  --line: #e7e7e7;
  --surface: #ffffff;
  --soft: #f7f7f7;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(65, 0, 0, .13);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  padding: 24px 0;
}
.nav { display: flex; align-items: center; gap: 34px; }
.brand img { width: 225px; height: 70px; object-fit: contain; object-position: left center; }
.nav-links { display: flex; gap: 28px; margin-left: auto; color: #fff; font-weight: 650; }
.nav-links a { opacity: .88; }
.nav-links a:hover { opacity: 1; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  padding: 16px 24px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(204, 23, 31, .24);
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--red-dark); }
.button-small { padding: 12px 18px; background: #fff; color: var(--red); box-shadow: none; }

.hero {
  min-height: 820px;
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 68% 12%, rgba(255,255,255,.12), transparent 25%),
    linear-gradient(125deg, #d4111c 0%, #b20d14 48%, #74070c 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 300px;
  background: linear-gradient(transparent, rgba(35,0,0,.45));
}
.landmark {
  position: absolute;
  right: -25px;
  top: 0;
  width: 610px;
  height: 900px;
  background: linear-gradient(90deg, rgba(173,10,17,.15), rgba(255,255,255,.05)), url("images/pakistan-landmark2.png") center/cover;
  opacity: .78;
  mask-image: linear-gradient(to left, #000 62%, transparent);
}
.hero-grid {
  min-height: 820px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 28px;
  align-items: center;
  padding-top: 115px;
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: inline-block;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 850;
  opacity: .9;
  margin-bottom: 16px;
}
.eyebrow.red { color: var(--red); }
.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(3.15rem, 5vw, 5.35rem);
  letter-spacing: -.055em;
  line-height: .98;
}
.hero-copy > p {
  max-width: 650px;
  font-size: 1.16rem;
  line-height: 1.65;
  color: rgba(255,255,255,.84);
}
.search-panel {
  margin-top: 30px;
  background: rgba(255,255,255,.98);
  border-radius: 18px;
  padding: 13px;
  box-shadow: var(--shadow);
}
.search-tabs { display: flex; gap: 4px; margin-bottom: 10px; }
.search-tabs button {
  border: 0;
  background: transparent;
  padding: 9px 15px;
  border-radius: 9px;
  font-weight: 750;
  color: #595959;
  cursor: pointer;
}
.search-tabs button.active { background: #feecee; color: var(--red); }
.search-form { display: grid; grid-template-columns: 1fr auto; gap: 9px; }
.search-form input {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 15px 16px;
  outline: none;
}
.search-form button {
  border: 0;
  border-radius: 11px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  padding: 0 24px;
  cursor: pointer;
}
.hero-actions { display: flex; gap: 24px; align-items: center; margin-top: 24px; }
.text-link { font-weight: 800; color: #fff; }
.text-link span { margin-left: 6px; }
.hero-art { align-self: end; }
.hero-art img { width: 110%; max-width: none; filter: drop-shadow(0 35px 35px rgba(30,0,0,.32)); }

.services, .listings { padding: 100px 0; }
.section-heading { max-width: 640px; margin-bottom: 42px; }
.section-heading h2 { margin: 0; font-size: clamp(2.3rem, 4vw, 3.5rem); letter-spacing: -.045em; }
.section-heading.split { max-width: none; display: flex; justify-content: space-between; align-items: end; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0,0,0,.05);
}
.service-card img { width: 54px; height: 54px; margin-bottom: 24px; }
.service-card h3 { margin: 0 0 10px; font-size: 1.18rem; }
.service-card p { margin: 0; color: var(--muted); line-height: 1.65; }

.listings { background: var(--soft); }
.text-link.dark { color: var(--red); }
.property-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.property-card {
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 38px rgba(0,0,0,.06);
}
.property-card > img { width: 100%; aspect-ratio: 1.45; object-fit: cover; }
.property-info { padding: 20px; }
.property-info span { color: var(--red); font-size: .78rem; text-transform: uppercase; font-weight: 850; letter-spacing: .08em; }
.property-info h3 { margin: 8px 0 6px; font-size: 1.08rem; }
.property-info p { margin: 0 0 14px; color: var(--muted); font-size: .92rem; }
.property-info strong { color: var(--red); }

.cta { background: linear-gradient(115deg, #d3161f, #8f090f); color: #fff; }
.cta-inner { min-height: 280px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.5rem); letter-spacing: -.04em; }
.cta p { color: rgba(255,255,255,.82); }
.button-light { background: #fff; color: var(--red); box-shadow: none; }
.button-light:hover { background: #fff5f5; }

footer { background: #151515; color: #aaa; padding: 34px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-inner img { width: 175px; max-height: 56px; object-fit: contain; object-position: left; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 160px; }
  .hero { min-height: auto; }
  .hero-art img { width: 100%; }
  .service-grid, .property-grid { grid-template-columns: repeat(2, 1fr); }
  .landmark { opacity: .28; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1180px); }
  .brand img { width: 155px; }
  .button-small { display: none; }
  .hero-grid { padding-top: 130px; }
  .hero h1 { font-size: 3rem; }
  .search-form { grid-template-columns: 1fr; }
  .search-form button { min-height: 50px; }
  .hero-actions, .cta-inner, .section-heading.split, .footer-inner { align-items: flex-start; flex-direction: column; }
  .service-grid, .property-grid { grid-template-columns: 1fr; }
  .services, .listings { padding: 72px 0; }
  .cta-inner { padding: 60px 0; }
}
