:root{
  --green:#3d592b;
  --green2:#3d592b;
  --yellow:#e8f20b;
  --black:#080a09;
  --white:#fff;
  --cream:#f7f7f2;
  --gray:#5f675f;
  --line:#d9ddd8;
  --shadow:0 14px 40px rgba(0,0,0,.12);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:#172019;
  background:#fff;
  line-height:1.6;
}

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

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

.wrap{
  width:min(1180px,92%);
  margin:auto;
}


/* TOP BAR */

.topbar{
  background:var(--green);
  color:#fff;
  font-size:.88rem;
}

.topbar .wrap{
  display:flex;
  justify-content:flex-end;
  gap:26px;
  padding:8px 0;
}

.topbar a:hover{
  color:var(--yellow);
}


/* HEADER */

header{
  background:#050706;
  color:#fff;
  position:sticky;
  top:0;
  z-index:50;
  box-shadow:0 6px 22px rgba(0,0,0,.18);
}

nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:78px;
  gap:24px;
}


/* HEADER LOGO */

header .brand{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:150px;
  background:transparent;
  padding:0;
  border-radius:0;
}

header .brand img{
  width:145px;
  height:auto;
  display:block;
  background:transparent;
}


/* FOOTER LOGO */

footer .brand{
  display:inline-flex;
  min-width:0;
  background:transparent;
  padding:0;
}

footer .brand img{
  width:175px;
  height:auto;
}


/* NAVIGATION */

.navlinks{
  display:flex;
  align-items:center;
  gap:26px;
  font-size:.85rem;
  font-weight:800;
  text-transform:uppercase;
}

.navlinks a{
  padding:28px 0;
  border-bottom:3px solid transparent;
}

.navlinks a:hover,
.navlinks a.active{
  color:var(--yellow);
  border-color:var(--yellow);
}

.nav-cta,
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:2px solid var(--yellow);
  background:var(--yellow);
  color:#111;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.02em;
  padding:13px 20px;
  border-radius:4px;
  cursor:pointer;
  transition:.2s;
}

.btn:hover,
.nav-cta:hover{
  transform:translateY(-2px);
  filter:brightness(.96);
}

.btn.outline{
  background:transparent;
  color:#fff;
}

.btn.dark{
  background:var(--green);
  border-color:var(--green);
  color:#fff;
}

.menu{
  display:none;
  background:none;
  border:0;
  color:#fff;
  font-size:1.7rem;
}


/* MAIN HOMEPAGE HERO */

.hero{
  min-height:610px;
  background:
    linear-gradient(
      104deg,
      rgba(61,89,43,.98) 0%,
      rgba(61,89,43,.93) 46%,
      rgba(61,89,43,.35) 62%,
      rgba(61,89,43,.02) 100%
    ),
    url('/assets/jbs-property.jpg') center/cover no-repeat;
  color:#fff;
  display:flex;
  align-items:center;
}

.hero-content{
  max-width:690px;
  padding:76px 0;
}

.eyebrow{
  color:var(--yellow);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.16em;
}

.hero h1,
.page-hero h1{
  font-family:Impact,Haettenschweiler,'Arial Narrow Bold',sans-serif;
  text-transform:uppercase;
  line-height:1.04;
  letter-spacing:.015em;
  margin:14px 0 20px;
  font-size:clamp(3rem,6vw,5.5rem);
}

.hero h1 span{
  color:var(--yellow);
}

.hero p{
  max-width:620px;
  font-size:1.12rem;
}

.button-row{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:30px;
}


/* GENERAL SECTIONS */

.section{
  padding:76px 0;
}

.section.alt{
  background:var(--cream);
}

.section.dark{
  background:var(--green);
  color:#fff;
}

.section-title{
  text-align:center;
  max-width:800px;
  margin:0 auto 42px;
}

.section-title h2{
  font-family:Impact,Haettenschweiler,'Arial Narrow Bold',sans-serif;
  text-transform:uppercase;
  font-size:clamp(2.1rem,4vw,3.3rem);
  line-height:1.08;
  margin:6px 0 12px;
  color:var(--green);
}

