.contact-page-modern {
  --ct-bg: #fff4e6;
  --ct-ink: #2a1708;
  --ct-text: rgba(45, 29, 14, 0.82);
  --ct-muted: rgba(65, 42, 21, 0.72);
  --ct-line: rgba(255, 166, 62, 0.36);
  --ct-surface: rgba(255, 255, 255, 0.9);
  --ct-grad: linear-gradient(120deg, #ff6a00 0%, #ff9933 52%, #ffd84d 100%);
  background: var(--ct-bg);
}

.contact-page-modern .contact-tag,
.contact-page-modern .contact-help-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  border: 1px solid var(--ct-line);
  background: rgba(255, 250, 241, 0.9);
  color: #b45d00;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-page-modern .contact-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 36px;
  background:
    radial-gradient(circle at 8% 15%, rgba(255, 197, 121, 0.24) 0%, rgba(255, 197, 121, 0) 44%),
    radial-gradient(circle at 91% 84%, rgba(255, 126, 18, 0.16) 0%, rgba(255, 126, 18, 0) 48%),
    var(--ct-bg);
}

.contact-page-modern .contact-hero-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--ct-line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 245, 227, 0.8) 100%);
  box-shadow: 0 22px 40px rgba(63, 31, 4, 0.12);
  padding: clamp(20px, 2.8vw, 34px);
}

.contact-page-modern .contact-hero-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--ct-grad);
  z-index: 2;
}

.contact-page-modern .contact-hero-shell > .row {
  position: relative;
  z-index: 3;
}

.contact-page-modern .contact-shape {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.contact-page-modern .shape-ring {
  width: 170px;
  height: 170px;
  right: -42px;
  top: -54px;
  border-radius: 999px;
  border: 1px solid rgba(255, 172, 79, 0.42);
  box-shadow: inset 0 0 0 20px rgba(255, 217, 155, 0.2);
}

.contact-page-modern .shape-orb {
  width: 118px;
  height: 118px;
  right: 6%;
  top: 30%;
  border-radius: 999px;
  background: radial-gradient(circle at 32% 26%, rgba(255, 251, 242, 0.88) 0%, rgba(255, 185, 95, 0.22) 68%, rgba(255, 185, 95, 0) 100%);
  animation: ctFloatY 8.4s ease-in-out infinite;
}

.contact-page-modern .shape-dots {
  width: 170px;
  height: 170px;
  left: -74px;
  bottom: -84px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 147, 31, 0.84) 2px, transparent 3px) 0 0 / 11px 11px,
    rgba(255, 210, 137, 0.22);
  opacity: 0.8;
}

.contact-page-modern .shape-wave {
  width: 240px;
  height: 48px;
  right: 18%;
  bottom: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 238, 208, 0.22) 0%, rgba(255, 238, 208, 0) 100%);
}

.contact-page-modern .contact-hero-shell h1 {
  margin: 14px 0 10px;
  color: var(--ct-ink);
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 1.08;
}

.contact-page-modern .contact-hero-shell p {
  margin: 0;
  color: var(--ct-text);
  font-size: 18px;
  line-height: 1.68;
}

.contact-page-modern .contact-hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-page-modern .contact-hero-link {
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 169, 70, 0.4);
  background: rgba(255, 253, 247, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  text-decoration: none;
  color: #7a410d;
  font-size: 14px;
  font-weight: 700;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.contact-page-modern .contact-hero-link i {
  color: #ff7f13;
}

.contact-page-modern .contact-hero-link:hover {
  color: #7a410d;
  transform: translateY(-2px);
  box-shadow: 0 14px 22px rgba(63, 31, 4, 0.12);
}

.contact-page-modern .contact-hero-meta {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 4;
}

.contact-page-modern .contact-hero-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 181, 95, 0.34);
  background: rgba(255, 252, 246, 0.9);
  color: #75400f;
  font-size: 15px;
  line-height: 1.35;
}

.contact-page-modern .contact-hero-meta .meta-item i {
  color: #ff7f13;
  flex: 0 0 auto;
}

.contact-page-modern .contact-hero-meta .meta-item span {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.contact-page-modern .contact-hero-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--ct-line);
  box-shadow: 0 16px 28px rgba(64, 32, 5, 0.12);
  min-height: 360px;
}

.contact-page-modern .contact-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.contact-page-modern .contact-media-mini {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: min(44%, 210px);
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 178, 89, 0.42);
  background: rgba(255, 252, 246, 0.95);
  box-shadow: 0 14px 24px rgba(63, 31, 4, 0.18);
  z-index: 3;
}

.contact-page-modern .contact-media-mini img {
  width: 100%;
  min-height: 132px;
  height: 132px;
  object-fit: cover;
  display: block;
}

.contact-page-modern .contact-media-mini figcaption {
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #6a390e;
  text-transform: uppercase;
}

.contact-page-modern .contact-float-card {
  position: absolute;
  max-width: 250px;
  min-height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(255, 176, 86, 0.4);
  background: rgba(255, 252, 247, 0.94);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  box-shadow: 0 14px 22px rgba(63, 31, 4, 0.14);
  backdrop-filter: blur(2px);
}

.contact-page-modern .contact-float-card i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ct-grad);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.contact-page-modern .contact-float-card strong {
  color: #3a1f09;
  font-size: 14px;
  line-height: 1.2;
  display: block;
}

.contact-page-modern .contact-float-card small {
  color: rgba(67, 44, 21, 0.72);
  font-size: 12px;
  line-height: 1.3;
  display: block;
}

