/* Newve Clinic — Global Styles
 * Mirrors the Korean site (newve-skinclinic.co.kr) visual.
 * Tokens defined in tokens.css.
 */

/* ─── Reset ─────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--newve-font);
  font-size: var(--newve-fs-regular);
  line-height: var(--newve-lh-base);
  color: var(--newve-text);
  background: var(--newve-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--newve-primary); text-decoration: none; transition: color var(--newve-transition); }
a:hover { color: var(--newve-primary-hover); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--newve-font);
  font-weight: var(--newve-fw-bold);
  line-height: var(--newve-lh-tight);
  margin: 0 0 0.6em;
  color: var(--newve-dark);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--newve-fs-h1); }
h2 { font-size: var(--newve-fs-h2); }
h3 { font-size: var(--newve-fs-h3); font-weight: var(--newve-fw-semibold); }
p  { margin: 0 0 1em; }
ul { list-style: none; padding: 0; margin: 0; }

/* ─── Layout primitives ─────────────────────────────────────────── */

.newve-container {
  max-width: var(--newve-container);
  margin: 0 auto;
  padding: 0 var(--newve-pad-desktop);
}
@media (max-width: 991px) {
  .newve-container { padding: 0 var(--newve-pad-mobile); }
}

.newve-section { padding: var(--newve-section-py) 0; }
@media (max-width: 991px) {
  .newve-section { padding: var(--newve-section-py-mobile) 0; }
}
.newve-section--light { background: var(--newve-bg-light); }
.newve-section--white { background: var(--newve-white); }
.newve-section--dark  { background: var(--newve-dark); color: var(--newve-white); }
.newve-section--dark h1, .newve-section--dark h2, .newve-section--dark h3 { color: var(--newve-white); }

.newve-section-title { text-align: center; margin-bottom: 56px; }
.newve-section-title--light * { color: var(--newve-white); }
.newve-section-title__eyebrow {
  display: block;
  font-size: var(--newve-fs-body);
  color: var(--newve-primary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: var(--newve-fw-medium);
  margin-bottom: 16px;
}
.newve-section-title__eyebrow--light { color: var(--newve-primary); }
.newve-section-title__heading {
  font-size: 38px;
  font-weight: var(--newve-fw-bold);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.newve-section-title__lead {
  color: var(--newve-gray-2);
  font-size: 16px;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}
.newve-section-footer { text-align: center; margin-top: 48px; }

@media (max-width: 991px) {
  .newve-section-title { margin-bottom: 32px; }
  .newve-section-title__heading { font-size: 26px; }
  .newve-section-title__lead { font-size: 14px; }
}

/* ─── Buttons ───────────────────────────────────────────────────── */

.newve-btn {
  display: inline-block;
  padding: 14px 32px;
  border: 0;
  border-radius: 0;
  font-family: var(--newve-font);
  font-size: var(--newve-fs-body);
  font-weight: var(--newve-fw-medium);
  letter-spacing: 0.05em;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--newve-transition);
  white-space: nowrap;
}
.newve-btn--primary { background: var(--newve-primary); color: var(--newve-white); }
.newve-btn--primary:hover { background: var(--newve-dark); color: var(--newve-white); }

.newve-btn--ghost {
  background: transparent;
  color: var(--newve-primary);
  border: 1px solid var(--newve-primary);
}
.newve-btn--ghost:hover { background: var(--newve-primary); color: var(--newve-white); }

.newve-btn--outline-light {
  background: transparent;
  color: var(--newve-white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.newve-btn--outline-light:hover {
  background: var(--newve-white);
  color: var(--newve-dark);
  border-color: var(--newve-white);
}

.newve-btn--dark { background: var(--newve-dark); color: var(--newve-white); }
.newve-btn--dark:hover { background: var(--newve-primary); }

/* ─── Header — 2-row Korean site 1:1 (dark bar + white menubar) ──── */

.newve-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: var(--newve-z-header);
  display: flex; flex-direction: column;
  background: transparent;
  color: var(--newve-white);
}

/* ROW 1 — Dark top bar */
.newve-header__bar {
  background: var(--newve-dark);
  color: var(--newve-white);
  height: 64px;
}
.newve-header__inner {
  position: relative;
  max-width: var(--newve-container);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--newve-pad-desktop);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}
.newve-header__menu-toggle--left {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--newve-white);
  font-size: 22px;
  padding: 6px 8px;
  cursor: pointer;
  justify-self: start;
}
.newve-header__right {
  justify-self: end;
  display: flex; align-items: center; gap: 14px;
}

/* Center logo */
.newve-header__brand {
  justify-self: center;
  display: flex;
  align-items: center;
  height: 100%;
  text-decoration: none;
  color: var(--newve-white);
}

/* ROW 2 — White menubar */
.newve-header__menubar {
  background: var(--newve-white);
  color: var(--newve-dark);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  height: 56px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.newve-header__menubar-inner {
  max-width: var(--newve-container);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--newve-pad-desktop);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.newve-header__menubar-inner::-webkit-scrollbar { display: none; }
.newve-header__menubar a {
  color: var(--newve-dark);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 8px 0;
  white-space: nowrap;
  position: relative;
  transition: color var(--newve-transition);
}
.newve-header__menubar a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--newve-primary);
  transform: scaleX(0); transition: transform var(--newve-transition);
}
.newve-header__menubar a:hover { color: var(--newve-primary); }
.newve-header__menubar a:hover::after { transform: scaleX(1); }

@media (max-width: 991px) {
  .newve-header__menubar { display: none; }
  .newve-header__bar { height: 56px; }
  .newve-header__right .newve-header__whatsapp { display: none; }
}
.newve-header__wordmark {
  font-family: var(--newve-font);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: inherit;
  white-space: nowrap;
  line-height: 1;
}
@media (max-width: 991px) {
  .newve-header__wordmark { font-size: 16px; letter-spacing: 0.14em; }
}

