/* urbanlifeestate website. Colours and type follow thoughts/BRAND.md */
:root {
  --ule-navy: #1F3A5F;
  --ule-navy-deep: #172C49;
  --ule-blue: #3E7CB1;
  --ule-link: #356DA0;
  --ule-sky: #8DB3DA;
  --ule-sky-soft: #E8F0F8;
  --ule-gold: #E0A43A;
  --ule-gold-soft: #FBF1DE;
  --ule-teal: #2E8B7A;
  --ule-teal-soft: #E3F2EF;
  --ule-bg: #F7F8FA;
  --ule-surface: #FFFFFF;
  --ule-text: #2B2F36;
  --ule-muted: #6B7280;
  --ule-line: #E3E7ED;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(31, 58, 95, .06), 0 8px 24px rgba(31, 58, 95, .06);
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ule-text);
  background: var(--ule-bg);
}

img, svg { max-width: 100%; display: block; }

a { color: var(--ule-link); text-underline-offset: 3px; }
a:hover { color: var(--ule-navy); }

h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--ule-navy);
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--ule-gold); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--ule-navy); color: #fff; padding: 8px 14px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(56px, 8vw, 96px); }
.section--white { background: var(--ule-surface); }
.section--navy { background: var(--ule-navy); color: #DCE6F2; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ule-blue); margin-bottom: .75rem;
}
.section--navy .eyebrow { color: var(--ule-sky); }

.lede { font-size: 1.125rem; color: var(--ule-muted); max-width: 46rem; }
.section--navy .lede { color: #C3D3E6; }

.section-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 700; font-size: .98rem; line-height: 1;
  padding: 15px 22px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--ule-gold); color: var(--ule-navy); }
.btn--gold:hover { background: #D6972A; color: var(--ule-navy); }
.btn--navy { background: var(--ule-navy); color: #fff; }
.btn--navy:hover { background: var(--ule-navy-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--ule-navy); border-color: var(--ule-navy); }
.btn--ghost:hover { background: var(--ule-navy); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost-light:hover { background: #fff; color: var(--ule-navy); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--ule-line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ule-navy); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 10px 12px; border-radius: var(--radius-sm);
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--ule-sky-soft); }
.nav .btn { margin-left: 8px; padding: 12px 18px; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ule-navy);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--ule-line);
    padding: 8px var(--gutter) 20px;
    box-shadow: 0 12px 24px rgba(31, 58, 95, .08);
  }
  .nav[hidden] { display: none !important; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--ule-line); border-radius: 0; }
  .nav .btn { margin: 16px 0 0; border-radius: 999px; border-bottom: 0; }
}
@media (min-width: 901px) { .nav[hidden] { display: flex !important; } }

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 88px) clamp(56px, 8vw, 96px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: var(--ule-blue); }
.hero .lede { margin-bottom: 1.75rem; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--ule-teal-soft); color: var(--ule-teal);
  display: inline-grid; place-items: center;
}
.tick svg { width: 13px; height: 13px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Building illustration: rows of window panes, a few lit gold */
.building {
  position: relative; margin-inline: auto; width: min(100%, 380px);
  padding: 34px 26px 0; background: var(--ule-navy); border-radius: 18px 18px 0 0;
  box-shadow: var(--shadow);
}
.building::before {
  content: ""; position: absolute; left: 50%; top: -46px; transform: translateX(-50%);
  width: 0; height: 0; border-left: 120px solid transparent; border-right: 120px solid transparent;
  border-bottom: 48px solid var(--ule-navy); display: none;
}
.building-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pane { aspect-ratio: 1; border-radius: 6px; background: #2C4C77; }
.pane--sky { background: var(--ule-sky); opacity: .35; }
.pane--lit { background: var(--ule-gold); box-shadow: 0 0 22px rgba(224, 164, 58, .55); }
.building-door {
  width: 30%; aspect-ratio: 3 / 4; margin: 22px auto 0; border-radius: 8px 8px 0 0; background: var(--ule-blue);
}
.building-ground { height: 10px; background: var(--ule-line); border-radius: 0 0 8px 8px; width: min(100%, 420px); margin-inline: auto; }
.hero-card {
  position: absolute; background: #fff; border-radius: 12px; box-shadow: var(--shadow);
  padding: 12px 14px; font-size: .82rem; font-weight: 600; color: var(--ule-navy);
  display: flex; gap: 10px; align-items: center; white-space: nowrap;
}
.hero-card small { display: block; color: var(--ule-muted); font-weight: 500; }
.hero-card .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ule-teal); flex: none; }
.hero-card--a { left: -28px; top: 30%; }
.hero-card--b { right: -24px; bottom: 22%; }
.hero-card--b .dot { background: var(--ule-gold); }
.hero-art { position: relative; padding-inline: 24px; }
@media (max-width: 480px) {
  .hero-card--a { left: -8px; }
  .hero-card--b { right: -8px; }
}

