/*
 * Thane Property Zone — Design System
 * Modern, clean real-estate portal. Navy + amber.
 * Scoped to .tpz-page so it never collides with Astra defaults or wp-admin.
 */

/* ============================================================
   1. TOKENS
   ============================================================ */
:root {
  /* Brand — navy */
  --navy-900: #0A1F35;
  --navy-800: #0E2A47;
  --navy-700: #14395F;
  --navy-600: #1E4A78;
  --navy-50:  #EAF1F8;

  /* Brand — amber accent */
  --amber:      #F5A623;
  --amber-600:  #E0900F;
  --amber-700:  #C67C05;
  --amber-glow: rgba(245, 166, 35, 0.14);

  /* Neutrals */
  --white:      #FFFFFF;
  --bg:         #F7F9FC;
  --bg-alt:     #EEF2F7;
  --card:       #FFFFFF;
  --border:     #E3E9F0;
  --border-str: #D2DBE6;
  --text:       #16233A;
  --text-muted: #5B6B82;
  --heading:    #0E2A47;

  /* Effects */
  --radius:     14px;
  --radius-sm:  10px;
  --radius-lg:  22px;
  --shadow-sm:  0 1px 2px rgba(14, 42, 71, 0.06), 0 1px 3px rgba(14, 42, 71, 0.05);
  --shadow-md:  0 6px 20px rgba(14, 42, 71, 0.08);
  --shadow-lg:  0 18px 48px rgba(14, 42, 71, 0.14);
  --ring:       0 0 0 4px var(--amber-glow);

  /* Layout */
  --container:  1200px;
  --gutter:     clamp(20px, 5vw, 48px);
  --nav-h:      76px;

  /* Type */
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Sora', 'Inter', -apple-system, sans-serif;
}

/* ============================================================
   2. RESET (scoped)
   ============================================================ */
.tpz-page *, .tpz-page *::before, .tpz-page *::after { box-sizing: border-box; }
.tpz-page { margin: 0; }

body.tpz-page {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.tpz-page img { max-width: 100%; height: auto; display: block; }
.tpz-page a { color: var(--navy-700); text-decoration: none; transition: color .2s ease; }
.tpz-page a:hover { color: var(--amber-600); }

.tpz-page h1, .tpz-page h2, .tpz-page h3, .tpz-page h4, .tpz-page h5 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.18;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.tpz-page h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
.tpz-page h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.tpz-page h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.tpz-page p  { margin: 0 0 1rem; }

/* ============================================================
   3. LAYOUT
   ============================================================ */
.tpz-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.tpz-section { padding-block: clamp(48px, 7vw, 96px); }
.tpz-section--alt { background: var(--bg-alt); }
.tpz-main { min-height: 60vh; padding-top: var(--nav-h); }

.tpz-page-head { margin-bottom: clamp(24px, 4vw, 44px); }
.tpz-page-title { margin: 0; }

/* ============================================================
   4. BUTTONS
   ============================================================ */
.tpz-page .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: 12px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .22s ease; white-space: nowrap; line-height: 1;
}
.tpz-page .btn-primary { background: var(--amber); color: var(--navy-900); }
.tpz-page .btn-primary:hover { background: var(--amber-600); color: var(--navy-900); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.tpz-page .btn-navy { background: var(--navy-800); color: var(--white); }
.tpz-page .btn-navy:hover { background: var(--navy-700); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.tpz-page .btn-outline { background: transparent; color: var(--navy-800); border-color: var(--border-str); }
.tpz-page .btn-outline:hover { border-color: var(--navy-800); color: var(--navy-800); background: var(--navy-50); }

/* ============================================================
   5. NAV / HEADER
   ============================================================ */
.tpz-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200; height: var(--nav-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.tpz-nav.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--border); background: rgba(255, 255, 255, 0.94); }
.tpz-nav-inner {
  max-width: var(--container); height: 100%; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

/* Logo */
.tpz-page .logo, .tpz-footer .logo { display: inline-flex; align-items: center; gap: 10px; }
.tpz-page .logo-mark { display: inline-flex; color: var(--amber); }
.tpz-page .logo-text {
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  letter-spacing: .06em; color: var(--text-muted); text-transform: uppercase; line-height: 1;
}
.tpz-page .logo-text strong { color: var(--navy-800); font-weight: 800; }
.tpz-page .logo-accent { color: var(--amber-600); font-weight: 800; }

/* Brand logo image */
.tpz-page .tpz-logo-img { height: 52px; width: auto; display: block; }
.tpz-page .logo picture { display: inline-flex; }
@media (max-width: 480px) { .tpz-page .tpz-logo-img { height: 42px; } }

/* Footer logo sits on dark navy — put it on a white chip so it reads */
.tpz-footer .logo { background: transparent; padding: 0; box-shadow: none; }
.tpz-footer .tpz-logo-img { height: 46px; }

/* Menu */
.tpz-nav-menu { display: flex; align-items: center; gap: 28px; }
.tpz-nav-menu .nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.tpz-nav-menu .nav-links a {
  font-weight: 500; font-size: .95rem; color: var(--text); position: relative; padding: 6px 0;
}
.tpz-nav-menu .nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--amber); transition: width .25s ease;
}
.tpz-nav-menu .nav-links a:hover, .tpz-nav-menu .nav-links .current-menu-item > a { color: var(--navy-800); }
.tpz-nav-menu .nav-links a:hover::after, .tpz-nav-menu .nav-links .current-menu-item > a::after { width: 100%; }
.tpz-nav-menu .nav-cta { margin-left: 4px; }

