html:has(body[data-page="mobile-only"]),
body[data-page="mobile-only"] {
  margin: 0;
  background: #ececec;
  color: #0f0f0f;
  font-family: "GmarketSans", "Pretendard", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}

body[data-page="mobile-only"] .skip-link,
body[data-page="mobile-only"] .site-footer,
body[data-page="mobile-only"] .bottom-consult-bar {
  display: none;
}

body[data-page="mobile-only"] main {
  width: 100%;
  margin: 0;
  padding: 0;
}

.mobile-only-home {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 0 82px;
  background: #fff;
  box-shadow: 0 0 34px rgba(15, 15, 15, 0.12);
}

.m-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e6e6e6;
  backdrop-filter: blur(14px);
}

.m-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0f0f0f;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
}

.m-brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.m-subscribe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 15px;
  border-radius: 999px;
  background: #ff0000;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.m-hero {
  padding: 12px 12px 6px;
}

.m-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 1920 / 675;
  border-radius: 14px;
  object-fit: cover;
  background: #f5f5f5;
}

.m-hero-copy {
  display: grid;
  gap: 7px;
  padding: 14px 4px 4px;
  text-align: center;
}

.m-hero-copy strong {
  color: #9b4f3f;
  font-size: 12px;
  font-weight: 900;
}

.m-hero-copy h1 {
  margin: 0;
  color: #0f0f0f;
  font-size: 23px;
  line-height: 1.22;
  letter-spacing: 0;
}

.m-hero-copy p {
  margin: 0;
  color: #606060;
  font-size: 14px;
  line-height: 1.55;
}

.m-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 0;
  margin: 10px 14px 8px;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.m-search input {
  min-width: 0;
  height: 44px;
  padding: 0 16px;
  border: 0;
  color: #0f0f0f;
  font: inherit;
  font-size: 14px;
  outline: 0;
}

.m-search button {
  border: 0;
  border-left: 1px solid #e5e5e5;
  background: #f8f8f8;
  color: #0f0f0f;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
}

.m-chip-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 5px 14px 12px;
  scrollbar-width: none;
}

.m-chip-row::-webkit-scrollbar,
.m-video-list::-webkit-scrollbar {
  display: none;
}

.m-chip-row a {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 999px;
  background: #f2f2f2;
  color: #111;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.m-playlist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px 14px 18px;
}

.m-playlist-grid a {
  display: grid;
  gap: 7px;
  align-content: start;
  min-height: 130px;
  padding: 16px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fbfbfb);
  color: #0f0f0f;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 15, 15, 0.05);
}

.m-playlist-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 2px;
  border-radius: 14px;
  background: #ffcc00;
  color: #111;
}

.m-playlist-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.m-playlist-grid strong {
  font-size: 15px;
  line-height: 1.25;
  word-break: keep-all;
}

.m-playlist-grid small {
  justify-self: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f2f2f2;
  color: #111;
  font-size: 12px;
  font-weight: 900;
}

.m-video-section {
  padding: 18px 0 10px;
  border-top: 1px solid #eeeeee;
}

.m-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px 12px;
}

.m-section-head h2 {
  margin: 0;
  color: #0f0f0f;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: 0;
}

.m-section-head p {
  margin: 5px 0 0;
  color: #606060;
  font-size: 13px;
  line-height: 1.45;
  word-break: keep-all;
}

.m-section-head a {
  flex: 0 0 auto;
  color: #9b4f3f;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.m-video-list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 14px 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.m-video-card {
  flex: 0 0 272px;
  scroll-snap-align: start;
}

.m-video-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #111;
}

.m-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-video-thumb span {
  position: absolute;
  right: 7px;
  bottom: 7px;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.84);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.m-video-badge {
  position: absolute;
  left: 7px;
  top: 7px;
  padding: 4px 7px;
  border-radius: 999px;
  background: #ef2b23;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.m-video-body {
  display: grid;
  gap: 6px;
  padding-top: 9px;
}

.m-video-title {
  display: -webkit-box;
  overflow: hidden;
  color: #0f0f0f;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.m-video-body p {
  margin: 0;
  color: #606060;
  font-size: 12px;
}