.newve-header__nav {
  display: flex; gap: 28px;
}
.newve-header__nav a {
  color: inherit;
  font-size: var(--newve-fs-body);
  font-weight: var(--newve-fw-medium);
  letter-spacing: 0.05em;
  position: relative;
  padding: 8px 0;
  text-decoration: none;
  transition: color var(--newve-transition);
}
.newve-header__nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--newve-primary);
  transform: scaleX(0); transition: transform var(--newve-transition);
}
.newve-header__nav a:hover::after { transform: scaleX(1); }
.newve-header__nav a:hover { color: var(--newve-primary); }

.newve-header__cta {
  display: flex; gap: 10px; align-items: center;
}
.newve-header__signin,
.newve-header__whatsapp,
.newve-header__signout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  font-size: 13px;
  font-weight: var(--newve-fw-medium);
  padding: 8px 12px;
  border: 1px solid currentColor;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--newve-transition), border-color var(--newve-transition), background var(--newve-transition);
}
.newve-header__signin:hover,
.newve-header__whatsapp:hover,
.newve-header__signout:hover { color: var(--newve-primary); border-color: var(--newve-primary); }
.newve-header__signin svg { flex: 0 0 16px; }
.newve-header__whatsapp { padding: 8px; }
.newve-header__whatsapp svg { display: block; }

.newve-header__user {
  display: inline-flex; align-items: center;
}
.newve-header__avatar {
  border-radius: 50%;
  width: 28px; height: 28px;
}

.newve-header__booknow {
  padding: 10px 20px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.newve-header__booknow svg { flex: 0 0 16px; }

.newve-header__menu-toggle {
  display: none;
  background: transparent; border: 0; color: inherit;
  font-size: 26px; padding: 6px 10px; cursor: pointer;
}

@media (max-width: 991px) {
  .newve-header { height: var(--newve-header-height-mobile); background: var(--newve-white); color: var(--newve-dark); border-bottom-color: rgba(0,0,0,0.06); }
  .newve-header__nav { display: none; }
  .newve-header__signin,
  .newve-header__whatsapp,
  .newve-header__signout,
  .newve-header__user,
  .newve-header__booknow { display: none; }
  .newve-header__menu-toggle { display: inline-flex; }
  .newve-header__logo { height: 28px; }
}

/* Push body content below fixed header (except home which has full-screen hero) */
body:not(.newve-home) > .newve-main {
  padding-top: var(--newve-header-height);
}
@media (max-width: 991px) {
  body:not(.newve-home) > .newve-main { padding-top: var(--newve-header-height-mobile); }
}

/* ─── Mobile menu ───────────────────────────────────────────────── */

.newve-mobile-menu {
  position: fixed; inset: 0;
  background: var(--newve-dark);
  color: var(--newve-white);
  z-index: var(--newve-z-modal);
  transform: translateX(-100%);
  transition: transform var(--newve-transition);
  padding: 24px;
  overflow-y: auto;
}
.newve-mobile-menu.is-open { transform: translateX(0); }
.newve-mobile-menu__close {
  position: absolute; top: 16px; right: 16px;
  background: transparent; border: 0; color: inherit;
  font-size: 32px; cursor: pointer;
}
.newve-mobile-menu__list { margin-top: 64px; }
.newve-mobile-menu__list a {
  display: block;
  padding: 18px 0;
  color: var(--newve-white);
  font-size: 18px;
  border-bottom: 1px solid #2a2a2a;
}
.newve-mobile-menu__list a:hover { color: var(--newve-primary); }

/* ─── Hero ──────────────────────────────────────────────────────── */

.newve-hero {
  position: relative;
  min-height: 100vh;
  background: var(--newve-dark);
  color: var(--newve-white);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.newve-hero__slider { position: absolute; inset: 0; }
.newve-hero__swiper { width: 100%; height: 100%; }
.newve-hero__slider .swiper-slide { overflow: hidden; }
.newve-hero__slide {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  transform: scale(1.05);
  animation: newveHeroZoom 8s ease-out forwards;
}
.newve-hero__slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.55) 100%);
}
@keyframes newveHeroZoom {
  from { transform: scale(1.15); }
  to   { transform: scale(1.00); }
}

.newve-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--newve-container);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--newve-pad-desktop);
}
.newve-hero__eyebrow {
  display: block;
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--newve-primary);
  margin-bottom: 20px;
  font-weight: 500;
}
.newve-hero__title {
  font-size: 64px;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--newve-white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 800px;
}
.newve-hero__subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 40px;
  max-width: 560px;
  font-weight: 300;
}
.newve-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.newve-hero__pagination.swiper-pagination {
  position: absolute;
  bottom: 48px;
  left: 0; right: 0;
  z-index: 3;
  text-align: center;
}
.newve-hero__scroll {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 36px;
  height: 60px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 24px;
  display: flex;
  justify-content: center;
  padding-top: 10px;
}
.newve-hero__scroll span {
  display: block;
  width: 4px; height: 8px;
  background: var(--newve-white);
  border-radius: 2px;
  animation: newveScroll 1.6s ease-in-out infinite;
}
@keyframes newveScroll {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(14px); opacity: 0.2; }
}

@media (max-width: 991px) {
  .newve-hero__title { font-size: 36px; }
  .newve-hero__subtitle { font-size: 15px; margin-bottom: 28px; }
  .newve-hero__eyebrow { font-size: 12px; }
}

/* ─── Cards (Signature, News, Events) ───────────────────────────── */

.newve-card-grid {
  display: grid;
  gap: 28px;
}
.newve-card-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 991px) {
  .newve-card-grid--3 { grid-template-columns: 1fr; gap: 20px; }
}

.newve-card {
  display: flex;
  flex-direction: column;
  background: var(--newve-white);
  text-decoration: none;
  color: var(--newve-text);
  transition: transform var(--newve-transition), box-shadow var(--newve-transition);
  overflow: hidden;
}
.newve-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  color: var(--newve-text);
}
.newve-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: var(--newve-gray-4);
  transition: transform 0.6s ease;
}
.newve-card:hover .newve-card__image { transform: scale(1.04); }

.newve-card__body {
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.newve-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--newve-dark);
  margin: 0;
  line-height: 1.4;
}
.newve-card__desc {
  color: var(--newve-gray-2);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}
.newve-card__date {
  color: var(--newve-gray-1);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
  font-weight: 500;
}
.newve-card__cta {
  margin-top: 8px;
  color: var(--newve-primary);
  font-weight: 600;
  font-size: 14px;
  transition: gap var(--newve-transition);
}

