/* ============================================================
   Callender Realty Nigeria Ltd — Corporate Website Stylesheet
   Premium construction / civil engineering / real estate theme
   ============================================================ */

:root {
  --navy: #0e1b2c;
  --navy-2: #14263b;
  --navy-3: #1c3450;
  --gold: #c8a24a;
  --gold-2: #e0bf6a;
  --yellow: #f5b301;
  --green: #1f7a4d;
  --grey: #6b7686;
  --grey-light: #eef1f5;
  --grey-mid: #d7dce3;
  --white: #ffffff;
  --ink: #1a2230;
  --shadow: 0 10px 30px rgba(14, 27, 44, 0.12);
  --shadow-lg: 0 20px 50px rgba(14, 27, 44, 0.18);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1200px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.2; color: var(--navy); font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { color: #424b59; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
section { padding: 80px 0; }
.eyebrow {
  display: inline-block; font-family: var(--head); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; font-size: .78rem;
  color: var(--gold); margin-bottom: 14px;
}
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.12rem; color: #4a5568; }
.muted { color: var(--grey); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--head); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 10px; border: 2px solid transparent;
  cursor: pointer; transition: all .2s ease; white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ---------- Header / Nav ---------- */
.topbar {
  background: var(--navy); color: #cdd6e2; font-size: .85rem;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #cdd6e2; }
.topbar .tb-right { display: flex; gap: 18px; align-items: center; }
.topbar .tb-tag { color: var(--gold-2); font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  box-shadow: 0 2px 14px rgba(14,27,44,.07);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo-mark {
  width: 44px; height: 44px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  display: grid; place-items: center; color: var(--gold); font-family: var(--head);
  font-weight: 800; font-size: 1.25rem; box-shadow: inset 0 0 0 2px var(--gold);
}
.brand .brand-text strong { font-family: var(--head); color: var(--navy); font-size: 1.05rem; display: block; line-height: 1.1; }
.brand .brand-text span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  font-family: var(--head); font-weight: 600; font-size: .94rem; color: var(--navy);
  padding: 10px 14px; border-radius: 8px; transition: all .15s;
}
.nav-links a:hover { background: var(--grey-light); color: var(--navy-3); }
.nav-links a.active { color: var(--gold); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 3px; margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; padding: 0; overflow: hidden;
  background: linear-gradient(115deg, var(--navy) 0%, var(--navy-2) 45%, var(--navy-3) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .25;
  background-image: var(--hero-img, none);
  background-size: cover; background-position: center; mix-blend-mode: luminosity;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,27,44,.92) 0%, rgba(14,27,44,.55) 60%, rgba(14,27,44,.25) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 110px 0 100px; max-width: 760px; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--gold-2); }
.hero p.sub { font-size: 1.2rem; color: #d7deea; margin: 22px 0 32px; max-width: 600px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 38px; display: flex; gap: 28px; flex-wrap: wrap; color: #b9c4d4; font-size: .92rem; }
.hero-trust .ht { display: flex; align-items: center; gap: 9px; }
.hero-trust .ht b { color: #fff; font-family: var(--head); font-size: 1.5rem; display: block; }

/* page banner (interior pages) */
.page-hero {
  position: relative; color: #fff; padding: 70px 0 56px;
  background: linear-gradient(115deg, var(--navy) 0%, var(--navy-3) 100%);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .2;
  background-image: var(--hero-img, none); background-size: cover; background-position: center;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #cbd5e3; max-width: 640px; margin-top: 12px; font-size: 1.08rem; }
.crumbs { font-size: .85rem; color: var(--gold-2); margin-bottom: 14px; font-family: var(--head); }
.crumbs a { color: #b9c4d4; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--grey-light); padding: 26px 0; }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.trust-strip .ts-item { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 600; color: var(--navy); font-size: .95rem; }
.trust-strip .ico { color: var(--green); }

/* ---------- Grid / cards ---------- */
.grid { display: grid; gap: 24px; }
.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(--grey-mid); border-radius: var(--radius);
  padding: 28px; transition: all .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.card .ico-box {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); margin-bottom: 16px; font-size: 1.4rem;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: .96rem; }
.card .more { display: inline-block; margin-top: 14px; color: var(--navy); font-weight: 600; font-family: var(--head); font-size: .9rem; }
.card .more:hover { color: var(--gold); }

/* flyer image: match container shape to the flyer so nothing is cropped */
.imgph.flyer { aspect-ratio: 1586 / 992; min-height: 0; background-color: #eef1f5; }

/* image placeholder block */
.imgph {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, var(--navy-2), var(--navy-3));
  min-height: 220px; display: grid; place-items: center; color: #9fb0c6;
  background-size: cover; background-position: center;
}
.imgph .ph-label {
  position: absolute; bottom: 12px; left: 12px; right: 12px;
  font-size: .78rem; color: #cdd6e2; background: rgba(14,27,44,.55);
  padding: 6px 10px; border-radius: 6px; font-family: var(--head);
}
.imgph .ph-ico { font-size: 2.4rem; opacity: .5; }

/* ---------- Project cards ---------- */
.proj-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; transition: .22s; }
.proj-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.proj-thumb {
  height: 210px; position: relative; background-size: cover; background-position: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  display: grid; place-items: center;
}
.proj-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,27,44,.08) 0%, rgba(14,27,44,.5) 100%);
}
.proj-thumb .cat-tag {
  position: absolute; z-index: 2; top: 14px; left: 14px; background: var(--gold); color: var(--navy);
  font-family: var(--head); font-weight: 700; font-size: .72rem; padding: 5px 11px; border-radius: 30px;
  letter-spacing: .04em;
}
.proj-thumb .ph-ico { font-size: 2.6rem; color: rgba(255,255,255,.4); }
.proj-body { padding: 20px 22px 24px; }
.proj-body h3 { font-size: 1.1rem; }
.proj-meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--grey); font-size: .85rem; margin-top: 10px; font-family: var(--head); }

