/* ================================================================
   GYMEX — CONTACT PAGE (page-specific styles only)
   Shared styles (nav, footer, buttons, dropdown, mobile menu)
   come from style.css loaded before this file.
   ================================================================ */

:root { --black: #191919; }

.ct-page { background: var(--BG); padding: 0; }

/* ── HERO ── */
.ct-hero {
  position: relative;
  margin-top: 72px;
  padding: 64px 40px 56px;
  min-height: calc(100vw * 0.3334);
  background:
    url("../assets/contact%20us%20page%20banner%20image.webp") center top / 100% auto no-repeat,
    var(--BG);
  overflow: hidden;
}

.ct-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(180deg, rgba(245, 248, 255, 0) 0%, rgba(245, 248, 255, .85) 60%, var(--BG) 100%);
  pointer-events: none;
}
.ct-hero__inner { max-width: 1180px; margin: 0 auto; position: relative; z-index: 2; }
.ct-hero__title {
  color: #1c2436; font-size: clamp(30px, 3.4vw, 44px); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.14; margin: 0 0 16px;
  text-transform: uppercase; max-width: 820px;
}
.ct-hero__title::after { content: none; }
.ct-hero__desc {
  color: #555; font-size: 14px; line-height: 1.7;
  max-width: 640px; margin: 0 0 26px;
}
.ct-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.ct-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: "Poppins", sans-serif; font-size: 14px; font-weight: 700;
  letter-spacing: .03em; text-transform: uppercase;
  padding: 15px 28px; border-radius: 100px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.ct-btn--primary {
  background: linear-gradient(135deg, #2b7ceb, #0f57b5); color: #fff;
  box-shadow: 0 12px 26px rgba(13, 64, 140, .35);
}
.ct-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(13, 64, 140, .45); }

