/* ─────────────────────────────────────────────────────────────
   Fitness 4 Me — Contact Page Styles
   Designed in harmony with index.php & style-index.css
   ───────────────────────────────────────────────────────────── */

.contact-page {
  background: var(--bg);
}

.contact-page main h1,
.contact-page main h2,
.contact-page main h3,
.contact-page main h4,
.contact-page main p {
  margin-top: 0;
}

/* ── Hero Section ────────────────────────────────────────── */
.contact-hero {
  min-height: 360px;
  display: grid;
  align-items: end;
  padding: 100px 0 72px;
  background:
    linear-gradient(90deg, #0d100dee 0%, #0d100dc2 42%, #0d100d33 80%),
    url("../img/fitness-02.webp") center/cover no-repeat;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.contact-hero-copy .eyebrow {
  margin-bottom: 18px;
}

.contact-hero h1 {
  max-width: 920px;
  color: var(--ink);
  text-transform: uppercase;
  font-size: clamp(48px, 7.2vw, 106px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.9;
  margin-bottom: 0;
}

.contact-hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1px #aeb7a3;
}

.contact-hero .breadcrumb {
  display: flex;
  gap: 8px;
  color: #c1c9b7;
  font-size: 13px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
  background: transparent;
}

.contact-hero .breadcrumb a {
  color: #c1c9b7;
  transition: color 0.2s;
}

.contact-hero .breadcrumb a:hover {
  color: var(--lime);
}

.contact-hero .breadcrumb b {
  color: #556247;
  font-weight: 400;
}

/* ── Primary Contact Cards Section ────────────────────────── */
.contact-cards-section {
  padding: clamp(60px, 8vw, 95px) 0;
  background: var(--bg);
}

.contact-header {
  margin-bottom: 50px;
}

.contact-header h2 {
  font-size: clamp(38px, 4.8vw, 72px);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.contact-header p {
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.contact-card {
  background: #161a13;
  border: 1px solid var(--line);
  padding: 36px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.contact-card:hover {
  border-color: #576547;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.contact-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.contact-card-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--lime);
  letter-spacing: 0.05em;
}

.contact-card-badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border: 1px solid #3c4832;
  color: var(--muted);
  background: rgba(16, 18, 15, 0.6);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border: 1px solid #738d42;
  color: var(--lime);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.contact-card:hover .contact-icon {
  background: var(--lime);
  color: var(--bg);
  border-color: var(--lime);
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card h3 {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  color: var(--ink);
}

.contact-card p.contact-card-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 20px;
  min-height: 48px;
}

.contact-card-value {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #273021;
  margin-bottom: 24px;
}

.contact-card-link {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.2s;
  text-decoration: none;
  word-break: break-word;
  display: inline-block;
}

.contact-card-link:hover {
  color: var(--lime);
}

.contact-card-address {
  font-style: normal;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
  margin: 0;
}

.contact-card .button {
  width: 100%;
  justify-content: space-between;
}

/* ── Split Support & Details Section ─────────────────────── */
.contact-details-section {
  padding: clamp(65px, 8vw, 100px) 0;
  background: #131711;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-details-section h2 {
  font-size: clamp(38px, 4.4vw, 68px);
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.96;
  margin-bottom: 22px;
}

.contact-details-section p.lead-copy {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 28px;
}

.contact-support-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.contact-support-num {
  font-size: 11px;
  font-weight: 800;
  color: var(--lime);
  padding-top: 4px;
  flex-shrink: 0;
}

.contact-support-info {
  flex: 1;
}

.contact-support-info h4 {
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--ink);
}

.contact-support-info p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

.contact-support-row > svg {
  color: var(--lime);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-photo-wrap {
  position: relative;
  background: #1b2016;
  border: 1px solid var(--line);
  padding: 12px;
}

.contact-photo-wrap img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  max-height: 540px;
  object-fit: cover;
  display: block;
}

.contact-photo-wrap .photo-corner {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 42px;
  height: 42px;
  border-top: 2px solid var(--lime);
  border-right: 2px solid var(--lime);
  pointer-events: none;
}

.contact-photo-caption {
  margin-top: 14px;
  padding: 12px 14px;
  background: #141812;
  border-left: 2px solid var(--lime);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.contact-photo-caption strong {
  color: var(--ink);
  font-weight: 700;
}

/* ── Responsive Queries ──────────────────────────────────── */
@media (max-width: 991px) {
  .contact-hero {
    min-height: 280px;
    padding: 85px 0 55px;
  }
  .contact-photo-wrap {
    margin-top: 30px;
  }
  .contact-photo-wrap img {
    min-height: 360px;
  }
}

@media (max-width: 767px) {
  .contact-hero {
    min-height: 220px;
    padding: 70px 0 45px;
  }
  .contact-card p.contact-card-desc {
    min-height: auto;
  }
  .contact-support-row {
    padding: 18px 0;
  }
}
