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

:root {
  --green-nav:     #4A5D4E;
  --green-dark:    #1F2821;
  --green-darkest: #0F1410;
  --accent:        #CBAA8D;
  --white:         #FFFFFF;
  --gray:          #A0A0A0;
  --dark-btn-text: #334938;
  --pad-x:         150px;
  --gap-projects:  24px;
  --gap-gallery:   12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Quicksand', sans-serif;
  background: var(--green-nav);
  color: var(--white);
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

.section-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.label {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 14px;
}

.h2 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 20px;
}

.body-text {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.6;
  color: var(--gray);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: all .25s ease;
}

.btn--outline-accent {
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 5px 16px;
  height: 30px;
  background: transparent;
}
.btn--outline-accent:hover { background: var(--accent); color: var(--dark-btn-text); }

.btn--ghost {
  border: 1px solid var(--white);
  color: var(--white);
  padding: 5px 14px;
  height: 30px;
  background: transparent;
}
.btn--ghost:hover { background: var(--white); color: #000; }

.btn--accent {
  background: var(--accent);
  color: var(--dark-btn-text);
  padding: 0 48px;
  height: 60px;
  font-size: 20px;
  border: none;
}
.btn--accent:hover { background: #b8906e; }

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.nav {
  position: fixed;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 82px;
  background: rgba(74, 93, 78, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
}
.nav.scrolled {
  background: rgba(74, 93, 78, 0.97);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 100%;
  display: flex;
  align-items: center;
}
.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo img { width: 140px; height: 56px; object-fit: contain; }

.nav__links {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 48px;
}
.nav__links a {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--white);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--white);
  transition: width .25s ease;
}
.nav__links a:hover::after { width: 100%; }

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  background: #000 url('assets/Hero Section.png') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding-bottom: 130px;
  overflow: hidden;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.15) 55%, transparent 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  padding-left: var(--pad-x);
  width: 100%;
  max-width: 700px;
  animation: heroFadeUp 1s .15s ease both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__title {
  font-family: 'Italiana', serif;
  font-weight: 400;
  font-size: 80px;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: 0.01em;
}
.hero__sub {
  font-family: 'Quicksand', sans-serif;
  font-weight: 300;
  font-size: 30px;
  color: var(--white);
  margin-top: 14px;
  margin-bottom: 30px;
}

.about {
  background: var(--green-dark);
  padding: 140px 0;
}
.about .section-inner {
  display: flex;
  align-items: flex-start;
  gap: 21px;
}
.about__text {
  flex: 0 0 609px;
  padding-top: 20px;
}
.about__text .h2 { margin-top: 20px; }

.about__pic { overflow: hidden; }
.about__pic img { transition: transform .5s ease; }
.about__pic:hover img { transform: scale(1.04); }

.about__pics {
  flex: 0 0 510px;
  display: flex;
  gap: 5px;
  height: 429px;
}
.about__pic--tall {
  flex: 0 0 243px;
  height: 426px;
  overflow: hidden;
}
.about__pic-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.about__pic-col .about__pic {
  flex: 1;
  overflow: hidden;
}

.projects {
  background: var(--green-darkest);
  padding: 100px 0;
}
.projects .label { margin-bottom: 40px; }

.projects__grid {
  display: flex;
  flex-direction: column;
  gap: var(--gap-projects);
  max-width: 1140px;
}

.projects__row {
  display: flex;
  gap: var(--gap-projects);
}

.projects__stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--gap-projects);
}

.projects__item { overflow: hidden; position: relative; }
.projects__item img { transition: transform .5s ease; }
.projects__item:hover img { transform: scale(1.04); }

.projects__item--tl { flex: 0 0 704px; height: 391px; }
.projects__item--br { flex: 0 0 704px; height: 392px; }
.projects__item--small { height: 184px; }

.projects__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 20px 22px;
  pointer-events: none;
}
.projects__name {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--white);
  letter-spacing: 0.02em;
  transform: translateY(6px);
  opacity: 0;
  transition: opacity .35s ease, transform .35s ease;
}
.projects__item--tl .projects__name,
.projects__item--br .projects__name { font-size: 24px; }
.projects__item:hover .projects__name { opacity: 1; transform: translateY(0); }

.projects__badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 1;
}
.projects__badge {
  display: inline-block;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 4px 10px;
  line-height: 1.4;
}
.projects__badge--best      { background: var(--accent); color: var(--dark-btn-text); }
.projects__badge--eco       { background: #3a6b3e; color: #d4f0d6; }
.projects__badge--new       { background: var(--white); color: var(--green-darkest); }
.projects__badge--bestseller{ background: var(--accent); color: var(--dark-btn-text); }
.projects__badge--aframe    { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.45); color: var(--white); }
.projects__badge--premium   { background: var(--green-darkest); border: 1px solid var(--accent); color: var(--accent); }