.m-video-topic {
  justify-self: start;
  padding: 6px 9px;
  border-radius: 999px;
  background: #f2f2f2;
  color: #0f0f0f;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}

.m-channel-box {
  display: grid;
  gap: 10px;
  margin: 18px 14px 10px;
  padding: 16px;
  border-radius: 16px;
  background: #fff7ed;
  color: #3b241d;
  text-align: center;
}

.m-channel-box strong {
  font-size: 15px;
  line-height: 1.45;
  word-break: keep-all;
}

.m-channel-box a {
  justify-self: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: #9b4f3f;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.m-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(100%, 430px);
  min-height: 60px;
  padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  border-top: 1px solid #e5e5e5;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -10px 28px rgba(15, 15, 15, 0.08);
  backdrop-filter: blur(14px);
}

.m-bottom-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f0f0f;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

/* Compact mobile home */
.compact-mobile-home {
  max-width: 430px;
  padding-bottom: 76px;
  background: #fff;
}

.compact-mobile-home .m-topbar.compact {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 58px;
  padding: 10px 16px;
  border-bottom: 1px solid #eee;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.compact-mobile-home .m-brand span {
  font-size: 20px;
}

.compact-mobile-home .m-hero.compact {
  margin: 0;
  padding: 28px 18px 22px;
  border-radius: 0;
  background: #fff;
  text-align: left;
}

.compact-mobile-home .m-hero-copy {
  position: static;
  padding: 0;
  background: transparent;
  color: #111;
  text-shadow: none;
}

.compact-mobile-home .m-hero-copy h1 {
  max-width: 100%;
  margin: 0;
  color: #111;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: left;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.compact-mobile-home .m-search {
  margin: 0 14px 12px;
  min-height: 50px;
  border-radius: 12px;
}

.compact-mobile-home .m-search input {
  font-size: 14px;
}

.compact-mobile-home .m-search button {
  min-width: 74px;
  font-size: 14px;
}

.m-quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0 14px 18px;
}

.m-quick-links a {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  background: #fafafa;
  color: #111;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.compact-mobile-home .m-video-section {
  margin: 0;
  padding: 0 14px 18px;
  border-top: 1px solid #f0f0f0;
}

.compact-mobile-home .m-section-head {
  padding: 18px 0 10px;
}

.compact-mobile-home .m-section-head h2 {
  font-size: 20px;
}

.compact-mobile-home .m-video-list {
  display: grid;
  grid-auto-flow: row;
  grid-auto-columns: auto;
  gap: 12px;
  overflow: visible;
  padding: 0;
}

.compact-mobile-home .m-video-card {
  width: auto;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 10px;
  padding: 0;
  border: 0;
  box-shadow: none;
  min-width: 0;
}

.compact-mobile-home .m-video-thumb {
  border-radius: 8px;
}

.compact-mobile-home .m-video-body {
  gap: 5px;
  padding: 0;
  min-width: 0;
}

.compact-mobile-home .m-video-title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.compact-mobile-home .m-video-topic {
  display: none;
}

.compact-mobile-home .m-hero-copy p {
  margin: 8px 0 0;
  color: #555;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.compact-mobile-home .m-topbar.compact {
  justify-content: space-between;
}

.compact-mobile-home .m-video-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compact-mobile-home .m-video-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.compact-mobile-home .m-video-thumb {
  width: 100%;
}

@media (max-width: 360px) {
  .compact-mobile-home .m-video-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .compact-mobile-home .m-hero-copy h1 {
    font-size: 22px;
  }
}

/* Dedicated mobile pages */
.m-page {
  min-height: 100vh;
  color: #111;
  background: #fff;
}

.m-page a {
  color: inherit;
}

.m-page-topbar {
  gap: 10px;
}

.m-topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.m-topbar-actions > a:not(.guide-phone-link) {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f3f3f3;
  color: #111;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.m-page .guide-phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.m-page .guide-phone-link.icon-only strong,
.m-page .guide-phone-link.icon-only em {
  display: none;
}

.m-page-hero {
  display: grid;
  gap: 8px;
  padding: 20px 16px 14px;
  background: #fff;
}

.m-page-hero > span {
  color: #9b4f3f;
  font-size: 12px;
  font-weight: 900;
}

.m-page-hero h1 {
  margin: 0;
  color: #111;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.m-page-hero p {
  margin: 0;
  color: #555;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  word-break: keep-all;
}

.m-page-section {
  padding-bottom: 18px;
}

.m-video-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 10px;
  overflow: visible;
  padding: 0 14px;
  scroll-snap-type: none;
}

.m-video-list-grid .m-video-card {
  flex: none;
  min-width: 0;
  width: auto;
}