/* ── GET IN TOUCH / OUR OFFICE CARDS ── */
.ct-info {
  position: relative; z-index: 2;
  max-width: 1180px; margin: 40px auto 0; padding: 0 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.ct-card {
  background: #fff; border: 1px solid #eaf0fa; border-radius: 18px;
  padding: 32px 32px 28px; box-shadow: 0 18px 44px rgba(16, 40, 100, .10);
}
.ct-card__title {
  font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; color: #1c2436;
  letter-spacing: -0.01em; margin: 0 0 10px; text-transform: uppercase;
}
.ct-card__title span { color: var(--blue); }
.ct-card__sub { color: #5b6b85; font-size: 14px; line-height: 1.7; margin: 0 0 20px; }

.ct-links { list-style: none; margin: 0; padding: 0; }
.ct-links li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid #eef2f9;
}
.ct-links li:first-child { padding-top: 0; }
.ct-links li:last-child { border-bottom: none; padding-bottom: 0; }
.ct-ico {
  flex: none; width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; background: #e9f2fe; color: #1d6fd6;
}
.ct-ico--green { background: #e8f0fe; color: #028ece; }
.ct-links__label { display: block; font-size: 15px; font-weight: 700; color: #0e1c33; margin-bottom: 3px; }
.ct-links__value { display: block; font-size: 14.5px; color: #43526b; line-height: 1.6; }
.ct-links__value a { color: #43526b; text-decoration: none; }
.ct-links__value a:hover { color: var(--blue); }

/* Office / map */
.ct-map {
  border: 1px solid #e5ecf7; border-radius: 12px; overflow: hidden;
  line-height: 0; margin-bottom: 18px;
}
.ct-map iframe { width: 100%; height: 210px; border: 0; display: block; }
.ct-office-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.ct-office-addr { display: flex; gap: 12px; align-items: flex-start; max-width: 360px; }
.ct-office-addr i { color: var(--blue); font-size: 18px; margin-top: 3px; }
.ct-office-addr strong { display: block; font-size: 14.5px; color: #0e1c33; margin-bottom: 4px; }
.ct-office-addr span { display: block; font-size: 13.5px; color: #5b6b85; line-height: 1.55; }
.ct-btn--outline {
  background: #fff; color: #1d6fd6; border-color: #9dc0f0;
  font-size: 12.5px; padding: 12px 18px;
}
.ct-btn--outline:hover { background: #f2f8ff; }

/* ── TRUST STRIP ── */
.ct-trust { max-width: 1180px; margin: 26px auto 56px; padding: 0 40px; }
.ct-trust__inner {
  background: #fff; border: 1px solid #eaf0fa; border-radius: 16px;
  box-shadow: 0 12px 30px rgba(16, 40, 100, .06);
  display: grid; grid-template-columns: repeat(4, 1fr); padding: 22px 10px;
}
.ct-trust__item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 6px 22px; border-right: 1px solid #eef2f9;
}
.ct-trust__item:last-child { border-right: none; }
.ct-trust__item i { font-size: 22px; color: #2b7ceb; margin-top: 2px; }
.ct-trust__title { font-size: 14px; font-weight: 700; color: #0e1c33; margin-bottom: 2px; }
.ct-trust__sub { font-size: 12.5px; color: #6b7a92; line-height: 1.45; }

/* ── CONTACT FORM (demo / lead modal) ── */
.error { font-size: 12px; line-height: 18px; color: #eb5757; display: none; }
.select-box { position: relative; }
.selected-option {
  display: flex; align-items: center; background: var(--gray-7);
  border-radius: 10px; overflow: hidden; cursor: pointer;
}
.selected-option div {
  display: flex; align-items: center; gap: 8px; padding: 14px 16px;
  background: #ececec; height: 100%;
}
.selected-option input[type="tel"] {
  border: none; background: transparent; padding: 14px 12px;
  font-family: "Poppins", sans-serif; font-size: 14.5px; color: var(--gray-100); flex: 1;
}
.options {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg);
  padding: 10px; z-index: 5;
}
.select-box.active .options,
.options.active { display: block; }
.options .search-box {
  width: 100%; padding: 10px 12px; border-radius: 8px; margin-bottom: 8px;
  font-family: "Poppins", sans-serif; font-size: 13.5px;
}
.options ol { max-height: 200px; overflow-y: auto; }
.options .option { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: 13px; }
.options .option:hover { background: var(--gray-7); }
.options .option.hide { display: none; }
.options .option .iconify { margin-right: 8px; }

/* ── RESPONSIVE (page-specific only) ── */
@media (max-width: 1024px) {
  .ct-hero { padding: 56px 24px 48px; }
  .ct-info { padding: 0 24px; gap: 18px; }
  .ct-card { padding: 26px 22px; }
  .ct-trust { padding: 0 24px; }
  .ct-trust__inner { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .ct-trust__item:nth-child(2) { border-right: none; }
}
@media (max-width: 820px) {
  .ct-hero {
    margin-top: 0;
    padding: 6px 16px 34px;
    min-height: 0;

    background:
      url("../assets/contact-hero-mobile.jpg") center top / 100% auto no-repeat,
      var(--BG);
  }
  .ct-info { grid-template-columns: 1fr; margin-top: 28px; }
  .ct-trust__inner { grid-template-columns: 1fr; padding: 18px 10px; }
  .ct-trust__item {
    border-right: none; border-bottom: 1px solid #eef2f9;
    padding-bottom: 14px;
  }
  .ct-trust__item:last-child { border-bottom: none; padding-bottom: 0; }
}
@media (max-width: 560px) {
  .ct-hero { padding: 32px 16px 40px; }
  .ct-hero__desc { font-size: 14px; }
  .ct-btn { width: 100%; font-size: 13px; }
  .ct-info { padding: 0 16px; margin-top: 24px; }
  .ct-card { padding: 22px 18px; }
  .ct-trust { padding: 0 16px; margin-bottom: 40px; }
  .ct-ico { width: 46px; height: 46px; }
  .ct-map iframe { height: 180px; }
  .selected-option { flex-wrap: wrap; }
}