/* Mobile toggle */
.tpz-nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.tpz-nav-toggle span { width: 24px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.tpz-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tpz-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tpz-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   6. CARDS
   ============================================================ */
.tpz-post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.tpz-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.tpz-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tpz-card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tpz-card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.tpz-card-title { font-size: 1.2rem; margin: 0; }
.tpz-card-excerpt { color: var(--text-muted); font-size: .93rem; }
.tpz-card-body .btn { margin-top: auto; align-self: flex-start; }

/* ============================================================
   7. PROSE (generic pages)
   ============================================================ */
.tpz-prose { max-width: 820px; }
.tpz-prose .tpz-page-content > * + * { margin-top: 1rem; }
.tpz-prose img { border-radius: var(--radius); margin-block: 1.5rem; }

/* ============================================================
   8. PAGINATION
   ============================================================ */
.tpz-pagination { margin-top: 48px; }
.tpz-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px;
  padding: 0 12px; margin: 0 4px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--white); color: var(--text); font-weight: 600;
}
.tpz-pagination .page-numbers.current { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.tpz-pagination .page-numbers:hover:not(.current) { border-color: var(--navy-600); color: var(--navy-800); }

/* ============================================================
   8a. HOMEPAGE — hero, section heads, services, CTA
   ============================================================ */
.tpz-hero {
  position: relative; margin-top: calc(-1 * var(--nav-h)); padding-top: var(--nav-h);
  background: var(--navy-900) url("../images/hero.jpg") center/cover no-repeat;
  color: #fff; overflow: hidden;
}
.tpz-hero-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(10,31,53,.94) 0%, rgba(10,31,53,.78) 45%, rgba(14,42,71,.55) 100%); }
.tpz-hero-inner { position: relative; z-index: 2; padding-block: clamp(56px, 10vw, 120px); max-width: 900px; }
.tpz-hero-eyebrow { display: inline-block; font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--amber); background: rgba(245,166,35,.12); border: 1px solid rgba(245,166,35,.3); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.tpz-page .tpz-hero-title { color: #fff; font-size: clamp(2.3rem, 5.5vw, 4rem); line-height: 1.06; margin: 0 0 16px; }
.tpz-page .tpz-hero-title span { color: var(--amber); }
.tpz-hero-sub { color: rgba(255,255,255,.86); font-size: clamp(1rem, 2vw, 1.2rem); max-width: 620px; margin: 0 0 30px; }

/* Hero search */
.tpz-hero-search { background: rgba(255,255,255,.97); border-radius: var(--radius); padding: 12px; display: flex; flex-wrap: wrap; gap: 10px; box-shadow: var(--shadow-lg); }
.tpz-hero-search-kw { flex: 2; min-width: 220px; display: flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--border-str); border-radius: 10px; padding: 0 14px; color: var(--text-muted); }
.tpz-hero-search-kw input { border: 0; background: transparent; height: 46px; flex: 1; font-family: var(--font-body); font-size: .93rem; color: var(--text); }
.tpz-hero-search-kw input:focus { outline: none; }
.tpz-hero-search .tpz-filter-field { flex: 1; min-width: 130px; }
.tpz-hero-search-btn { height: 48px; flex: 1; min-width: 170px; }
.tpz-hero-quick { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: .92rem; color: rgba(255,255,255,.7); }
.tpz-hero-quick a { color: #fff; font-weight: 600; border-bottom: 1px dashed rgba(255,255,255,.4); padding-bottom: 1px; }
.tpz-hero-quick a:hover { color: var(--amber); border-color: var(--amber); }

/* Section heads */
.tpz-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.tpz-sec-head--center { justify-content: center; text-align: center; margin-bottom: 40px; }
.tpz-sec-eyebrow { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--amber-600); margin-bottom: 6px; }
.tpz-sec-head h2 { margin: 0; }
.tpz-sec-lead { color: var(--text-muted); margin: 10px 0 0; max-width: 560px; }
.tpz-sec-head--center .tpz-sec-lead { margin-inline: auto; }

