/* Mile Training Club landing page (front page only). Served from wp-content/mile/mile.css */
:root {
  --mtc-bg: #0b0d0d;
  --mtc-bg2: #111414;
  --mtc-card: #171b1b;
  --mtc-line: #263030;
  --mtc-text: #f4f7f6;
  --mtc-muted: #a3b0ad;
  --mtc-accent: #1de9b6;
  --mtc-on-accent: #04261d;
  --mtc-accent-dark: #14c99c;
  --mtc-display: "Bebas Neue", "Noto Sans HK", sans-serif;
  --mtc-body: "Noto Sans HK", "PingFang HK", "Microsoft JhengHei", sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body.mtc { margin: 0; background: var(--mtc-bg); color: var(--mtc-text); font-family: var(--mtc-body); font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
body.mtc * { box-sizing: border-box; }
body.mtc a { color: var(--mtc-accent); }
body.mtc p { margin: 0 0 1em; }
body.mtc .wp-block-group { margin: 0; }
body.mtc h1, body.mtc h2, body.mtc h3 { font-family: var(--mtc-body); color: var(--mtc-text); margin: 0 0 .6em; line-height: 1.3; letter-spacing: 0; }

body.mtc .mtc-in { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* nav */
.mtc-nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 24px; background: rgba(11, 13, 13, .9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--mtc-line); }
.mtc-nav p { margin: 0; }
.mtc-logo a { display: block; line-height: 0; }
.mtc-logo img { height: 46px; width: auto; display: block; }
.mtc-links { display: flex; gap: 26px; }
.mtc-links a { color: var(--mtc-text) !important; text-decoration: none; font-size: 15px; font-weight: 500; }
.mtc-links a:hover { color: var(--mtc-accent) !important; }
.mtc-nav-cta .wp-block-button__link { background: var(--mtc-accent); color: var(--mtc-on-accent); border-radius: 999px; padding: 9px 20px; font-size: 15px; font-weight: 700; }

/* buttons */
body.mtc .wp-block-buttons { gap: 14px; margin-top: 8px; }
body.mtc .wp-block-button__link { text-decoration: none; font-family: var(--mtc-body); transition: background .2s, color .2s, transform .2s; }
.mtc-btn-main .wp-block-button__link { background: var(--mtc-accent); color: var(--mtc-on-accent); border-radius: 999px; padding: 15px 30px; font-size: 17px; font-weight: 700; }
.mtc-btn-main .wp-block-button__link:hover, .mtc-nav-cta .wp-block-button__link:hover { background: var(--mtc-accent-dark); transform: translateY(-1px); }
.mtc-btn-ghost .wp-block-button__link { background: transparent; color: var(--mtc-text); border: 2px solid var(--mtc-text); border-radius: 999px; padding: 13px 28px; font-size: 17px; font-weight: 700; }
.mtc-btn-ghost .wp-block-button__link:hover { border-color: var(--mtc-accent); color: var(--mtc-accent); }

/* hero photo: change the url() below to swap it */
.mtc-hero { position: relative; overflow: hidden; padding: 130px 0 140px; background:
  linear-gradient(90deg, rgba(11, 13, 13, .94) 0%, rgba(11, 13, 13, .75) 45%, rgba(11, 13, 13, .25) 100%),
  linear-gradient(0deg, var(--mtc-bg) 0%, transparent 30%),
  url("https://miletrainingclub.com/wp-content/uploads/2026/11/mile-training-club-gym-track.webp") center 35% / cover no-repeat; }
.mtc-kicker { color: var(--mtc-accent); font-weight: 700; letter-spacing: 2px; font-size: 14px; }
.mtc-brand { font-family: var(--mtc-display); font-size: clamp(96px, 17vw, 220px); line-height: .85; letter-spacing: 4px; margin: 0 0 6px !important; }
.mtc-sub { font-family: var(--mtc-display); color: var(--mtc-accent); font-size: clamp(22px, 2.8vw, 34px); letter-spacing: 3px; line-height: 1.1; margin: 0 0 22px !important; }
.mtc-h1 { font-size: clamp(22px, 2.6vw, 30px) !important; font-weight: 700; max-width: 760px; }
.mtc-lead { color: var(--mtc-muted); font-size: 18px; max-width: 640px; }

/* sections */
.mtc-sec { padding: 96px 0; border-top: 1px solid var(--mtc-line); }
.mtc-eyebrow { font-family: var(--mtc-display); color: var(--mtc-accent); font-size: 22px; letter-spacing: 3px; margin-bottom: 4px !important; }
.mtc-h2 { font-size: clamp(30px, 4vw, 44px) !important; font-weight: 900; }
.mtc-about p { max-width: 760px; color: #d6d6d2; }

.mtc-ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px 32px; }
.mtc-ticks li { position: relative; padding-left: 34px; }
.mtc-ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 20px; height: 20px; border-radius: 50%; background: var(--mtc-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%2304261d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

.mtc-services { background: var(--mtc-bg2); }
.mtc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-top: 36px; }
.mtc-cards-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.mtc-card, .mtc-step { background: var(--mtc-card); border: 1px solid var(--mtc-line); border-radius: 14px; padding: 28px 24px; transition: border-color .2s, transform .2s; }
.mtc-card:hover { border-color: var(--mtc-accent); transform: translateY(-3px); }
.mtc-card h3, .mtc-step h3 { font-size: 21px !important; font-weight: 700; }
.mtc-card p:last-child, .mtc-step p:last-child { color: var(--mtc-muted); font-size: 15.5px; margin: 0; }
.mtc-num { font-family: var(--mtc-display); font-size: 44px; color: var(--mtc-accent); line-height: 1; margin-bottom: 12px !important; }
.mtc-step h3 { color: var(--mtc-accent) !important; }

.mtc-rental { background: linear-gradient(90deg, rgba(11, 13, 13, .95) 0%, rgba(11, 13, 13, .8) 55%, rgba(11, 13, 13, .45) 100%),
  url("https://miletrainingclub.com/wp-content/uploads/2026/11/mile-gym-treadmills.webp") center / cover no-repeat; }
.mtc-rental p { max-width: 720px; color: #d6d6d2; }

/* faq */
.mtc-faq .wp-block-details { border-bottom: 1px solid var(--mtc-line); padding: 20px 0; margin: 0; max-width: 860px; }
.mtc-faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; position: relative; padding-right: 36px; }
.mtc-faq summary::-webkit-details-marker { display: none; }
.mtc-faq summary::after { content: "+"; position: absolute; right: 4px; top: -4px; font-size: 28px; color: var(--mtc-accent); font-weight: 400; transition: transform .2s; }
.mtc-faq details[open] summary::after { transform: rotate(45deg); }
.mtc-faq details p { color: var(--mtc-muted); margin: 12px 0 0; }

/* contact */
.mtc-contact { background: var(--mtc-bg2); }
.mtc-contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.mtc-contact-info p { color: #d6d6d2; }
.mtc-contact-info strong { color: var(--mtc-accent); font-size: 14px; letter-spacing: 1px; }
.mtc-map { border-radius: 14px; overflow: hidden; border: 1px solid var(--mtc-line); aspect-ratio: 4 / 3; }
.mtc-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.3) contrast(1.05); }

.mtc-footer { padding: 28px 24px; text-align: center; color: var(--mtc-muted); font-size: 14px; border-top: 1px solid var(--mtc-line); }
.mtc-footer p { margin: 0; }

/* floating WhatsApp */
/* about + photo */
.mtc-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.mtc-split .mtc-ticks { grid-template-columns: 1fr; }
body.mtc .mtc-split-img { margin: 0; }
.mtc-split-img img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; display: block; }

/* studio gallery */
.mtc-studio p { color: var(--mtc-muted); }
.mtc-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 32px; }
body.mtc .mtc-gallery .wp-block-image { margin: 0; overflow: hidden; border-radius: 10px; }
.mtc-gallery img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; transition: transform .4s; }
.mtc-gallery .wp-block-image:hover img { transform: scale(1.04); }

.mtc-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .4); }
.mtc-wa-float svg { width: 32px; height: 32px; fill: #fff; }

@media (max-width: 900px) {
  .mtc-links { display: none; }
  .mtc-contact-grid { grid-template-columns: 1fr; }
  .mtc-split { grid-template-columns: 1fr; gap: 32px; }
  .mtc-split-img img { aspect-ratio: 4 / 3; }
  .mtc-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  body.mtc { font-size: 16px; }
  .mtc-nav { padding: 10px 16px; }
  .mtc-logo img { height: 38px; }
  body.mtc .mtc-in { padding: 0 16px; }
  .mtc-hero { padding: 72px 0 80px; }
  .mtc-sec { padding: 64px 0; }
  .mtc-hero-cta .wp-block-button { width: 100%; }
  .mtc-hero-cta .wp-block-button__link { width: 100%; text-align: center; }
  .mtc-ticks { grid-template-columns: 1fr; }
}
