:root {
  --blue: #00398f;
  --deep-blue: #062d78;
  --text: #242424;
  --muted: #666;
  --paper: #f3f6fb;
  --line: #dfe4eb;
  --header-h: 114px;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", Arial, sans-serif;
  color: var(--text);
  background: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #fff;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(5, 20, 40, 0.08);
  transition: height 180ms ease;
}

.header-utility {
  max-width: 1200px;
  height: 36px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 26px;
  color: #444;
  font-size: 13px;
  line-height: 1.7;
}

.header-utility a:first-child,
.header-utility a:last-child {
  color: var(--blue);
  font-weight: 800;
}

.header-main {
  max-width: 1200px;
  height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto 1fr auto auto auto;
  align-items: center;
  gap: 18px;
}

.brand img {
  display: block;
  width: 174px;
  height: auto;
}

.branch {
  width: 90px;
  height: 30px;
  border: 1px solid #777;
  border-radius: 16px;
  background: #fff;
  color: #222;
  text-align: left;
  padding-left: 18px;
  cursor: pointer;
  position: relative;
}

.branch::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
  transform: rotate(45deg);
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.9vw, 42px);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
}

.primary-nav a {
  white-space: nowrap;
}

.search,
.hamburger {
  width: 34px;
  height: 34px;
  border: 0;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.search {
  position: relative;
}

.search::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 18px;
  height: 18px;
  border: 2px solid #9a9a9a;
  border-radius: 50%;
}

.search::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 24px;
  width: 11px;
  height: 2px;
  background: #9a9a9a;
  transform: rotate(45deg);
  transform-origin: left center;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 4px;
  width: 26px;
  height: 2px;
  background: #888;
}

.hamburger::before {
  top: 10px;
  box-shadow: 0 8px 0 #888;
}

.hamburger::after {
  top: 26px;
}

.booking-top {
  display: none;
  align-items: center;
  justify-content: center;
  width: 98px;
  height: 61px;
  color: #fff;
  background: #072c77;
  font-weight: 800;
}

.site-header.is-mini {
  --header-h: 61px;
}

.site-header.is-mini .header-utility,
.site-header.is-mini .hamburger {
  display: none;
}

.site-header.is-mini .header-main {
  height: 61px;
  grid-template-columns: auto auto 1fr auto auto;
}

.site-header.is-mini .brand img {
  width: 154px;
}

.site-header.is-mini .primary-nav {
  font-size: 16px;
  gap: clamp(22px, 3.2vw, 46px);
}

.site-header.is-mini .booking-top {
  display: flex;
}

.page {
  min-height: 100vh;
  scroll-snap-type: y mandatory;
}

.screen {
  position: relative;
  min-height: 100svh;
  padding: var(--header-h) 40px 30px;
  scroll-snap-align: start;
  overflow: hidden;
}

@supports (height: 100dvh) {
  .screen {
    min-height: 100dvh;
  }
}

.side-label {
  position: absolute;
  left: 20px;
  top: 147px;
  z-index: 5;
  width: 74px;
  min-height: 260px;
  display: grid;
  grid-template-rows: 64px auto 1fr;
  color: #222;
  font-size: 14px;
  font-weight: 800;
}

.side-label span,
.side-label b {
  width: 1px;
  background: rgba(0, 0, 0, 0.25);
}

.side-label em {
  writing-mode: horizontal-tb;
  font-style: normal;
  padding: 24px 0 0 12px;
  white-space: nowrap;
}

.main-hero {
  --hero-h: 402px;
  background: #fff;
  padding-inline: 40px;
}