/* Services */
.tpz-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.tpz-service { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: transform .2s ease, box-shadow .2s ease; }
.tpz-service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tpz-service-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 14px; background: var(--amber-glow); color: var(--amber-700); margin-bottom: 16px; }
.tpz-service h3 { font-size: 1.15rem; margin: 0 0 6px; }
.tpz-service p { color: var(--text-muted); font-size: .92rem; margin: 0; }

/* CTA band */
.tpz-cta { background: linear-gradient(120deg, var(--navy-800), var(--navy-600)); color: #fff; padding: clamp(40px, 6vw, 64px) 0; }
.tpz-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.tpz-page .tpz-cta h2 { color: #fff; margin: 0 0 6px; }
.tpz-cta p { color: rgba(255,255,255,.82); margin: 0; }
.tpz-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 600px) {
  .tpz-sec-head { flex-direction: column; align-items: flex-start; }
  .tpz-hero-search-btn { min-width: 100%; }
}

/* ============================================================
   8b. PROPERTY ARCHIVE — head, filters, grid, cards
   ============================================================ */
.tpz-archive-head { background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); color: #fff; padding: clamp(36px, 6vw, 60px) 0; }
.tpz-archive-head .tpz-page-title { color: #fff; margin: 0 0 6px; }
.tpz-archive-sub { color: rgba(255,255,255,.8); margin: 0; max-width: 620px; }

/* Filter bar */
.tpz-filters {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 16px; margin-bottom: 22px;
  position: sticky; top: calc(var(--nav-h) + 10px); z-index: 20;
}
.tpz-filters.is-loading { opacity: .75; pointer-events: none; }
.tpz-filters-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tpz-filters-row + .tpz-filters-row { margin-top: 10px; }
.tpz-filter-field, .tpz-price-range input, .tpz-filter-search input {
  height: 46px; border: 1px solid var(--border-str); border-radius: 10px; padding: 0 14px;
  font-family: var(--font-body); font-size: .93rem; color: var(--text); background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.tpz-filter-field { flex: 1; min-width: 150px; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235B6B82' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.tpz-filter-field:focus, .tpz-price-range input:focus, .tpz-filter-search input:focus { outline: none; border-color: var(--amber); box-shadow: var(--ring); }
.tpz-filter-search { flex: 2; min-width: 220px; display: flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--border-str); border-radius: 10px; padding: 0 14px; color: var(--text-muted); }
.tpz-filter-search input { border: 0; padding: 0; height: 44px; flex: 1; background: transparent; }
.tpz-filter-search input:focus { box-shadow: none; }
.tpz-price-range { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 190px; }
.tpz-price-range input { width: 100%; min-width: 0; }
.tpz-range-sep { color: var(--text-muted); }
.tpz-filter-submit, .tpz-filter-reset { height: 46px; }

/* Results meta */
.tpz-results-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-weight: 600; color: var(--navy-800); }
.tpz-spinner { width: 18px; height: 18px; border: 2.5px solid var(--border-str); border-top-color: var(--amber); border-radius: 50%; animation: tpz-spin .7s linear infinite; }
@keyframes tpz-spin { to { transform: rotate(360deg); } }

/* Grid + cards */
.tpz-prop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.tpz-prop-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.tpz-prop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tpz-prop-card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-50); }
.tpz-prop-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tpz-prop-card:hover .tpz-prop-card-media img { transform: scale(1.05); }
.tpz-prop-card-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--border-str); background: repeating-linear-gradient(45deg, var(--navy-50), var(--navy-50) 12px, #E4EDF6 12px, #E4EDF6 24px); }

.tpz-badge { position: absolute; top: 12px; font-size: .72rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.tpz-badge--status { left: 12px; background: var(--navy-800); color: #fff; }
.tpz-badge--status.is-rent { background: #0F7A54; }
.tpz-badge--featured { right: 12px; background: var(--amber); color: var(--navy-900); }

.tpz-prop-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 7px; }
.tpz-price { font-family: var(--font-display); font-size: 1.32rem; font-weight: 800; color: var(--navy-800); }
.tpz-price--req { font-size: 1.05rem; font-weight: 700; color: var(--text-muted); }
.tpz-price-suffix { font-family: var(--font-body); font-size: .78rem; font-weight: 600; color: var(--text-muted); text-transform: lowercase; }
.tpz-prop-card-title { font-size: 1.06rem; line-height: 1.35; margin: 0; }
.tpz-prop-card-title a { color: var(--heading); }
.tpz-prop-card-title a:hover { color: var(--amber-600); }
.tpz-prop-card-loc { display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: .86rem; margin: 0; }
.tpz-prop-card-loc svg { color: var(--amber-600); flex: none; }
.tpz-prop-card-spec { font-size: .86rem; color: var(--text); margin: 2px 0 0; font-weight: 500; }
.tpz-dot { color: var(--border-str); }
.tpz-prop-card-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 600; font-size: .9rem; color: var(--navy-700); align-self: flex-start; }
.tpz-prop-card-cta svg { transition: transform .2s ease; }
.tpz-prop-card-cta:hover svg { transform: translateX(3px); }

/* Empty + load more */
.tpz-empty { text-align: center; padding: 60px 20px; color: var(--text-muted); grid-column: 1 / -1; }
.tpz-empty h3 { color: var(--navy-800); }
.tpz-loadmore-wrap { text-align: center; margin-top: 36px; }

@media (max-width: 720px) {
  .tpz-filters { position: static; }
  .tpz-filter-search, .tpz-filter-field, .tpz-price-range { min-width: 0; flex: 1 1 45%; }
  .tpz-filter-submit, .tpz-filter-reset { flex: 1 1 45%; }
}

/* ============================================================
   8c. SINGLE PROPERTY
   ============================================================ */
.tpz-breadcrumb { border-bottom: 1px solid var(--border); background: var(--white); }
.tpz-breadcrumb .tpz-container { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-block: 14px; font-size: .85rem; color: var(--text-muted); }
.tpz-breadcrumb a { color: var(--text-muted); }
.tpz-breadcrumb a:hover { color: var(--amber-600); }
.tpz-breadcrumb-current { color: var(--navy-800); font-weight: 600; }

.tpz-single { padding-block: clamp(24px, 4vw, 40px); }

/* Gallery */
.tpz-gallery { margin-bottom: 32px; }
.tpz-gallery-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-50); aspect-ratio: 16 / 9; box-shadow: var(--shadow-md); }
.tpz-gallery-hero { width: 100%; height: 100%; object-fit: cover; }
.tpz-gallery-main .tpz-badge--status { top: 16px; left: 16px; }
.tpz-gallery-ph { position: absolute; inset: 0; flex-direction: column; gap: 12px; font-size: .95rem; font-weight: 600; }
.tpz-gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.tpz-gallery-thumb { flex: 0 0 auto; width: 96px; height: 68px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: none; padding: 0; cursor: pointer; }
.tpz-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tpz-gallery-thumb.is-active { border-color: var(--amber); }