.contact-page-modern .contact-float-card.card-a {
  left: 12px;
  bottom: 18px;
  animation: ctFloatA 7.2s ease-in-out infinite;
}

.contact-page-modern .contact-float-card.card-b {
  right: 12px;
  top: 16px;
  animation: ctFloatB 7.8s ease-in-out infinite;
}

.contact-page-modern .contact-connect {
  padding: 10px 0 18px;
}

.contact-page-modern .contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-page-modern .contact-info-card {
  height: 100%;
  border-radius: 18px;
  border: 1px solid var(--ct-line);
  background: var(--ct-surface);
  box-shadow: 0 12px 22px rgba(70, 36, 7, 0.1);
  padding: 14px;
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.contact-page-modern .contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 28px rgba(70, 36, 7, 0.14);
}

.contact-page-modern .contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 176, 86, 0.44);
  background: linear-gradient(150deg, rgba(255, 130, 24, 0.12) 0%, rgba(255, 220, 160, 0.24) 100%);
  color: #ff7e11;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  margin-bottom: 8px;
}

.contact-page-modern .contact-info-card h3 {
  margin: 0 0 5px;
  color: #2f1a09;
  font-size: 24px;
  line-height: 1.15;
}

.contact-page-modern .contact-info-card p,
.contact-page-modern .contact-info-card a {
  margin: 0;
  color: var(--ct-muted);
  font-size: 15px;
  line-height: 1.55;
  text-decoration: none;
}

.contact-page-modern .contact-info-card a:hover {
  color: #8a4609;
}

.contact-page-modern .contact-help-panel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--ct-line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 245, 227, 0.84) 100%);
  box-shadow: 0 16px 26px rgba(64, 32, 5, 0.12);
  padding: 20px;
}

.contact-page-modern .contact-help-panel::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  border: 1px solid rgba(255, 171, 72, 0.26);
  box-shadow: inset 0 0 0 18px rgba(255, 216, 150, 0.18);
}

.contact-page-modern .contact-help-panel h3 {
  margin: 12px 0 8px;
  color: #2d1808;
  font-size: 34px;
  line-height: 1.08;
}

.contact-page-modern .contact-help-panel p {
  margin: 0;
  color: var(--ct-muted);
  font-size: 16px;
  line-height: 1.62;
}

.contact-page-modern .contact-help-list {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.contact-page-modern .contact-help-list article {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  color: #6c370b;
  font-size: 14px;
  font-weight: 600;
}

.contact-page-modern .contact-help-list i {
  color: #ff7f13;
  font-size: 17px;
}

.contact-page-modern .contact-help-btn {
  margin-top: 16px;
  min-height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  color: #fffef8;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  background: var(--ct-grad);
  box-shadow: 0 14px 24px rgba(255, 122, 14, 0.28);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.contact-page-modern .contact-help-btn:hover {
  color: #fffef8;
  transform: translateY(-2px);
  box-shadow: 0 20px 30px rgba(255, 122, 14, 0.36);
}

.contact-page-modern .contact-map {
  padding: 10px 0 88px;
}

.contact-page-modern .map-shell {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--ct-line);
  box-shadow: 0 16px 28px rgba(64, 32, 5, 0.12);
  background: rgba(255, 255, 255, 0.9);
}

.contact-page-modern .map-head {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 174, 77, 0.24);
  background: linear-gradient(90deg, rgba(255, 251, 244, 0.92) 0%, rgba(255, 241, 218, 0.66) 100%);
}

.contact-page-modern .map-head h2 {
  margin: 0;
  color: #2f1a09;
  font-size: 36px;
  line-height: 1.04;
}

.contact-page-modern .map-head p {
  margin: 6px 0 0;
  color: var(--ct-muted);
  font-size: 14px;
}

.contact-page-modern .map-shell iframe {
  width: 100%;
  height: 430px;
  border: 0;
  display: block;
}

@keyframes ctFloatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes ctFloatA {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes ctFloatB {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(7px);
  }
}

@media (max-width: 1199px) {
  .contact-page-modern .contact-help-panel h3 {
    font-size: 30px;
  }
}

@media (max-width: 991px) {
  .contact-page-modern .contact-hero {
    padding-top: 56px;
  }

  .contact-page-modern .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-page-modern .contact-hero-media {
    min-height: 330px;
  }

  .contact-page-modern .contact-hero-media img {
    min-height: 330px;
  }

  .contact-page-modern .contact-media-mini {
    width: min(48%, 200px);
  }

  .contact-page-modern .contact-float-card {
    max-width: 224px;
  }
}

@media (max-width: 767px) {
  .contact-page-modern .contact-hero-actions {
    flex-direction: column;
  }

  .contact-page-modern .contact-hero-link {
    width: 100%;
    justify-content: center;
  }

  .contact-page-modern .contact-hero-media {
    min-height: 280px;
  }

  .contact-page-modern .contact-hero-media img {
    min-height: 280px;
  }

  .contact-page-modern .contact-media-mini {
    width: 170px;
    right: 10px;
    bottom: 10px;
  }

  .contact-page-modern .contact-media-mini img {
    min-height: 110px;
    height: 110px;
  }

  .contact-page-modern .contact-float-card {
    left: 10px;
    right: 10px;
    max-width: none;
  }

  .contact-page-modern .contact-float-card.card-a {
    bottom: 10px;
  }

  .contact-page-modern .contact-float-card.card-b {
    top: 10px;
  }

  .contact-page-modern .contact-help-panel h3 {
    font-size: 28px;
  }

  .contact-page-modern .map-head h2 {
    font-size: 30px;
  }

  .contact-page-modern .map-shell iframe {
    height: 320px;
  }
}