.hero-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  height: var(--hero-h);
  background:
    linear-gradient(90deg, rgba(10, 44, 91, 0.56), rgba(229, 171, 28, 0.44)),
    url("./assets/stock/consultation.jpg") center 44% / cover no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 22%, transparent 78%, rgba(255, 255, 255, 0.56)),
    radial-gradient(circle at 78% 48%, rgba(255, 221, 115, 0.42), transparent 24%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(680px, 52vw);
  margin-top: 86px;
  margin-left: 120px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.hero-copy p {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(34px, 3vw, 46px);
  line-height: 1.24;
  letter-spacing: 0;
  max-width: 720px;
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 45px;
}

.hero-controls button {
  width: 14px;
  height: 18px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.hero-controls button:first-child::before {
  content: "";
  position: absolute;
  inset: 4px 2px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.hero-controls button:nth-child(2)::before,
.hero-controls button:nth-child(2)::after {
  content: "";
  position: absolute;
  top: 3px;
  width: 3px;
  height: 14px;
  background: #fff;
}

.hero-controls button:nth-child(2)::before {
  left: 3px;
}

.hero-controls button:nth-child(2)::after {
  right: 3px;
}

.hero-controls i,
.event-controls i {
  display: block;
  width: 14px;
  height: 14px;
  border: 1px solid #fff;
  border-radius: 50%;
}

.hero-controls i.active,
.event-controls i.active {
  background: #fff;
}

.booking-card {
  position: absolute;
  z-index: 3;
  top: calc(var(--header-h) + 103px);
  right: 40px;
  width: 348px;
  height: 268px;
  border-radius: 12px;
  background: #f5f0e9;
  overflow: hidden;
}

.booking-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 42px;
}

.booking-tabs button {
  border: 0;
  background: #fff;
  color: #222;
  font-weight: 700;
  cursor: pointer;
}

.booking-tabs .active {
  background: #4c619f;
  color: #fff;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 76px 76px;
  gap: 6px;
  padding: 34px 44px 0;
}

.booking-grid select,
.booking-grid input[type="text"],
.booking-grid input[type="tel"],
.booking-grid label {
  height: 36px;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  background: #fff;
  color: #777;
  padding: 0 10px;
}

.booking-grid label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.booking-grid input[type="text"],
.booking-grid input[type="tel"] {
  grid-column: span 1;
}

.booking-grid input[type="tel"] {
  grid-column: span 2;
}

.reserve-submit {
  width: calc(100% - 88px);
  height: 38px;
  margin: 28px 44px 0;
  border: 0;
  border-radius: 6px;
  background: #739bfb;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.quick-menu {
  position: relative;
  z-index: 3;
  margin: 105px 0 0 120px;
  display: flex;
  align-items: center;
  gap: 32px;
  width: calc(100% - 240px);
  height: 50px;
  font-size: 14px;
  font-weight: 700;
}

.quick-menu .active {
  font-weight: 900;
}

.review-row {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 46% 1fr 1fr;
  gap: 24px;
  margin: 0 auto;
  max-width: 1200px;
  height: 250px;
}

.review {
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
}

.review::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 36%, rgba(0, 0, 0, 0.58));
  pointer-events: none;
}

.review-lead::before {
  display: none;
}

.review img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.9) contrast(0.94);
}

.review h2 {
  position: absolute;
  top: -62px;
  left: 0;
  margin: 0;
  font-size: 30px;
  line-height: 1.36;
  letter-spacing: 0;
}

.review p {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 18px;
  margin: 0;
  color: #fff;
  font-size: 19px;
  line-height: 1.48;
  font-weight: 700;
}

.review span {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 14px;
  background: #111;
  color: #fff;
  font-size: 14px;
}

.review-lead > div {
  display: grid;
  grid-template-columns: 64% 1fr;
  height: 100%;
}

.review-lead p {
  position: static;
  color: #333;
  padding: 42px 22px;
  background: #f7f7f7;
}

.review button,
.video-strip button {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 66px;
  height: 66px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.review button::before,
.video-strip button::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 21px;
  border-left: 18px solid #1f1f1f;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.treatment-screen,
.channel-screen {
  background: var(--paper);
  padding-left: 120px;
  padding-right: 120px;
}

.content-grid {
  max-width: 1200px;
  height: calc(100svh - var(--header-h) - 30px);
  min-height: 780px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 60px;
  row-gap: 54px;
  align-content: center;
  padding-top: 54px;
}

.topic-block h2,
.doctor-block h2,
.method-block h2,
.channel-layout h2 {
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1.34;
  letter-spacing: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 24px;
}

.card-grid a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #ddd;
}

.card-grid a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 56, 76, 0.66), rgba(0, 56, 76, 0.08));
  pointer-events: none;
}

.topic-block:nth-child(2) .card-grid a::after {
  background: linear-gradient(90deg, rgba(42, 34, 104, 0.68), rgba(42, 34, 104, 0.08));
}

.card-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(0.96);
}

.card-grid .wide-card {
  grid-column: 1 / -1;
  height: 140px;
}

.card-grid a:not(.wide-card) {
  height: 234px;
}

.card-grid span {
  position: absolute;
  z-index: 2;
  left: 20px;
  top: 18px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.38;
  letter-spacing: 0;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  word-break: keep-all;
}

