/* =====================================================================
   HORIZON DEVELOPMENTS — Premium Multi-Page Real-Estate Developer Template
   Plain HTML5 + CSS3. No frameworks. Offline-ready (no external images).
   ---------------------------------------------------------------------
   REBRAND TIP: Change the look by editing the CSS variables in :root.
   Swap --accent for your primary color, adjust --ink / --surface to match,
   and update --font-head / --font-body plus the Google Fonts <link> in
   each HTML file. Everything else cascades.
   ===================================================================== */

:root {
  /* --- Brand palette (edit these to rebrand) --- */
  --bg:          #ffffff;   /* page background                          */
  --ink:         #141414;   /* near-black (headings / strong text)      */
  --ink-2:       #2b2723;   /* deep warm charcoal for dark sections     */
  --accent:      #d4843f;   /* terracotta / amber (primary)            */
  --accent-dark: #b56a2a;   /* darker amber for hovers                  */
  --accent-soft: #fbf1e7;   /* soft amber wash                          */
  --muted:       #7a7a7a;   /* muted body text                          */
  --surface:     #f4f3f0;   /* warm neutral surface / alt background     */
  --line:        #e6e3dd;   /* borders / dividers                       */

  /* --- Fonts --- */
  --font-head: 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* --- Shape & motion --- */
  --radius:    18px;
  --radius-sm: 12px;
  --shadow:    0 10px 30px rgba(40, 30, 20, .07);
  --shadow-lg: 0 26px 64px rgba(40, 30, 20, .16);
  --ease:      .35s cubic-bezier(.4, 0, .2, 1);

  /* --- Layout --- */
  --maxw: 1180px;
  --gutter: 24px;
}

/* ---------------------------------------------------------------------
   RESET / BASE
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: #45413c;
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }

a { color: var(--accent); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--accent-dark); }

img, svg { max-width: 100%; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

/* ---------------------------------------------------------------------
   LAYOUT HELPERS
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 96px 0; }
.section--soft { background: var(--surface); }
.section--tight { padding: 66px 0; }

.section-head {
  max-width: 740px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head--left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 6px 15px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.lead { font-size: 1.14rem; color: #45413c; }
.muted { color: var(--muted); }

/* ---------------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .96rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease), border-color var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(212, 132, 63, .34);
}
.btn-primary:hover { background: var(--accent-dark); color: #fff; box-shadow: 0 14px 32px rgba(212, 132, 63, .44); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); }

.btn-light {
  background: rgba(255,255,255,.14);
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-light:hover { background: #fff; color: var(--ink); }

.btn-sm { padding: 11px 20px; font-size: .9rem; }

/* ---------------------------------------------------------------------
   HEADER / NAV  (shared, identical IDs on every page)
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: -.02em;
}
.brand:hover { color: var(--ink); }
.brand .logo-mark {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--accent), #e8a866);
  display: grid; place-items: center;
  box-shadow: 0 7px 18px rgba(212, 132, 63, .4);
}
.brand-name small {
  display: block;
  font-size: .62rem;
  letter-spacing: .22em;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .95rem;
  color: #45413c;
  padding: 8px 14px;
  border-radius: 10px;
  transition: background var(--ease), color var(--ease);
}
.nav-links a:hover { background: var(--accent-soft); color: var(--accent-dark); }
.nav-links a.active { color: var(--accent-dark); font-weight: 600; }

.nav-cta { margin-left: 8px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: var(--surface);
  border: none;
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------------
   HERO (home)
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 560px at 88% -8%, rgba(212,132,63,.16), transparent 60%),
    radial-gradient(720px 520px at -5% 110%, rgba(212,132,63,.1), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--surface) 100%);
  padding: 92px 0 100px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 span { color: var(--accent-dark); }
.hero .lead { max-width: 540px; margin-bottom: 30px; color: #57524c; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-meta {
  display: flex;
  gap: 38px;
  flex-wrap: wrap;
}
.hero-meta div strong {
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: var(--ink);
  display: block;
  line-height: 1;
}
.hero-meta div span { font-size: .9rem; color: var(--muted); }

/* Hero visual — pure CSS architectural render mock */
.hero-visual {
  position: relative;
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, var(--ink-2), #4a4038);
  overflow: hidden;
}
.render {
  position: relative;
  border-radius: 16px;
  min-height: 420px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #cfe4ee 0%, #e8d8c4 56%, #d9c3a6 100%);
}
/* sky glow */
.render::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px 220px at 78% 18%, rgba(255,233,196,.85), transparent 70%);
}
/* skyline of buildings via layered gradients */
.render .skyline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 74%;
  background:
    linear-gradient(180deg, transparent 0 38%, var(--accent) 38% 100%) 6% 100% / 18% 62% no-repeat,
    linear-gradient(180deg, transparent 0 22%, #8f5a2f 22% 100%) 26% 100% / 15% 78% no-repeat,
    linear-gradient(180deg, transparent 0 50%, #c9743a 50% 100%) 43% 100% / 14% 50% no-repeat,
    linear-gradient(180deg, transparent 0 10%, var(--ink-2) 10% 100%) 60% 100% / 17% 90% no-repeat,
    linear-gradient(180deg, transparent 0 44%, #a9602f 44% 100%) 80% 100% / 16% 56% no-repeat,
    linear-gradient(180deg, transparent 0 30%, #6f4626 30% 100%) 96% 100% / 13% 70% no-repeat;
}
/* window-grid overlay */
.render .windows {
  position: absolute; left: 0; right: 0; bottom: 0; height: 74%;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.16) 0 2px, transparent 2px 16px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 2px, transparent 2px 14px);
  mix-blend-mode: overlay;
  opacity: .5;
}
.render .render-tag {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255,255,255,.86);
  padding: 7px 13px;
  border-radius: 999px;
}
.hero-visual .hv-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  color: #fff;
}
.hero-visual .hv-bar b { font-family: var(--font-head); font-size: 1.05rem; display: block; }
.hero-visual .hv-bar span { font-size: .82rem; color: rgba(255,255,255,.7); }
.hero-visual .hv-pill {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-2);
  background: #fff;
  padding: 8px 14px;
  border-radius: 999px;
}