.newve-card--feature .newve-card__image { aspect-ratio: 16/11; }

/* ─── Before & After — 6-card grid (Korean 1:1) ─────────────────── */

.newve-ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 auto;
}
@media (max-width: 991px) {
  .newve-ba-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 540px) {
  .newve-ba-grid { grid-template-columns: 1fr; }
}

.newve-ba-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--newve-white);
  overflow: hidden;
  transition: transform var(--newve-transition), box-shadow var(--newve-transition);
}
.newve-ba-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}
.newve-ba-card__media {
  position: relative;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  filter: none;
  transition: filter var(--newve-transition);
}
.newve-ba-card.is-locked .newve-ba-card__media {
  filter: blur(6px) brightness(0.85);
}
.newve-ba-card__lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.25);
  color: var(--newve-white);
}
.newve-ba-card__lock svg { background: rgba(0,0,0,0.5); padding: 10px; border-radius: 50%; width: 44px; height: 44px; }
.newve-ba-card__caption {
  padding: 14px 16px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.newve-ba-card__label { font-size: 13px; font-weight: var(--newve-fw-medium); color: var(--newve-dark); letter-spacing: 0.04em; }
.newve-ba-card__view  { font-size: 12px; color: var(--newve-primary); letter-spacing: 0.04em; }

.newve-ba-cta {
  text-align: center;
  margin-top: 32px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.newve-ba-cta p { margin: 0; color: var(--newve-gray-2); font-size: 14px; }
.newve-ba-cta__btn { display: inline-flex; align-items: center; gap: 8px; }
.newve-ba-cta__btn svg { flex: 0 0 16px; }

.newve-ba-disclaimer {
  text-align: center;
  margin-top: 20px;
  color: var(--newve-gray-2);
  font-size: 12px;
  line-height: 1.6;
}

/* ─── Treatments grid (categories) ──────────────────────────────── */

.newve-treatments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 991px) {
  .newve-treatments-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

.newve-treatment-cat {
  position: relative;
  display: block;
  aspect-ratio: 1/1;
  overflow: hidden;
  text-decoration: none;
  color: var(--newve-white);
}
.newve-treatment-cat__image {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--newve-gray-4);
  transition: transform 0.6s ease;
}
.newve-treatment-cat:hover .newve-treatment-cat__image { transform: scale(1.06); }
.newve-treatment-cat__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,18,18,0.20) 0%, rgba(18,18,18,0.75) 100%);
  transition: background var(--newve-transition);
}
.newve-treatment-cat:hover .newve-treatment-cat__overlay {
  background: linear-gradient(180deg, rgba(189,163,99,0.55) 0%, rgba(18,18,18,0.85) 100%);
}
.newve-treatment-cat__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px;
  z-index: 2;
  color: var(--newve-white);
}
.newve-treatment-cat__title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--newve-white);
}
.newve-treatment-cat__count {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.05em;
}

/* ─── YouTube section ───────────────────────────────────────────── */

.newve-youtube__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 991px) {
  .newve-youtube__inner { grid-template-columns: 1fr; gap: 24px; }
}
.newve-youtube__title {
  color: var(--newve-white);
  font-size: 44px;
  margin: 8px 0 16px;
  letter-spacing: 0.05em;
}
.newve-youtube__lead {
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
  line-height: 1.7;
}
.newve-youtube__thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--newve-dark);
}
.newve-youtube__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.newve-youtube__thumb:hover img { transform: scale(1.04); }
.newve-youtube__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
  opacity: 0.9;
  transition: opacity var(--newve-transition), transform var(--newve-transition);
}
.newve-youtube__play svg { display: block; }
.newve-youtube__thumb:hover .newve-youtube__play { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }

/* ─── Location ──────────────────────────────────────────────────── */

.newve-location {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: stretch;
}
@media (max-width: 991px) {
  .newve-location { grid-template-columns: 1fr; }
}
.newve-location__map {
  background: var(--newve-gray-4);
  min-height: 480px;
}
.newve-location__map iframe {
  width: 100%; height: 100%; border: 0; min-height: 480px;
}
.newve-location__info h3 {
  font-size: 18px;
  color: var(--newve-primary);
  margin: 0 0 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.newve-location__info h3:not(:first-child) { margin-top: 28px; }
.newve-location__info p { line-height: 1.8; }
.newve-location__cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* ─── Consultation form (dark overlay) ──────────────────────────── */

.newve-form-section {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--newve-white);
}
@media (max-width: 991px) {
  .newve-form-section { background-attachment: scroll; }
}
.newve-form-section__inner {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(0,0,0,0.18);
  padding: 40px;
  backdrop-filter: blur(8px);
}
.newve-form-section .wpcf7 input[type="text"],
.newve-form-section .wpcf7 input[type="tel"],
.newve-form-section .wpcf7 input[type="email"],
.newve-form-section .wpcf7 select,
.newve-form-section .wpcf7 textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.95);
  color: var(--newve-dark);
  font-family: var(--newve-font);
  font-size: 14px;
  border-radius: 0;
  margin-bottom: 16px;
  transition: border-color var(--newve-transition);
}
.newve-form-section .wpcf7 input:focus,
.newve-form-section .wpcf7 select:focus,
.newve-form-section .wpcf7 textarea:focus {
  border-color: var(--newve-primary);
  outline: 0;
  background: var(--newve-white);
}
.newve-form-section .wpcf7 label { color: var(--newve-white); display: block; margin-bottom: 16px; font-size: 13px; }
.newve-form-section .wpcf7 .wpcf7-submit {
  background: var(--newve-primary);
  color: var(--newve-white);
  border: 0;
  padding: 14px 40px;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background var(--newve-transition);
}
.newve-form-section .wpcf7 .wpcf7-submit:hover { background: var(--newve-dark); }
.newve-form-section .wpcf7-acceptance label { display: flex; gap: 8px; align-items: flex-start; }

/* ─── Empty state ───────────────────────────────────────────────── */

.newve-empty {
  text-align: center;
  color: var(--newve-gray-2);
  font-style: italic;
  padding: 40px 20px;
}
.newve-empty a { color: var(--newve-primary); }