/* ---------- Why choose / feature list ---------- */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .fico {
  flex: none; width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(31,122,77,.12); color: var(--green); font-size: 1.2rem;
}
.feature h3 { font-size: 1.08rem; margin-bottom: 4px; }
.feature p { font-size: .94rem; }

/* split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split .imgph { min-height: 380px; }

/* stats band */
.stats-band { background: var(--navy); color: #fff; }
.stats-band .grid-4 { gap: 20px; }
.stat { text-align: center; padding: 14px; }
.stat .num { font-family: var(--head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--gold-2); }
.stat .lbl { color: #b9c4d4; font-size: .95rem; margin-top: 4px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(115deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff;
  border-radius: 18px; padding: 56px; text-align: center; position: relative; overflow: hidden;
}
.cta-band::after {
  content:""; position:absolute; right:-60px; top:-60px; width:240px; height:240px; border-radius:50%;
  background: radial-gradient(circle, rgba(200,162,74,.4), transparent 70%);
}
.cta-band h2 { color: #fff; position: relative; z-index: 2; }
.cta-band p { color: #d2dae6; max-width: 560px; margin: 14px auto 28px; position: relative; z-index: 2; }
.cta-band .hero-cta { justify-content: center; position: relative; z-index: 2; }

/* ---------- Service detail blocks ---------- */
.svc-block { padding: 64px 0; border-bottom: 1px solid var(--grey-mid); }
.svc-block:nth-child(even) { background: var(--grey-light); }
.svc-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.svc-block:nth-child(even) .svc-grid { grid-template-columns: 1fr 1.1fr; }
.svc-block:nth-child(even) .svc-text { order: 2; }
.svc-detail-list { list-style: none; margin: 18px 0; }
.svc-detail-list li { padding: 7px 0 7px 30px; position: relative; font-size: .96rem; color: #424b59; }
.svc-detail-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.chip { background: #fff; border: 1px solid var(--grey-mid); border-radius: 30px; padding: 6px 14px; font-size: .82rem; font-family: var(--head); font-weight: 600; color: var(--navy); }
.svc-block:nth-child(even) .chip { background: var(--white); }
.minihead { font-family: var(--head); font-weight: 700; color: var(--navy); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin: 18px 0 6px; }

/* ---------- Forms ---------- */
.form-wrap { background: #fff; border: 1px solid var(--grey-mid); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--head); font-weight: 600; font-size: .88rem; color: var(--navy); }
.field label .req { color: #c0392b; }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: .96rem; padding: 12px 14px; border: 1.5px solid var(--grey-mid);
  border-radius: 9px; background: #fbfcfe; transition: .15s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(200,162,74,.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: .78rem; color: var(--grey); }
.form-note { font-size: .82rem; color: var(--grey); margin-top: 14px; }
.form-success {
  display: none; background: rgba(31,122,77,.1); border: 1.5px solid var(--green); color: #155d3a;
  padding: 16px 18px; border-radius: 10px; font-family: var(--head); font-weight: 600; margin-bottom: 20px;
}
.form-success.show { display: block; }
.err-msg { color: #c0392b; font-size: .78rem; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0392b; }
.field.invalid .err-msg { display: block; }

/* info cards (contact) */
.info-card { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--grey-mid); border-radius: var(--radius); background: #fff; }
.info-card .ic-ico { flex: none; width: 44px; height: 44px; border-radius: 11px; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-size: 1.2rem; }
.info-card h4 { font-family: var(--head); color: var(--navy); margin-bottom: 3px; }
.info-card p, .info-card a { font-size: .92rem; color: #424b59; }
.map-ph { border-radius: var(--radius); overflow: hidden; min-height: 320px; border: 1px solid var(--grey-mid); background: repeating-linear-gradient(45deg, #e7ecf2, #e7ecf2 18px, #eef2f7 18px, #eef2f7 36px); display: grid; place-items: center; color: var(--grey); text-align: center; font-family: var(--head); }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--grey-mid); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; background: #fff; }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 20px 22px; font-family: var(--head); font-weight: 600; font-size: 1.02rem; color: var(--navy); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-q .plus { color: var(--gold); font-size: 1.4rem; transition: .25s; flex: none; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a .inner { padding: 0 22px 20px; color: #4a5568; font-size: .96rem; }
.faq-item.open .faq-a { max-height: 320px; }

/* values list */
.value-card { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--grey-mid); border-top: 4px solid var(--gold); }
.value-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.value-card p { font-size: .94rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #aeb9c8; padding: 64px 0 26px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #aeb9c8; }
.site-footer a:hover { color: var(--gold-2); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-brand .logo-mark { width: 46px; height: 46px; margin-bottom: 14px; }
.footer-brand p { color: #9aa7b8; margin-top: 6px; }
.foot-contact li { display: flex; gap: 10px; margin-bottom: 10px; align-items: flex-start; }
.foot-contact .ico { color: var(--gold); flex: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: #8593a5; }

/* whatsapp float */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  font-size: 1.7rem; transition: .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-24 { margin-bottom: 24px; }
.bg-light { background: var(--grey-light); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .svc-grid, .svc-block:nth-child(even) .svc-grid { grid-template-columns: 1fr; gap: 30px; }
  .svc-block:nth-child(even) .svc-text { order: 0; }
}
@media (max-width: 820px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 14px 22px 22px; box-shadow: var(--shadow-lg); align-items: stretch; gap: 2px;
  }
  .nav-links.open a { padding: 13px 12px; border-radius: 8px; }
  .site-header .nav { position: relative; }
  section { padding: 56px 0; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 38px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 70px 0 64px; }
  .topbar .tb-left { display: none; }
}
