/* ==========================================================================
   SPACE OF CHOICE — stylesheet
   Design tokens live at the top so the brand can be re-tuned in one place.
   ========================================================================== */

:root {
  /* Brand colors */
  --navy: #0B2D6B;
  --navy-deep: #071B45;
  --navy-tint: #EAF0FA;
  --gold: #D89A00;
  --gold-deep: #B37F00;
  --gold-tint: #FBEFD4;
  --white: #FFFFFF;
  --bg: #F7F8FA;
  --text: #2D3748;
  --text-muted: #64707E;
  --border: #E3E7ED;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;

  /* Layout */
  --container: 1180px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --shadow-card: 0 1px 2px rgba(11, 45, 107, 0.06), 0 8px 24px -12px rgba(11, 45, 107, 0.18);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}
.section--tight { padding: 64px 0; }
.section--navy { background: var(--navy); color: var(--white); }
.section--bg { background: var(--bg); }

@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .section--tight { padding: 40px 0; }
}

.eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow-line::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}
.section--navy .eyebrow-line { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 16px;
}
.section--navy h2, .section--navy h3 { color: var(--white); }

h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}
.section--navy .section-head p { color: rgba(255,255,255,0.78); }

p { margin: 0 0 16px; }

.text-muted { color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-primary:hover { background: var(--gold-deep); color: var(--white); }
.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.section--navy .btn-outline { border-color: rgba(255,255,255,0.5); color: var(--white); }
.section--navy .btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  padding: 10px 4px;
  font-weight: 700;
  border-bottom: 2px solid var(--gold);
  border-radius: 0;
}
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 40px; width: auto; }
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--navy);
  letter-spacing: 0.2px;
  line-height: 1.1;
}
.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 1.4px;
  color: var(--gold-deep);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text);
  position: relative;
  padding: 6px 0;
}
.main-nav a:hover { color: var(--navy); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--gold);
  transition: width 0.2s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--navy);
  transition: background 0.15s ease, color 0.15s ease;
}
.icon-link:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 960px) {
  .main-nav {
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 24px 24px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { display: block; width: 100%; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; }
  .header-actions .icon-link.hide-mobile { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--navy-tint) 0%, var(--white) 72%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding: 76px 0 88px;
}
.hero-tag {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  color: var(--navy-deep);
  margin-bottom: 20px;
}
.hero-lede {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero-meta div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
}
.hero-meta div span {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-pin-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 4.6;
  background: var(--navy);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-pin-card .pin-mark {
  align-self: center;
  width: 44%;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,0.25));
}
.hero-pin-card .pin-note {
  color: var(--white);
}
.hero-pin-card .pin-note strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.hero-pin-card .pin-note span {
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
}
.hero-pin-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(216,154,0,0.35), transparent 55%);
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 44px; }
  .hero-visual { order: -1; }
  .hero-pin-card { max-width: 300px; margin: 0 auto; }
}

/* ---------- Grid cards ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.card .icon-badge {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--gold-tint);
  color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.about-pillars {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}
.pillar {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.pillar .dot {
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 9px;
}
.pillar strong { display: block; color: var(--navy); font-size: 1rem; margin-bottom: 2px; }
.pillar span { color: var(--text-muted); font-size: 0.93rem; }

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Service list rows (real estate / loans) ---------- */
.service-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.service-row:first-child { border-top: 1px solid var(--border); }
.service-row .num {
  font-family: var(--font-display);
  color: var(--gold-deep);
  font-size: 1.1rem;
  width: 32px;
  flex: none;
}
.service-row strong { color: var(--navy); display: block; }
.service-row span { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Loan section ---------- */
.loan-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 960px) {
  .loan-layout { grid-template-columns: 1fr; }
}
.loan-steps {
  display: grid;
  gap: 20px;
  margin: 28px 0 0;
}
.loan-step {
  display: flex;
  gap: 16px;
}
.loan-step .step-num {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
}
.section--navy .loan-step .step-num { color: var(--gold); border-color: var(--gold); }
.loan-step strong { display: block; margin-bottom: 3px; }
.loan-step span { color: rgba(255,255,255,0.75); font-size: 0.93rem; }