/* ─── Footer ────────────────────────────────────────────────────── */

.newve-footer {
  background: var(--newve-bg-footer);
  color: var(--newve-white);
  padding: 80px 0 40px;
}
.newve-footer__columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 991px) {
  .newve-footer__columns { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .newve-footer__columns { grid-template-columns: 1fr; }
}
.newve-footer h4 {
  color: var(--newve-primary);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 16px;
  font-weight: 600;
}
.newve-footer p { margin: 0 0 8px; line-height: 1.7; color: rgba(255,255,255,0.75); }
.newve-footer ul li { margin-bottom: 8px; }
.newve-footer a { color: rgba(255,255,255,0.85); }
.newve-footer a:hover { color: var(--newve-primary); }
.newve-footer__brand {
  font-size: 22px;
  font-weight: 700;
  color: var(--newve-primary);
  letter-spacing: 0.18em;
  margin-bottom: 16px;
}
.newve-footer__bottom {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid #2a2a2a;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-align: center;
  line-height: 1.8;
}

/* ─── Floating sidebar — 8 channels (Korean 1:1) ────────────────── */

.newve-floating {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 80;
}
.newve-floating__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  color: var(--newve-white);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.newve-floating__item--green { background: #06C755; }
.newve-floating__item--gold  { background: var(--newve-primary); }
.newve-floating__item:hover { transform: scale(1.06); box-shadow: 0 10px 24px rgba(0,0,0,0.25); color: var(--newve-white); }
.newve-floating__icon {
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}

/* Slide-in label (left of icon) on hover */
.newve-floating__label {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  white-space: nowrap;
  background: var(--newve-dark);
  color: var(--newve-white);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.newve-floating__item:hover .newve-floating__label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.newve-floating__item--green .newve-floating__label { background: #06C755; }
.newve-floating__item--gold  .newve-floating__label { background: var(--newve-primary); }

@media (max-width: 991px) {
  .newve-floating { right: 10px; gap: 6px; }
  .newve-floating__item { width: 48px; height: 48px; }
  .newve-floating__label { display: none; }
}

/* ─── Swiper customization ──────────────────────────────────────── */

.swiper-pagination-bullet {
  width: 36px;
  height: 4px;
  border-radius: 0;
  background: rgba(255,255,255,0.4);
  opacity: 1;
  margin: 0 4px;
  transition: background var(--newve-transition), width var(--newve-transition);
}
.swiper-pagination-bullet-active {
  background: var(--newve-white);
  width: 56px;
}
.newve-section--light .swiper-pagination-bullet { background: rgba(0,0,0,0.2); }
.newve-section--light .swiper-pagination-bullet-active { background: var(--newve-dark); }

/* ─── Page hero (sub pages) ─────────────────────────────────────── */

.newve-page-hero {
  background: var(--newve-dark);
  color: var(--newve-white);
  padding: calc(var(--newve-header-height) + 80px) 0 80px;
  text-align: center;
}
.newve-page-hero--simple {
  background: linear-gradient(135deg, #1d1c19 0%, #3a342a 100%);
}
.newve-page-hero__eyebrow {
  display: block;
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--newve-primary);
  margin-bottom: 16px;
  font-weight: 500;
}
.newve-page-hero__title {
  color: var(--newve-white);
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.newve-page-hero__lead {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  margin: 0;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}
@media (max-width: 991px) {
  .newve-page-hero { padding: calc(var(--newve-header-height-mobile) + 48px) 0 48px; }
  .newve-page-hero__title { font-size: 32px; }
  .newve-page-hero__lead { font-size: 15px; }
}

/* ─── Doctor profile page ───────────────────────────────────────── */

.newve-doctor-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 991px) {
  .newve-doctor-grid { grid-template-columns: 1fr; gap: 32px; }
}
.newve-doctor-grid__photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--newve-gray-4);
}
.newve-doctor-grid__intro {
  color: var(--newve-gray-2);
  font-size: 17px;
  line-height: 1.8;
  margin: 0 0 32px;
}
.newve-doctor-grid__credentials h3 {
  color: var(--newve-primary);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 32px 0 12px;
}
.newve-doctor-grid__credentials ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.newve-doctor-grid__credentials li {
  padding: 10px 0;
  border-bottom: 1px solid var(--newve-gray-4);
}
.newve-doctor-grid__credentials li:last-child { border-bottom: 0; }
.newve-doctor-grid__cta {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ─── Trust grid ────────────────────────────────────────────────── */

.newve-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 991px) {
  .newve-trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .newve-trust-grid { grid-template-columns: 1fr; }
}
.newve-trust-item {
  background: var(--newve-white);
  padding: 32px 28px;
  border-top: 3px solid var(--newve-primary);
}
.newve-trust-item__num {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--newve-primary);
  margin-bottom: 12px;
  font-weight: 700;
}
.newve-trust-item h3 {
  font-size: 18px;
  margin: 0 0 12px;
}
.newve-trust-item p {
  color: var(--newve-gray-2);
  font-size: 14px;
  margin: 0;
  line-height: 1.7;
}

/* ─── About pillars ─────────────────────────────────────────────── */

.newve-about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}
@media (max-width: 991px) { .newve-about-pillars { grid-template-columns: 1fr; } }
.newve-about-pillars > div {
  padding: 32px 0;
  border-top: 2px solid var(--newve-primary);
}
.newve-about-pillars h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

/* ─── Treatment list (archive) ──────────────────────────────────── */

.newve-treatment-list { display: grid; gap: 56px; }