/* Layout grid */
.tpz-single-grid { display: grid; grid-template-columns: 1fr 350px; gap: 40px; align-items: start; }
.tpz-single-title { margin: 0 0 8px; }
.tpz-single-loc { display: flex; align-items: center; gap: 7px; color: var(--text-muted); font-size: .98rem; margin: 0 0 20px; }
.tpz-single-loc svg { color: var(--amber-600); flex: none; }

/* Specs */
.tpz-specs { list-style: none; margin: 0 0 8px; padding: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 18px 20px; background: var(--bg-alt); border-radius: var(--radius); }
.tpz-spec { display: flex; flex-direction: column; gap: 3px; }
.tpz-spec-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); font-weight: 600; }
.tpz-spec-val { font-family: var(--font-display); font-weight: 700; color: var(--navy-800); font-size: 1.02rem; }

.tpz-single-section { margin-top: 34px; }
.tpz-single-section h2 { font-size: 1.4rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }

/* Amenities */
.tpz-amenities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.tpz-amenities li { display: flex; align-items: center; gap: 9px; color: var(--text); font-size: .95rem; }
.tpz-amenities svg { color: #0F7A54; flex: none; }

/* Map */
.tpz-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.tpz-map iframe { width: 100%; height: 340px; border: 0; display: block; }
.tpz-map-link { display: inline-block; margin-top: 10px; font-weight: 600; }

/* Linked project */
.tpz-linked-project { display: flex; align-items: center; gap: 16px; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease; }
.tpz-linked-project:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tpz-linked-project-img { width: 90px; height: 68px; object-fit: cover; border-radius: 10px; flex: none; }
.tpz-linked-project-body { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.tpz-linked-project-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--amber-600); font-weight: 700; }
.tpz-linked-project-body strong { font-family: var(--font-display); color: var(--navy-800); font-size: 1.1rem; }
.tpz-linked-project-price { color: var(--text-muted); font-size: .9rem; }
.tpz-linked-project > svg { color: var(--navy-600); flex: none; }