.card-grid .wide-card span {
  left: 26px;
  top: 30px;
  font-size: 28px;
  line-height: 1.28;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-title h2 {
  margin-right: 4px;
}

.section-title button {
  width: 26px;
  height: 26px;
  border: 0;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.section-title button::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-left: 1px solid #333;
  border-bottom: 1px solid #333;
}

.section-title button:first-of-type::before {
  transform: rotate(45deg);
}

.section-title button:last-of-type::before {
  transform: rotate(-135deg);
}

.doctors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.doctors article {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 4px 20px rgba(38, 63, 93, 0.05);
}

.doctors span {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 14px;
  background: #eef3ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.doctors img {
  width: 100%;
  height: 124px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.doctors p {
  margin: 0;
  padding: 12px 8px;
  background: #fff;
  font-size: 16px;
  line-height: 1.45;
}

.method-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #cfd5dd;
}

.method-list a {
  padding: 18px 22px;
  border-bottom: 1px solid #cfd5dd;
  font-size: 19px;
  line-height: 1.35;
}

.method-list a::after,
.clinic-links a::after {
  content: "›";
  margin-left: 8px;
  color: #6f7782;
}

.channel-screen {
  background: #fff;
}

.channel-layout {
  max-width: 1200px;
  min-height: 800px;
  margin: 0 auto;
  padding-top: 92px;
  display: grid;
  grid-template-columns: 240px 1fr;
  grid-template-rows: 300px 1fr auto;
  gap: 44px 48px;
}

.channel-layout aside .section-title h2 {
  white-space: nowrap;
  font-size: 30px;
}

.channel-layout aside h3 {
  margin: 22px 0 18px;
  padding-left: 36px;
  position: relative;
  font-size: 20px;
  line-height: 1.45;
}

.channel-layout aside h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 22px;
  height: 4px;
  background: var(--blue);
}

.channel-layout aside p {
  margin: 0 0 78px;
  font-size: 18px;
  line-height: 1.6;
}

.youtube-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 216px;
  height: 66px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(17, 35, 56, 0.16);
  padding-right: 24px;
  font-size: 14px;
}

.youtube-link::before {
  content: "";
  width: 54px;
  height: 38px;
  margin-right: 18px;
  border-radius: 10px;
  background: #e62117;
}

.youtube-link b {
  color: #e62117;
}

.video-strip {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  overflow: hidden;
}

.video-strip article {
  position: relative;
  height: 222px;
  overflow: hidden;
  background: #e7eef5;
}

.video-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) contrast(0.92);
}

.video-strip article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(4, 42, 95, 0.8));
  pointer-events: none;
}

.video-strip span {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 20px;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.32;
  word-break: keep-all;
}

.all-care {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 42px;
}

.care-grid a {
  min-height: 96px;
  padding-top: 82px;
  text-align: center;
  background-repeat: no-repeat;
  background-position: center top;
  font-size: 17px;
  line-height: 1.45;
  color: #555;
}

.care-grid a {
  position: relative;
  background-image: none;
}

.care-grid a::before {
  content: attr(data-icon);
  position: absolute;
  left: 50%;
  top: 0;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 24px;
  transform: translateX(-50%);
  background: linear-gradient(145deg, #f6fbff, #e7effd);
  box-shadow: 0 12px 24px rgba(26, 62, 118, 0.08);
  color: #0a4c98;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.care-grid a::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 48px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(134, 157, 210, 0.34);
  transform: translateX(8px);
}

.lk9::before {
  border-radius: 50% 24px 50% 24px;
}
.lk1::before {
  border-radius: 50%;
}
.lk2::before {
  transform: translateX(-50%) rotate(8deg);
}
.lk14 {
  word-break: keep-all;
}
.lk14::before {
  border-radius: 18px;
  font-size: 25px;
}

.lk3::before {
  border-radius: 32px 32px 16px 16px;
}
.lk4::before {
  border-radius: 12px 34px 12px 34px;
}
.lk12::before {
  transform: translateX(-50%) rotate(-35deg);
}
.lk13::before {
  border-radius: 50% 50% 36% 36%;
}

.clinic-links {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #cfd5dd;
  padding-top: 22px;
  font-size: 18px;
}

.clinic-links b {
  font-size: 25px;
}

.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 45;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.floating-reserve {
  position: relative;
  width: 70px;
  height: 124px;
  border-radius: 36px;
  background: #0043a8;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.16;
}

.floating-reserve span {
  position: absolute;
  top: 0;
  right: -1px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f20d1f;
  font-size: 17px;
  line-height: 28px;
}

.to-top {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.16);
  position: relative;
}

