/* ============================================================
   RYAN LIM PROPERTIES — SHARED STYLESHEET
   Colours: Royal Blue #024B68 | Light Cream #F8F3F0 | Gold #C9973A
   Fonts: Cormorant Garamond (display) + DM Sans (body)
   ============================================================ */

:root {
  --navy:    #024B68;
  --navy2:   #013a52;
  --navy3:   #01283a;
  --gold:    #C9973A;
  --gold2:   #e8b455;
  --cream:   #F8F3F0;
  --cream2:  #f0e9e3;
  --white:   #ffffff;
  --text:    #1a1a2a;
  --muted:   #6b6b7a;
  --light:   #b8b0a8;
  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'DM Sans', system-ui, sans-serif;
  --radius:  8px;
  --radius-lg: 14px;
  --shadow:  0 4px 24px rgba(2,75,104,0.10);
  --shadow-lg: 0 12px 48px rgba(2,75,104,0.16);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--sans); font-weight: 300; color: var(--text); background: var(--cream); overflow-x: hidden; line-height: 1.7; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--sans); }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
em { font-style: italic; color: var(--gold); }

/* ── UTILITIES ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.inline-link { color: var(--navy); border-bottom: 1px solid var(--gold); transition: color .2s; }
.inline-link:hover { color: var(--gold); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .04em;
  transition: background .2s, transform .15s;
  border: 2px solid var(--navy);
}
.btn-primary:hover { background: var(--navy2); transform: translateY(-1px); }
.btn-primary.full-width { width: 100%; text-align: center; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  padding: 13px 30px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .04em;
  border: 2px solid var(--navy);
  transition: background .2s, color .2s, transform .15s;
}
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-1px); }

.btn-outline-dark {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  padding: 13px 30px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  border: 2px solid var(--navy);
  transition: background .2s, color .2s;
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

/* ── NAVIGATION ── */
.nav-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(248,243,240,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(2,75,104,.10);
  transition: box-shadow .3s;
}
.nav-header.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; flex-direction: column; gap: 1px; }
.logo-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--navy); letter-spacing: .02em; }
.logo-tag { display: none; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
  font-size: .85rem; font-weight: 400; color: var(--muted);
  padding: 6px 12px; border-radius: var(--radius);
  transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link.active { color: var(--navy); background: rgba(2,75,104,.06); }
.nav-cta {
  font-size: .85rem; font-weight: 500;
  background: var(--navy); color: var(--white);
  padding: 8px 18px; border-radius: var(--radius);
  margin-left: 8px;
  transition: background .2s;
}
.nav-cta:hover { background: var(--navy2); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--cream);
  display: flex; align-items: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 70% 50%, rgba(2,75,104,.06) 0%, transparent 60%),
                    radial-gradient(circle at 20% 80%, rgba(201,151,58,.05) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1140px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: center;
}
.hero-eyebrow {
  font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.hero-title { color: var(--navy3); margin-bottom: 20px; }
.hero-sub { font-size: 1.05rem; color: var(--muted); max-width: 520px; margin-bottom: 32px; line-height: 1.75; }
.hero-stats {
  display: flex; align-items: center; gap: 24px;
  margin-bottom: 36px; padding: 20px 0; border-top: 1px solid var(--cream2); border-bottom: 1px solid var(--cream2);
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; color: var(--navy); line-height: 1; }
.stat-label { font-size: .73rem; color: var(--muted); letter-spacing: .04em; }
.stat-div { width: 1px; height: 36px; background: var(--cream2); }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-cea { font-size: .75rem; color: var(--light); letter-spacing: .03em; }
.hero-cea strong { color: var(--muted); }
.hero-photo { position: relative; }
.hero-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero-badge {
  position: absolute; bottom: -16px; left: -16px;
  background: var(--gold);
  color: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius);
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(201,151,58,.4);
}
.badge-icon { font-size: 1.2rem; }
.badge-text { font-size: .75rem; font-weight: 500; line-height: 1.3; }
.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--light); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
}
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--light), transparent); }

/* ── TRUST BAR ── */
.trust-bar { background: var(--navy); padding: 20px 0; }
.trust-items {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.8); font-size: .82rem; font-weight: 400; }
.trust-icon { font-size: 1rem; }