/* Enquire sidebar */
.tpz-single-aside { position: sticky; top: calc(var(--nav-h) + 20px); }
.tpz-enquire-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 26px; }
.tpz-enquire-price { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; color: var(--navy-800); line-height: 1.1; }
.tpz-enquire-price .tpz-price { font-size: inherit; }
.tpz-enquire-status { display: inline-block; margin-top: 8px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--amber-700); }
.tpz-enquire-help { margin: 16px 0; color: var(--text-muted); font-size: .92rem; }
.tpz-enquire-actions { display: flex; flex-direction: column; gap: 10px; }
.tpz-enquire-actions .btn { width: 100%; }
.tpz-page .btn-whatsapp { background: #25D366; color: #fff; }
.tpz-page .btn-whatsapp:hover { background: #1EBE5B; color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.tpz-enquire-rera { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--border); font-size: .8rem; color: var(--text-muted); }

@media (max-width: 900px) {
  .tpz-single-grid { grid-template-columns: 1fr; }
  .tpz-single-aside { position: static; }
}

/* ============================================================
   8d. PROJECTS — cards, grid, hero, facts
   ============================================================ */
.tpz-proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.tpz-proj-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.tpz-proj-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tpz-proj-card-media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy-50); }
.tpz-proj-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tpz-proj-card:hover .tpz-proj-card-media img { transform: scale(1.05); }
.tpz-badge--proj { left: 12px; background: var(--navy-800); color: #fff; }
.tpz-proj-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
.tpz-proj-card-builder { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--amber-600); }
.tpz-proj-card-title { font-size: 1.2rem; margin: 0; }
.tpz-proj-card-title a { color: var(--heading); }
.tpz-proj-card-title a:hover { color: var(--amber-600); }
.tpz-proj-card-loc { display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: .86rem; margin: 0; }
.tpz-proj-card-loc svg { color: var(--amber-600); flex: none; }
.tpz-proj-card-facts { display: flex; gap: 22px; margin: 8px 0 4px; padding-top: 12px; border-top: 1px solid var(--border); }
.tpz-proj-card-facts span { display: flex; flex-direction: column; font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.tpz-proj-card-facts strong { font-family: var(--font-display); font-size: .98rem; color: var(--navy-800); text-transform: none; letter-spacing: 0; margin-bottom: 1px; }

/* Project hero */
.tpz-proj-hero { background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); background-size: cover; background-position: center; color: #fff; padding: clamp(48px, 9vw, 110px) 0 clamp(32px, 5vw, 56px); margin-top: 0; }
.tpz-proj-hero-badge { display: inline-block; background: var(--amber); color: var(--navy-900); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.tpz-page .tpz-proj-hero-title { color: #fff; margin: 0 0 8px; font-size: clamp(2rem, 5vw, 3.2rem); }
.tpz-proj-hero-tagline { color: rgba(255,255,255,.9); font-size: 1.15rem; margin: 0 0 10px; max-width: 640px; }
.tpz-proj-hero-meta { color: rgba(255,255,255,.8); font-size: .95rem; display: flex; gap: 8px; margin: 0; }

/* Facts strip */
.tpz-proj-facts { background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.tpz-proj-facts-inner { display: flex; flex-wrap: wrap; gap: 14px 44px; padding-block: 20px; }
.tpz-proj-fact { display: flex; flex-direction: column; gap: 2px; }
.tpz-proj-fact-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); font-weight: 600; }
.tpz-proj-fact-val { font-family: var(--font-display); font-weight: 700; color: var(--navy-800); font-size: 1.05rem; }

/* Project video walkthrough (handles portrait & landscape) */
.tpz-video-wrap { display: flex; justify-content: center; background: #0A1F35; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.tpz-proj-video { width: auto; max-width: 100%; max-height: 72vh; display: block; }
.tpz-video-wrap iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }

/* Project gallery grid */
.tpz-proj-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.tpz-proj-gallery a { border-radius: 10px; overflow: hidden; display: block; aspect-ratio: 4 / 3; }
.tpz-proj-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tpz-proj-gallery a:hover img { transform: scale(1.06); }

/* ============================================================
   8f. SERVICES — hub cards & single service page
   ============================================================ */
/* Hub: make service tiles clickable */
.tpz-service--link { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.tpz-service--link:hover { color: inherit; }
.tpz-service--link h3 { color: var(--heading); }
.tpz-service-more { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--navy-700); }
.tpz-service--link:hover .tpz-service-more { color: var(--amber-600); }
.tpz-service--link:hover .tpz-service-more svg { transform: translateX(3px); }
.tpz-service-more svg { transition: transform .2s ease; }

/* Single service head */
.tpz-service-head-icon { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 15px; background: rgba(245,166,35,.18); color: var(--amber); margin-bottom: 16px; }

/* Single service layout */
.tpz-service-layout { display: grid; grid-template-columns: 1fr 300px; gap: 44px; align-items: start; }
.tpz-service-intro { font-size: 1.12rem; color: var(--text); line-height: 1.75; }
.tpz-service-h2 { margin: 28px 0 18px; font-size: 1.5rem; }
.tpz-service-points { display: grid; gap: 18px; }
.tpz-service-point { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.tpz-service-point svg { color: #0F7A54; flex: none; margin-top: 2px; }
.tpz-service-point strong { display: block; color: var(--navy-800); font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 3px; }
.tpz-service-point span { color: var(--text-muted); font-size: .94rem; }

.tpz-service-cta { margin-top: 34px; background: var(--bg-alt); border-radius: var(--radius); padding: 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.tpz-service-cta h3 { margin: 0 0 4px; }
.tpz-service-cta p { margin: 0; color: var(--text-muted); }

/* Service sidebar */
.tpz-service-aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--nav-h) + 20px); }
.tpz-service-nav { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.tpz-service-nav h4, .tpz-service-contactcard h4 { margin: 0 0 12px; font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.tpz-service-nav ul { list-style: none; margin: 0; padding: 0; }
.tpz-service-nav li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.tpz-service-nav li:last-child { border-bottom: 0; }
.tpz-service-nav li.is-current span { font-weight: 700; color: var(--amber-600); }
.tpz-service-nav a { color: var(--text); font-weight: 500; }
.tpz-service-nav a:hover { color: var(--amber-600); }
.tpz-service-contactcard { padding: 22px; }
.tpz-service-contactcard .btn { width: 100%; margin-bottom: 10px; }

@media (max-width: 860px) {
  .tpz-service-layout { grid-template-columns: 1fr; }
  .tpz-service-aside { position: static; }
}

/* ============================================================
   8g. CONTACT PAGE + ENQUIRY FORM
   ============================================================ */
.tpz-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.tpz-contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.tpz-contact-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--amber-glow); color: var(--amber-700); }
.tpz-contact-item h3 { font-size: 1.05rem; margin: 2px 0 4px; }
.tpz-contact-item p { margin: 0; color: var(--text-muted); line-height: 1.65; }
.tpz-contact-item a { color: var(--navy-700); }
.tpz-contact-item a:hover { color: var(--amber-600); }
.tpz-contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-top: 6px; }
.tpz-contact-map iframe { width: 100%; height: 260px; border: 0; display: block; }

/* Form card */
.tpz-contact-form-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 30px; }
.tpz-contact-form-card h2 { font-size: 1.5rem; margin-bottom: 4px; }
.tpz-contact-form-lead { color: var(--text-muted); margin-bottom: 22px; }

