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

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url("../img/Hero_v2.webp");
}

.header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 48px;
}

.brand-top {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 12pt;
  color: #fff7ef;
  white-space: nowrap;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.nav {
  display: flex;
  align-items: center;
  gap: 44px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12pt;
  font-weight: 400;
  color: #fff7ef;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.nav a {
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
  color: #ffffff;
}

.nav a:visited {
  color: #ffffff;
}

.nav a:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  border-color: rgba(255, 241, 226, 0.7);
}

.nav a:active {
  border-color: rgba(255, 241, 226, 0.7);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 590px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 48px 80px;
}

.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-2vh);
  width: 100%;
  max-width: 1200px;
}

.brand-center {
  width: 100%;
  max-width: 445px;
  height: auto;
}

.hero-title {
  width: 100%;
  max-width: 809px;
  height: auto;
  margin-top: 28px;
}

.hero-text {
  width: 100%;
  max-width: 700px;
  margin-top: 32px;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 10pt;
  font-weight: 100;
  line-height: 1.7;
  color: #fff7ef;
}

@media (max-width: 900px) {
  .header {
    padding: 20px 24px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .brand-top {
    width: 100%;
    text-align: center;
    font-size: 1rem;
  }

  .nav {
    order: 3;
    width: 100%;
    margin: 4px 0 0;
    justify-content: center;
    gap: 24px;
    font-size: 14pt;
    flex-wrap: wrap;
  }

  .hero-content {
    height: auto;
    min-height: 480px;
    padding: 40px 24px 60px;
  }

  .brand-center {
    max-width: 400px;
  }

  .hero-title {
    max-width: 600px;
  }

  .hero-text {
    max-width: 550px;
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .header {
    padding: 18px 16px;
    gap: 16px;
  }

  .brand-top {
    font-size: 0.9rem;
  }

  .nav {
    gap: 18px;
    font-size: 12pt;
    flex-wrap: wrap;
  }

  .hero-content {
    height: auto;
    min-height: 400px;
    padding: 30px 16px 50px;
  }

  .brand-center {
    max-width: 350px;
  }

  .hero-title {
    max-width: 450px;
    margin-top: 22px;
  }

  .hero-text {
    max-width: 400px;
    font-size: 0.95rem;
    margin-top: 24px;
  }
}

.about-section {
  background-color: #fafaf9;
  padding: 80px 48px;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 80px;
}

.about-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 0;
}

.about-heading {
  width: auto;
  max-width: none;
  height: auto;
  flex-shrink: 0;
}

.about-text {
  width: 100%;
  max-width: 480px;
  margin-top: 28px;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 10pt;
  font-weight: 100;
  line-height: 1.8;
  color: #6d6d6d;
}

.about-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: auto;
  padding-top: 32px;
}

.about-btn {
  width: 100%;
  max-width: 180px;
  height: auto;
}

.hire-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 12pt;
  font-weight: 400;
  color: black;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.hire-link:hover {
  border-bottom-color: black;
}

.about-image {
  flex: 1;
  display: flex;
  min-height: 0;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .about-section {
    padding: 60px 24px;
  }

  .about-container {
    flex-direction: column;
    gap: 48px;
  }

  .about-content {
    align-items: center;
    text-align: center;
  }

  .about-text {
    max-width: 500px;
  }

  .about-image {
    justify-content: center;
    width: 100%;
  }

  .about-image img {
    max-width: 400px;
  }
}

@media (max-width: 640px) {
  .about-section {
    padding: 48px 16px;
  }

  .about-text {
    font-size: 9pt;
    max-width: 350px;
  }

  .about-links {
    flex-direction: column;
    gap: 20px;
  }

  .about-btn {
    max-width: 150px;
  }

  .about-image img {
    max-width: 300px;
    height: auto;
  }
}

.services-section {
  background-color: #ffffff;
  padding: 100px 48px;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.services-top {
  display: flex;
  align-items: flex-start;
  gap: 80px;
  margin-bottom: 80px;
}

.services-heading-img {
  flex-shrink: 0;
  width: auto;
  max-width: none;
  height: auto;
}

.services-heading-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.services-heading {
  font-family: var(--h1-font-family, 'Montserrat'), sans-serif;
  font-weight: var(--h1-font-weight, 600);
  font-size: var(--h1-font-size, 32px);
  line-height: var(--h1-line-height, 1.2);
  color: #1b140f;
  margin: 0;
}

.services-description {
  font-family: var(--p1-font-family, 'Montserrat'), Georgia, serif;
  font-weight: var(--p1-font-weight, 400);
  font-size: var(--p1-font-size, 14px);
  line-height: var(--p1-line-height, 1.7);
  color: #6d6d6d;
  margin: 24px 0 0;
  max-width: 520px;
}

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

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card-image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 4px;
}

.service-card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #1b140f;
  margin: 20px 0 12px;
}

.service-card-text {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: #6d6d6d;
  margin: 0 0 16px;
}

.service-card-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 12pt;
  font-weight: 400;
  color: #1b140f;
  margin-top: auto;
}

.service-card-link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .services-section {
    padding: 80px 24px;
  }

  .services-top {
    flex-direction: column;
    gap: 40px;
  }

  .services-heading-text {
    width: 100%;
  }

  .services-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .services-section {
    padding: 60px 16px;
  }

  .services-heading {
    font-size: 24px;
  }

  .services-description {
    font-size: 13px;
  }

  .services-cards {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .service-card-image {
    aspect-ratio: 3/2;
  }
}

.gallery-section {
  background-color: #fafaf9;
  padding: 100px 48px;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-header {
  margin-bottom: 48px;
  text-align: center;
}

.gallery-heading {
  width: auto;
  max-width: none;
  height: auto;
  display: block;
  margin: 0 auto;
}

.gallery-intro {
  font-family: var(--p1-font-family, 'Montserrat'), Georgia, serif;
  font-size: var(--p1-font-size, 14px);
  line-height: var(--p1-line-height, 1.7);
  color: #6d6d6d;
  margin: 24px auto 0;
  max-width: 600px;
}

.gallery-rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery-row {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.gallery-row .gallery-item {
  flex: 0 0 auto;
  border-radius: 6px;
  overflow: hidden;
}

.gallery-row.row-1 .gallery-item,
.gallery-row.row-2 .gallery-item {
  width: 368px;
  height: 253px;
}

.gallery-row.row-3 .gallery-item {
  width: 552px;
  height: 387px;
}

.gallery-row .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item {
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  transition: filter 0.3s ease;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: auto;
}

.gallery-item:hover img {
  filter: brightness(0.75);
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.4);
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

@media (max-width: 900px) {
  .gallery-section {
    padding: 80px 24px;
  }

  .gallery-rows {
    gap: 16px;
  }

  .gallery-row {
    gap: 12px;
  }

  .gallery-row.row-1 .gallery-item,
  .gallery-row.row-2 .gallery-item {
    width: 284px;
    height: 195px;
  }

  .gallery-row.row-3 .gallery-item {
    width: 426px;
    height: 299px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}

@media (max-width: 640px) {
  .gallery-section {
    padding: 60px 16px;
  }

  .gallery-rows {
    gap: 12px;
  }

  .gallery-row {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .gallery-row.row-1 .gallery-item,
  .gallery-row.row-2 .gallery-item,
  .gallery-row.row-3 .gallery-item {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 16/10;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .lightbox-prev {
    left: 5px;
  }

  .lightbox-next {
    right: 5px;
  }
}