/* SkyFit v17 — EMS page */
.ems-page-modern {
  padding-bottom: 56px;
}
.ems-page-modern .panel {
  background:
    linear-gradient(135deg, rgba(244,251,255,.94), rgba(215,238,254,.88)) !important;
  border: 1px solid rgba(255,255,255,.80) !important;
  box-shadow: 0 22px 55px rgba(0, 72, 140, .24) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.ems-hero-panel {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 28px;
  padding: 28px;
  min-height: 520px;
}
.ems-hero-copy {
  align-self: center;
  padding: clamp(24px, 3.8vw, 62px) clamp(20px, 3.2vw, 52px);
}
.ems-hero-copy h1,
.ems-content-panel h2,
.ems-form-panel h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: #06295a;
  letter-spacing: -.045em;
  line-height: .98;
  margin: 0;
}
.ems-hero-copy h1 {
  font-size: clamp(58px, 7.2vw, 120px);
}
.ems-hero-image {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  min-height: 460px;
  background: rgba(255,255,255,.34);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.52);
}
.ems-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.ems-price-card {
  margin-top: 34px;
  width: min(410px, 100%);
  border-radius: 22px;
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(6,41,90,.96), rgba(0,127,208,.92));
  color: #fff;
  box-shadow: 0 18px 38px rgba(0, 54, 122, .26);
}
.ems-price-card span,
.ems-price-card small {
  display: block;
  color: rgba(255,255,255,.82);
  font-weight: 800;
}
.ems-price-card strong {
  display: block;
  margin: 8px 0 2px;
  font-size: clamp(42px, 4vw, 66px);
  line-height: 1;
  letter-spacing: -.04em;
}
.ems-content-panel,
.ems-form-panel {
  padding: clamp(30px, 4vw, 58px);
}
.ems-about-panel {
  display: grid;
  grid-template-columns: .75fr 1fr;
  gap: 54px;
}
.section-kicker {
  margin: 0 0 14px;
  color: #0086d7;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.ems-content-panel h2,
.ems-form-panel h2 {
  font-size: clamp(40px, 4.6vw, 76px);
}
.ems-text-stack {
  display: grid;
  gap: 18px;
  align-self: end;
}
.ems-text-stack p,
.ems-content-panel p,
.ems-form-panel p {
  color: #123a68;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 560;
  margin: 0;
}
.ems-section-head {
  max-width: 840px;
  margin-bottom: 28px;
}
.ems-section-head-row {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 520px);
  gap: 36px;
  align-items: end;
}
.ems-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ems-benefit-grid article,
.ems-trainer-card,
.ems-faq-list details {
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 22px;
  background: rgba(255,255,255,.54);
  box-shadow: 0 10px 28px rgba(0, 72, 140, .10);
}
.ems-benefit-grid article {
  padding: 24px;
}
.ems-benefit-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #0086d7;
  background: rgba(0, 134, 215, .11);
  font-size: 13px;
  font-weight: 900;
}
.ems-benefit-grid h3,
.ems-trainer-card h3 {
  margin: 0 0 12px;
  color: #06295a;
  font-size: 22px;
  line-height: 1.2;
}
.ems-benefit-grid p,
.ems-trainer-card p,
.ems-faq-list p {
  font-size: 15px;
  line-height: 1.65;
}
.ems-trainer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.ems-trainer-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  padding: 18px;
  align-items: center;
}
.ems-trainer-card figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: rgba(255,255,255,.5);
}
.ems-trainer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.trainer-role {
  margin: 0 0 14px !important;
  color: #0086d7 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ems-faq-list {
  display: grid;
  gap: 12px;
}
.ems-faq-list details {
  padding: 0;
  overflow: hidden;
}
.ems-faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 24px;
  color: #06295a;
  font-size: 18px;
  font-weight: 900;
}
.ems-faq-list summary::-webkit-details-marker { display: none; }
.ems-faq-list summary::after {
  content: "+";
  float: right;
  color: #0086d7;
  font-weight: 900;
}
.ems-faq-list details[open] summary::after { content: "–"; }
.ems-faq-list p {
  padding: 0 24px 24px;
}
.ems-form-panel {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 34px;
  align-items: center;
}
.ems-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  align-items: end;
}
.ems-form-note {
  grid-column: 2;
  margin-top: -16px !important;
  font-size: 14px !important;
}
@media (max-width: 1180px) {
  .ems-hero-panel,
  .ems-about-panel,
  .ems-section-head-row,
  .ems-form-panel {
    grid-template-columns: 1fr;
  }
  .ems-benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .ems-trainer-card { grid-template-columns: 220px 1fr; }
  .ems-form-note { grid-column: 1; margin-top: 0 !important; }
}
@media (max-width: 760px) {
  .ems-hero-panel { padding: 18px; min-height: auto; }
  .ems-hero-copy { padding: 22px 8px; }
  .ems-hero-copy h1 { font-size: clamp(52px, 16vw, 78px); }
  .ems-hero-image { min-height: 320px; }
  .ems-content-panel,
  .ems-form-panel { padding: 26px 20px; }
  .ems-benefit-grid,
  .ems-trainer-grid,
  .ems-form { grid-template-columns: 1fr; }
  .ems-trainer-card { grid-template-columns: 1fr; }
  .ems-trainer-card figure { aspect-ratio: 16 / 10; }
}


/* SkyFit v18 — EMS photos and larger readable desktop text */
.ems-hero-image img[src*="ems-main"] {
  object-position: 50% 48%;
}
.ems-media-panel {
  display: grid;
  gap: 28px;
}
.ems-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.ems-photo-grid figure {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: rgba(255,255,255,.44);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 12px 30px rgba(0, 72, 140, .13);
}
.ems-photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
@media (min-width: 761px) {
  .ems-text-stack p,
  .ems-content-panel p,
  .ems-form-panel p {
    font-size: 22px !important;
    line-height: 1.58 !important;
  }
  .ems-benefit-grid p,
  .ems-trainer-card p,
  .ems-faq-list p {
    font-size: 18px !important;
    line-height: 1.62 !important;
  }
  .ems-benefit-grid h3,
  .ems-trainer-card h3 {
    font-size: 26px !important;
  }
  .ems-faq-list summary {
    font-size: 22px !important;
    line-height: 1.35 !important;
  }
  .trainer-role {
    font-size: 15px !important;
  }
}
@media (max-width: 1180px) {
  .ems-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ems-photo-grid { grid-template-columns: 1fr; }
  .ems-photo-grid figure { aspect-ratio: 16 / 12; }
}