.newve-treatment-list__cat-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid var(--newve-primary);
  padding-bottom: 12px;
  margin-bottom: 0;
  font-size: 24px;
}
.newve-treatment-list__cat-title a {
  font-size: 14px;
  font-weight: 500;
  color: var(--newve-primary);
}
.newve-treatment-list__items {
  display: flex;
  flex-direction: column;
}
.newve-treatment-row {
  display: grid;
  grid-template-columns: 2fr 1fr auto;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--newve-gray-4);
  text-decoration: none;
  color: var(--newve-text);
  align-items: center;
  transition: padding-left var(--newve-transition);
}
.newve-treatment-row:hover {
  padding-left: 12px;
  color: var(--newve-primary);
}
.newve-treatment-row__name {
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.newve-treatment-row__brand {
  color: var(--newve-gray-2);
  font-size: 14px;
}
.newve-treatment-row__cta {
  color: var(--newve-primary);
  font-weight: 500;
  font-size: 14px;
}
@media (max-width: 700px) {
  .newve-treatment-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .newve-treatment-row__cta { display: none; }
}

/* ─── Treatment cards (taxonomy archive) ────────────────────────── */

.newve-treatment-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 700px) { .newve-treatment-cards { grid-template-columns: 1fr; } }
.newve-treatment-card {
  display: block;
  padding: 32px;
  background: var(--newve-white);
  border: 1px solid var(--newve-gray-4);
  text-decoration: none;
  color: var(--newve-text);
  transition: all var(--newve-transition);
}
.newve-treatment-card:hover {
  border-color: var(--newve-primary);
  background: var(--newve-bg-light);
  transform: translateY(-2px);
}
.newve-treatment-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.newve-treatment-card__title { font-size: 22px; margin: 0; flex: 1; }
.newve-treatment-card__brand {
  color: var(--newve-gray-2);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.newve-treatment-card__excerpt {
  color: var(--newve-gray-2);
  line-height: 1.7;
  margin: 0 0 16px;
}
.newve-treatment-card__cta {
  color: var(--newve-primary);
  font-weight: 600;
  font-size: 14px;
}

/* ─── Single treatment ──────────────────────────────────────────── */

.newve-treatment-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: var(--newve-bg-light);
  padding: 24px;
  margin-bottom: 32px;
}
.newve-treatment-meta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.newve-treatment-meta strong {
  font-size: 12px;
  color: var(--newve-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.newve-treatment-meta span { font-size: 16px; font-weight: 500; }
@media (max-width: 700px) {
  .newve-treatment-meta { grid-template-columns: 1fr; gap: 12px; }
}

.newve-treatment-body { font-size: 17px; line-height: 1.8; color: var(--newve-text); }
.newve-treatment-body__lead {
  font-size: 19px;
  color: var(--newve-dark);
  font-weight: 500;
  margin-bottom: 24px;
}

.newve-treatment-disclaimer {
  margin-top: 40px;
  padding: 20px;
  background: var(--newve-bg-light);
  border-left: 3px solid var(--newve-primary);
  font-size: 13px;
  color: var(--newve-gray-2);
}

/* ─── Pricing rows (used in single treatment) ───────────────────── */

.newve-pricing { display: grid; gap: 0; }
.newve-pricing__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--newve-gray-4);
  align-items: center;
}
.newve-pricing__name {
  font-weight: 500;
  font-size: 15px;
}
.newve-pricing__price {
  font-weight: 700;
  font-size: 18px;
  color: var(--newve-primary);
}
.newve-pricing__price--event {
  color: var(--newve-warning);
}

/* ─── Badges ────────────────────────────────────────────────────── */

.newve-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.newve-badge--signature {
  background: var(--newve-primary);
  color: var(--newve-white);
}

/* ─── Contact page ──────────────────────────────────────────────── */

.newve-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
}
@media (max-width: 991px) { .newve-contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.newve-contact-grid h3 {
  color: var(--newve-primary);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.newve-contact-grid h3:not(:first-child) { margin-top: 32px; }

/* ─── Policy / page body ────────────────────────────────────────── */

.newve-policy, .newve-page-body, .newve-post-body, .newve-event-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--newve-text);
}
.newve-policy h2, .newve-page-body h2, .newve-post-body h2, .newve-event-body h2 {
  margin-top: 40px;
  font-size: 26px;
}
.newve-policy h3, .newve-page-body h3, .newve-post-body h3, .newve-event-body h3 {
  margin-top: 32px;
  font-size: 20px;
}
.newve-policy ul, .newve-page-body ul, .newve-post-body ul, .newve-event-body ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

/* ─── Pagination ────────────────────────────────────────────────── */

.newve-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 4px;
}
.newve-pagination .page-numbers {
  padding: 10px 16px;
  border: 1px solid var(--newve-gray-4);
  text-decoration: none;
  color: var(--newve-text);
  transition: all var(--newve-transition);
}
.newve-pagination .page-numbers:hover,
.newve-pagination .page-numbers.current {
  background: var(--newve-primary);
  color: var(--newve-white);
  border-color: var(--newve-primary);
}

/* ─── Hero overlay (per-slide caption — added for Korean 1:1) ───── */

.newve-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.newve-hero__overlay .newve-hero__content {
  position: relative;
  max-width: var(--newve-container);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--newve-pad-desktop);
  pointer-events: auto;
}

/* ─── Doctor section (home — Korean 1:1) ────────────────────────── */

.newve-doctor { padding: 96px 0; }
.newve-doctor__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.newve-doctor__media {
  overflow: hidden;
}
.newve-doctor__photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.newve-doctor__body {
  padding: 16px 0;
}
.newve-doctor__eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--newve-primary);
  margin-bottom: 20px;
  font-weight: var(--newve-fw-medium);
}
.newve-doctor__heading {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--newve-primary);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}
.newve-doctor__lead {
  font-size: 17px;
  color: var(--newve-dark);
  line-height: 1.7;
  margin: 0 0 16px;
  max-width: 480px;
  font-weight: var(--newve-fw-medium);
}
.newve-doctor__detail {
  font-size: 15px;
  color: var(--newve-gray-2);
  line-height: 1.8;
  margin: 0 0 32px;
  max-width: 480px;
}

@media (max-width: 991px) {
  .newve-doctor { padding: 64px 0; }
  .newve-doctor__wrap { grid-template-columns: 1fr; gap: 32px; }
  .newve-doctor__heading { font-size: 32px; }
  .newve-doctor__lead { font-size: 15px; }
}

/* ─── YouTube — featured + grid (Korean 1:1 NEWVE TV) ───────────── */