/* ---------------------------------------------------------------------
   STATS STRIP
   --------------------------------------------------------------------- */
.stats-strip { border-bottom: 1px solid var(--line); background: #fff; }
.stats-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.stats-strip .s {
  text-align: center;
  border-right: 1px solid var(--line);
}
.stats-strip .s:last-child { border-right: none; }
.stats-strip .s strong {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  color: var(--ink);
  display: block;
  line-height: 1;
}
.stats-strip .s span { font-size: .9rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   CARDS / GRIDS
   --------------------------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(212,132,63,.28); }

.card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: grid; place-items: center;
  font-size: 1.7rem;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: #57524c; margin-bottom: 0; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
}
.card-link span { transition: transform var(--ease); }
.card-link:hover span { transform: translateX(4px); }

/* ---------------------------------------------------------------------
   DEVELOPMENT (PROPERTY) CARDS — gradient renders
   --------------------------------------------------------------------- */
.dev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.dev-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.dev-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(212,132,63,.28); }

/* Each render uses a class g1..g9 for a distinct gradient "render" */
.dev-render {
  position: relative;
  height: 210px;
  overflow: hidden;
}
.dev-render::after {
  /* subtle building silhouette + window grid */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(180deg, transparent 0 46%, rgba(0,0,0,.16) 46% 100%) ,
    repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 2px, transparent 2px 22px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.1) 0 2px, transparent 2px 20px);
  mix-blend-mode: soft-light;
}
.dev-render .dev-emoji {
  position: absolute;
  right: 16px; bottom: 14px;
  font-size: 2.1rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.25));
  z-index: 1;
}
.g1 { background: linear-gradient(150deg, #d4843f, #f0c08a); }
.g2 { background: linear-gradient(150deg, #6f4626, #c98a4f); }
.g3 { background: linear-gradient(150deg, #2b2723, #6d6056); }
.g4 { background: linear-gradient(150deg, #b56a2a, #e8b87f); }
.g5 { background: linear-gradient(150deg, #8a6d52, #d8b48b); }
.g6 { background: linear-gradient(150deg, #c9743a, #f3d3a6); }
.g7 { background: linear-gradient(150deg, #4a4038, #a07f5d); }
.g8 { background: linear-gradient(150deg, #d99a55, #f6e2c4); }
.g9 { background: linear-gradient(150deg, #9c5a2b, #e0a064); }

.status-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 1;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 6px 13px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.status-selling { color: #0f7a4f; }
.status-selling::before { content: "● "; color: #16a36a; }
.status-soon { color: #b56a2a; }
.status-soon::before { content: "● "; color: #d4843f; }
.status-done { color: #555; }
.status-done::before { content: "● "; color: #888; }

.dev-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.dev-body h3 { font-size: 1.18rem; margin-bottom: 4px; }
.dev-loc { font-size: .92rem; color: var(--muted); margin-bottom: 14px; }
.dev-loc::before { content: "📍 "; }
.dev-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.dev-price small { display: block; font-size: .72rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.dev-price b { font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); }

/* ---------------------------------------------------------------------
   FEATURE LIST (why us)
   --------------------------------------------------------------------- */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .tick {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--accent), #e8a866);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  font-family: var(--font-head);
  box-shadow: 0 6px 14px rgba(212,132,63,.34);
}
.feature h3 { font-size: 1.12rem; margin-bottom: 4px; }
.feature p { margin-bottom: 0; font-size: .98rem; color: #57524c; }

/* Split section */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-media {
  border-radius: 22px;
  min-height: 400px;
  background: linear-gradient(150deg, var(--ink-2), #6d5a45);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  padding: 32px;
}
.split-media::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px 320px at 78% 18%, rgba(212,132,63,.4), transparent 62%);
}

/* ---------------------------------------------------------------------
   JOURNEY / PROCESS STEPS
   --------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  position: relative;
}
.step .num {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--accent), #e8a866);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { margin-bottom: 0; font-size: .95rem; color: #57524c; }

/* ---------------------------------------------------------------------
   STATS BAND (dark)
   --------------------------------------------------------------------- */
.stats-band {
  background: linear-gradient(135deg, var(--ink-2), #5a4a3a);
  color: #fff;
}
.stats-band .section-head h2 { color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat strong {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3rem);
  display: block;
  line-height: 1;
  color: #f4c693;
}
.stat span { color: rgba(255,255,255,.82); font-size: .95rem; }

/* ---------------------------------------------------------------------
   TESTIMONIALS
   --------------------------------------------------------------------- */
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: var(--shadow);
}
.quote-card .stars { color: var(--accent); margin-bottom: 14px; letter-spacing: 2px; }
.quote-card blockquote {
  margin: 0 0 22px;
  font-size: 1.1rem;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.5;
}
.quote-author { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  background: linear-gradient(140deg, var(--accent), #b56a2a);
}
.quote-author b { display: block; font-family: var(--font-head); color: var(--ink); }
.quote-author span { font-size: .88rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   CTA BAND
   --------------------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(620px 420px at 88% 8%, rgba(212,132,63,.4), transparent 60%),
    linear-gradient(135deg, var(--ink-2), #4a3d30);
  color: #fff;
  border-radius: 28px;
  padding: 62px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 580px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   PAGE BANNER (inner pages)
   --------------------------------------------------------------------- */
.page-banner {
  background:
    radial-gradient(740px 420px at 86% -20%, rgba(212,132,63,.16), transparent 60%),
    linear-gradient(180deg, var(--surface), #fff);
  padding: 66px 0 58px;
  border-bottom: 1px solid var(--line);
}
.page-banner h1 { margin-bottom: 10px; }
.page-banner p { max-width: 640px; color: #57524c; margin-bottom: 0; }
.breadcrumb {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--accent-dark); }
.breadcrumb span { margin: 0 7px; color: var(--muted); }

/* ---------------------------------------------------------------------
   PROJECTS PAGE — filter bar + pagination
   --------------------------------------------------------------------- */
.filter-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 14px;
  align-items: end;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}
.filter-field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .82rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.filter-field select, .filter-field input {
  width: 100%;
  font-family: var(--font-body);
  font-size: .96rem;
  color: var(--ink);
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.filter-field select:focus, .filter-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(212,132,63,.14);
}
.filter-bar .btn { justify-content: center; }

.projects-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.projects-count strong { color: var(--ink); font-family: var(--font-head); }

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 52px;
}
.page-btn {
  min-width: 44px; height: 44px;
  padding: 0 12px;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 600;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.page-btn:hover { border-color: var(--accent); color: var(--accent-dark); }
.page-btn.is-current { background: var(--accent); color: #fff; border-color: var(--accent); }
.page-ellipsis { color: var(--muted); padding: 0 4px; }

/* ---------------------------------------------------------------------
   PROJECT (single) PAGE
   --------------------------------------------------------------------- */
.project-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 26px;
}
.project-head h1 { margin: 8px 0 6px; }
.project-loc { color: var(--muted); font-size: 1rem; margin: 0; }
.project-loc::before { content: "📍 "; }
.project-price-box {
  text-align: right;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 26px;
}
.project-price-box small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark); }
.project-price-box b { font-family: var(--font-head); font-size: 1.9rem; color: var(--ink); }

/* Gallery */
.gallery { margin-bottom: 48px; }
.gallery-main {
  border-radius: var(--radius);
  height: 440px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  transition: background .4s ease;
}
.gallery-main::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(180deg, transparent 0 50%, rgba(0,0,0,.14) 50% 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.1) 0 2px, transparent 2px 28px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 2px, transparent 2px 26px);
  mix-blend-mode: soft-light;
}
.gallery-tag {
  position: absolute; top: 18px; left: 18px; z-index: 1;
  font-family: var(--font-head); font-size: .74rem; font-weight: 600;
  background: rgba(255,255,255,.88); color: var(--ink);
  padding: 8px 14px; border-radius: 999px;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.gallery-thumb {
  height: 92px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color var(--ease), transform var(--ease);
}
.gallery-thumb:hover { transform: translateY(-2px); }
.gallery-thumb.is-active { border-color: var(--accent); }

.project-layout {
  display: grid;
  grid-template-columns: 1.6fr .9fr;
  gap: 44px;
  align-items: start;
}
.project-block { margin-bottom: 40px; }
.project-block h2 { font-size: 1.5rem; margin-bottom: 16px; }

/* units table */
.units-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.units-table th, .units-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: .96rem;
}
.units-table th {
  font-family: var(--font-head);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
}
.units-table td b { font-family: var(--font-head); color: var(--ink); }
.units-table tr:last-child td { border-bottom: none; }
.unit-tag {
  font-size: .76rem; font-family: var(--font-head); font-weight: 600;
  padding: 4px 11px; border-radius: 999px;
}
.unit-available { background: #e6f5ed; color: #0f7a4f; }
.unit-few { background: var(--accent-soft); color: var(--accent-dark); }
.unit-sold { background: #f0eeea; color: #888; }

/* amenities */
.amenities-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}
.amenities-list li {
  position: relative;
  padding-left: 28px;
  font-size: .98rem;
  color: #45413c;
}
.amenities-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--accent);
  font-weight: 700;
}

/* floorplan placeholder */
.floorplan {
  border-radius: var(--radius);
  min-height: 300px;
  background:
    linear-gradient(rgba(212,132,63,.05), rgba(212,132,63,.05)),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 44px),
    var(--surface);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  text-align: center;
  color: var(--muted);
  padding: 30px;
}
.floorplan .fp-ic { font-size: 2.6rem; margin-bottom: 6px; }
.floorplan b { font-family: var(--font-head); color: var(--ink); display: block; }

/* register sidebar card */
.register-card {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.register-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.register-card .rc-sub { font-size: .92rem; color: var(--muted); margin-bottom: 20px; }
.project-meta {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}
.project-meta li {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: .94rem;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}
.project-meta li span { color: var(--muted); }
.project-meta li b { font-family: var(--font-head); color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------------
   ABOUT — values + team
   --------------------------------------------------------------------- */
.value-card .icon { background: linear-gradient(140deg, rgba(212,132,63,.14), rgba(232,168,102,.22)); }

.team-card { text-align: center; }
.team-card .team-photo {
  width: 112px; height: 112px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
  box-shadow: var(--shadow);
}
.tp1 { background: linear-gradient(140deg, #d4843f, #f0c08a); }
.tp2 { background: linear-gradient(140deg, #6f4626, #c98a4f); }
.tp3 { background: linear-gradient(140deg, #b56a2a, #e8b87f); }
.tp4 { background: linear-gradient(140deg, #8a6d52, #d8b48b); }
.team-card h3 { font-size: 1.15rem; margin-bottom: 2px; }
.team-card .role { color: var(--accent-dark); font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-bottom: 10px; }
.team-card p { font-size: .92rem; color: var(--muted); margin-bottom: 0; }

/* ---------------------------------------------------------------------
   CONTACT / REGISTER FORM
   --------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .9rem;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(212,132,63,.14);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .error-msg { color: #c0392b; font-size: .82rem; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0392b; }
.field.invalid .error-msg { display: block; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: #eaf7f0;
  border: 1px solid #9bdcba;
  color: #0f7a4f;
  font-weight: 500;
}
.form-status.show { display: block; }

.info-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 22px;
}
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.info-row:last-child { margin-bottom: 0; }
.info-row .info-ic {
  width: 44px; height: 44px; flex: 0 0 auto;
  border-radius: 12px; background: #fff;
  display: grid; place-items: center; font-size: 1.3rem;
  box-shadow: var(--shadow);
}
.info-row b { font-family: var(--font-head); color: var(--ink); display: block; }
.info-row span { font-size: .94rem; color: #57524c; }

/* Map placeholder */
.map-placeholder {
  border-radius: var(--radius);
  min-height: 240px;
  background:
    linear-gradient(rgba(212,132,63,.05), rgba(212,132,63,.05)),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 42px),
    var(--surface);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  text-align: center;
  color: var(--muted);
}
.map-placeholder .pin { font-size: 2.4rem; }
.map-placeholder b { font-family: var(--font-head); color: var(--ink); display: block; }

/* ---------------------------------------------------------------------
   FOOTER (shared)
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--ink-2);
  color: rgba(255,255,255,.75);
  padding: 66px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand:hover { color: #fff; }
.site-footer .brand-name small { color: rgba(255,255,255,.55); }
.footer-about p { font-size: .95rem; color: rgba(255,255,255,.7); max-width: 320px; }
.footer-col h4 {
  color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a { display: block; color: rgba(255,255,255,.72); padding: 5px 0; font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  display: grid; place-items: center;
  font-size: 1rem;
}
.social a:hover { background: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
}
.footer-bottom a { color: rgba(255,255,255,.75); }

/* ---------------------------------------------------------------------
   SCROLL-REVEAL
   --------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.no-io .reveal { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   RESPONSIVE — 1024 / 768 / 360 breakpoints
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .dev-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-visual { max-width: 520px; }
  .project-layout { grid-template-columns: 1fr; gap: 36px; }
  .register-card { position: static; }
}

@media (max-width: 768px) {
  .section { padding: 66px 0; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 14px var(--gutter) 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease), transform var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .dev-grid { grid-template-columns: 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split-media { order: 0; }
  .stats-strip .container { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
  .stats-strip .s:nth-child(2) { border-right: none; }
  .stats-grid, .steps { grid-template-columns: 1fr 1fr; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .amenities-list { grid-template-columns: 1fr; }
  .gallery-main { height: 320px; }
  .cta-band { padding: 46px 26px; }
  .project-price-box { text-align: left; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .stats-grid, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-strip .container { grid-template-columns: 1fr; }
  .stats-strip .s { border-right: none; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
  .stats-strip .s:last-child { border-bottom: none; padding-bottom: 0; }
  .filter-bar { grid-template-columns: 1fr; }
  .gallery-thumbs { grid-template-columns: repeat(2, 1fr); }
  .brand-name small { display: none; }
}