/* ── SECTIONS ── */
.section-block { padding: 90px 0; }
.section-block.alt-bg { background: var(--navy3); }
.section-block.alt-bg .section-eyebrow { color: rgba(201,151,58,.9); }
.section-block.alt-bg .section-title { color: var(--white); }
.section-block.alt-bg .section-title em { color: var(--gold2); }
.section-block.alt-bg .section-sub { color: rgba(255,255,255,.6); }
.section-header { text-align: center; margin-bottom: 52px; }
.section-eyebrow { font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.section-title { color: var(--navy); margin-bottom: 14px; }
.section-sub { font-size: 1rem; color: var(--muted); max-width: 560px; margin: 0 auto; }
.section-cta { text-align: center; margin-top: 44px; }

/* ── LAUNCHES GRID ── */
.launches-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.launch-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.launch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.launch-card-img {
  height: 220px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy), #036a90);
}
.launch-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.launch-card:hover .launch-card-img img { transform: scale(1.04); }
.launch-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold); color: var(--white);
  font-size: .72rem; font-weight: 500; letter-spacing: .06em;
  padding: 4px 10px; border-radius: 20px;
}
.launch-card-body { padding: 24px; }
.launch-developer { font-size: .74rem; color: var(--gold); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.launch-name { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); margin-bottom: 8px; }
.launch-meta { font-size: .78rem; color: var(--muted); margin-bottom: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.dot { opacity: .4; }
.launch-desc { font-size: .88rem; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.launch-link {
  font-size: .85rem; font-weight: 500; color: var(--navy);
  border-bottom: 1px solid var(--gold);
  transition: color .2s;
}
.launch-link:hover { color: var(--gold); }

/* ── WHY GRID ── */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: background .25s;
}
.why-card:hover { background: rgba(255,255,255,.10); }
.why-icon { font-size: 1.8rem; margin-bottom: 14px; }
.why-card h3 { font-family: var(--serif); font-size: 1.3rem; color: var(--white); margin-bottom: 10px; }
.why-card p { font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.7; }
.why-card p .inline-link { color: var(--gold2); border-bottom-color: var(--gold2); }

/* ── REVIEWS ── */
.rating-badge {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  margin-top: 12px; flex-wrap: wrap;
}
.rating-stars { color: var(--gold); font-size: 1.1rem; }
.rating-score { font-weight: 500; color: var(--navy); }
.rating-source { font-size: .8rem; color: var(--muted); border-bottom: 1px solid var(--light); }
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--gold);
}
.review-text { font-size: .92rem; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 16px; }
.review-footer { display: flex; align-items: center; gap: 10px; }
.review-stars { color: var(--gold); font-size: .85rem; }
.review-author { font-size: .78rem; color: var(--muted); font-style: normal; }

/* ── CALCULATOR CTA ── */
.calc-cta-section { background: var(--navy); padding: 80px 0; }
.calc-cta-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
}
.calc-cta-text h2 { font-family: var(--serif); font-size: clamp(1.9rem,3.5vw,2.8rem); color: var(--white); margin-bottom: 16px; }
.calc-cta-text h2 em { color: var(--gold2); }
.calc-cta-text p { color: rgba(255,255,255,.7); font-size: .95rem; line-height: 1.7; margin-bottom: 28px; }
.calc-preview {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.calc-preview-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .88rem; color: rgba(255,255,255,.6);
}
.calc-preview-row:last-child { border-bottom: none; }
.calc-preview-row.highlight { color: var(--white); font-weight: 500; }
.calc-preview-row.highlight span:last-child { color: var(--gold2); }