.newve-youtube__featured {
  max-width: 960px;
  margin: 0 auto 40px;
}
.newve-youtube__player {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}
.newve-youtube__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.newve-youtube__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 991px) {
  .newve-youtube__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ─── Hero-bottom inline consultation strip (Korean 1:1) ─────────── */

.newve-inline-consult {
  background: rgba(36, 36, 36, 0.92);
  color: var(--newve-white);
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
/* When placed inside hero, overlay at the bottom of the first fold */
.newve-hero .newve-inline-consult {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  backdrop-filter: blur(2px);
}
@media (max-width: 991px) {
  .newve-hero .newve-inline-consult { position: relative; }
}
.newve-inline-consult__wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.newve-inline-consult__phone {
  display: flex; flex-direction: column; gap: 2px;
  flex: 0 0 auto;
}
.newve-inline-consult__phone-label {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--newve-primary);
}
.newve-inline-consult__phone-num {
  color: var(--newve-white);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.newve-inline-consult__phone-num:hover { color: var(--newve-primary); }

.newve-inline-consult__form {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.newve-inline-consult__input {
  flex: 1 1 140px;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  color: var(--newve-white);
  font-family: inherit;
  font-size: 14px;
  border-radius: 0;
}
.newve-inline-consult__input::placeholder { color: rgba(255,255,255,0.55); }
.newve-inline-consult__input:focus {
  outline: none;
  border-color: var(--newve-primary);
  background: rgba(255,255,255,0.10);
}
select.newve-inline-consult__input { appearance: none; cursor: pointer; padding-right: 32px; background-image: linear-gradient(45deg, transparent 50%, var(--newve-white) 50%), linear-gradient(135deg, var(--newve-white) 50%, transparent 50%); background-position: calc(100% - 16px) center, calc(100% - 12px) center; background-size: 4px 4px, 4px 4px; background-repeat: no-repeat; }

.newve-inline-consult__consent {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  flex: 0 0 auto;
  white-space: nowrap;
}
.newve-inline-consult__consent a { color: var(--newve-primary); text-decoration: underline; }
.newve-inline-consult__consent input[type="checkbox"] { accent-color: var(--newve-primary); }

.newve-inline-consult__submit {
  flex: 0 0 auto;
  padding: 12px 28px;
  font-size: 13px;
}

@media (max-width: 991px) {
  .newve-inline-consult__wrap { gap: 16px; }
  .newve-inline-consult__form { width: 100%; }
  .newve-inline-consult__input { flex: 1 1 100%; }
  .newve-inline-consult__phone-num { font-size: 18px; }
}

/* ─── Contact Form 7 — consent row + spacing ────────────────────── */

.newve-cf7 p { margin: 0 0 18px; }
.newve-cf7 label { font-size: 14px; letter-spacing: 0.02em; }
.newve-cf7 input[type="text"],
.newve-cf7 input[type="email"],
.newve-cf7 input[type="tel"],
.newve-cf7 select,
.newve-cf7 textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.92);
  color: var(--newve-dark);
  font-family: inherit;
  font-size: 15px;
  border-radius: 0;
  margin-top: 6px;
}
.newve-cf7 input:focus,
.newve-cf7 select:focus,
.newve-cf7 textarea:focus {
  outline: none;
  border-color: var(--newve-primary);
}

.newve-cf7__consent-row { display: flex; }
.newve-cf7 .wpcf7-acceptance {
  display: inline-flex;
  align-items: flex-start;
  width: 100%;
}
.newve-cf7 .wpcf7-acceptance .wpcf7-list-item {
  display: inline-flex;
  align-items: flex-start;
  margin: 0;
  gap: 10px;
}
.newve-cf7 .wpcf7-acceptance .wpcf7-list-item-label { display: none; }
.newve-cf7 .wpcf7-acceptance input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--newve-primary);
  cursor: pointer;
}
.newve-cf7__consent-text {
  display: inline-block;
  line-height: 1.6;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.newve-cf7__consent-text a { color: var(--newve-primary); text-decoration: underline; }
.newve-cf7__consent-text a:hover { color: #fff; }

.newve-cf7 .wpcf7-submit {
  margin-top: 8px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.newve-cf7 .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--newve-white);
}

/* ─── Mobile optimization (≤ 991px tablets + ≤ 540px phones) ────── */

/* Tablets & narrow desktop: grids tighten */
@media (max-width: 991px) {
  /* Section padding tightens */
  .newve-section { padding: 48px 0; }
  .newve-section-title { margin-bottom: 28px; }
  .newve-section-title__heading { font-size: 26px; }
  .newve-section-title__lead { font-size: 14px; }

  /* Hero overlay on mobile: become relative block (no clipping inside 100vh hero) */
  .newve-hero { min-height: auto; }
  .newve-hero__slider { position: relative; height: 60vh; min-height: 360px; }

  /* Treatments grid 7 cards → 2 col */
  .newve-treatments-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .newve-treatment-cat { aspect-ratio: 4/3; }
  .newve-treatment-cat__title { font-size: 15px; }

  /* Card grids: Events / News / Signature → 1~2 col */
  .newve-card-grid--3 { grid-template-columns: 1fr !important; gap: 16px; }

  /* Before/After 6 cards → 2 col */
  .newve-ba-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* YouTube grid 3 → 2 col */
  .newve-youtube__grid { grid-template-columns: repeat(2, 1fr); }

  /* Doctor section: stack vertical */
  .newve-doctor__wrap { grid-template-columns: 1fr; gap: 24px; }

  /* Inline consult form: become full-width vertical column on mobile */
  .newve-inline-consult__wrap { gap: 12px; }
  .newve-inline-consult__phone { width: 100%; }
  .newve-inline-consult__form { width: 100%; flex-direction: column; align-items: stretch; }
  .newve-inline-consult__input { flex: 1 1 100%; }
  .newve-inline-consult__consent { white-space: normal; line-height: 1.5; }

  /* CF7 form: bigger touch targets */
  .newve-cf7 input,
  .newve-cf7 select,
  .newve-cf7 textarea { font-size: 16px; padding: 14px; }
  .newve-cf7 .wpcf7-submit { width: 100%; padding: 16px; font-size: 16px; }

  /* Floating sidebar: smaller + closer to edge */
  .newve-floating { right: 8px; gap: 6px; }
  .newve-floating__item { width: 44px; height: 44px; }
  .newve-floating__item svg { width: 18px; height: 18px; }
  .newve-floating__label { display: none; }
}

/* Phones: tighter still */
@media (max-width: 540px) {
  .newve-section-title__heading { font-size: 22px; }
  .newve-section-title__lead { font-size: 13px; }

  /* Treatments grid 2 col → 1 col on very narrow */
  .newve-treatments-grid { grid-template-columns: 1fr !important; }

  /* Before/After grid → 1 col on phones for full-width photos */
  .newve-ba-grid { grid-template-columns: 1fr; }

  /* YouTube grid 2 → 1 col */
  .newve-youtube__grid { grid-template-columns: 1fr; }

  /* Doctor section heading tighter */
  .newve-doctor__heading { font-size: 26px; }
  .newve-doctor__lead { font-size: 14px; }
  .newve-doctor__detail { font-size: 13px; }

  /* Hero scroll indicator hidden (cramped space) */
  .newve-hero__scroll { display: none; }

  /* Floating: fewer items on phones — hide Share + Gift */
  .newve-floating .newve-floating__item:nth-child(4),
  .newve-floating .newve-floating__item:nth-child(7) { display: none; }
}

/* Prevent horizontal overflow */
html, body { overflow-x: hidden; }
.newve-main, .newve-section, .newve-container { max-width: 100%; }

/* ─── News card variant — text-first when no image ──────────────── */

.newve-news-card--text-only {
  background: var(--newve-white);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 28px 24px;
  display: flex; flex-direction: column;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}
.newve-news-card--text-only::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--newve-primary);
}
.newve-news-card--text-only .newve-card__body { padding: 0; }
.newve-news-card--text-only .newve-card__date {
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--newve-gray-2); margin: 0 0 12px;
}
.newve-news-card--text-only .newve-card__title {
  font-size: 18px; margin: 0 0 12px; line-height: 1.4;
}
.newve-news-card--text-only .newve-card__desc {
  font-size: 14px; color: var(--newve-gray-2); flex: 1; margin: 0 0 16px;
}
.newve-news-card--text-only .newve-card__cta {
  display: inline-block; font-size: 13px; color: var(--newve-primary);
  font-weight: var(--newve-fw-medium);
}
.newve-news-card--text-only:hover { border-color: var(--newve-primary); }
.newve-news-card--text-only:hover .newve-card__cta { color: var(--newve-dark); }

