/* ===== Rencon Ltd — rencon.ltd ===== */
:root {
  --ink: #232733;
  --ink-soft: #5a6072;
  --blue: #4f7df9;
  --violet: #8b5cf6;
  --cyan: #45d6e8;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --line: #e7eaf2;
  --grad: linear-gradient(120deg, #4f7df9 0%, #8b5cf6 50%, #45d6e8 100%);
  --radius: 16px;
  --shadow: 0 10px 30px rgba(35, 39, 51, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3, h4 { font-family: 'Poppins', 'Inter', sans-serif; line-height: 1.2; }

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

a { color: inherit; text-decoration: none; }

.container { width: min(1140px, 92%); margin: 0 auto; }

/* ===== Header ===== */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 42px; width: auto; }
.brand span { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.15rem; letter-spacing: 0.5px; }
.brand span small { display: block; font-size: 0.62rem; font-weight: 500; color: var(--ink-soft); letter-spacing: 2px; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }

.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; cursor: pointer; border: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(79, 125, 249, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(79, 125, 249, 0.45); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 500px at 80% -10%, rgba(139, 92, 246, 0.12), transparent),
              radial-gradient(900px 420px at 10% 110%, rgba(69, 214, 232, 0.12), transparent),
              var(--bg-soft);
  padding: 90px 0;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: center; }
.eyebrow {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  background: rgba(79, 125, 249, 0.1); color: var(--blue);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 700; margin-bottom: 18px; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 1.1rem; color: var(--ink-soft); max-width: 540px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: min(380px, 80%); filter: drop-shadow(0 24px 40px rgba(79, 125, 249, 0.25)); }

/* ===== Stats ===== */
.stats { background: var(--ink); color: #fff; padding: 36px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b { font-size: 1.9rem; font-family: 'Poppins', sans-serif; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; font-size: 0.85rem; color: #b9bfce; margin-top: 4px; }

/* ===== Sections ===== */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); }

.alt { background: var(--bg-soft); }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(35, 39, 51, 0.12); }
.card .icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-size: 1.5rem; margin-bottom: 18px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ===== Listings ===== */
.listing {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.listing:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(35, 39, 51, 0.12); }
.listing-img { height: 190px; display: grid; place-items: center; font-size: 3rem; color: #fff; position: relative; }
.li-1 { background: linear-gradient(135deg, #4f7df9, #8b5cf6); }
.li-2 { background: linear-gradient(135deg, #8b5cf6, #45d6e8); }
.li-3 { background: linear-gradient(135deg, #45d6e8, #4f7df9); }
.badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255, 255, 255, 0.92); color: var(--ink);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.badge.leased { color: var(--ink-soft); }
.listing-body { padding: 22px 24px; }
.listing-body .price { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--blue); }
.listing-body .price small { color: var(--ink-soft); font-weight: 500; font-size: 0.8rem; }
.listing-body h3 { font-size: 1.05rem; margin: 6px 0 4px; }
.listing-body .loc { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 14px; }
.listing-meta { display: flex; gap: 16px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 0.85rem; color: var(--ink-soft); }

/* ===== CTA banner ===== */
.cta-banner { background: var(--grad); border-radius: var(--radius); padding: 56px 40px; text-align: center; color: #fff; }
.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 12px; }
.cta-banner p { opacity: 0.92; margin-bottom: 26px; }
.cta-banner .btn { background: #fff; color: var(--ink); }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-grid img { width: min(360px, 85%); margin: 0 auto; }
.checklist { list-style: none; margin-top: 20px; }
.checklist li { padding-left: 32px; position: relative; margin-bottom: 12px; color: var(--ink-soft); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%; background: var(--grad);
  color: #fff; font-size: 0.75rem; display: grid; place-items: center;
}

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info .card { margin-bottom: 18px; display: flex; gap: 16px; align-items: center; padding: 22px 24px; }
.contact-info .icon { margin: 0; flex-shrink: 0; width: 46px; height: 46px; font-size: 1.2rem; }
.contact-info b { display: block; font-size: 0.95rem; }
.contact-info span { color: var(--ink-soft); font-size: 0.9rem; }

form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
form input, form select, form textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff; transition: border-color 0.2s;
}
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--blue); }
form textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 12px; }

/* ===== Footer ===== */
footer { background: var(--ink); color: #b9bfce; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
footer .brand span { color: #fff; }
footer .brand span small { color: #8e95a8; }
footer p { font-size: 0.9rem; max-width: 320px; margin-top: 14px; }
footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; letter-spacing: 0.5px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul a { font-size: 0.9rem; transition: color 0.2s; }
footer ul a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid #363c4d; padding-top: 24px; text-align: center; font-size: 0.82rem; color: #8e95a8; }

/* ===== Page hero (inner pages) ===== */
.page-hero { background: var(--bg-soft); padding: 64px 0; text-align: center; }
.page-hero h1 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); margin-bottom: 10px; }
.page-hero p { color: var(--ink-soft); max-width: 560px; margin: 0 auto; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; padding: 12px 0; }
  .nav-toggle { display: block; }
  .nav .btn { display: none; }
  .grid-3, .grid-2, .form-row, .footer-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