.to-top::before,
.to-top::after {
  content: "";
  position: absolute;
  background: #777;
}

.to-top::before {
  width: 2px;
  height: 26px;
  left: 33px;
  top: 23px;
}

.to-top::after {
  width: 16px;
  height: 16px;
  left: 25px;
  top: 21px;
  border-left: 2px solid #777;
  border-top: 2px solid #777;
  background: transparent;
  transform: rotate(45deg);
}

.event-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
}

.event-modal.is-open {
  display: flex;
}

.event-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}

.event-panel {
  position: relative;
  width: min(400px, calc(100vw - 32px));
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.25);
}

.event-image {
  height: 400px;
  background: #dfe8ff;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-controls {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.event-controls i {
  width: 12px;
  height: 12px;
  border-color: #aaa;
}

.event-controls i.active {
  background: #aaa;
}

.event-bottom {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  color: #333;
  font-size: 15px;
}

.event-bottom label {
  display: flex;
  align-items: center;
  gap: 6px;
}

#closeEvent {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  position: relative;
  cursor: pointer;
}

#closeEvent::before,
#closeEvent::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 4px;
  width: 2px;
  height: 22px;
  background: #555;
}

#closeEvent::before {
  transform: rotate(45deg);
}

#closeEvent::after {
  transform: rotate(-45deg);
}

@media (max-width: 1024px) {
  .site-header,
  .site-header.is-mini {
    --header-h: 70px;
    height: var(--header-h);
  }

  .header-utility,
  .site-header.is-mini .header-utility {
    display: none;
  }

  .header-main,
  .site-header.is-mini .header-main {
    height: 70px;
    padding: 0 18px;
    grid-template-columns: auto 1fr auto auto;
    gap: 12px;
  }

  .brand img,
  .site-header.is-mini .brand img {
    width: 158px;
  }

  .branch,
  .primary-nav,
  .booking-top {
    display: none !important;
  }

  .screen {
    padding: var(--header-h) 20px 48px;
    min-height: auto;
    overflow: visible;
  }

  .side-label {
    display: none;
  }

  .main-hero {
    padding-top: calc(var(--header-h) + 300px);
  }

  .hero-bg {
    height: 300px;
    background-position: center top;
  }

  .hero-copy {
    position: absolute;
    left: 20px;
    top: calc(var(--header-h) + 82px);
    width: calc(100% - 40px);
    margin: 0;
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .booking-card {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: auto;
    margin: 0 0 28px;
    padding-bottom: 24px;
  }

  .quick-menu {
    margin: 0;
    width: 100%;
    height: auto;
    overflow-x: auto;
    padding: 12px 0;
    gap: 22px;
  }

  .review-row {
    grid-template-columns: 1fr;
    height: auto;
    gap: 18px;
  }

  .review,
  .review-lead > div {
    min-height: 210px;
  }

  .treatment-screen,
  .channel-screen {
    padding-left: 20px;
    padding-right: 20px;
  }

  .content-grid,
  .channel-layout,
  .all-care {
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 44px;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .card-grid .wide-card {
    height: auto;
  }

  .card-grid a:not(.wide-card) {
    height: auto;
  }

  .doctors,
  .video-strip,
  .care-grid {
    grid-template-columns: 1fr 1fr;
  }

  .clinic-links {
    grid-column: auto;
    flex-wrap: wrap;
    gap: 18px;
  }

  .floating-actions {
    right: 14px;
    bottom: 18px;
  }
}

@media (max-width: 640px) {
  .brand img,
  .site-header.is-mini .brand img {
    width: 142px;
  }

  .search {
    display: none;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-copy h1 {
    font-size: 26px;
    line-height: 1.28;
  }

  .booking-grid {
    grid-template-columns: 1fr 1fr;
    padding: 24px 20px 0;
  }

  .booking-grid select,
  .booking-grid input[type="text"],
  .booking-grid input[type="tel"] {
    grid-column: 1 / -1;
  }

  .reserve-submit {
    width: calc(100% - 40px);
    margin-inline: 20px;
  }

  .review-lead > div,
  .card-grid,
  .doctors,
  .method-list,
  .video-strip,
  .care-grid {
    grid-template-columns: 1fr;
  }

  .topic-block h2,
  .doctor-block h2,
  .method-block h2,
  .channel-layout h2 {
    font-size: 25px;
  }

  .event-image {
    height: min(400px, calc(100vw - 32px));
  }
}