/* ═════════════════════════════════════════════════════════════════
 * Phase 2 — skinmdlab 정밀 매칭 컴포넌트 (2026-05-13)
 * 새 컴포넌트는 `--v2` 또는 명시적 클래스로 격리. Phase 1 한국 1:1 페이지에
 * 영향 없도록 추가만. 충돌 시 이 섹션이 우선.
 * 출처: docs/skinmdlab-design-extracted.md §🔧 정밀 추출 보강
 * ═════════════════════════════════════════════════════════════════ */

/* ── Header v2 (skinmdlab .on 패턴) ──────────────────────────────
 * 기존 `.newve-header` 에 sticky + scrollY>0 시 .is-scrolled 1px 보더 박힘.
 * (구버전: 임계 80px → 정정: 임계 0px, skinmdlab 매칭.)
 * Phase 1 2층 헤더가 살아있는 동안 ROW1(__bar)/ROW2(__menubar) 에 box-shadow
 * 만 적용. 단일 헤더로 마크업 정리되면 .newve-header 자체에 박힘. */
.newve-header {
  position: sticky;
  top: 0;
  z-index: var(--newve-z-header);
  transition: box-shadow var(--newve-duration-fast) var(--newve-ease-smooth);
}
.newve-header.is-scrolled {
  box-shadow: var(--newve-header-divider);
}

/* ── Hero v2 (skinmdlab visualSwiper 정밀) ────────────────────── */
.newve-hero--v2 {
  background: var(--newve-white);
  padding: var(--newve-hero-py) 0 var(--newve-hero-pb);
  margin-bottom: var(--newve-hero-mb);
  position: relative;
  overflow: hidden;
}
.newve-hero--v2 .swiper-slide {
  padding: 0 var(--newve-pad-desktop);
}
.newve-hero--v2 .newve-hero__inner {
  max-width: var(--newve-container-base);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 580px;
}
@media (max-width: 991px) {
  .newve-hero--v2 .newve-hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
  }
}
.newve-hero--v2 .newve-hero__eyebrow {
  font-family: var(--newve-font-display);
  font-weight: 700;
  font-size: var(--newve-fs-eyebrow);
  letter-spacing: var(--newve-ls-eyebrow);
  text-transform: uppercase;
  color: var(--newve-primary);
  margin-bottom: 16px;
}
.newve-hero--v2 .newve-hero__title {
  font-family: var(--newve-font-display);
  font-size: var(--newve-fs-hero);
  font-weight: 800;
  line-height: var(--newve-lh-hero);
  letter-spacing: var(--newve-ls-hero);
  color: var(--newve-primary);
  margin: 0 0 16px;
}
.newve-hero--v2 .newve-hero__subtitle {
  font-family: var(--newve-font-display);
  font-size: var(--newve-fs-hero-sub);
  font-weight: 800;
  line-height: var(--newve-lh-heading);
  color: var(--newve-black-01);
  margin: 0 0 24px;
}
.newve-hero--v2 .newve-hero__lead {
  font-family: var(--newve-font-body);
  font-size: var(--newve-fs-body-v2);
  line-height: var(--newve-lh-body-v2);
  letter-spacing: var(--newve-ls-body);
  color: var(--newve-black-03);
  margin: 0 0 32px;
  max-width: 480px;
}
.newve-hero--v2 .newve-hero__media {
  border-radius: var(--newve-radius-lg);
  overflow: hidden;
  box-shadow: var(--newve-shadow-md);
  aspect-ratio: 4 / 5;
  background: var(--newve-bg-soft);
}
.newve-hero--v2 .newve-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* skinmdlab 의 .on 클래스 토글 = 활성 슬라이드만 KenBurns/페이드 */
.newve-hero--v2 .swiper-slide .newve-hero__media img {
  transform: scale(1.04);
  transition: transform 8s var(--newve-ease-smooth);
}
.newve-hero--v2 .swiper-slide.is-on .newve-hero__media img {
  transform: scale(1);
}