.m-video-list-grid .m-video-title {
  font-size: 13px;
  line-height: 1.34;
}

.m-empty-state {
  margin: 0 14px;
  padding: 18px;
  border-radius: 14px;
  background: #f7f7f7;
  color: #555;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.m-subcategory-pills {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 4px 0 2px;
  scrollbar-width: none;
}

.m-subcategory-pills::-webkit-scrollbar {
  display: none;
}

.m-subcategory-pills a {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid #e3e3e3;
  border-radius: 999px;
  background: #f8f8f8;
  color: #111;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.m-subcategory-pills a.is-active {
  border-color: #111;
  background: #111;
  color: #fff;
}

.m-progress-card {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding: 12px;
  border-radius: 14px;
  background: #f5f5f5;
}

.m-progress-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #111;
  font-size: 13px;
  font-weight: 900;
}

.m-progress-card div span {
  color: #666;
  font-size: 12px;
  font-weight: 800;
}

.m-progress-card > span {
  overflow: hidden;
  height: 7px;
  border-radius: 999px;
  background: #e6e6e6;
}

.m-progress-card > span em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #111;
}

.m-search-page .m-search {
  margin: 8px 0 0;
}

.m-watch-page {
  display: grid;
  gap: 0;
}

.m-watch-actions {
  display: flex;
  gap: 7px;
  justify-content: center;
  overflow-x: auto;
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  scrollbar-width: none;
}

.m-watch-actions::-webkit-scrollbar {
  display: none;
}

.m-watch-actions a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f2f2f2;
  color: #111;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.m-watch-actions a:nth-child(2) {
  background: #111;
  color: #fff;
}

.m-video-page .video-player {
  position: relative;
  width: calc(100% - 28px);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}

.m-video-page .video-player iframe,
.m-video-page .video-player .youtube-lite-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.m-video-page .video-player .youtube-lite-poster {
  padding: 0;
  background: #000;
  cursor: pointer;
}

.m-video-page .video-player .youtube-lite-poster picture {
  display: block;
  width: 100%;
  height: 100%;
}