.dark .section-title h2{
  color:#fff;
}

.section-title p{
  color:var(--gray);
}

.dark .section-title p{
  color:#dce6df;
}


/* GRIDS */

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

.grid-4{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}


/* CARDS */

.card{
  background:#fff;
  border:1px solid var(--line);
  padding:30px;
  border-radius:8px;
  box-shadow:0 8px 25px rgba(0,0,0,.05);
}

.card h3{
  font-family:Impact,Haettenschweiler,'Arial Narrow Bold',sans-serif;
  text-transform:uppercase;
  color:var(--green);
  font-size:1.55rem;
  margin:14px 0 8px;
}

.icon{
  width:58px;
  height:58px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--green);
  color:var(--yellow);
  font-size:1.5rem;
}

.card a.textlink{
  font-weight:900;
  text-transform:uppercase;
  color:var(--green);
}


/* SPLIT SECTIONS */

.split{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  align-items:stretch;
}

.split .panel{
  min-height:350px;
  padding:50px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.split .photo{
  background:
    linear-gradient(
      rgba(0,0,0,.28),
      rgba(0,0,0,.28)
    ),
    url('/assets/jbs-property.jpg') center/cover no-repeat;
}

.split .green{
  background:var(--green);
  color:#fff;
}

.split h2{
  font-family:Impact,Haettenschweiler,'Arial Narrow Bold',sans-serif;
  text-transform:uppercase;
  font-size:2.7rem;
  line-height:1.08;
  margin:0 0 14px;
}


/* ABOUT PAGE FAMILY PHOTO */

.about-family-photo{
  min-height:350px;
  padding:50px;
  background:
    linear-gradient(
      rgba(0,0,0,.06),
      rgba(0,0,0,.06)
    ),
    url('/assets/1Q8A8867.jpg') center/cover no-repeat;
}


/* FEATURE STRIP */

.feature-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
}

.feature{
  padding:32px;
  border-right:1px solid rgba(232,242,11,.35);
  text-align:center;
}

.feature:last-child{
  border:0;
}

.feature h3{
  text-transform:uppercase;
  font-size:1rem;
}


/* CTA */

.cta{
  background:var(--yellow);
  padding:28px 0;
}

.cta .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
}

.cta h2{
  margin:0;
  font-family:Impact,Haettenschweiler,'Arial Narrow Bold',sans-serif;
  text-transform:uppercase;
  font-size:2rem;
}


/* INNER PAGE HERO */

.page-hero{
  background:
    linear-gradient(
      110deg,
      rgba(61,89,43,.98),
      rgba(61,89,43,.83)
    ),
    url('/assets/jbs-property.jpg') center/cover;
  color:#fff;
  padding:95px 0;
}

.page-hero p{
  max-width:700px;
  font-size:1.12rem;
}


/* LISTS */

.list{
  padding:0;
  margin:20px 0;
  list-style:none;
}

.list li{
  margin:9px 0;
  padding-left:25px;
  position:relative;
}

.list li:before{
  content:'✓';
  position:absolute;
  left:0;
  color:var(--yellow);
  font-weight:900;
}


/* PROCESS */

.process{
  counter-reset:steps;
}

.step{
  position:relative;
  padding:26px 26px 26px 74px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
}

.step:before{
  counter-increment:steps;
  content:counter(steps);
  position:absolute;
  left:22px;
  top:22px;
  width:36px;
  height:36px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--yellow);
  font-weight:900;
}


/* FORMS */

.form-card{
  max-width:820px;
  margin:auto;
  background:#fff;
  padding:36px;
  border-radius:10px;
  box-shadow:var(--shadow);
}

form{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}

label{
  font-weight:800;
  font-size:.9rem;
}

input,
textarea,
select{
  width:100%;
  padding:13px;
  border:1px solid #bdc5be;
  border-radius:4px;
  font:inherit;
  margin-top:5px;
}

textarea{
  min-height:130px;
  resize:vertical;
}

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