/* Pagination (skinmdlab 은 없으나 우리 UX 엔 필요) */
.newve-hero--v2 .newve-hero__pagination {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.newve-hero__bullet {
  width: 32px;
  height: 3px;
  background: var(--newve-border);
  border-radius: var(--newve-radius-pill);
  cursor: pointer;
  transition: background var(--newve-duration-fast) var(--newve-ease-smooth);
  display: inline-block;
}
.newve-hero__bullet.is-active {
  background: var(--newve-primary);
}

/* ── Section v2 — skinmdlab 풍 큰 여백 ────────────────────────── */
.newve-section--v2 {
  padding: var(--newve-section-py-v2) 0;
}
@media (max-width: 991px) {
  .newve-section--v2 { padding: 64px 0; }
}
.newve-section--v2 .newve-section-title--v2 {
  text-align: center;
  margin-bottom: 80px;
}
.newve-section-title--v2 .eyebrow {
  font-family: var(--newve-font-display);
  font-size: var(--newve-fs-eyebrow);
  letter-spacing: var(--newve-ls-eyebrow);
  text-transform: uppercase;
  color: var(--newve-primary);
  font-weight: 700;
  margin-bottom: 16px;
  display: block;
}
.newve-section-title--v2 .heading {
  font-family: var(--newve-font-display);
  font-size: var(--newve-fs-section);
  font-weight: 800;
  line-height: var(--newve-lh-heading);
  letter-spacing: var(--newve-ls-heading);
  color: var(--newve-black-01);
  margin: 0 0 16px;
}
.newve-section-title--v2 .lead {
  font-family: var(--newve-font-body);
  font-size: var(--newve-fs-body-v2);
  line-height: var(--newve-lh-body-v2);
  letter-spacing: var(--newve-ls-body);
  color: var(--newve-black-05);
  max-width: 640px;
  margin: 0 auto;
}

/* ── Card v2 — 둥근 14px + 부드러운 섀도 ──────────────────────── */
.newve-card--v2 {
  background: var(--newve-white);
  border-radius: var(--newve-radius-md);
  overflow: hidden;
  box-shadow: var(--newve-shadow-sm);
  transition:
    transform var(--newve-duration-base) var(--newve-ease-out),
    box-shadow var(--newve-duration-base) var(--newve-ease-out);
  display: flex;
  flex-direction: column;
}
.newve-card--v2:hover {
  transform: translateY(-4px);
  box-shadow: var(--newve-shadow-hover);
}
.newve-card--v2 .newve-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--newve-bg-soft);
}
.newve-card--v2 .newve-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--newve-duration-slow) var(--newve-ease-smooth);
}
.newve-card--v2:hover .newve-card__media img {
  transform: scale(1.05);
}
.newve-card--v2 .newve-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}
.newve-card--v2 .newve-card__title {
  font-family: var(--newve-font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--newve-black-01);
  margin: 0;
}
.newve-card--v2 .newve-card__desc {
  font-family: var(--newve-font-body);
  font-size: 15px;
  line-height: var(--newve-lh-body-v2);
  letter-spacing: var(--newve-ls-body);
  color: var(--newve-black-05);
  margin: 0;
}

/* ── Button v2 — 둥근 캡슐 + 골드 톤 ──────────────────────────── */
.newve-btn--v2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--newve-font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--newve-radius-pill);
  border: 1px solid transparent;
  transition: all var(--newve-duration-fast) var(--newve-ease-smooth);
  cursor: pointer;
  text-decoration: none;
}
.newve-btn--v2.newve-btn--primary-v2 {
  background: var(--newve-primary);
  color: var(--newve-white);
}
.newve-btn--v2.newve-btn--primary-v2:hover {
  background: var(--newve-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--newve-shadow-md);
}
.newve-btn--v2.newve-btn--ghost-v2 {
  background: transparent;
  color: var(--newve-black-01);
  border-color: var(--newve-border);
}
.newve-btn--v2.newve-btn--ghost-v2:hover {
  border-color: var(--newve-black-01);
}

/* ── Swiper Navigation arrows — skinmdlab .slideArw 톤 ────────── */
.newve-card-slider .swiper-button-prev,
.newve-card-slider .swiper-button-next,
.newve-brand-slider .swiper-button-prev,
.newve-brand-slider .swiper-button-next {
  width: 48px;
  height: 48px;
  border-radius: var(--newve-radius-pill);
  background: var(--newve-white);
  box-shadow: var(--newve-shadow-md);
  color: var(--newve-black-01);
  margin-top: -24px;
  transition: all var(--newve-duration-fast) var(--newve-ease-smooth);
}
.newve-card-slider .swiper-button-prev::after,
.newve-card-slider .swiper-button-next::after,
.newve-brand-slider .swiper-button-prev::after,
.newve-brand-slider .swiper-button-next::after {
  font-size: 16px;
  font-weight: 700;
}
.newve-card-slider .swiper-button-prev:hover,
.newve-card-slider .swiper-button-next:hover,
.newve-brand-slider .swiper-button-prev:hover,
.newve-brand-slider .swiper-button-next:hover {
  background: var(--newve-primary);
  color: var(--newve-white);
}

/* ── AOS — fade-up 톤 약화 (24px → 16px translate) ────────────── */
/* skinmdlab 기본 fade-up 은 100px 이동인데 medical 톤엔 과함. 약화. */
[data-aos="fade-up"] {
  transform: translate3d(0, 24px, 0);
}
body[data-aos-easing="ease-out-cubic"] [data-aos] {
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* AOS 미로드 또는 prefers-reduced-motion: 즉시 노출 (FOUC 방지) */
@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
html:not(.aos-init) [data-aos] {
  /* AOS 가 init 되기 전엔 보이게 (스크립트 실패 대비) */
}

/* ── Container variants ──────────────────────────────────────── */
.newve-container--narrow { max-width: var(--newve-container-narrow); margin: 0 auto; padding: 0 var(--newve-pad-desktop); }
.newve-container--wide   { max-width: var(--newve-container-wide);   margin: 0 auto; padding: 0 var(--newve-pad-desktop); }