.why {
  background: var(--green-nav);
  padding: 100px 0;
}
.why .label { margin-bottom: 40px; }
.why__body {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.why__list {
  flex: 0 0 556px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.why__item {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
.why__num {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 40px;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
}
.why__title {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: var(--white);
  margin-bottom: 8px;
}
.why__desc {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--gray);
  line-height: 1.5;
}
.why__image {
  flex: 1;
  height: 916px;
  max-height: 916px;
}

.gallery {
  background: var(--green-dark);
  padding: 100px 0;
}
.gallery .section-inner { padding-left: 104px; padding-right: 104px; }
.gallery .label { margin-bottom: 40px; }

.gallery__grid {
  display: flex;
  flex-direction: column;
  gap: var(--gap-gallery);
  max-width: 1232px;
}

.gallery__row--equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-gallery);
  height: 335px;
}

.gallery__row--mixed {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: var(--gap-gallery);
  height: 492px;
}
.gallery__stack {
  display: flex;
  flex-direction: column;
  gap: var(--gap-gallery);
  height: 492px;
}
.gallery__stack .gallery__item { flex: 1; }

.gallery__item { overflow: hidden; }
.gallery__item img { transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.04); }

.howworks {
  background: var(--green-darkest);
  padding: 100px 0;
}
.howworks .label { margin-bottom: 14px; }
.howworks__sub {
  max-width: 842px;
  margin-left: auto;
  margin-bottom: 60px;
  text-align: left;
}
.howworks__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
.howworks__step {
  background: var(--green-dark);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 240px;
}
.howworks__num {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 40px;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 28px;
}
.howworks__step-body h4 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  text-align: center;
  margin-bottom: 14px;
}
.howworks__step-body p {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--white);
  line-height: 1.6;
}

.contact {
  position: relative;
  padding: 100px 0;
  min-height: 1185px;
}
.contact__bg {
  position: absolute;
  inset: 0;
  background: url('assets/Seventh Section/Contact Form.png') center/cover no-repeat;
  filter: brightness(.55);
}
.contact__inner { position: relative; z-index: 1; }
.contact__left { max-width: 613px; }
.contact__desc { margin-top: 20px; margin-bottom: 40px; }

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 34px;
  width: 100%;
}
.contact__row {
  display: flex;
  gap: 31px;
  width: 100%;
}
.contact__field {
  background: transparent;
  border: 1px solid var(--accent);
  outline: none;
  padding: 0 24px;
  height: 60px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--white);
  transition: background .2s;
  box-sizing: border-box;
}
.contact__row .contact__field { flex: 1; }
.contact__field::placeholder { color: var(--gray); }
.contact__field:focus { background: rgba(160,160,160,.08); }
.contact__field--full { width: 100%; display: block; }
.contact__textarea {
  height: 158px;
  padding-top: 16px;
  resize: none;
}
.contact__submit-row {
  display: flex;
  justify-content: center;
}
.contact__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 60px;
  background: var(--accent);
  color: var(--dark-btn-text);
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 20px;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: background .25s;
}
.contact__btn:hover { background: #b8906e; border-color: #b8906e; }

.footer {
  background: var(--green-darkest);
  padding: 80px 0 0;
}
.footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  gap: 80px;
  align-items: flex-start;
  padding-bottom: 60px;
}
.footer__logo { flex-shrink: 0; }
.footer__logo img { width: 230px; height: 92px; object-fit: contain; }

.footer__col { min-width: 120px; }
.footer__heading {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 20px;
}
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer__links a {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--white);
  text-decoration: none;
  transition: color .2s;
}
.footer__links a:hover { color: var(--accent); }

.footer__col--contact { flex: 1; }
.footer__col--contact .footer__heading { font-size: 16px; }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.footer__contact-item svg,
.footer__contact-item img[src$=".svg"] {
  flex-shrink: 0;
  width: auto;
  height: auto;
  object-fit: initial;
  margin-top: 2px;
}
.footer__contact-item span,
.footer__contact-item--phone span {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--white);
  line-height: 1.6;
}
.footer__contact-item--phone { padding-left: 38px; }