.form-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  color: var(--text);
  box-shadow: var(--shadow-card);
}
.form-card h3 { color: var(--navy); }
.form-row {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}
.form-row label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
}
.form-row input, .form-row select, .form-row textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--navy);
  background: var(--white);
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 480px) {
  .form-grid-2 { grid-template-columns: 1fr; }
}
.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 14px;
}
.form-success {
  display: none;
  background: var(--navy-tint);
  color: var(--navy);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.92rem;
  margin-top: 16px;
}
.form-success.is-visible { display: block; }

/* ---------- Properties ---------- */
.demo-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-tint);
  color: var(--gold-deep);
  border: 1px solid #EFD9A0;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 40px;
}
.property-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}
.property-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.property-media {
  aspect-ratio: 16/11;
  background: var(--navy-tint);
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.property-media svg { width: 56%; height: 56%; }
.property-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}
.property-tag.sample { background: rgba(11,45,107,0.85); }
.property-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.property-body h3 { margin-bottom: 4px; font-size: 1.08rem; }
.property-loc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px;
}
.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.chip {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
}
.property-price {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.property-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.property-actions .btn { flex: 1; padding: 11px 14px; font-size: 0.88rem; }

/* ---------- Why choose us ---------- */
.why-grid .card .icon-badge { background: rgba(255,255,255,0.12); color: var(--gold); }
.section--navy .card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.14);
}
.section--navy .card p { color: rgba(255,255,255,0.72); }
.section--navy .card:hover { box-shadow: none; background: rgba(255,255,255,0.07); }

/* ---------- Service areas ---------- */
.areas-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) { .areas-layout { grid-template-columns: 1fr; } }
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.area-chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}
.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.map-frame iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: left;
}
.testimonial-card .stars { color: var(--gold); font-size: 0.95rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card p { color: var(--text-muted); font-style: italic; }
.testimonial-empty {
  text-align: center;
  padding: 40px 24px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  color: var(--text-muted);
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
}
.faq-q .plus {
  flex: none;
  width: 24px; height: 24px;
  position: relative;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--navy);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.faq-q .plus::before { width: 14px; height: 2px; }
.faq-q .plus::after { width: 2px; height: 14px; transition: transform 0.2s ease; }
.faq-item.is-open .plus::after { transform: translate(-50%,-50%) rotate(90deg) scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--text-muted);
}
.faq-a p { padding-bottom: 22px; margin: 0; }
.faq-item.is-open .faq-a { max-height: 320px; }

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info-row {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-row:first-child { border-top: 1px solid var(--border); }
.contact-info-row .icon-badge {
  width: 40px; height: 40px;
  flex: none;
}
.contact-info-row strong { display: block; color: var(--navy); }
.contact-info-row a, .contact-info-row span { color: var(--text-muted); font-size: 0.94rem; }
.contact-info-row a:hover { color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 34px; }
.footer-brand span { font-family: var(--font-display); color: var(--white); font-size: 1.15rem; font-weight: 700; }
.footer-tagline { font-size: 0.86rem; letter-spacing: 0.5px; color: var(--gold); margin-bottom: 14px; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-col ul li a:hover { color: var(--white); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.84rem;
}
.footer-bottom a:hover { color: var(--white); }

/* ---------- Floating actions ---------- */
.float-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -6px rgba(11,45,107,0.4);
  color: var(--white);
}
.float-btn.whatsapp { background: #25D366; }
.float-btn.call { background: var(--navy); }

.mobile-cta-bar {
  display: none;
}
@media (max-width: 720px) {
  .float-actions { right: 14px; bottom: 78px; }
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 95;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 10px 14px;
    gap: 10px;
  }
  .mobile-cta-bar .btn { flex: 1; padding: 12px; font-size: 0.9rem; }
  body { padding-bottom: 64px; }
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 18px;
  z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }
