/* ═══════════════════════════════════════════
   Movement Improvement Massage — style.css
   Last updated: 2026-03-19
   ═══════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --color-bg: #FFFFFF;
  --color-surface: #FFFFFF;
  --color-text: #0B4F6C;
  --color-text-muted: #4A6B7A;
  --color-accent: #0B7FAD;
  --color-accent-light: #20A4D4;
  --color-accent-bg: #E6F3F9;
  --color-warm: #0B7FAD;
  --color-warm-light: #E6F3F9;
  --color-border: #D0DBE4;
  --color-dark: #063B52;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --max-width: 1140px;
  --section-pad: clamp(4rem, 8vw, 7rem);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }

.nav-inner {
  max-width: var(--max-width); margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem; color: var(--color-text);
  letter-spacing: -0.01em;
}
.nav-logo span { color: var(--color-accent); }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--color-text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-accent); }

.nav-cta {
  background: linear-gradient(135deg, #20A4D4 0%, #0B7FAD 100%); color: #fff !important;
  padding: 0.6rem 1.4rem; border-radius: 8px;
  font-weight: 600; font-size: 0.85rem;
  transition: all 0.25s; animation: btn-glow 2.5s ease-in-out infinite;
}
.nav-cta:hover { box-shadow: 0 0 25px rgba(32, 164, 212, 0.55); animation: none; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--color-text);
  margin: 5px 0; transition: all 0.3s;
}

/* ─── HERO ─── */
.hero {
  padding-top: calc(72px + var(--section-pad));
  padding-bottom: var(--section-pad);
  background: #063B52 url('../img/hero-bg.jpg') center top / cover no-repeat;
  position: relative; overflow: hidden; min-height: 60vh;
  display: flex; align-items: center;
}

.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
  background: linear-gradient(160deg, rgba(6, 59, 82, 0.65) 0%, rgba(11, 94, 125, 0.55) 40%, rgba(11, 127, 173, 0.45) 100%);
}

.hero-content { max-width: 700px; position: relative; z-index: 2; }

.hero-tag {
  display: inline-block; font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7); margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  line-height: 1.12; color: #FFFFFF;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.hero p {
  font-size: 1.15rem; color: rgba(255,255,255,0.85);
  max-width: 540px; margin-bottom: 2rem;
  line-height: 1.7;
}

.hero .btn {
  background: linear-gradient(135deg, #20A4D4 0%, #5CC8E8 100%);
  box-shadow: 0 0 16px rgba(92, 200, 232, 0.4), 0 2px 8px rgba(0,0,0,0.15);
  font-size: 1.05rem; padding: 1rem 2.25rem;
}
.hero .btn:hover {
  box-shadow: 0 0 30px rgba(92, 200, 232, 0.55), 0 4px 14px rgba(0,0,0,0.2);
}

.hero-details {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.9rem; color: rgba(255,255,255,0.6);
}
.hero-details a { color: #FFFFFF; font-weight: 500; }

/* ─── BUTTONS ─── */
@keyframes btn-glow {
  0%, 100% { box-shadow: 0 0 12px rgba(32, 164, 212, 0.35), 0 2px 8px rgba(11, 127, 173, 0.2); }
  50% { box-shadow: 0 0 22px rgba(32, 164, 212, 0.5), 0 2px 8px rgba(11, 127, 173, 0.25); }
}

.btn {
  display: inline-block; padding: 0.9rem 2rem;
  background: linear-gradient(135deg, #20A4D4 0%, #0B7FAD 100%);
  color: #fff; border-radius: 8px; font-weight: 600; font-size: 1rem;
  transition: all 0.25s ease;
  animation: btn-glow 2.5s ease-in-out infinite;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(32, 164, 212, 0.6), 0 4px 14px rgba(11, 127, 173, 0.3);
  animation: none;
}

.btn-outline {
  background: transparent; color: var(--color-accent);
  border: 2px solid var(--color-accent); animation: none;
  box-shadow: none;
}
.btn-outline:hover { background: linear-gradient(135deg, #20A4D4 0%, #0B7FAD 100%); color: #fff; border-color: transparent; box-shadow: 0 0 25px rgba(32, 164, 212, 0.5); }

/* ─── SECTIONS (shared) ─── */
section { padding: var(--section-pad) 0; }

.section-label {
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--color-accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.2; margin-bottom: 1.25rem;
}

.section-intro {
  font-size: 1.05rem; color: var(--color-text-muted);
  max-width: 600px; margin-bottom: 2.5rem;
}

/* ─── ABOUT ─── */
.about { background: var(--color-surface); }

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: start;
}

.about-text p { margin-bottom: 1.25rem; color: var(--color-text-muted); }
.about-text p:first-of-type { color: var(--color-text); font-size: 1.05rem; }

.about-highlights {
  display: grid; gap: 1.5rem; padding: 2rem;
  background: var(--color-accent-bg); border-radius: 12px;
}

.highlight {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(11, 127, 173, 0.15);
}
.highlight:last-child { border-bottom: none; padding-bottom: 0; }
.highlight h3 {
  font-family: var(--font-display); font-size: 1.1rem;
  margin-bottom: 0.4rem; color: var(--color-text);
}
.highlight p { font-size: 0.92rem; color: var(--color-text-muted); }

/* ─── MOVEMENT BASELINE ─── */
.baseline { background: var(--color-bg); }

.baseline-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem;
  align-items: center;
}

.baseline-media { position: relative; }

.baseline-video {
  position: relative; width: 100%; max-width: 360px;
  margin: 0 auto; border-radius: 12px; overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  aspect-ratio: 9 / 16; cursor: pointer;
  background: #000;
}
.baseline-video img {
  width: 100%; height: 100%; object-fit: cover;
}
.baseline-video .play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(11, 127, 173, 0.9); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s, transform 0.2s;
  z-index: 2;
}
.baseline-video .play-btn:hover {
  background: rgba(32, 164, 212, 1); transform: translate(-50%, -50%) scale(1.1);
}
.baseline-video .play-btn svg { fill: #fff; width: 24px; height: 24px; margin-left: 3px; }
.baseline-video iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border: none;
}

.baseline-text p { color: var(--color-text-muted); margin-bottom: 1.25rem; }

.baseline-price {
  background: var(--color-accent-bg); border-radius: 10px;
  padding: 1.25rem 1.5rem; margin-bottom: 1.75rem;
  display: flex; align-items: center; gap: 1.25rem;
}

.baseline-amount {
  font-size: 2.25rem; font-weight: 700; color: var(--color-text);
  line-height: 1;
}

.baseline-details {
  font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.5;
}

/* ─── SERVICES ─── */
.services { background: var(--color-bg); }
.services-content { max-width: 700px; }
.services-content p { color: var(--color-text-muted); margin-bottom: 1.25rem; }

.expect-list {
  list-style: none; display: grid; gap: 1.25rem;
  margin: 2.5rem 0;
}
.expect-list li { display: flex; gap: 1rem; align-items: flex-start; }

.expect-icon {
  flex-shrink: 0; width: 36px; height: 36px;
  background: var(--color-accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 0.85rem;
}

.expect-text h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.expect-text p { font-size: 0.92rem; margin-bottom: 0; }

.for-you {
  margin-top: 2.5rem; padding: 2rem;
  background: var(--color-warm-light); border-radius: 12px;
  border-left: 4px solid var(--color-warm);
}
.for-you h3 {
  font-family: var(--font-display); font-size: 1.2rem;
  margin-bottom: 1rem;
}
.for-you ul { list-style: none; }
.for-you li {
  padding: 0.4rem 0; padding-left: 1.25rem;
  position: relative; color: var(--color-text-muted);
  font-size: 0.95rem;
}
.for-you li::before {
  content: '—'; position: absolute; left: 0;
  color: var(--color-warm);
}

/* ─── TESTIMONIALS ─── */
.testimonials { background: var(--color-bg); }

.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: 1rem;
}

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px; padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.testimonial-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 20px rgba(11, 127, 173, 0.1);
}

.stars {
  color: #F59E0B; font-size: 1.1rem; letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: 0.95rem; color: var(--color-text-muted);
  line-height: 1.7; font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  font-size: 0.85rem; font-weight: 600;
  color: var(--color-text);
}

/* ─── INSURANCE ─── */
.insurance { background: var(--color-surface); }

.insurance-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}

.insurance-card {
  display: block; text-decoration: none; color: var(--color-text);
  background: var(--color-bg);
  border: 2px solid var(--color-border); border-radius: 12px;
  padding: 2rem; text-align: center;
  transition: all 0.25s ease;
  position: relative; overflow: hidden;
}
.insurance-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 30px rgba(11, 127, 173, 0.12);
  transform: translateY(-3px);
}

.insurance-icon {
  font-size: 2.5rem; margin-bottom: 1rem;
}

.insurance-card h3 {
  font-family: var(--font-display); font-size: 1.15rem;
  margin-bottom: 0.75rem; color: var(--color-text);
}

.insurance-card p {
  font-size: 0.9rem; color: var(--color-text-muted);
  line-height: 1.6; margin-bottom: 1.25rem;
}

.insurance-link {
  display: inline-block; font-size: 0.9rem; font-weight: 600;
  color: var(--color-accent); transition: color 0.2s;
}
.insurance-card:hover .insurance-link { color: var(--color-accent-light); }

/* ─── PRICING ─── */
.pricing { background: var(--color-surface); }

.pricing-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  max-width: 800px;
}

.price-card {
  border: 1px solid var(--color-border); border-radius: 12px;
  padding: 2.5rem 2rem; position: relative; overflow: hidden;
  transition: border-color 0.2s;
}
.price-card:hover { border-color: var(--color-accent); }
.price-card.featured {
  border-color: var(--color-accent);
  background: linear-gradient(to bottom, var(--color-accent-bg), var(--color-surface));
}

.price-badge {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: var(--color-accent); color: #fff;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 0.3rem 0.75rem; border-radius: 4px;
}