/* Fields */
.tpz-enquiry-form .tpz-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tpz-field { display: block; margin-bottom: 16px; }
.tpz-field span { display: block; font-size: .84rem; font-weight: 600; color: var(--navy-800); margin-bottom: 6px; }
.tpz-field span em { color: var(--amber-600); font-style: normal; }
.tpz-field input, .tpz-field textarea {
  width: 100%; border: 1px solid var(--border-str); border-radius: 10px; padding: 12px 14px;
  font-family: var(--font-body); font-size: .95rem; color: var(--text); background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.tpz-field input:focus, .tpz-field textarea:focus { outline: none; border-color: var(--amber); box-shadow: var(--ring); }
.tpz-field textarea { resize: vertical; min-height: 110px; }
.tpz-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tpz-form-submit { width: 100%; margin-top: 4px; }
.tpz-form-msg { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; font-size: .92rem; font-weight: 500; }
.tpz-form-msg.is-success { background: #E6F6EE; color: #0F7A54; border: 1px solid #B7E4CD; }
.tpz-form-msg.is-error { background: #FDECEC; color: #C0392B; border: 1px solid #F5C6C6; }

@media (max-width: 860px) {
  .tpz-contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .tpz-enquiry-form .tpz-form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   8e. ABOUT PAGE
   ============================================================ */
.tpz-about-intro, .tpz-about-story { max-width: 820px; }
.tpz-about-intro h2, .tpz-about-story h2 { margin-bottom: 14px; }
.tpz-about-intro p, .tpz-about-story p { color: var(--text); font-size: 1.05rem; }

/* Stats strip */
.tpz-about-stats { background: var(--navy-800); color: #fff; }
.tpz-about-stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 40px; text-align: center; }
.tpz-stat { display: flex; flex-direction: column; gap: 4px; }
.tpz-stat-num { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--amber); line-height: 1; }
.tpz-stat-label { font-size: .84rem; color: rgba(255,255,255,.78); letter-spacing: .02em; }

/* Founder card */
.tpz-founder { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.tpz-founder-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.tpz-founder-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tpz-founder-name { margin: 0 0 2px; }
.tpz-founder-role { color: var(--amber-600); font-weight: 700; font-size: 1rem; margin: 0 0 16px; }
.tpz-founder-body p { color: var(--text-muted); }
.tpz-founder-linkedin { margin-top: 10px; }
.tpz-founder-linkedin svg { color: #fff; }

@media (max-width: 860px) {
  .tpz-about-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .tpz-founder { grid-template-columns: 1fr; gap: 26px; }
  .tpz-founder-media { max-width: 480px; }
}

/* ============================================================
   9. FOOTER
   ============================================================ */
.tpz-footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.72); margin-top: 40px; }
.tpz-footer-inner { max-width: var(--container); margin-inline: auto; padding: clamp(48px, 6vw, 72px) var(--gutter) 28px; }
.tpz-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.tpz-footer .logo-text { color: rgba(255,255,255,.75); }
.tpz-footer .logo-text strong { color: #fff; }
.tpz-footer-desc { margin: 16px 0 12px; font-size: .9rem; line-height: 1.7; color: rgba(255,255,255,.62); }
.tpz-footer-rera { font-size: .8rem; color: var(--amber); font-weight: 600; letter-spacing: .03em; }
.tpz-footer .tpz-footer-title { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; margin: 0 0 16px; font-family: var(--font-body); font-weight: 700; }
.tpz-footer-col a, .tpz-footer-contact address { display: block; color: rgba(255,255,255,.66); font-size: .9rem; margin-bottom: 10px; font-style: normal; line-height: 1.6; }
.tpz-footer-col a:hover { color: var(--amber); }
.tpz-footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: .82rem; color: rgba(255,255,255,.5);
}

/* ============================================================
   10. RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .tpz-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .tpz-nav-toggle { display: flex; }
  .tpz-nav-menu {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    padding: 12px var(--gutter) 24px; transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .22s ease, transform .22s ease; max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .tpz-nav-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .tpz-nav-menu .nav-links { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .tpz-nav-menu .nav-links li { border-bottom: 1px solid var(--border); }
  .tpz-nav-menu .nav-links a { display: block; padding: 14px 2px; }
  .tpz-nav-menu .nav-cta { margin: 16px 0 4px; width: 100%; }
}
@media (max-width: 560px) {
  .tpz-footer-grid { grid-template-columns: 1fr; }
  .tpz-footer-bottom { flex-direction: column; }
}

/* ---- Gallery lightbox ---- */
.tpz-proj-gallery a { cursor: zoom-in; display: block; }
.tpz-lightbox { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; background: rgba(8,18,32,.93); padding: 24px; }
.tpz-lightbox.is-open { display: flex; }
.tpz-lb-stage { margin: 0; max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.tpz-lb-img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 8px; box-shadow: 0 24px 70px rgba(0,0,0,.55); background: #0b1626; }
.tpz-lb-cap { color: rgba(255,255,255,.85); font-size: .9rem; letter-spacing: .02em; }
.tpz-lb-close { position: absolute; top: 16px; right: 22px; background: transparent; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; opacity: .8; padding: 4px 10px; }
.tpz-lb-close:hover { opacity: 1; }
.tpz-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s ease; }
.tpz-lb-nav:hover { background: rgba(255,255,255,.26); }
.tpz-lb-prev { left: 18px; }
.tpz-lb-next { right: 18px; }
.tpz-related { border-top: 1px solid var(--border); }
@media (max-width: 600px) {
  .tpz-lb-nav { width: 42px; height: 42px; font-size: 1.5rem; }
  .tpz-lb-prev { left: 8px; } .tpz-lb-next { right: 8px; }
  .tpz-lb-close { top: 8px; right: 12px; }
}