.m-video-page .video-player img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.m-video-page .youtube-lite-play-icon {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: rgba(239, 43, 35, 0.9);
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.m-video-page .video-landscape-button {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 4;
  min-height: 31px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.84);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.m-watch-info {
  display: grid;
  gap: 9px;
  padding: 13px 14px 16px;
}

.m-topic-pill {
  justify-self: start;
  padding: 6px 9px;
  border-radius: 999px;
  background: #f1f1f1;
  color: #333;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.m-watch-info h1 {
  margin: 0;
  color: #111;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.m-video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  color: #666;
  font-size: 12px;
  font-weight: 700;
}

.m-watch-previous-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.m-watch-nav-link {
  display: grid;
  gap: 4px;
  min-height: 66px;
  padding: 10px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fafafa;
  color: #111;
  text-decoration: none;
  min-width: 0;
}

.m-watch-nav-link small {
  color: #777;
  font-size: 11px;
  font-weight: 900;
}

.m-watch-nav-link strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.m-watch-nav-link.is-disabled {
  opacity: 0.45;
}

.m-video-end-cta {
  display: grid;
  gap: 10px;
  margin: 0 14px 14px;
  padding: 12px;
  border-radius: 14px;
  background: #f7f7f7;
}

.m-diagnosis-page .diagnosis-tool,
.m-consult-page {
  display: grid;
  gap: 12px;
  padding: 0 14px 18px;
}

.m-diagnosis-page .diagnosis-form,
.m-diagnosis-page .diagnosis-result,
.m-consult-form {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.m-diagnosis-page .diagnosis-question {
  margin: 0;
  padding: 12px;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  background: #fff;
}

.m-diagnosis-page .diagnosis-question legend {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  color: #111;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}

.m-diagnosis-page .diagnosis-question legend span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #ffcc00;
  color: #111;
  font-size: 12px;
}

.m-diagnosis-page .diagnosis-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.m-diagnosis-page .diagnosis-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.m-diagnosis-page .diagnosis-option span {
  display: grid;
  min-height: 42px;
  place-items: center;
  padding: 9px 8px;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  background: #fafafa;
  color: #111;
  text-align: center;
}

.m-diagnosis-page .diagnosis-option strong {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.m-diagnosis-page .diagnosis-option:has(input:checked) span {
  border-color: #111;
  background: #111;
  color: #fff;
}

.m-diagnosis-page .diagnosis-submit-row,
.m-diagnosis-page .diagnosis-result-actions,
.m-consult-page .consult-submit-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.m-diagnosis-page .diagnosis-submit,
.m-consult-page .consult-submit-row button,
.m-consult-page .consult-submit-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: #111;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.m-diagnosis-page .diagnosis-submit-row p,
.m-consult-page .consult-message {
  margin: 0;
  color: #777;
  font-size: 12px;
  font-weight: 700;
}

.m-diagnosis-page .diagnosis-result {
  padding: 14px;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  background: #fff;
}

.m-diagnosis-page .diagnosis-result-head h2 {
  margin: 2px 0;
  font-size: 20px;
  line-height: 1.25;
}

.m-diagnosis-page .diagnosis-video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.m-consult-form label {
  display: grid;
  gap: 6px;
}

.m-consult-form label > span,
.m-consult-form .consult-consent span {
  color: #111;
  font-size: 13px;
  font-weight: 900;
}

.m-consult-form input,
.m-consult-form textarea,
.m-consult-form select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #dfdfdf;
  border-radius: 12px;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
}

.m-consult-form input,
.m-consult-form select {
  min-height: 46px;
  padding: 0 12px;
}

.m-consult-form textarea {
  min-height: 108px;
  padding: 12px;
  resize: vertical;
}

.m-consult-form .consult-consent {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
}

.m-consult-page .consult-submit-row a {
  background: #f2f2f2;
  color: #111;
}

/* Mobile consult final design */
.m-consult-shell {
  background: #fffaf4;
}

.m-consult-page {
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 28px 16px 34px;
  background: #fffaf4;
}

.m-consult-hero {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 14px 0 26px;
  text-align: center;
}

.m-consult-hero h1 {
  margin: 0;
  color: #111;
  font-size: 35px;
  font-weight: 900;
  line-height: 1.22;
}

.m-consult-hero p {
  margin: 0;
  color: #4a3626;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
}

.m-consult-form {
  gap: 14px;
  padding: 20px !important;
  border: 1px solid #ead9ca !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 18px 42px rgba(102, 72, 45, 0.08) !important;
}

.m-consult-form label {
  gap: 8px;
}

.m-consult-form label > span,
.m-consult-form .consult-consent span {
  font-size: 14px;
  line-height: 1.25;
}

.m-consult-form label > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #111;
  font-size: 16px;
  font-weight: 900;
}

.m-consult-form .consult-required {
  min-height: 18px;
  padding: 0 7px;
  background: #fff1f1;
  color: #d82323;
  font-size: 10px;
  line-height: 1;
}

.m-consult-form input,
.m-consult-form select {
  min-height: 50px;
  border-color: #ead9ca;
  border-radius: 9px;
  background: #fffdfb;
  font-size: 16px;
  font-weight: 800;
}

.m-consult-form input::placeholder {
  color: #a99b91;
}

.m-consult-form input:focus,
.m-consult-form select:focus {
  outline: 3px solid rgba(255, 112, 0, 0.16);
  border-color: #ff7300;
}

.m-consult-form .consult-consent {
  min-height: 56px;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #ead9ca;
  border-radius: 9px;
  background: #fffdfb;
}

.m-consult-form .consult-consent input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: #ff7300;
}

.m-consult-page .consult-submit-row {
  grid-template-columns: 1fr;
}

.m-consult-page .consult-submit-row button {
  min-height: 56px;
  border-radius: 10px;
  background: #ff7300;
  color: #fff;
  font-size: 17px;
}

.m-consult-page .consult-submit-row a {
  min-height: 44px;
  background: transparent;
  color: #6b5b4d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.m-consult-page .consult-message {
  min-height: 18px;
  color: #76695e;
  text-align: center;
}

.m-consult-benefits {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  color: #513b29;
  font-size: 13px;
  font-weight: 900;
}

.m-consult-benefits span::before {
  content: "✓";
  margin-right: 4px;
  color: #ff7300;
}

.m-consult-phone,
.m-consult-help {
  margin: 10px 0 0;
  color: #6b5b4d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.m-consult-phone a {
  color: #6b5b4d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 360px) {
  .m-page-hero h1 {
    font-size: 23px;
  }

  .m-video-list-grid {
    gap: 12px 8px;
    padding: 0 12px;
  }

  .m-diagnosis-page .diagnosis-options {
    gap: 7px;
  }
}
