:root{
  --line: rgba(31,35,40,.10);
  --brand: #c9a33a;
  --brand-2: #b38f2f;
  --leaf: #2f7a4a;
}

*{
  box-sizing: border-box;
}

body{
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(
    #2146d0 0%,
    #4f7cff 20%,
    #8fd3ff 40%,
    #8ee0b6 65%,
    #4caf50 82%,
    #1f6b2f 100%
  );
}

a{
  color: inherit;
  text-decoration: none;
}

img{
  display: block;
  max-width: 100%;
}

.container{
  width: min(1120px, 100%);
  margin: 0 auto;
}

/* NAVBAR */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(251, 250, 246);
  border-bottom: 1px solid var(--line);
  height: 80px;
}

.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-right: 2%;
  position: relative;
}

.logo{
  width: 80px;
  height: 80px;
}

.logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.menu-toggle{
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

.navlinks{
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}

.navlinks a{
  padding: 8px 10px;
}

.nav-cta{
  display: flex;
  align-items: center;
}

.btn{
  display: inline-block;
  padding: 10px 14px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #111827;
  font-weight: 700;
  cursor: pointer;
}

/* HERO */
.hero{
  position: relative;
}

.hero-bleed{
  position: relative;
  overflow: hidden;
}

.hero-bg{
  min-height: 600px;
  background-size: cover;
  background-position: center;
}

.hero-card{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 75%;
  max-width: 600px;
  padding: 26px 22px 20px;
  background: rgba(255,255,255,.75);
  border-radius: 22px;
  text-align: center;
  color: var(--leaf);
}

.hero h1{
  margin: 0;
  padding: 10px;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.05;
}

.hero p{
  margin: 12px auto 0;
  max-width: 50ch;
  font-size: 14.5px;
  line-height: 1.45;
}

.form{
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.input{
  flex: 1 1 260px;
  max-width: 340px;
  padding: 12px 14px;
  border: 1px solid rgba(31,35,40,.14);
  border-radius: 999px;
}

/* MAIN CONTENT */
.section-card{
  padding: 22px;
  background: rgba(255,255,255,.62);
}

.section-title{
  margin: 0;
  text-align: center;
  font-size: 26px;
  padding-top: 20px;
}

.section-sub{
  margin: 10px auto 0;
  max-width: 70ch;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}

.tiles,
.services{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.tile,
.service{
  background: rgba(255,255,255,.72);
}

.tile{
  text-align: center;
  border-radius: 20px;
  overflow: hidden;
}

.tile-img{
  width: 100%;
  height: 240px;
  object-fit: cover;
  margin: 0 auto 10px;
}

.tile h3,
.service h4{
  margin: 0;
  font-size: 15px;
}

.tile p,
.service p{
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  padding-left: 12px;
  padding-right: 12px;
  padding-bottom: 12px;
}

.service{
  border-radius: 18px;
  overflow: hidden;
}

.media{
  height: 240px;
  background: #ddd;
}

.media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.body{
  padding: 14px;
  text-align: center;
}

/* REVIEWS */
.reviews-section{
  width: 100%;
  padding: 20px;
}

.reviews-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: min(1200px, 100%);
  margin: 30px auto 0;
}

.review-card{
  background: rgba(255,255,255,.8);
  border-radius: 20px;
  text-align: center;
  overflow: hidden;
}

.review-card p{
  font-size: 15px;
  line-height: 1.5;
  padding: 20px 20px 0 20px;
}

.review-card h4{
  margin: 16px 0;
  padding: 0 20px;
}

.review-pic{
  height: 320px;
  margin-top: 10px;
}

.review-pic img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 0 12px 12px;
}

/* CONTACT TILES */
.contact-tiles{
  margin-top: 24px;
}

.contact-tile{
  padding-bottom: 18px;
}

.contact-link{
  margin-top: 14px;
  font-weight: 700;
}

.contact-link a{
  color: var(--leaf);
}

.contact-link a:hover{
  text-decoration: underline;
}

/* CONTACT FORM SECTION */

.contact-form-section{
  padding-top: 20px;
  padding-bottom: 20px;
}

.contact-form-card{
  border: 1px solid #000;
  border-radius: 20px;
}

.contact-form-card{
  margin: 0 auto;
}

.contact-split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  background-color: white;
}

.contact-image{
  border-radius:20px;
  overflow:hidden;
  max-height:420px;
}

.contact-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.contact-form-content{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.full-contact-form{
  margin-top: 24px;
}

.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-row.single{
  grid-template-columns: 1fr;
}

.full-contact-form input,
.full-contact-form textarea{
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(31,35,40,.14);
  border-radius: 18px;
  font: inherit;
  background: rgba(255,255,255,.92);
}

.full-contact-form textarea{
  resize: vertical;
  min-height: 160px;
}

.form-submit{
  text-align: center;
  margin-top: 8px;
}

/* FOOTER */
.footer{
  width: 100%;
  padding: 15px 20px;
  background: rgba(255,255,255,.85);
}

.footer-content{
  width: min(1100px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-text{
  margin: 0;
}

.footer-phone{
  margin: 0;
  font-weight: 600;
}

.footer-phone a{
  color: var(--leaf);
  text-decoration: none;
}

.footer-phone a:hover{
  text-decoration: underline;
}

/* TABLET */
@media (max-width: 900px){
  .menu-toggle{
    display: block;
  }

  .navlinks{
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 10px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    z-index: 100;
  }

  .navlinks.show{
    display: flex;
  }

  .tiles,
  .services,
  .reviews-grid{
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-split{
    grid-template-columns: 1fr 1fr;
  }

  .form-row{
    grid-template-columns: 1fr 1fr;
  }

  .hero-bg{
    min-height: 460px;
  }

  .contact-image{
    max-height: 300px;
  }
}

/* MOBILE */
@media (max-width: 700px){
  .tiles,
  .services,
  .reviews-grid,
  .contact-split,
  .form-row{
    grid-template-columns: 1fr;
  }

  .footer-content{
    flex-direction: column;
    text-align: center;
  }
}