/* ============================================
   Kingsmead Developments – Exact Replica CSS
   ============================================ */

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

html { height: 100%; font-size: 16px; }

body {
  position: relative;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-family: mr-eaves-xl-modern, sans-serif;
  font-weight: 300;
  color: #4e4e4f;
  line-height: 1.5;
  background: #fff;
}

@media (max-width: 767px) { body { margin-top: 50px; } }

a {
  text-decoration: none;
  color: inherit;
  outline: none !important;
  transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, color .15s ease-in-out;
}

ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; display: block; }
p { margin-bottom: 1rem; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.slim { max-width: 640px; margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  text-transform: uppercase;
  padding: .5rem 2rem;
  font-size: 1rem;
  font-weight: 400;
  font-family: mr-eaves-xl-modern, sans-serif;
  border: 1px solid transparent;
  border-radius: .25rem;
  cursor: pointer;
  transition: all .15s ease-in-out;
  text-align: center;
  vertical-align: middle;
  line-height: 1.5;
}
.btn:hover { text-decoration: none; }
.btn-sm { padding: .25rem 1rem !important; font-size: .875rem; }

.btn-outline-primary { color: #ceb852; border-color: #ceb852; background: transparent; }
.btn-outline-primary:hover { color: #fff; background: #ceb852; border-color: #ceb852; }

.btn-outline-secondary { color: #fff; border-color: #fff; background: transparent; }
.btn-outline-secondary:hover { color: #5a5b5c; background: #fff; border-color: #fff; }

.btn-primary { color: #fff; background: #ceb852; border-color: #ceb852; }
.btn-primary:hover { color: #fff; background: #b9a134; border-color: #b9a134; }

/* ---------- HEADER – Desktop ---------- */
.header-wrap { position: relative; z-index: 100; }

.desktop-header { display: none; }
@media (min-width: 768px) { .desktop-header { display: block; } }

.desktop-header .header-row {
  display: flex; flex-wrap: wrap; align-items: flex-start;
  margin: 0 -10px;
}
.desktop-header .header-left {
  padding: 36px 10px 18px;
  flex: 0 0 33.333%; max-width: 33.333%;
}
@media (min-width: 992px) {
  .desktop-header .header-left { flex: 0 0 41.667%; max-width: 41.667%; }
}
.desktop-header .header-right {
  padding: 0 10px;
  flex: 0 0 66.667%; max-width: 66.667%;
}
@media (min-width: 992px) {
  .desktop-header .header-right { flex: 0 0 58.333%; max-width: 58.333%; }
}

.brand svg { width: 318px; max-width: 100%; }

.header-top-row {
  text-align: right; margin: 20px 0; display: flex;
  align-items: center; justify-content: flex-end; gap: 6px;
}

.socials { display: inline-flex; gap: 0; margin: 0; }
.socials li {
  border-radius: 50%; background: #ceb852;
  width: 35px; height: 35px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .2s ease-in-out;
}
.socials li:hover { background: rgba(206,184,82,.6); }
.socials li a {
  color: #fff; display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; border-radius: 50%;
}
.socials li a svg { width: 16px; height: 16px; fill: #fff; }

.desktop-nav { display: flex; justify-content: flex-end; }
.desktop-nav li a {
  text-transform: uppercase; font-weight: 500; color: #2c2d2e;
  padding: 0 .5625rem; transition: all .2s ease-in-out;
  font-size: .875rem;
}
@media (min-width: 992px) { .desktop-nav li a { font-size: 1rem; } }
.desktop-nav li a:hover,
.desktop-nav li.active a { color: #ceb852; }
.desktop-nav li:last-child a { padding-right: 0; }

/* ---------- HEADER – Mobile ---------- */
.mobile-top-bar {
  display: flex; position: fixed; top: 0; left: 0; right: 0;
  background: #ceb852; height: 50px; z-index: 1051;
}
@media (min-width: 768px) { .mobile-top-bar { display: none; } }

.mobile-top-bar .btn-mobile {
  border: 0; border-radius: 0; width: 50%; height: 50px;
  color: #fff; font-weight: 400; box-shadow: none;
  display: flex; align-items: center; justify-content: center;
  background: #ceb852; font-family: mr-eaves-xl-modern, sans-serif;
  font-size: 1rem; cursor: pointer; text-transform: uppercase;
}
.mobile-top-bar .side-nav-toggle { border-left: 1px solid rgba(255,255,255,.5); }

.hamburger {
  width: 30px; height: 2px; display: inline-block;
  position: relative; top: -3px; margin-left: 6px;
  background: #fff; transition: background .5s;
}
.hamburger::before, .hamburger::after {
  content: ""; width: 30px; height: 2px; display: block;
  position: absolute; background: #fff; transition: transform .5s ease;
}
.hamburger::before { transform: translateY(5px); }
.hamburger::after  { transform: translateY(-5px); }

body.side-nav-active .hamburger { background: transparent !important; }
body.side-nav-active .hamburger::before { transform: translateY(0) rotate(45deg); }
body.side-nav-active .hamburger::after  { transform: translateY(0) rotate(-45deg); }

.mobile-brand { padding: 24px; text-align: center; }
@media (min-width: 768px) { .mobile-brand { display: none; } }
.mobile-brand svg { width: 318px; height: 56px; max-width: 100%; margin: 0 auto; }

/* Side Nav */
.side-nav {
  position: fixed; top: 50px; bottom: 0; background: #ceb852;
  z-index: 1051; overflow-x: hidden; overflow-y: auto;
  transition: right .5s ease; width: 290px; right: -290px;
}
@media (min-width: 576px) { .side-nav { width: 355px; right: -355px; } }
@media (min-width: 768px) { .side-nav { display: none; } }
body.side-nav-active .side-nav { right: 0; }

.side-nav .menu-item a {
  display: block; color: #fff; font-weight: 400;
  text-align: right; text-transform: uppercase;
  font-size: 1.25rem; padding: 10px 25px;
}
@media (min-width: 576px) { .side-nav .menu-item a { padding: 10px 40px; } }
.side-nav .menu-item a:hover { color: rgba(255,255,255,.6); }
.side-nav .menu-item.active a { color: rgba(255,255,255,.6); }

.side-nav-backdrop {
  position: fixed; inset: 0; background: #000; z-index: 1050;
  opacity: 0; visibility: hidden; transition: visibility .3s, opacity .3s;
}
@media (min-width: 768px) { .side-nav-backdrop { display: none; } }
body.side-nav-active .side-nav-backdrop { visibility: visible; opacity: .9; }

/* ---------- BIG BANNER (Home hero) ---------- */
.big-banner {
  position: relative; height: calc(100vh - 232px); min-height: 400px;
}
@media (max-width: 767px) { .big-banner { height: calc(100vh - 130px); } }

.big-banner .img-cover {
  position: absolute; inset: 0; overflow: hidden; margin: 0;
}
.big-banner .img-cover img {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  min-width: 100%; min-height: 100%;
  width: auto; height: auto; object-fit: cover; max-width: none;
}

.big-banner .inner-wrapper {
  position: absolute; inset: 0 0 60px 0;
  display: flex; align-items: flex-end;
}
.big-banner .banner-row {
  display: flex; flex-wrap: wrap; width: 100%;
  margin: 0 -10px;
}
.big-banner .banner-left,
.big-banner .banner-right {
  position: relative; width: 100%; padding: 0 10px;
}
@media (min-width: 768px) {
  .big-banner .banner-left  { flex: 0 0 66.667%; max-width: 66.667%; }
  .big-banner .banner-right { flex: 0 0 33.333%; max-width: 33.333%; display: flex; justify-content: flex-end; }
  .big-banner .banner-right .btn { align-self: flex-end; }
}

.big-banner .item-title {
  color: #fff; font-weight: 300;
  font-family: mr-eaves-xl-modern, sans-serif;
  line-height: 1; font-size: 2rem; margin-bottom: 12px;
}
@media (min-width: 768px) { .big-banner .item-title { font-size: 3rem; margin-bottom: 24px; } }
@media (min-width: 992px) { .big-banner .item-title { font-size: 4rem; } }

.big-banner .item-sub-title {
  font-weight: 400; color: #ceb852; text-transform: uppercase;
  font-size: 1rem; margin-bottom: 12px;
}
@media (min-width: 768px) { .big-banner .item-sub-title { font-size: 1.125rem; margin-bottom: 0; } }

/* ---------- SUB-PAGE BANNER ---------- */
.page-banner {
  color: #fff; text-align: center; position: relative;
  height: 250px; overflow: hidden;
}
@media (min-width: 768px) { .page-banner { height: 350px; } }

.page-banner .img-cover {
  position: absolute; inset: 0; overflow: hidden; margin: 0;
}
.page-banner .img-cover img {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  min-width: 100%; min-height: 100%;
  width: auto; height: auto; object-fit: cover; max-width: none;
}

.page-banner .container {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; justify-content: center;
  height: 100%;
}

.page-banner .item-title {
  font-weight: 300; font-family: mr-eaves-xl-modern, sans-serif;
  line-height: 1; font-size: 2rem; margin-bottom: 10px;
}
@media (min-width: 768px) { .page-banner .item-title { font-size: 3rem; margin-bottom: 20px; } }
@media (min-width: 992px) { .page-banner .item-title { font-size: 4rem; } }

.page-banner .item-sub-title {
  font-weight: 400; color: #ceb852; text-transform: uppercase; font-size: 1rem;
}
@media (min-width: 768px) { .page-banner .item-sub-title { font-size: 1.125rem; } }

/* ---------- INTRO SECTION ---------- */
.intro-section { padding: 36px 0; }
@media (min-width: 768px) { .intro-section { padding: 48px 0 72px; } }

.intro-section .title {
  color: #ceb852; text-align: center; font-weight: 300; line-height: 1;
  font-family: mr-eaves-xl-modern, sans-serif;
  font-size: 1.75rem; margin-bottom: 20px;
}
@media (min-width: 768px) { .intro-section .title { font-size: 2.5rem; margin-bottom: 30px; } }

.intro-section .summary { text-align: center; }

/* Home Feature Cards (3-column image links) */
.row.services {
  display: flex; flex-wrap: wrap; margin: 48px -10px 0; justify-content: center;
}
.row.services .service {
  width: 100%; padding: 0 10px; margin-bottom: 24px;
}
@media (min-width: 768px) {
  .row.services .service { flex: 0 0 33.333%; max-width: 33.333%; }
}
.row.services .service a {
  display: block; color: #4e4e4f; transition: color .2s ease-in-out;
}
.row.services .service a:hover { color: #ceb852; }
.row.services .service .img-container {
  overflow: hidden; position: relative; height: 200px; margin-bottom: 16px;
}
@media (min-width: 992px) { .row.services .service .img-container { height: 240px; } }
.row.services .service .img-container figure {
  position: absolute; inset: 0; margin: 0;
}
.row.services .service .img-container img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease-in-out;
}
.row.services .service a:hover .img-container img { transform: scale(1.05); }
.row.services .service .item-title {
  font-family: mr-eaves-xl-modern, sans-serif; font-weight: 300;
  font-size: 1.25rem; margin: 0;
}
@media (min-width: 992px) { .row.services .service .item-title { font-size: 1.5rem; } }
.row.services .service .item-title .arrow { color: #ceb852; }
.row.services .service a.gold-link .item-title { color: #ceb852; }

/* Intro no-bottom-padding modifier */
.intro-section.no-bottom-padding { padding-bottom: 0; }

/* About page item-image (Stuart Hall photo) */
.item-image {
  margin-bottom: -7px; padding-top: 24px; text-align: center;
}
.item-image img {
  display: inline-block;
}

/* ---------- WHAT WE DO / ABOUT OFFERINGS ---------- */
.what-we-do { background: #282828; padding: 30px 0; }
@media (min-width: 768px) { .what-we-do { padding: 48px 0; } }

.what-we-do .section-title {
  text-align: center; color: #ceb852; font-weight: 300;
  font-family: mr-eaves-xl-modern, sans-serif;
  line-height: 1; margin-bottom: 40px; margin-top: 24px;
  font-size: 1.75rem;
}

.what-we-do .services-grid,
.services-grid { display: flex; flex-wrap: wrap; margin: 0 -10px; }

.what-we-do .services-grid .service,
.services-grid .service {
  margin-bottom: 24px; width: 100%; padding: 0 10px;
}
@media (min-width: 768px) {
  .what-we-do .services-grid .service,
  .services-grid .service { flex: 0 0 33.333%; max-width: 33.333%; }
}

.what-we-do .services-grid .service .border-hover {
  height: 100%; border: 3px solid transparent;
  transition: all .2s ease-in-out;
}
.what-we-do .services-grid .service .border-hover:hover {
  border-color: #ceb852;
}

.what-we-do .services-grid .service .service-inner {
  background: #414141; height: 100%;
  transition: all .2s ease-in-out;
}
.what-we-do .services-grid .service .service-inner:hover {
  background: #282828;
}

.what-we-do .services-grid .service .entry-summary {
  padding: 24px 10px; font-size: .875rem;
}
@media (min-width: 992px) {
  .what-we-do .services-grid .service .entry-summary { padding: 36px 20px; font-size: 1rem; }
}

.what-we-do .services-grid .service .entry-title {
  text-align: center; color: #ceb852; margin-bottom: 12px;
  font-size: 1.5rem; font-weight: 400;
  font-family: mr-eaves-xl-modern, sans-serif;
}
.what-we-do .services-grid .service .description {
  color: #fff; text-align: center; margin-bottom: 0;
}

/* ---------- WHY US SECTION ---------- */
.why-us {
  background: #282828; padding: 48px 0;
  background-position: 50%; background-repeat: no-repeat;
}
@media (min-width: 768px) { .why-us { padding: 72px 0; } }

.why-us .item-title {
  color: #ceb852; text-align: center; font-weight: 300;
  font-family: mr-eaves-xl-modern, sans-serif; line-height: 1;
  margin-bottom: 36px; font-size: 1.75rem;
}
@media (min-width: 768px) { .why-us .item-title { font-size: 2.5rem; margin-bottom: 48px; } }

.why-us .columns {
  display: flex; flex-wrap: wrap; margin: 0 -10px;
}
.why-us .column {
  width: 100%; padding: 0 10px; margin-bottom: 24px; text-align: center;
}
@media (min-width: 768px) { .why-us .column { flex: 0 0 33.333%; max-width: 33.333%; margin-bottom: 0; } }

.why-us .column .entry-title {
  color: #ceb852; font-family: mr-eaves-xl-modern, sans-serif;
  font-weight: 400; font-size: 1.125rem; margin-bottom: 12px;
}
@media (min-width: 992px) { .why-us .column .entry-title { font-size: 1.25rem; } }

.why-us .column .entry-summary {
  color: #fff; font-weight: 300; font-size: .9rem; line-height: 1.6; margin-bottom: 0;
}

.why-us .item-sub-title {
  text-align: center; max-width: 460px; margin: 0 auto;
  font-size: 1.125rem; color: #fff;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  text-align: center; background: #fff; padding: 36px 0;
}
@media (min-width: 768px) { .cta-section { padding: 60px 0; } }

.cta-section .cta-title {
  color: #4e4e4f; font-weight: 300;
  font-family: mr-eaves-xl-modern, sans-serif;
  line-height: 1; max-width: 780px; margin: 0 auto 30px;
  font-size: 1.75rem;
}
@media (min-width: 768px) { .cta-section .cta-title { font-size: 2.5rem; } }
@media (min-width: 992px) { .cta-section .cta-title { font-size: 2.625rem; } }

/* ---------- REQUIREMENTS PAGE (services with thumbnails) ---------- */
.services-grid .service .item-thumbnail {
  position: relative; overflow: hidden; height: 200px;
}
@media (min-width: 992px) { .services-grid .service .item-thumbnail { height: 280px; } }
.services-grid .service .item-thumbnail img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ---------- PROJECTS ---------- */
.project-header-bar { margin-top: 24px; }
@media (min-width: 768px) { .project-header-bar { border-bottom: 1px solid #dadada; margin-top: 0; } }

.project-subnav { display: flex; justify-content: center; flex-wrap: wrap; }
.project-subnav li { display: inline-block; }
.project-subnav li button {
  background: none; border: none; cursor: pointer;
  font-family: mr-eaves-xl-modern, sans-serif;
  color: #2c2d2e; font-weight: 500; transition: all .2s ease-in-out;
  padding: 24px 6px; text-transform: uppercase; font-size: .875rem;
}
@media (min-width: 992px) { .project-subnav li button { padding: 36px 12px; font-size: 1rem; } }
.project-subnav li button:hover,
.project-subnav li.active button { color: #ceb852; }

.posts-wrap {
  display: flex; flex-wrap: wrap; justify-content: center;
  margin: 0 -10px; padding: 36px 0 48px;
}

.posts-wrap .hentry {
  margin-bottom: 48px; text-align: center; color: #4e4e4f;
  width: 100%; padding: 0 10px; flex: 0 0 100%; max-width: 100%;
}
@media (min-width: 576px) { .posts-wrap .hentry { flex: 0 0 50%; max-width: 50%; } }
@media (min-width: 992px)  { .posts-wrap .hentry { flex: 0 0 33.333%; max-width: 33.333%; } }

.posts-wrap .hentry .entry-thumbnail {
  height: 185px; margin-bottom: 30px; position: relative; overflow: hidden;
}
.posts-wrap .hentry .entry-thumbnail img {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  min-width: 100%; min-height: 100%;
  width: auto; height: auto; object-fit: cover;
}

.posts-wrap .hentry .entry-title {
  margin-bottom: 12px; font-weight: 400;
  font-family: mr-eaves-xl-modern, sans-serif; font-size: 1.25rem;
}
.posts-wrap .hentry .entry-summary { font-size: .9rem; line-height: 1.6; }

/* ---------- FOOTER ---------- */
.footer-top { background: #2c2d2e; padding: 40px 0 48px; }

.footer-top .footer-row {
  display: flex; flex-wrap: wrap; margin: 0 -10px;
}
.footer-top .footer-left {
  width: 100%; padding: 0 10px; text-align: center;
}
@media (min-width: 768px) {
  .footer-top .footer-left { flex: 0 0 66.667%; max-width: 66.667%; text-align: left; }
}
.footer-top .footer-right {
  display: none; width: 100%; padding: 0 10px;
  flex: 0 0 33.333%; max-width: 33.333%;
}
@media (min-width: 768px) { .footer-top .footer-right { display: block; } }

.footer-top .widget-title {
  text-transform: uppercase; color: #ceb852;
  font-size: 1.125rem; font-weight: 400; margin-bottom: 20px;
}

.footer-top p { color: #fff; font-weight: 300; margin-bottom: 0; }
.footer-top p span { display: block; }

.footer-top .phone, .footer-top .email { font-weight: 700; margin-bottom: 0; }
.footer-top .phone a, .footer-top .email a {
  font-weight: 300; color: #fff; transition: all .2s ease-in-out;
}
.footer-top .phone a:hover, .footer-top .email a:hover { color: rgba(255,255,255,.5); }

.footer-top .footer-socials {
  display: inline-flex; margin-top: 20px; padding: 0;
}
.footer-top .footer-socials li {
  border-radius: 50%; background: #fff; width: 35px; height: 35px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .2s ease-in-out;
}
.footer-top .footer-socials li:hover { background: rgba(255,255,255,.6); }
.footer-top .footer-socials li a {
  color: #2c2d2e; display: flex; align-items: center; justify-content: center;
}
.footer-top .footer-socials li a svg { width: 16px; height: 16px; fill: #2c2d2e; }

.footer-bottom { background: #1a1b1b; padding: 12px 0 24px; font-size: .875rem; }
.footer-bottom .bottom-inner { display: block; }
@media (max-width: 767px) { .footer-bottom .bottom-inner { text-align: center; } }
@media (min-width: 768px) { .footer-bottom .bottom-inner { display: flex; } }
.footer-bottom p { margin: 0; color: #ceb852; display: inline-block; }
.footer-bottom .bottom-right { margin-left: auto; }
.footer-bottom .bottom-right a { color: #ceb852; transition: all .2s ease-in-out; }
.footer-bottom .bottom-right a:hover { color: #fff; }

/* ---------- CONTACT PAGE ---------- */
.contact-section { padding: 48px 0; }
@media (min-width: 768px) { .contact-section { padding: 48px 0 72px; } }

.contact-row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.contact-col { width: 100%; padding: 0 10px; }
@media (min-width: 768px) {
  .contact-col-form  { flex: 0 0 66.667%; max-width: 66.667%; }
  .contact-col-info  { flex: 0 0 33.333%; max-width: 33.333%; }
}

.widget-box { margin-bottom: 24px; }
.widget-box .widget-title {
  font-weight: 300; font-family: mr-eaves-xl-modern, sans-serif;
  font-size: 1.75rem; margin-bottom: 12px;
}
@media (min-width: 992px) { .widget-box .widget-title { font-size: 2.5rem; } }

.widget-inner {
  padding: 36px 30px; color: #fff; background: #ceb852;
}
.widget-inner p { font-weight: 300; color: #fff; }
.widget-inner .phone, .widget-inner .email { font-weight: 700; margin-bottom: 0; }
.widget-inner .phone a, .widget-inner .email a {
  font-weight: 300; color: #fff; display: block; margin-bottom: 20px;
  transition: all .2s ease-in-out;
}
.widget-inner .phone a:hover, .widget-inner .email a:hover { color: rgba(255,255,255,.5); }
.widget-inner .address span { display: block; font-weight: 700; }

.gfield { margin-bottom: 16px; }
.gfield label {
  display: block; color: #bcbec0; font-size: 1rem;
  margin-bottom: 6px; font-weight: 300;
}
.gfield input[type="text"],
.gfield input[type="email"],
.gfield input[type="tel"],
.gfield textarea,
.gfield select {
  width: 100%; font-size: 1rem;
  font-family: mr-eaves-xl-modern, sans-serif;
  padding: .5rem .75rem; border: 1px solid rgba(0,0,0,.15);
  border-radius: .25rem; background: #fff; line-height: 1.25;
  color: #464a4c; transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  appearance: none; -webkit-appearance: none;
}
.gfield input:focus, .gfield textarea:focus {
  outline: none; border-color: #5cb3fd;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 0 3px rgba(92,176,253,.25);
}
.gfield textarea { height: 150px; resize: vertical; }