.footer__copyright {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px var(--pad-x);
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
}
.footer__copyright span {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 12px;
  color: var(--white);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.modal[aria-hidden="false"] { display: flex; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .65);
  cursor: pointer;
}
.modal__box {
  position: relative;
  z-index: 1;
  background: var(--green-dark);
  padding: 48px 56px;
  max-width: 480px;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: modalIn .3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.modal__icon { flex-shrink: 0; }
.modal__title {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 28px;
  color: var(--white);
  text-align: center;
}
.modal__text {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--gray);
  text-align: center;
  line-height: 1.6;
}
.modal__close { margin-top: 8px; }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  flex-shrink: 0;
  z-index: 101;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform .3s ease, opacity .3s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__mobile-menu {
  position: fixed;
  inset: 82px 0 0 0;
  background: rgba(15, 20, 16, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 99;
}
.nav__mobile-menu.is-open { opacity: 1; pointer-events: all; }

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.nav__mobile-link {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color .2s;
}
.nav__mobile-link:hover { color: var(--accent); }
.nav__mobile-cta {
  margin-top: 8px;
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  padding: 10px 36px;
  font-size: 16px;
}
.nav__mobile-cta:hover { background: var(--accent); color: var(--dark-btn-text) !important; }

@media (max-width: 1024px) {
  :root { --pad-x: 48px; }
  .nav__links { gap: 28px; }
  .why__list  { flex: 0 0 440px; }
  .why__image { height: 680px; }
  .gallery .section-inner { padding-left: var(--pad-x); padding-right: var(--pad-x); }
  .gallery__row--mixed { grid-template-columns: 360px 1fr; }
}

@media (max-width: 900px) {
  :root { --pad-x: 36px; }

  .nav__links { display: none; }
  .nav .btn--outline-accent { display: none; }
  .nav__burger { display: flex; }

  .hero { padding-bottom: 80px; }
  .hero__content { max-width: 100%; }
  .hero__title { font-size: 64px; }
  .hero__sub   { font-size: 24px; }

  .about { padding: 80px 0; }
  .about .section-inner { flex-direction: column; gap: 36px; }
  .about__text { flex: none; width: 100%; padding-top: 0; }
  .about__pics { flex: none; width: 100%; max-width: 100%; height: 340px; }
  .about__pic--tall { flex: 0 0 48%; height: 100%; }

  .projects { padding: 80px 0; }
  .projects__grid { max-width: 100%; }
  .projects__item--tl,
  .projects__item--br { flex: 1; height: 280px; }
  .projects__item--small { height: 130px; }

  .why { padding: 80px 0; }
  .why__body  { flex-direction: column; gap: 48px; }
  .why__list  { flex: none; width: 100%; }
  .why__image { flex: none; width: 100%; height: 420px; }

  .gallery { padding: 80px 0; }
  .gallery .section-inner { padding-left: var(--pad-x); padding-right: var(--pad-x); }
  .gallery__row--equal { height: 240px; }
  .gallery__row--mixed { grid-template-columns: 1fr 1fr; height: 380px; }
  .gallery__stack      { height: 380px; }

  .howworks { padding: 80px 0; }
  .howworks__sub   { margin-left: 0; max-width: 100%; }
  .howworks__steps { grid-template-columns: repeat(2, 1fr); }

  .contact { padding: 80px 0; }
  .contact__left { max-width: 100%; }

  .footer { padding-top: 60px; }
  .footer__inner { flex-wrap: wrap; gap: 40px; padding-bottom: 40px; }
  .footer__col--contact { flex: 1 0 100%; }
}

@media (max-width: 600px) {
  :root { --pad-x: 20px; }

  .h2        { font-size: 30px; }
  .label     { font-size: 20px; }
  .body-text { font-size: 17px; }

  .hero { padding-bottom: 60px; min-height: 560px; }
  .hero__title { font-size: 46px; }
  .hero__sub   { font-size: 20px; margin-bottom: 20px; }

  .about { padding: 60px 0; }
  .about__pics { height: 240px; }
  .about__text .h2 { margin-top: 12px; }

  .projects { padding: 60px 0; }
  .projects__grid { gap: 12px; }
  .projects__row { flex-direction: column; }
  .projects__item--tl,
  .projects__item--br { flex: none; height: 230px; }
  .projects__item--small { height: 180px; }
  .projects__badge { font-size: 10px; padding: 3px 8px; }
  .projects__name { font-size: 16px; }
  .projects__item--tl .projects__name,
  .projects__item--br .projects__name { font-size: 18px; }

  .why { padding: 60px 0; }
  .why__num   { font-size: 28px; width: 28px; }
  .why__title { font-size: 20px; }
  .why__desc  { font-size: 17px; }
  .why__image { height: 260px; }
  .why__item  { gap: 20px; }

  .gallery { padding: 60px 0; }
  .gallery__grid { gap: 8px; }
  .gallery__row--equal { height: 160px; gap: 8px; }
  .gallery__row--mixed { grid-template-columns: 1fr 1fr; height: auto; gap: 8px; }
  .gallery__stack { height: auto; gap: 8px; }
  .gallery__stack .gallery__item { height: 130px; }
  .gallery__row--mixed > .gallery__item { height: 268px; }

  .howworks { padding: 60px 0; }
  .howworks .h2    { font-size: 28px; }
  .howworks__steps { grid-template-columns: 1fr; }
  .howworks__step  { min-height: 160px; }
  .howworks__num   { font-size: 32px; margin-bottom: 14px; }

  .contact { padding: 60px 0; min-height: unset; }
  .contact__form { gap: 16px; }
  .contact__row  { flex-direction: column; gap: 16px; }
  .contact__btn  { width: 100%; }
  .contact__h2   { font-size: 28px; }

  .footer { padding-top: 48px; }
  .footer__inner { gap: 28px; padding-bottom: 32px; }
  .footer__logo img { width: 160px; height: 64px; }

  .modal__box   { padding: 32px 20px; }
  .modal__title { font-size: 22px; }
  .modal__text  { font-size: 16px; }
  .modal__close { width: 100%; }
}

@media (max-width: 380px) {
  .hero__title { font-size: 36px; }
  .h2 { font-size: 26px; }
  .projects__item--tl,
  .projects__item--br { height: 190px; }
  .projects__item--small { height: 150px; }
}