.price-card h3 {
  font-family: var(--font-display); font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.price-amount {
  font-size: 2.75rem; font-weight: 700; line-height: 1;
  margin-bottom: 0.25rem;
}
.price-amount span { font-size: 1rem; font-weight: 400; color: var(--color-text-muted); }

.price-period { font-size: 0.88rem; color: var(--color-text-muted); margin-bottom: 1.5rem; }

.price-features { list-style: none; margin-bottom: 2rem; }
.price-features li {
  padding: 0.5rem 0; font-size: 0.92rem; color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}
.price-features li:last-child { border-bottom: none; }

.price-card .btn { width: 100%; text-align: center; }

.services-cta { margin-top: 2.5rem; }

/* ─── CTA BAND ─── */
.cta-band {
  background: var(--color-dark); color: #fff;
  padding: var(--section-pad) 0; text-align: center;
}
.cta-band .section-title { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.7); max-width: 500px; margin: 0 auto 2rem; }
.cta-band .btn { background: linear-gradient(135deg, #20A4D4 0%, #5CC8E8 100%); color: #fff; font-weight: 700; box-shadow: 0 2px 12px rgba(32, 164, 212, 0.4); }
.cta-band .btn:hover { box-shadow: 0 4px 18px rgba(32, 164, 212, 0.5); }

/* ─── FOOTER ─── */
footer {
  background: var(--color-dark); color: rgba(255,255,255,0.5);
  padding: 2.5rem 0; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
footer a { color: rgba(255,255,255,0.7); }
footer a:hover { color: #fff; }

/* ─── ANIMATIONS ─── */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════
   RESPONSIVE — Tablet (769px – 1024px)
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* Nav — collapse to hamburger on tablet too */
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--color-bg); border-bottom: 1px solid var(--color-border);
    flex-direction: column; padding: 1.5rem; gap: 1.25rem;
    transform: translateY(-120%); transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-cta { width: 100%; text-align: center; }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .baseline-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { min-height: 50vh; }
  .hero .btn { font-size: 1rem; padding: 0.85rem 1.75rem; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .insurance-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Mobile (768px and below)
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Body */
  body { font-size: 16px; }

  /* Nav */
  .nav-inner { height: 64px; }
  .nav-logo { font-size: 1.05rem; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    background: var(--color-bg); border-bottom: 1px solid var(--color-border);
    flex-direction: column; padding: 1.5rem; gap: 1.25rem;
    transform: translateY(-120%); transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 1rem; }
  .nav-cta { width: 100%; text-align: center; padding: 0.75rem 1.5rem; }

  /* Hero */
  html { scroll-padding-top: 64px; }
  .hero {
    padding-top: calc(64px + 2.5rem);
    padding-bottom: 2.5rem;
    min-height: auto;
  }
  .hero h1 { font-size: 1.85rem; line-height: 1.18; }
  .hero p { font-size: 1rem; margin-bottom: 1.5rem; }
  .hero .btn { width: 100%; text-align: center; padding: 1rem 1.5rem; font-size: 1rem; }
  .hero-details {
    flex-direction: column; gap: 0.75rem;
    margin-top: 1.75rem; padding-top: 1.5rem;
    font-size: 0.85rem;
  }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-highlights { padding: 1.5rem; }
  .highlight h3 { font-size: 1rem; }

  /* Movement Baseline */
  .baseline-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .baseline-price { flex-direction: column; align-items: flex-start; gap: 0.5rem; padding: 1rem 1.25rem; }
  .baseline-amount { font-size: 1.85rem; }
  .baseline .btn { width: 100%; text-align: center; }

  /* Services */
  .services-content { max-width: 100%; }
  .for-you { padding: 1.5rem; }
  .for-you h3 { font-size: 1.05rem; }
  .expect-list li { gap: 0.75rem; }
  .expect-icon { width: 32px; height: 32px; font-size: 0.8rem; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; gap: 1rem; }
  .testimonial-card { padding: 1.5rem; }
  .testimonial-quote { font-size: 0.9rem; }

  /* Insurance */
  .insurance-grid { grid-template-columns: 1fr; gap: 1rem; }
  .insurance-card { padding: 1.5rem; }
  .insurance-icon { font-size: 2rem; margin-bottom: 0.75rem; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .price-card { padding: 2rem 1.5rem; }
  .price-amount { font-size: 2.25rem; }
  .btn-outline { width: 100%; text-align: center; }

  /* CTA Band */
  .cta-band .section-title { font-size: 1.5rem; }
  .cta-band p { font-size: 0.95rem; }
  .cta-band .btn { width: 100%; text-align: center; }

  /* Footer */
  .footer-inner {
    flex-direction: column; text-align: center; gap: 0.75rem;
  }

  /* Buttons — disable glow on mobile for performance */
  .btn { animation: none; }
  .nav-cta { animation: none; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Small phones (400px and below)
   ═══════════════════════════════════════════ */
@media (max-width: 400px) {
  .hero h1 { font-size: 1.6rem; }
  .hero-tag { font-size: 0.7rem; }
  .section-title { font-size: 1.4rem; }
  .price-amount { font-size: 2rem; }
  .insurance-card h3 { font-size: 1rem; }
}