:root {
  --blue: #0a2540;
  --blue-soft: #12395d;
  --gold: #d4af37;
  --ink: #1a1a1a;
  --muted: #667085;
  --line: #dde4ee;
  --paper: #ffffff;
  --mist: #f5f7fa;
  --green: #0f766e;
  --shadow: 0 18px 60px rgba(10, 37, 64, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(221, 228, 238, 0.8);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border: 2px solid var(--gold);
  border-radius: 8px;
  font-weight: 800;
  font-size: 13px;
}

.brand strong,
h1,
h2,
h3 {
  font-family: Poppins, Montserrat, "Segoe UI", Arial, sans-serif;
  line-height: 1.12;
}

.brand strong {
  display: block;
  color: var(--blue);
  font-size: 15px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 26px);
  color: #344054;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--gold);
}

.header-cta,
.btn,
.property-search button,
.lead-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.btn-primary,
.property-search button,
.lead-form button {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(10, 37, 64, 0.22);
}

.header-cta:hover,
.btn:hover,
.property-search button:hover,
.lead-form button:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  padding: 112px clamp(18px, 5vw, 72px) 52px;
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 37, 64, 0.94), rgba(10, 37, 64, 0.76) 44%, rgba(10, 37, 64, 0.2)),
    linear-gradient(0deg, rgba(10, 37, 64, 0.58), transparent 46%);
}

.hero-content {
  position: relative;
  width: min(900px, 100%);
  color: #fff;
}

.eyebrow,
.tag {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0;
}

h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(42px, 7vw, 84px);
}

.hero-copy {
  max-width: 690px;
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 21px);
}

.property-search {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 12px;
  width: min(920px, 100%);
  padding: 12px;
  margin: 0 0 22px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.property-search label,
.lead-form label,
.calc-form label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 760;
}

.property-search span {
  padding-left: 2px;
}

.property-search select,
.lead-form input,
.lead-form select,
.calc-form input,
.calc-form select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-light {
  color: var(--blue);
  background: #fff;
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.trust-bar div {
  padding: 28px clamp(18px, 3vw, 44px);
  background: #fff;
}

.trust-bar strong {
  display: block;
  color: var(--blue);
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1;
}

.trust-bar span {
  color: var(--muted);
  font-weight: 650;
}

.section {
  padding: clamp(64px, 9vw, 116px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 620px) minmax(240px, 1fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: end;
  margin-bottom: 36px;
}

.section-heading h2,
.final-cta h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(30px, 5vw, 54px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 620px) minmax(260px, 1fr);
  gap: clamp(24px, 6vw, 80px);
}

.intro .section-heading {
  display: block;
  margin: 0;
}

.intro-copy {
  color: #475467;
  font-size: 17px;
}

.services,
.areas,
.insights {
  background: var(--mist);
}

.service-grid,
.why-grid,
.area-grid,
.insight-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid article,
.why-grid article,
.insight-grid article,
blockquote {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(10, 37, 64, 0.06);
}

.service-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-weight: 900;
}

h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 22px;
}

.service-grid p,
.why-grid p,
.insight-grid p,
blockquote p,
.result-card p {
  margin: 0;
  color: var(--muted);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.project-card img {
  width: 100%;
  height: 235px;
  object-fit: cover;
}

.project-card > div {
  padding: 22px;
}

.project-card dl {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.project-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  color: var(--blue);
  font-weight: 800;
  text-align: right;
}

.project-card a,
.insight-grid a,
.text-link {
  color: var(--blue);
  font-weight: 850;
}

.icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--blue);
  background: rgba(212, 175, 55, 0.18);
  border-radius: 8px;
  font-weight: 900;
}

.area-grid a {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(10, 37, 64, 0.24), rgba(10, 37, 64, 0.9)),
    url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=900&q=80") center/cover;
  border-radius: 8px;
  overflow: hidden;
}

.area-grid a:nth-child(2) {
  background-image: linear-gradient(180deg, rgba(10, 37, 64, 0.18), rgba(10, 37, 64, 0.88)), url("https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=900&q=80");
}

.area-grid a:nth-child(3) {
  background-image: linear-gradient(180deg, rgba(10, 37, 64, 0.18), rgba(10, 37, 64, 0.88)), url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=900&q=80");
}

.area-grid a:nth-child(4) {
  background-image: linear-gradient(180deg, rgba(10, 37, 64, 0.18), rgba(10, 37, 64, 0.88)), url("https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=900&q=80");
}

.area-grid strong {
  font-size: 28px;
  line-height: 1;
}

.area-grid span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 650;
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 420px);
  gap: 24px;
  align-items: stretch;
}

.calculator-panel,
.result-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}

.tab {
  min-height: 44px;
  color: var(--blue);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 820;
  cursor: pointer;
}

.tab.active {
  color: #fff;
  background: var(--blue);
}

.calc-form {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.calc-form.active {
  display: grid;
}

.result-card {
  display: grid;
  align-content: start;
  gap: 16px;
}

.result-card strong {
  color: var(--blue);
  font-size: clamp(36px, 6vw, 54px);
  line-height: 1;
}

.result-breakdown {
  display: grid;
  gap: 9px;
  margin: 8px 0 4px;
}

.result-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.result-breakdown b {
  color: var(--blue);
}

.testimonial-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

blockquote {
  margin: 0;
}

cite {
  display: block;
  margin-top: 22px;
  color: var(--blue);
  font-style: normal;
  font-weight: 850;
}

.insight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(44px, 7vw, 86px) clamp(18px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 37, 64, 0.95), rgba(10, 37, 64, 0.78)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1400&q=80") center/cover;
}

.final-cta h2 {
  max-width: 780px;
  color: #fff;
}

.contact {
  background: var(--blue);
}

.contact .section-heading h2 {
  color: #fff;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  background: #fff;
  border-radius: 8px;
}

.lead-form button {
  grid-column: span 3;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 5vw, 72px) 96px;
  color: rgba(255, 255, 255, 0.78);
  background: #071827;
}

.site-footer strong {
  color: #fff;
  font-size: 20px;
}

.site-footer p {
  max-width: 460px;
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-end;
  gap: 14px 22px;
  font-weight: 750;
}

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  gap: 10px;
}

.floating-cta a {
  min-width: 104px;
  padding: 12px 16px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-weight: 850;
  text-align: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.floating-cta a:last-child {
  background: var(--blue);
}

@media (max-width: 1020px) {
  .nav-links {
    display: none;
  }

  .property-search,
  .trust-bar,
  .section-heading,
  .intro,
  .project-grid,
  .service-grid,
  .why-grid,
  .area-grid,
  .calculator-layout,
  .lead-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading {
    align-items: start;
  }
}

@media (max-width: 700px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    min-width: 86px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    min-height: 92vh;
    padding: 96px 16px 28px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(10, 37, 64, 0.82), rgba(10, 37, 64, 0.92));
  }

  h1 {
    font-size: 42px;
  }

  .property-search,
  .trust-bar,
  .section-heading,
  .intro,
  .project-grid,
  .service-grid,
  .why-grid,
  .area-grid,
  .calculator-layout,
  .calc-form,
  .testimonial-grid,
  .insight-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 16px;
  }

  .project-card img {
    height: 205px;
  }

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

  .final-cta,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .lead-form button {
    grid-column: auto;
  }

  .floating-cta {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .floating-cta a {
    flex: 1;
    min-width: 0;
  }
}