/* NOTICES / PAYMENT */

.notice{
  background:#fffde5;
  border-left:5px solid var(--yellow);
  padding:18px;
}

.portal{
  background:var(--cream);
  padding:48px;
  border-radius:10px;
  border:1px solid var(--line);
  text-align:center;
}

.searchbar{
  display:flex;
  max-width:760px;
  margin:25px auto 0;
  background:#fff;
  border:2px solid var(--green);
  border-radius:6px;
  overflow:hidden;
}

.searchbar span{
  flex:1;
  text-align:left;
  padding:15px 18px;
  color:#707770;
}

.searchbar a{
  border-radius:0;
}

.payment-box{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}

.payment-option{
  padding:34px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
}


/* CONTACT */

.contact-grid{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:34px;
}

.contact-card{
  background:var(--green);
  color:#fff;
  padding:36px;
  border-radius:8px;
}

.contact-card h2{
  font-family:Impact,Haettenschweiler,'Arial Narrow Bold',sans-serif;
  text-transform:uppercase;
  font-size:2.3rem;
}

.contact-item{
  padding:13px 0;
  border-bottom:1px solid rgba(255,255,255,.18);
}


/* FOOTER */

footer{
  background:#090b0a;
  color:#dfe5e0;
  padding:52px 0 20px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr 1.1fr;
  gap:35px;
}

.footer-grid h4{
  text-transform:uppercase;
  color:#fff;
}

.footer-grid a{
  display:block;
  margin:8px 0;
}

.footer-grid a:hover{
  color:var(--yellow);
}

.copyright{
  border-top:1px solid #2b312d;
  margin-top:35px;
  padding-top:18px;
  font-size:.85rem;
  display:flex;
  justify-content:space-between;
  gap:15px;
}

.badge{
  border:1px solid var(--yellow);
  padding:20px;
}

.small{
  font-size:.88rem;
  color:#69716b;
}


/* TABLET */

@media(max-width:950px){

  .navlinks,
  .nav-cta{
    display:none;
  }

  .menu{
    display:block;
  }

  .navlinks.open{
    display:flex;
    position:absolute;
    top:78px;
    left:0;
    right:0;
    background:#090b0a;
    flex-direction:column;
    align-items:flex-start;
    padding:18px 4%;
    gap:0;
  }

  .navlinks.open a{
    width:100%;
    padding:14px 0;
  }

  .grid-3,
  .grid-4,
  .footer-grid,
  .payment-box,
  .contact-grid{
    grid-template-columns:1fr 1fr;
  }

  .feature-strip{
    grid-template-columns:1fr 1fr;
  }

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

  .hero{
    background-position:60% center;
  }

  .hero-content{
    max-width:620px;
  }
}


/* MOBILE */

@media(max-width:650px){

  .topbar{
    display:none;
  }

  .grid-3,
  .grid-4,
  .footer-grid,
  .payment-box,
  .contact-grid{
    grid-template-columns:1fr;
  }

  .feature-strip{
    grid-template-columns:1fr;
  }

  .feature{
    border-right:0;
    border-bottom:1px solid rgba(232,242,11,.35);
  }

  .hero{
    min-height:590px;
    background:
      linear-gradient(
        rgba(61,89,43,.93),
        rgba(61,89,43,.90)
      ),
      url('/assets/jbs-property.jpg') center/cover;
  }

  .hero-content{
    padding:55px 0;
  }

  .button-row{
    flex-direction:column;
  }

  .btn{
    width:100%;
  }

  .cta .wrap,
  .copyright{
    flex-direction:column;
    align-items:flex-start;
  }

  .split .panel{
    padding:34px 24px;
  }

  .about-family-photo{
    min-height:420px;
    padding:0;
    background-position:center center;
  }

  .form-card{
    padding:24px;
  }

  form{
    grid-template-columns:1fr;
  }

  .full{
    grid-column:auto;
  }

  .searchbar{
    display:block;
  }

  .searchbar a{
    width:100%;
  }
}