/* Path cards */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--ule-surface); border: 1px solid var(--ule-line); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px); box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .35em; }
.card p { color: var(--ule-muted); }
.card .card-link { margin-top: auto; font-weight: 700; text-decoration: none; }
.card .card-link::after { content: " →"; }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ule-sky-soft); color: var(--ule-navy); margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }
.card-icon--gold { background: var(--ule-gold-soft); }
.card-icon--teal { background: var(--ule-teal-soft); color: var(--ule-teal); }
.card .price-tag {
  font-size: .9rem; font-weight: 700; color: var(--ule-navy); background: var(--ule-bg);
  border-radius: var(--radius-sm); padding: 10px 12px; margin: 4px 0 18px;
}

/* Promises */
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.promise { background: var(--ule-navy); padding: clamp(22px, 3vw, 32px); }
.promise strong { display: block; font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 800; color: var(--ule-gold); line-height: 1.1; margin-bottom: 6px; }
.promise span { color: #DCE6F2; font-weight: 500; }
@media (max-width: 860px) { .promise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .promise-grid { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 56px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ule-navy); color: #fff; font-weight: 800;
}
.steps li::after {
  content: ""; position: absolute; top: 20px; left: 52px; right: -8px; height: 2px; background: var(--ule-line);
}
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.05rem; }
.steps p { color: var(--ule-muted); margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li > div strong { color: var(--ule-navy); display: block; }
.check-list li > div span { color: var(--ule-muted); }

/* Calculator */
.calc { background: var(--ule-surface); border-radius: var(--radius); border: 1px solid var(--ule-line); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 32px); }
.calc label { display: block; font-weight: 700; color: var(--ule-navy); margin-bottom: 8px; }
.calc-input { position: relative; }
.calc-input span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--ule-muted); }
.calc-input input { padding-left: 34px !important; font-size: 1.25rem !important; font-weight: 700; }
.calc-range { width: 100%; margin: 16px 0 6px; accent-color: var(--ule-navy); }
.calc-rows { margin: 18px 0 0; display: grid; gap: 0; }
.calc-row { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--ule-line); }
.calc-row:last-child { border-bottom: 0; }
.calc-row dt { color: var(--ule-muted); font-weight: 500; }
.calc-row dd { margin: 0; font-weight: 800; color: var(--ule-navy); white-space: nowrap; }
.calc-row--save dd { color: var(--ule-teal); }
.calc-row s { color: var(--ule-muted); font-weight: 600; margin-right: 6px; }
.calc-note { font-size: .82rem; color: var(--ule-muted); margin: 14px 0 0; }

