/* HERO */
.contact-hero {
  margin-top: 50px;
  padding: 100px 20px 20px;
  text-align: center;
  background-color: #fff;
}

.contact-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #333;
}

/* CONTAINER */
.contact-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

/* TOP GRID */
.contact-top {
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 40px;
  align-items: start;
}

/* INFO CARD */
.contact-info-card {
  background: white;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: fit-content;
  transition: transform 0.3s;
}

.contact-info-card:hover {
  transform: translateY(-5px);
}

.contact-info-card h2 {
  margin-bottom: 25px;
  color: #961b1a;
}

/* INFO ITEMS */
.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.icon {
  width: 42px;
  height: 42px;
  background: #961b1a;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.icon svg {
  width: 20px;
  fill: white;
}

.contact-item:hover .icon {
  background: #d42b2a;
}

/* PHOTO */
.contact-photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.contact-photo:hover img {
  transform: scale(1.05);
}

/* MAP + QR ROW */
.contact-map-qr-row {
  display: flex;
  gap: 40px;
  margin-top: 50px;
}

.contact-map,
.contact-qr {
  background: white;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}

.contact-map:hover,
.contact-qr:hover {
  transform: translateY(-5px);
}

.contact-map {
  flex: 2;
}

.contact-qr {
  flex: 1;
}

/* QR CONTAINER */
.contact-qr .qr-container,
.qr-container.contact-qr {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.contact-qr .qr-item img {
  width: 200px;
  border-radius: 15px;
  transition: transform 0.3s;
}

.contact-qr .qr-item img:hover {
  transform: scale(1.05);
}

.contact-qr .qr-item p {
  text-align: center;
  margin-top: 5px;
  font-size: 0.95rem;
  color: #555;
}

/* MAP FRAME */
.map-frame {
  height: 420px;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 15px;
}

.map-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BAIDU BTN */
.baidu-open-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  background: #961b1a;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.baidu-open-btn:hover {
  background: #d42b2a;
}

.cta-title {
  font-size: 2.5rem;
  color: #961b1a;
  margin-bottom: 15px;
}

.cta-subtitle {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 30px;
}

.btn-cta-large {
  display: inline-block;
  padding: 18px 40px;
  background: #961b1a;
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  transition:
    background 0.3s,
    transform 0.3s;
}

.btn-cta-large:hover {
  background: #d42b2a;
  transform: translateY(-3px);
}

/* SCROLL ANIMATION */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-top {
    grid-template-columns: 1fr;
  }

  .contact-map-qr-row {
    flex-direction: column;
  }

  .contact-qr {
    margin-top: 20px;
  }
}

@media (max-width: 360px) {
  .contact-map-qr-row {
    flex-direction: column;
  }
}


@media (max-width: 480px) {
  .contact-qr .qr-container {
    flex-direction: column;
  }
}

