:root {
  --navy-950: #031126;
  --navy-900: #061d3f;
  --navy-800: #0a2f6f;
  --gold-600: #b88a55;
  --gold-400: #d8b47a;
  --ivory: #f8f4ec;
  --stone: #e9e1d4;
  --ink: #172033;
  --muted: #667085;
  --green: #55715e;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(3, 17, 38, 0.22);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(3, 17, 38, 0.9), rgba(3, 17, 38, 0));
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(3, 17, 38, 0.96);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand span {
  display: grid;
  line-height: 1.1;
}

.brand strong {
  font-size: 0.96rem;
  text-transform: uppercase;
}

.brand small {
  color: var(--gold-400);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover {
  color: var(--gold-400);
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  place-items: center;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background:
    image-set(
      url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=2200&q=85") 1x
    )
    center / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 17, 38, 0.92) 0%, rgba(3, 17, 38, 0.74) 44%, rgba(3, 17, 38, 0.18) 100%),
    linear-gradient(180deg, rgba(3, 17, 38, 0.16), rgba(3, 17, 38, 0.86));
}

.hero-content {
  width: min(calc(100% - 40px), 1120px);
  margin: 0 auto;
  padding: 150px 0 110px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold-400);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.8rem, 8vw, 7.5rem);
  line-height: 0.96;
  font-weight: 500;
}

.hero-copy {
  max-width: 640px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.1rem, 2vw, 1.36rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.button-primary {
  color: var(--navy-950);
  background: var(--gold-400);
  border-color: var(--gold-400);
}

.button-primary:hover {
  background: #e4c58e;
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.38);
}

.button-secondary:hover {
  border-color: var(--gold-400);
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  bottom: 38px;
  display: grid;
  grid-template-columns: repeat(2, minmax(170px, 240px));
  gap: 1px;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  padding: 22px;
  background: rgba(3, 17, 38, 0.72);
}

.hero-panel span {
  color: var(--gold-400);
  font-size: 0.76rem;
  font-weight: 900;
}

.hero-panel strong {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
}

.hero-panel p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.band,
.band-light {
  padding: clamp(76px, 9vw, 124px) 0;
}

.band {
  background: var(--ivory);
}

.band-light {
  background: #fffaf3;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) 1fr;
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
}

h2 {
  margin: 0;
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
  font-weight: 500;
}

h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 1.16rem;
  line-height: 1.2;
}

.intro-grid > p {
  margin: 34px 0 0;
  color: #414b5f;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.metrics {
  background: var(--navy-900);
  color: var(--white);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.metrics-grid div {
  min-height: 174px;
  padding: 34px 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.metrics-grid div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.metrics-grid strong {
  display: block;
  color: var(--gold-400);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
}

.metrics-grid span {
  display: block;
  max-width: 290px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1.1fr;
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.trust-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.trust-cards article {
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(6, 29, 63, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(3, 17, 38, 0.08);
}

.trust-cards span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  margin-bottom: 24px;
  border-radius: 999px;
  color: var(--navy-950);
  background: rgba(216, 180, 122, 0.34);
  font-size: 0.78rem;
  font-weight: 900;
}

.trust-cards p {
  margin: 14px 0 0;
  color: var(--muted);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1fr;
  gap: clamp(28px, 6vw, 74px);
  align-items: end;
  margin-bottom: 44px;
}

.section-heading.compact {
  display: block;
  max-width: 780px;
}

.section-heading > p:last-child,
.section-heading.compact + p {
  margin: 0;
  color: var(--muted);
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.property-card {
  overflow: hidden;
  border: 1px solid rgba(6, 29, 63, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(3, 17, 38, 0.08);
}

.property-card img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
}

.property-card div {
  padding: 24px;
}

.property-card p {
  margin: 0 0 8px;
  color: var(--gold-600);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.property-card span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 42px;
  background: rgba(6, 29, 63, 0.14);
}

.service-grid article {
  min-height: 278px;
  padding: 28px;
  background: var(--ivory);
}

.service-grid span,
.process-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border: 1px solid rgba(184, 138, 85, 0.42);
  border-radius: 50%;
  color: var(--gold-600);
  font-size: 0.82rem;
  font-weight: 900;
}

.service-grid p,
.process-steps p {
  margin: 14px 0 0;
  color: var(--muted);
}

.locations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  color: var(--white);
}

.location-panel {
  min-height: 620px;
  display: grid;
  align-items: end;
  padding: clamp(32px, 6vw, 76px);
  background-position: center;
  background-size: cover;
  position: relative;
  isolation: isolate;
}

.location-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(3, 17, 38, 0.2), rgba(3, 17, 38, 0.86));
}

.location-panel.lagos {
  background-image: url("https://images.unsplash.com/photo-1577948000111-9c970dfe3743?auto=format&fit=crop&w=1500&q=80");
}

.location-panel.ibadan {
  background-image: url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1500&q=80");
}

.location-panel div {
  max-width: 540px;
}

.location-panel h2 {
  color: var(--white);
}

.location-panel p:last-child {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.process-steps div {
  padding: 28px;
  border: 1px solid rgba(6, 29, 63, 0.1);
  border-radius: 8px;
  background: var(--white);
}

.contact {
  padding: clamp(76px, 9vw, 124px) 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 17, 38, 0.94), rgba(3, 17, 38, 0.82)),
    url("https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=2200&q=82") center / cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1fr;
  gap: clamp(36px, 7vw, 86px);
  align-items: start;
}

.contact h2 {
  color: var(--white);
}

.contact-copy > p:not(.section-kicker) {
  max-width: 570px;
  color: rgba(255, 255, 255, 0.74);
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-details a {
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: var(--gold-400);
  font-weight: 800;
}

.enquiry-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.enquiry-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.enquiry-form .full {
  grid-column: 1 / -1;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: var(--white);
  background: rgba(3, 17, 38, 0.5);
  padding: 13px 14px;
  outline: none;
}

.enquiry-form textarea {
  resize: vertical;
}

.enquiry-form option {
  color: var(--ink);
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: var(--gold-400);
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
}

.site-footer {
  padding: 42px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
}

.site-footer img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.site-footer p {
  margin: 10px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-grid > p {
  justify-self: end;
  max-width: 320px;
  text-align: right;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(3, 17, 38, 0.98);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero-panel {
    position: static;
    grid-template-columns: 1fr 1fr;
    width: min(calc(100% - 40px), 1120px);
    margin: -80px auto 28px;
  }

  .intro-grid,
  .trust-grid,
  .section-heading,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .property-grid,
  .trust-cards,
  .metrics-grid,
  .service-grid,
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .locations {
    grid-template-columns: 1fr;
  }

  .location-panel {
    min-height: 480px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > p {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header {
    padding: 12px 14px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand strong {
    font-size: 0.82rem;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-content {
    width: min(calc(100% - 28px), 1120px);
    padding: 118px 0 104px;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 15vw, 4.8rem);
  }

  .hero-actions,
  .contact-details {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-panel,
  .property-grid,
  .metrics-grid,
  .service-grid,
  .process-steps,
  .enquiry-form {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    width: min(calc(100% - 28px), 1120px);
  }

  .metrics-grid div,
  .metrics-grid div:last-child {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .property-card img {
    aspect-ratio: 1.35;
  }

  .location-panel {
    min-height: 420px;
    padding: 28px 20px;
  }
}
