/*!
 * Start Bootstrap - Modern Business (https://startbootstrap.com/template-overviews/modern-business)
 * Copyright 2013-2017 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-logomodern-business-nav/blob/master/LICENSE)
 */

body {
  padding-top: 54px;
}

.wechat-share-thumb {
  height: 1px;
  left: 0;
  opacity: 0.01;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 1px;
  z-index: -1;
}

@media (min-width: 992px) {
  body {
    padding-top: 56px;
  }
}

.carousel-item {
  height: 65vh;
  min-height: 300px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

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

.portfolio-item {
  margin-bottom: 30px;
}

.banner-top {
  background-image:url(../pic/banner-top.jpg);
}

.contact-page {
  background:
    radial-gradient(circle at top left, rgba(195, 137, 67, 0.18), transparent 34rem),
    linear-gradient(180deg, #fff8ed 0%, #f7f1e7 48%, #ffffff 100%);
  color: #2d261d;
}

.contact-hero {
  padding: 70px 0 36px;
  position: relative;
  overflow: hidden;
}

.contact-hero::after {
  content: "";
  position: absolute;
  right: -110px;
  top: 34px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(122, 83, 38, 0.08);
}

.contact-eyebrow {
  color: #a46625;
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.contact-hero h1 {
  color: #271b10;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-hero p {
  color: #6a5846;
  font-size: 1.1rem;
  line-height: 1.9;
  margin: 0;
  max-width: 680px;
}

.contact-hero-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(164, 102, 37, 0.16);
  border-radius: 22px;
  box-shadow: 0 20px 55px rgba(83, 55, 24, 0.13);
  display: flex;
  gap: 18px;
  padding: 26px;
  position: relative;
  z-index: 1;
}

.contact-hero-card i {
  align-items: center;
  background: #a46625;
  border-radius: 18px;
  color: #fff;
  display: flex;
  flex: 0 0 56px;
  font-size: 1.55rem;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.contact-hero-card span,
.contact-list-item span,
.wechat-panel span {
  color: #8c7b68;
  display: block;
  font-size: 0.86rem;
  margin-bottom: 0.25rem;
}

.contact-hero-card strong {
  color: #25190f;
  display: block;
  font-size: 1.45rem;
}

.contact-section {
  padding: 18px 0 64px;
}

.contact-map-card,
.contact-info-card {
  background: #fff;
  border: 1px solid rgba(97, 65, 33, 0.1);
  border-radius: 26px;
  box-shadow: 0 22px 60px rgba(68, 46, 22, 0.12);
  height: 100%;
  overflow: hidden;
}

.contact-map-card {
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: 12px;
}

.contact-map-visual {
  background:
    linear-gradient(58deg, transparent 0 42%, rgba(255, 255, 255, 0.78) 42% 46%, transparent 46% 100%),
    linear-gradient(128deg, transparent 0 50%, rgba(255, 255, 255, 0.72) 50% 54%, transparent 54% 100%),
    repeating-linear-gradient(0deg, rgba(132, 101, 67, 0.08) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(90deg, rgba(132, 101, 67, 0.08) 0 1px, transparent 1px 88px),
    linear-gradient(135deg, #eee7dc 0%, #f7f0e5 52%, #e7dfd3 100%);
  border-radius: 18px;
  height: 550px;
  min-height: 536px;
  overflow: hidden;
  position: relative;
}

.contact-map-visual::before,
.contact-map-visual::after {
  content: "";
  position: absolute;
}

.contact-map-visual::before {
  background: rgba(255, 255, 255, 0.66);
  border-radius: 999px;
  height: 82px;
  left: -8%;
  top: 52%;
  transform: rotate(-12deg);
  width: 116%;
}

.contact-map-visual::after {
  background: rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  height: 58px;
  left: 18%;
  top: 3%;
  transform: rotate(90deg);
  width: 92%;
}

.map-location-pin {
  align-items: center;
  background: #b06b21;
  border: 8px solid rgba(255, 255, 255, 0.84);
  border-radius: 50%;
  box-shadow: 0 18px 38px rgba(82, 49, 19, 0.28);
  color: #fff;
  display: flex;
  font-size: 2rem;
  height: 74px;
  justify-content: center;
  left: 48%;
  position: absolute;
  top: 39%;
  transform: translate(-50%, -50%);
  width: 74px;
  z-index: 2;
}

.map-location-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(164, 102, 37, 0.18);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(66, 43, 20, 0.16);
  left: 53%;
  padding: 18px 20px;
  position: absolute;
  top: 29%;
  width: 245px;
  z-index: 2;
}

.map-location-card span {
  color: #a46625;
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.map-location-card strong {
  color: #2d261d;
  display: block;
  font-size: 1rem;
  line-height: 1.6;
}

.map-open-link {
  background: #2f261d;
  border-radius: 999px;
  bottom: 24px;
  box-shadow: 0 14px 32px rgba(47, 38, 29, 0.2);
  color: #fff;
  font-weight: 700;
  padding: 12px 22px;
  position: absolute;
  right: 24px;
  z-index: 2;
}

.map-open-link:hover {
  color: #fff;
  text-decoration: none;
}

.contact-map-note {
  background: linear-gradient(135deg, #fff9ef 0%, #f1e1ca 100%);
  border-radius: 18px;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  margin-top: 12px;
  padding: 24px;
}

.contact-map-note span {
  color: #a46625;
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 0.7rem;
}

.contact-map-note strong {
  color: #291c11;
  display: block;
  font-size: 1.14rem;
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.contact-map-note p {
  color: #6a5846;
  line-height: 1.8;
  margin: 0;
}

.contact-info-card {
  padding: 34px;
}

.contact-info-card h2 {
  color: #271b10;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.contact-intro {
  color: #6d5c4b;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-list-item {
  align-items: flex-start;
  background: #fbf6ee;
  border: 1px solid rgba(164, 102, 37, 0.08);
  border-radius: 18px;
  display: flex;
  gap: 14px;
  padding: 15px 16px;
}

.contact-list-item i {
  align-items: center;
  background: #fff;
  border-radius: 14px;
  color: #a46625;
  display: flex;
  flex: 0 0 42px;
  height: 42px;
  justify-content: center;
  margin-top: 2px;
  width: 42px;
}

.contact-list-item strong {
  color: #2d261d;
  display: block;
  font-size: 1rem;
  line-height: 1.55;
}

.wechat-panel {
  align-items: center;
  background: linear-gradient(135deg, #2f261d 0%, #5d3d1d 100%);
  border-radius: 20px;
  color: #fff;
  display: flex;
  gap: 18px;
  margin-top: 22px;
  padding: 18px;
}

.wechat-panel img {
  background: #fff;
  border-radius: 16px;
  flex: 0 0 118px;
  padding: 7px;
  width: 118px;
}

.wechat-panel span {
  color: #f7d8a7;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.wechat-panel p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 991.98px) {
  .contact-hero {
    padding-top: 46px;
  }

  .contact-hero h1 {
    font-size: 2.35rem;
  }

  .contact-map-card {
    min-height: 430px;
  }

  .contact-map-visual {
    height: 410px;
    min-height: 406px;
  }

  .map-location-card {
    left: 24px;
    right: 24px;
    top: auto;
    width: auto;
    bottom: 86px;
  }

  .map-location-pin {
    left: 50%;
    top: 34%;
  }
}

@media (max-width: 575.98px) {
  .contact-hero {
    padding-bottom: 24px;
  }

  .contact-hero h1 {
    font-size: 2rem;
  }

  .contact-info-card {
    padding: 24px 18px;
  }

  .wechat-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}