/* Tables */
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--ule-line); background: var(--ule-surface); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--ule-line); vertical-align: top; }
thead th { background: var(--ule-bg); color: var(--ule-navy); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { color: var(--ule-navy); font-weight: 700; }
td.us { background: #F3F8FC; font-weight: 600; color: var(--ule-navy); }
th.us { background: var(--ule-navy); color: #fff; }
.yes { color: var(--ule-teal); font-weight: 700; }
.no { color: var(--ule-muted); }
.price-cell strong { color: var(--ule-navy); display: block; }
.price-cell span { color: var(--ule-muted); font-size: .9rem; }

/* Sectors */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { background: var(--ule-surface); border: 1px solid var(--ule-line); border-radius: 999px; padding: 8px 16px; font-weight: 600; color: var(--ule-navy); font-size: .92rem; }
.chips li.soon { color: var(--ule-muted); border-style: dashed; background: transparent; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { background: var(--ule-surface); border: 1px solid var(--ule-line); border-radius: var(--radius-sm); margin-bottom: 12px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 700; color: var(--ule-navy); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 500; color: var(--ule-blue);
}
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 20px 18px; color: var(--ule-text); }
.faq details > div p:last-child { margin-bottom: 0; }

/* Forms */
.form-card { background: var(--ule-surface); color: var(--ule-text); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.form-card h3 { font-size: 1.3rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .88rem; font-weight: 700; color: var(--ule-navy); margin-bottom: 6px; }
.field .opt { color: var(--ule-muted); font-weight: 500; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ule-text);
  background: var(--ule-bg); border: 1.5px solid var(--ule-line); border-radius: var(--radius-sm);
  padding: 13px 14px; min-height: 50px;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ule-blue); background: #fff; box-shadow: 0 0 0 3px rgba(62,124,177,.18); }
.phone-row { display: grid; grid-template-columns: 112px 1fr; gap: 8px; }
.segmented { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.segmented legend { font-size: .88rem; font-weight: 700; color: var(--ule-navy); margin-bottom: 6px; padding: 0; width: 100%; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.segmented span {
  display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--ule-line);
  font-weight: 600; font-size: .92rem; cursor: pointer; background: var(--ule-bg); color: var(--ule-navy);
}
.segmented input:checked + span { background: var(--ule-navy); border-color: var(--ule-navy); color: #fff; }
.segmented input:focus-visible + span { outline: 3px solid var(--ule-gold); outline-offset: 2px; }
.form-foot { font-size: .82rem; color: var(--ule-muted); margin: 12px 0 0; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--ule-teal-soft); color: #1F6B5D; font-weight: 600; }

/* CTA band */
.cta-band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .cta-band .wrap { grid-template-columns: 1fr; } }
.contact-lines { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.contact-lines a { color: #fff; font-weight: 600; text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; color: #fff; }
.contact-lines li { display: flex; gap: 12px; align-items: center; }
.contact-lines svg { width: 20px; height: 20px; color: var(--ule-gold); flex: none; }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(44px, 6vw, 72px) clamp(36px, 5vw, 56px); background: var(--ule-surface); border-bottom: 1px solid var(--ule-line); }
.page-hero .lede { margin-bottom: 1.5rem; }
.crumbs { font-size: .85rem; color: var(--ule-muted); margin-bottom: 14px; }
.crumbs a { color: var(--ule-muted); }

/* Room cards */
.room-price { font-size: 1.6rem; font-weight: 800; color: var(--ule-navy); margin: 4px 0 2px; }
.room-price small { font-size: .9rem; font-weight: 600; color: var(--ule-muted); }
.badge { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--ule-teal-soft); color: #1F6B5D; margin-bottom: 12px; align-self: flex-start; }
.badge--gold { background: var(--ule-gold-soft); color: #7A5410; }
.amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; }
.amenities li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
@media (max-width: 480px) { .amenities { grid-template-columns: 1fr; } }

.note {
  background: var(--ule-gold-soft); border-left: 4px solid var(--ule-gold); border-radius: var(--radius-sm);
  padding: 16px 18px; color: var(--ule-text);
}
.note strong { color: var(--ule-navy); }

/* Footer */
.site-footer { background: var(--ule-navy-deep); color: #B9C8DA; padding-block: 56px 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: #B9C8DA; text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-brand img { width: 170px; margin: -14px 0 4px -14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.wa-float:hover { color: #fff; transform: scale(1.05); }
.wa-float svg { width: 30px; height: 30px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-0 { margin-top: 0; }
.center { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .wa-float { transition: none; }
  .btn:hover, .wa-float:hover { transform: none; }
}

/* Project pages (new launches) */
.project-shot { margin: 0; }
.project-shot img { width: 100%; height: auto; max-height: 78vh; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.project-shot--small img { max-height: 640px; }
.project-shot figcaption { font-size: .8rem; color: var(--ule-muted); margin-top: 8px; }
.table-scroll--fit table { min-width: 0; }
.promise-grid--light { grid-template-columns: 1fr; }
.legal { padding-block: 40px; border-top: 1px solid var(--ule-line); font-size: .85rem; color: var(--ule-muted); }
.legal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 24px; margin: 0 0 20px; }
.legal-grid dt { font-weight: 700; color: var(--ule-navy); }
.legal-grid dd { margin: 0; }
@media (max-width: 860px) { .legal-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .legal-grid { grid-template-columns: 1fr; } }
.project-video { margin: 0; }
.project-video video { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--ule-navy-deep); }
.project-video figcaption { font-size: .8rem; color: var(--ule-muted); margin-top: 8px; }