/* ── NEWS GRID ── */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.news-card-img {
  height: 180px; background: linear-gradient(135deg, var(--navy), #036a90);
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-img { background: linear-gradient(135deg, var(--navy) 0%, #036a90 100%); }
.placeholder-img-2 { background: linear-gradient(135deg, #024B68 0%, #c9973a 100%); }
.placeholder-img-3 { background: linear-gradient(135deg, #013a52 0%, #025e7a 100%); }
.news-card-body { padding: 20px; }
.news-tag {
  display: inline-block; font-size: .68rem; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold); background: rgba(201,151,58,.1);
  padding: 3px 10px; border-radius: 20px; margin-bottom: 10px;
}
.news-title { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.news-excerpt { font-size: .83rem; color: var(--muted); line-height: 1.65; margin-bottom: 14px; }
.news-read-more { font-size: .82rem; font-weight: 500; color: var(--navy); border-bottom: 1px solid var(--gold); }
.news-read-more:hover { color: var(--gold); }

/* ── CONTACT ── */
.contact-section { background: var(--navy3); padding: 90px 0; }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.section-eyebrow.light { color: var(--gold); }
.contact-title { font-family: var(--serif); font-size: clamp(1.9rem,3.5vw,2.8rem); color: var(--white); margin: 12px 0 16px; }
.contact-title em { color: var(--gold2); }
.contact-text > p { color: rgba(255,255,255,.65); font-size: .95rem; line-height: 1.7; margin-bottom: 28px; }
.contact-methods { display: flex; flex-direction: column; gap: 12px; }
.contact-method {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius); padding: 14px 18px;
  color: var(--white); transition: background .2s;
}
.contact-method:hover { background: rgba(255,255,255,.10); }
.contact-method.whatsapp { border-color: rgba(37,211,102,.3); }
.contact-method.whatsapp:hover { background: rgba(37,211,102,.1); }
.cm-icon { font-size: 1.2rem; flex-shrink: 0; }
.contact-method div { display: flex; flex-direction: column; gap: 1px; }
.contact-method strong { font-size: .82rem; font-weight: 500; }
.contact-method span { font-size: .78rem; color: rgba(255,255,255,.5); }

/* FORM */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .78rem; font-weight: 500; color: rgba(255,255,255,.7); letter-spacing: .04em; }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  color: var(--white);
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: .88rem;
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.3); }
.form-group select option { background: var(--navy3); color: var(--white); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-note { font-size: .72rem; color: rgba(255,255,255,.35); text-align: center; }

/* ── FOOTER ── */
.site-footer { background: var(--navy3); border-top: 1px solid rgba(255,255,255,.08); padding: 60px 0 32px; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 28px;
}
.footer-name { font-family: var(--serif); font-size: 1.4rem; color: var(--white); margin-bottom: 4px; }
.footer-agency { font-size: .82rem; color: rgba(255,255,255,.5); margin-bottom: 6px; }
.footer-cea { font-size: .72rem; color: rgba(255,255,255,.35); margin-bottom: 10px; }
.footer-links-row { display: flex; gap: 12px; font-size: .78rem; }
.footer-links-row a { color: var(--gold); }
.footer-links-row a:hover { color: var(--gold2); }
.footer-links-row span { color: rgba(255,255,255,.2); }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav h4 { font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 4px; }
.footer-nav a { font-size: .82rem; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-nav a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact h4 { font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 4px; }
.footer-contact a { font-size: .82rem; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-contact a:hover { color: var(--white); }
.footer-disclaimer { font-size: .72rem; color: rgba(255,255,255,.3); line-height: 1.65; margin-bottom: 12px; }
.footer-copy { font-size: .72rem; color: rgba(255,255,255,.25); }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,.55); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--navy);
  padding: 130px 24px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.page-hero-eyebrow { font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero h1 em { color: var(--gold2); }
.page-hero-sub { color: rgba(255,255,255,.65); font-size: 1rem; max-width: 580px; margin: 0 auto; }

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--cream2); padding: 12px 24px;
  border-bottom: 1px solid rgba(2,75,104,.08);
}
.breadcrumb-inner { max-width: 1140px; margin: 0 auto; display: flex; gap: 6px; align-items: center; font-size: .75rem; color: var(--muted); }
.breadcrumb-inner a { color: var(--navy); }
.breadcrumb-inner a:hover { color: var(--gold); }
.breadcrumb-inner span { color: var(--light); }

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 768px) {
  /* Nav */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; flex-direction: column; gap: 4px;
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(2,75,104,.1);
    padding: 16px 24px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 10px 14px; }
  .nav-cta { margin-left: 0; text-align: center; }

  /* Hero */
  .hero { padding: 90px 24px 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { order: -1; max-width: 280px; margin: 0 auto; }
  .hero-badge { bottom: -10px; left: -10px; }
  .hero-stats { gap: 16px; }
  .hero-scroll-hint { display: none; }

  /* Grids */
  .launches-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .calc-cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .trust-items { gap: 16px; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; }
}
