@charset "UTF-8";

:root {
    --font-site:
        "MIPLUS Latin",
        "SUIT Variable",
        "SUIT",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    --font-english: var(--font-site);

    --font-korean:
        "SUIT Variable",
        "SUIT",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    --font-number: var(--font-korean);
}

html,
body,
button,
input,
select,
textarea,
.prototype-main {
    font-family: var(--font-site);
}



/* =========================================================
   MIPLUS MAIN PROTOTYPE
   기존 main.css 및 miplus-theme.css와 독립적으로 사용
========================================================= */

:root {

    --proto-ivory: #f3f0eb;
    --proto-ivory-deep: #ebe6df;
    --proto-surface: #faf8f4;
    --proto-stone: #ddd7cf;
    --proto-stone-deep: #c9c0b6;
    --proto-greige: #aaa097;
    --proto-taupe: #82776f;
    --proto-walnut: #705545;
    --proto-charcoal: #403b38;
    --proto-text: #4b4642;
    --proto-text-soft: #77706a;
    --proto-text-light: #a49c95;
    --proto-white: #fff;

    --proto-line: rgba(64, 59, 56, 0.16);
    --proto-line-light: rgba(64, 59, 56, 0.1);

    --proto-container: 1320px;
    --proto-container-wide: 1540px;

    --proto-shadow:
        0 28px 70px rgba(66, 57, 51, 0.1);
}

/* =========================================================
   기본 설정
========================================================= */

html {
    scroll-padding-top: var(--header-height);
}

body {
    background-color: var(--proto-ivory);
    color: var(--proto-text);
}

.prototype-main {
    padding-top: var(--header-height);
    overflow: hidden;
}

.proto-container {
    width: min(calc(100% - 96px), var(--proto-container));
    margin-inline: auto;
}

.proto-section {
    position: relative;
    padding-block: 150px;
}

.proto-eyebrow {
    margin: 0 0 24px;
    color: var(--proto-walnut);
    font-family: var(--font-english);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.proto-section-heading {
    max-width: 720px;
    margin-bottom: 74px;
}

.proto-section-heading--center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.proto-section-title {
    margin: 0;
    color: var(--proto-charcoal);
    font-size: clamp(34px, 3vw, 46px);
    font-weight: 400;
    line-height: 1.42;
    letter-spacing: -0.045em;
    word-break: keep-all;
}

.proto-section-description {
    max-width: 610px;
    margin: 28px 0 0;
    color: var(--proto-text-soft);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: -0.02em;
    word-break: keep-all;
}

.proto-section-heading--center .proto-section-description {
    margin-right: auto;
    margin-left: auto;
}

.proto-short-line {
    width: 42px;
    height: 1px;
    margin: 36px 0;
    background-color: var(--proto-line);
}

.proto-text-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 38px;
    border-bottom: 1px solid var(--proto-line);
    padding-bottom: 8px;
    color: var(--proto-charcoal);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
    transition:
        color 180ms ease,
        border-color 180ms ease;
}

.proto-text-link span {
    font-size: 13px;
}

.proto-text-link:hover,
.proto-text-link:focus-visible {
    border-color: var(--proto-walnut);
    color: var(--proto-walnut);
}

.proto-solid-button,
.proto-outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 168px;
    min-height: 52px;
    padding: 12px 26px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.02em;
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease;
}

.proto-solid-button {
    border: 1px solid var(--proto-charcoal);
    background-color: var(--proto-charcoal);
    color: var(--proto-white);
}

.proto-solid-button:hover,
.proto-solid-button:focus-visible {
    border-color: var(--proto-walnut);
    background-color: var(--proto-walnut);
}

.proto-outline-button {
    border: 1px solid var(--proto-charcoal);
    background-color: transparent;
    color: var(--proto-charcoal);
}

.proto-outline-button:hover,
.proto-outline-button:focus-visible {
    background-color: var(--proto-charcoal);
    color: var(--proto-white);
}

/* =========================================================
   실제 이미지 로고
========================================================= */

.site-logo__image {
    display: block;
    width: clamp(120px, 9vw, 138px);
    height: auto;
}

.mobile-menu__logo-image {
    display: block;
    width: 124px;
    height: auto;
}

/* =========================================================
   이미지 자리 표시자
========================================================= */

.proto-placeholder {
    position: relative;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--proto-line-light);
    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.45),
            rgba(255, 255, 255, 0)),
        linear-gradient(145deg,
            var(--proto-stone),
            var(--proto-stone-deep));
    color: rgba(64, 59, 56, 0.55);
}

.proto-placeholder::before,
.proto-placeholder::after {
    position: absolute;
    background-color: rgba(64, 59, 56, 0.1);
    content: "";
}

.proto-placeholder::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
}

.proto-placeholder::after {
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
}

.proto-placeholder span {
    position: relative;
    z-index: 1;
    padding: 8px 12px;
    background-color: rgba(243, 240, 235, 0.8);
    font-family: var(--font-english);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-align: center;
}

.proto-placeholder--portrait {
    aspect-ratio: 4 / 5;
}

.proto-placeholder--landscape {
    aspect-ratio: 4 / 3;
}

.proto-placeholder--revision {
    min-height: 650px;
}

.proto-placeholder--wide {
    aspect-ratio: 16 / 8.5;
}

.proto-placeholder--doctor {
    min-height: 730px;
}

.proto-placeholder--space-main {
    grid-row: span 2;
    min-height: 620px;
}

.proto-placeholder--space-small {
    min-height: 296px;
}

.proto-placeholder--map {
    min-height: 600px;
}

/* =========================================================
   01. 메인 비주얼
========================================================= */

.proto-hero {
    position: relative;
    height: calc(100svh - var(--header-height));
    min-height: 650px;
    overflow: hidden;
    isolation: isolate;
    background-color: #e8e6e1;
}

/* 메인 영상 */
.proto-hero__video {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 1;
    transform: none;

    
    
}

/* 중성에 가까운 밝은 그레이 오버레이 */
.proto-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    
}

/*
 * 메인 문구 영역
 * 화면 너비를 기준으로 위치와 크기가 함께 반응
 */
.proto-hero__content {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 0;
    box-sizing: border-box;
    padding: 3vh 0 0 9.5vw;
    pointer-events: none;
}

.proto-hero__copy {
    width: 38vw;
    max-width: none;
}

/*
 * 화면 너비에 비례하여 제목 크기 변경
 * 1920px: 약 56px
 * 2560px: 약 75px
 * 3840px: 약 112px
 */
.proto-hero__title {
    margin: 0;
    color: #302b28;
    font-size: 2.92vw;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.04em;
    word-break: keep-all;
}

.proto-hero__title span {
    display: block;
}

/*
 * 병원명도 화면 너비에 비례
 * 1920px: 약 14px
 * 2560px: 약 19px
 * 3840px: 약 28px
 */
.proto-hero__brand {
    margin: 1.35vw 0 0;
    color: #675247;
    font-size: 0.73vw;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.15em;
}

/* 스크롤 표시 */
.proto-hero__scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(48, 43, 40, 0.68);
    font-family: var(--font-english);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-shadow: none;
    transform: translateX(-50%);
}

.proto-hero__scroll i {
    display: block;
    width: 1px;
    height: 42px;
    overflow: hidden;
    background-color: rgba(48, 43, 40, 0.2);
    box-shadow: none;
}

.proto-hero__scroll i::after {
    display: block;
    width: 1px;
    height: 16px;
    background-color: #302b28;
    content: "";
    animation: proto-scroll-line 2s ease-in-out infinite;
}

@keyframes proto-scroll-line {
    0% {
        transform: translateY(-18px);
    }

    100% {
        transform: translateY(46px);
    }
}



/* =========================================================
   02. 미플러스 철학
========================================================= */

.proto-philosophy {
    background-color: var(--proto-ivory);
}

.proto-philosophy__inner {
    display: grid;
    grid-template-columns: minmax(500px, 590px) minmax(430px, 560px);
    align-items: center;
    justify-content: center;
    gap: clamp(90px, 8vw, 150px);
    width: min(calc(100% - 110px), 1320px);
    margin: 0 auto;
}

.proto-philosophy__visual {
    position: relative;
    width: 100%;
    max-width: 570px;
    height: 570px;
    overflow: visible;
}

.proto-philosophy__back-panel {
    position: absolute;
    top: 126px;
    left: 0;
    z-index: 1;
    width: 365px;
    height: 385px;
    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.26),
            rgba(255, 255, 255, 0)),
        linear-gradient(145deg,
            #d8d2ca,
            #c6bdb3);
    box-shadow: 0 24px 55px rgba(67, 58, 52, 0.06);
}

.proto-philosophy__image {
    position: absolute;
    top: 42px;
    right: 0;
    z-index: 2;
    width: 470px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin: 0;
    background-color: #e8e1d8;
    box-shadow: var(--proto-shadow);
}

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

.proto-philosophy__orbit {
    position: absolute;
    top: 6px;
    left: 16px;
    z-index: 3;
    width: 154px;
    height: 154px;
    pointer-events: none;
}

.proto-philosophy__orbit-svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    transform-origin: center;
    animation: proto-orbit-reverse 20s linear infinite;
}

.proto-philosophy__orbit-svg text {
    fill: #756b63;
    font-family: var(--font-english);
    font-size: 10.5px;
    font-weight: 400;
    letter-spacing: 0.12em;
}


@keyframes proto-orbit-reverse {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

.proto-philosophy__content {
    width: 100%;
    max-width: 560px;
}

.proto-philosophy__title {
    margin: 0;
    color: var(--proto-charcoal);
    font-size: clamp(27px, 2.2vw, 34px);
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: -0.045em;
    word-break: keep-all;
}

.proto-philosophy__description {
    max-width: 510px;
    margin: 0;
    color: var(--proto-text-soft);
    font-size: 16px;
    line-height: 1.95;
    letter-spacing: -0.02em;
}

/* 철학 본문 문단 사이 간격 */
.proto-philosophy__paragraph-gap {
    display: block;
    height: 14px;
}



/* =========================================================
   03. 시그니처 진료
========================================================= */

.proto-signature {
    background-color: var(--proto-surface);
}

.proto-signature__grid {
    display: grid;
    grid-template-columns: 1.25fr 0.9fr;
    grid-template-rows: repeat(2, auto);
    gap: 34px;
}

.proto-signature-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    color: var(--proto-charcoal);
}

.proto-signature-card--large {
    grid-row: span 2;
}

.proto-signature-card__content {
    padding: 24px 4px 4px;
}

.proto-signature-card__content p {
    margin: 0 0 10px;
    color: var(--proto-text-light);
    font-family: var(--font-english);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.14em;
}

.proto-signature-card__content h3 {
    margin: 0;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.04em;
}

.proto-signature-card__content>span {
    display: inline-block;
    margin-top: 18px;
    border-bottom: 1px solid var(--proto-line);
    padding-bottom: 5px;
    color: var(--proto-text-soft);
    font-size: 13px;
}

.proto-signature-card .proto-placeholder {
    transition:
        filter 360ms ease,
        transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.proto-signature-card:hover .proto-placeholder,
.proto-signature-card:focus-visible .proto-placeholder {
    filter: brightness(0.97);
    transform: translateY(-4px);
}

/* =========================================================
   04. 코재수술
========================================================= */

.proto-revision {
    padding: 0;
    background-color: var(--proto-charcoal);
    color: var(--proto-white);
}

.proto-revision__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(430px, 0.9fr);
    min-height: 790px;
}

.proto-revision__media {
    position: relative;
    min-width: 0;
}

.proto-revision__media .proto-placeholder {
    height: 100%;
    border: 0;
    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0)),
        linear-gradient(145deg,
            #8e847c,
            #605750);
    color: rgba(255, 255, 255, 0.6);
}

.proto-revision__media .proto-placeholder span {
    background-color: rgba(64, 59, 56, 0.75);
}

.proto-revision__vertical {
    position: absolute;
    top: 50%;
    right: 20px;
    z-index: 2;

    margin: 0;
    color: rgba(255, 255, 255, 0.58);

    font-family: var(--font-english);
    font-size: 9px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.2em;
    white-space: nowrap;

    /* rotate 대신 실제 세로쓰기 사용 */
    writing-mode: vertical-rl;
    text-orientation: mixed;

    transform: translateY(-50%);
    transform-origin: center;

    text-shadow: 0 1px 5px rgba(35, 31, 29, 0.25);
    pointer-events: none;
}


.proto-revision__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 110px clamp(64px, 7vw, 130px);
}

.proto-revision__content .proto-eyebrow {
    color: #baa99d;
}

.proto-revision__content .proto-section-title {
    color: var(--proto-white);
}

.proto-revision__content .proto-section-description {
    color: rgba(255, 255, 255, 0.68);
}

.proto-revision__content .proto-outline-button {
    margin-top: 46px;
    border-color: rgba(255, 255, 255, 0.65);
    color: var(--proto-white);
}

.proto-revision__content .proto-outline-button:hover,
.proto-revision__content .proto-outline-button:focus-visible {
    border-color: var(--proto-white);
    background-color: var(--proto-white);
    color: var(--proto-charcoal);
}

.proto-check-list {
    width: 100%;
    margin: 42px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.proto-check-list li {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding: 17px 0 17px 20px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.proto-check-list li::before {
    position: absolute;
    top: 26px;
    left: 1px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #bca99c;
    content: "";
}

/* =========================================================
   05. 밸런스 코성형
========================================================= */

.proto-balance {
    background-color: var(--proto-ivory);
}

.proto-balance__heading {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    align-items: end;
    gap: 80px;
    margin-bottom: 82px;
}

.proto-balance__heading .proto-eyebrow {
    margin-bottom: 10px;
}

.proto-balance__title {
    max-width: 760px;
    margin: 0;
    color: var(--proto-charcoal);
    font-size: clamp(42px, 4.2vw, 68px);
    font-weight: 300;
    line-height: 1.25;
    letter-spacing: -0.055em;
}

.proto-balance__body {
    display: grid;
    grid-template-columns: minmax(320px, 0.65fr) minmax(0, 1.35fr);
    align-items: center;
    gap: 80px;
}

.proto-balance__copy {
    max-width: 420px;
}

.proto-balance__copy p {
    margin: 0;
    color: var(--proto-text-soft);
    font-size: 16px;
    line-height: 1.95;
    letter-spacing: -0.02em;
}

.proto-balance__copy p+p {
    margin-top: 20px;
}

/* =========================================================
   06. 유형별 코성형
========================================================= */

.proto-types {
    border-top: 1px solid var(--proto-line-light);
    background-color: var(--proto-surface);
}

.proto-types__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--proto-line);
    border-left: 1px solid var(--proto-line);
}

.proto-type-card {
    position: relative;
    min-height: 165px;
    border-right: 1px solid var(--proto-line);
    border-bottom: 1px solid var(--proto-line);
    padding: 26px 28px 24px;
    background-color: transparent;
    color: var(--proto-charcoal);
    transition:
        background-color 220ms ease,
        color 220ms ease;
}

.proto-type-card__number {
    display: block;
    margin-bottom: 27px;
    color: var(--proto-text-light);
    font-family: var(--font-english);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
}

.proto-type-card h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.04em;
}

.proto-type-card p {
    margin: 8px 0 0;
    color: var(--proto-text-light);
    font-family: var(--font-english);
    font-size: 10px;
    letter-spacing: 0.14em;
}

.proto-type-card i {
    position: absolute;
    right: 22px;
    bottom: 21px;
    font-size: 14px;
    font-style: normal;
}

.proto-type-card:hover,
.proto-type-card:focus-visible {
    background-color: var(--proto-charcoal);
    color: var(--proto-white);
}

.proto-type-card:hover p,
.proto-type-card:hover .proto-type-card__number,
.proto-type-card:focus-visible p,
.proto-type-card:focus-visible .proto-type-card__number {
    color: rgba(255, 255, 255, 0.6);
}

/* =========================================================
   07. 의료진
========================================================= */

.proto-doctor {
    padding: 0;
    background-color: var(--proto-ivory-deep);
}

.proto-doctor__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(440px, 0.95fr);
    min-height: 820px;
}

.proto-doctor__inner .proto-placeholder {
    height: 100%;
    border: 0;
}

.proto-doctor__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 110px clamp(70px, 8vw, 150px);
}

.proto-doctor__name {
    display: flex;
    align-items: baseline;
    gap: 14px;
    width: 100%;
    margin-top: 46px;
    border-top: 1px solid var(--proto-line);
    padding-top: 24px;
}

.proto-doctor__name strong {
    color: var(--proto-charcoal);
    font-size: 21px;
    font-weight: 600;
}

.proto-doctor__name span {
    color: var(--proto-text-soft);
    font-size: 13px;
}

.proto-doctor__content .proto-outline-button {
    margin-top: 44px;
}

/* =========================================================
   08. 진료 원칙
========================================================= */

.proto-promise {
    background-color: var(--proto-ivory);
}

.proto-promise__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    border-top: 1px solid var(--proto-line);
    border-left: 1px solid var(--proto-line);
    padding: 0;
    list-style: none;
}

.proto-promise__grid li {
    min-height: 250px;
    border-right: 1px solid var(--proto-line);
    border-bottom: 1px solid var(--proto-line);
    padding: 30px 30px 26px;
}

.proto-promise__grid li>span {
    color: var(--proto-text-light);
    font-family: var(--font-english);
    font-size: 11px;
    letter-spacing: 0.12em;
}

.proto-promise__grid h3 {
    margin: 52px 0 0;
    color: var(--proto-charcoal);
    font-size: 21px;
    font-weight: 500;
    letter-spacing: -0.04em;
}

.proto-promise__grid p {
    margin: 14px 0 0;
    margin-top: 8px;
    color: var(--proto-text-soft);
    font-size: 14px;
    line-height: 1.8;
}

.proto-promise__action {
    text-align: center;
}


/* =========================================================
   10. 상담 및 오시는 길
========================================================= */

.proto-contact {
    padding: 0;
    background-color: var(--proto-ivory-deep);
}

.proto-contact__inner {
    display: grid;
    grid-template-columns: minmax(440px, 0.9fr) minmax(0, 1.1fr);
    min-height: 700px;
}

.proto-contact__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 110px clamp(70px, 8vw, 150px);
}

.proto-contact__information {
    width: 100%;
    margin-top: 50px;
    border-top: 1px solid var(--proto-line);
}

.proto-contact__information dl {
    margin: 0;
}

.proto-contact__information dl>div {
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 20px;
    border-bottom: 1px solid var(--proto-line);
    padding: 18px 0;
}

.proto-contact__information dt {
    color: var(--proto-text-light);
    font-family: var(--font-english);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
}

.proto-contact__information dd {
    margin: 0;
    color: var(--proto-text-soft);
    font-size: 14px;
}

.proto-contact__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 42px;
}

.proto-contact__inner .proto-placeholder {
    height: 100%;
    border: 0;
}

/* =========================================================
   Simple Footer
========================================================= */
.proto-footer {
    min-height: 0 !important;
    margin: 0;
    padding: 0;
    color: rgba(248, 244, 239, 0.56);
    background-color: #302b28;
    border-top: 1px solid rgba(248, 244, 239, 0.12);
}

.proto-footer__inner {
    display: flex;
    align-items: flex-start;
    /* flex-end에서 변경 */
    justify-content: space-between;
    gap: 60px;
    padding-top: 28px;
    padding-bottom: 26px;
}


.proto-footer__information {
    min-width: 0;
    font-size: 11.5px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.proto-footer__information p {
    margin: 0;
}


.proto-footer__information span {
    margin-left: 12px;
}

.proto-footer__utility {
    flex: 0 0 auto;
    text-align: right;
}

.proto-footer__nav {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-bottom: 10px;
}

.proto-footer__nav a {
    color: rgba(248, 244, 239, 0.72);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s ease;
}

.proto-footer__nav strong {
    color: #f8f4ef;
    font-weight: 500;
}

.proto-footer__copyright {
    margin: 0;
    color: rgba(248, 244, 239, 0.34);
    font-family: var(--font-english);
    font-size: 9.5px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.04em;
}

@media (hover: hover) and (pointer: fine) {
    .proto-footer__nav a:hover {
        color: #f8f4ef;
    }
}

/* 모바일 */
@media (max-width: 767px) {
    .proto-footer__inner {
        display: block;
        padding-top: 24px;
        padding-bottom: 22px;
    }

    .proto-footer__information {
        font-size: 11px;
        line-height: 1.75;
    }

    .proto-footer__information span {
        display: block;
        margin-left: 0;
    }

    .proto-footer__utility {
        margin-top: 18px;
        padding-top: 16px;
        border-top: 1px solid rgba(248, 244, 239, 0.1);
        text-align: left;
    }

    .proto-footer__nav {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px 16px;
        margin-bottom: 12px;
    }

    .proto-footer__nav a {
        font-size: 11.5px;
    }

    .proto-footer__copyright {
        font-size: 9px;
    }
}



/* =========================================================
   작은 PC 및 태블릿 가로
========================================================= */

@media (max-width: 1280px) {
    .proto-container {
        width: min(calc(100% - 72px), var(--proto-container));
    }

    .proto-philosophy__inner {
        grid-template-columns: minmax(420px, 500px) minmax(360px, 450px);
        gap: 70px;
        width: calc(100% - 80px);
    }

    .proto-philosophy__visual {
        height: 510px;
    }

    .proto-philosophy__back-panel {
        top: 110px;
        width: 320px;
        height: 350px;
    }

    .proto-philosophy__image {
        width: 420px;
    }

    .proto-philosophy__orbit {
        width: 140px;
        height: 140px;
    }

    .proto-revision__content,
    .proto-doctor__content,
    .proto-contact__content {
        padding-right: 65px;
        padding-left: 65px;
    }

    .proto-revision__inner,
    .proto-doctor__inner {
        grid-template-columns: minmax(0, 1fr) minmax(390px, 0.9fr);
    }
}

/* =========================================================
   태블릿
========================================================= */

@media (max-width: 1024px) {
    .proto-section {
        padding-block: 120px;
    }

    .proto-container {
        width: calc(100% - 56px);
    }

    .proto-section-heading {
        margin-bottom: 60px;
    }

    .proto-philosophy__inner {
        grid-template-columns: minmax(360px, 430px) minmax(320px, 390px);
        gap: 48px;
        width: calc(100% - 56px);
    }

    .proto-philosophy__visual {
        height: 450px;
    }

    .proto-philosophy__back-panel {
        top: 105px;
        width: 275px;
        height: 300px;
    }

    .proto-philosophy__image {
        top: 45px;
        width: 360px;
    }

    .proto-philosophy__orbit {
        top: 10px;
        left: 8px;
        width: 122px;
        height: 122px;
    }

    .proto-philosophy__title {
        font-size: 27px;
    }

    .proto-signature__grid {
        gap: 26px;
    }

    .proto-revision__inner,
    .proto-doctor__inner,
    .proto-contact__inner {
        grid-template-columns: 1fr 1fr;
    }

    .proto-revision__content,
    .proto-doctor__content,
    .proto-contact__content {
        padding: 80px 44px;
    }

    .proto-balance__heading,
    .proto-balance__body {
        gap: 50px;
    }

    .proto-types__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .proto-promise__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .proto-footer__inner {
        width: calc(100% - 56px);
    }
}

/* =========================================================
   모바일
========================================================= */

@media (max-width: 767px) {
    :root {
        --proto-mobile-padding: 24px;
    }

    .site-logo__image,
    .mobile-menu__logo-image {
        width: 116px;
    }

    .proto-container {
        width: calc(100% - (var(--proto-mobile-padding) * 2));
    }

    .proto-section {
        padding-block: 100px;
    }

    .proto-revision,
    .proto-doctor,
    .proto-contact {
        padding-top: 0;
        padding-bottom: 0;
    }

    .proto-eyebrow {
        margin-bottom: 18px;
        font-size: 10px;
        letter-spacing: 0.2em;
    }

    .proto-section-heading {
        margin-bottom: 48px;
    }

    .proto-section-title {
        font-size: clamp(27px, 7.5vw, 32px);
        line-height: 1.5;
    }

    .proto-section-description {
        margin-top: 22px;
        font-size: 15px;
        line-height: 1.85;
    }

    .proto-short-line {
        margin: 28px 0;
    }

    .proto-text-link {
        margin-top: 30px;
    }

    .proto-solid-button,
    .proto-outline-button {
        min-width: 0;
        min-height: 50px;
        padding: 11px 21px;
    }

    /* 메인 비주얼 */

    .proto-hero {
        min-height: 620px;
    }

    /* 모바일은 PC보다 색 보정을 약하게 적용 */
    .proto-hero__video {
        object-position: center center;
        transform: none;
        
    }

    /* 하단 문구 가독성을 위한 그라데이션 */
    

    .proto-hero__content {
        align-items: flex-end;
        width: calc(100% - 48px);
        height: 100%;
        margin: 0 auto;
        padding: 0 0 112px;
    }

    .proto-hero__copy {
        width: 100%;
        max-width: none;
    }

    .proto-hero__title {
        color: var(--proto-white);
        font-size: clamp(31px, 9vw, 40px);
        font-weight: 400;
        line-height: 1.35;
        letter-spacing: -0.04em;
        text-shadow: 0 2px 12px rgba(32, 28, 26, 0.24);
    }

    .proto-hero__brand {
        margin-top: 18px;
        color: rgba(255, 255, 255, 0.88);
        font-size: 12px;
        line-height: 1.7;
        letter-spacing: 0.12em;
        text-shadow: 0 1px 8px rgba(32, 28, 26, 0.22);
    }

    .proto-hero__scroll {
        right: 18px;
        bottom: 24px;
        left: auto;
        color: rgba(255, 255, 255, 0.72);
        transform: none;
    }

    .proto-hero__scroll i {
        height: 34px;
        background-color: rgba(255, 255, 255, 0.3);
    }

    .proto-hero__scroll i::after {
        background-color: var(--proto-white);
    }


    /* 철학 섹션 */

    .proto-philosophy {
        padding-top: 96px;
        padding-bottom: 108px;
    }

    .proto-philosophy__inner {
        display: flex;
        flex-direction: column;
        gap: 56px;
        width: 100%;
    }

    .proto-philosophy__visual {
        flex: 0 0 auto;
        width: min(88vw, 350px);
        height: 360px;
        margin: 0 auto;
    }

    .proto-philosophy__back-panel {
        top: 92px;
        left: 0;
        width: 220px;
        height: 242px;
    }

    .proto-philosophy__image {
        top: 52px;
        right: 0;
        width: min(76vw, 296px);
    }

    .proto-philosophy__orbit {
        top: 17px;
        left: 4px;
        width: 112px;
        height: 112px;
    }

    .proto-philosophy__content {
        width: calc(100% - 56px);
        max-width: 500px;
        margin: 0 auto;
    }

    .proto-philosophy__title {
        font-size: clamp(23px, 6.2vw, 27px);
        line-height: 1.72;
    }

    .proto-philosophy__description {
        font-size: 15px;
        line-height: 1.9;
    }

    /* 시그니처 */

    .proto-signature__grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 40px;
    }

    .proto-signature-card--large {
        grid-row: auto;
    }

    .proto-signature-card__content {
        padding-top: 18px;
    }

    .proto-signature-card__content h3 {
        font-size: 22px;
    }

    .proto-signature-card--large .proto-placeholder {
        aspect-ratio: 4 / 4.6;
    }

    /* 코재수술 */

    .proto-revision__inner {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .proto-revision__media {
        min-height: 530px;
    }

    .proto-revision__media .proto-placeholder {
        min-height: 530px;
    }

    @media (max-width: 767px) {
        .proto-revision__vertical {
            display: none;
        }
    }


    .proto-revision__content {
        padding: 82px 28px 92px;
    }

    .proto-check-list {
        margin-top: 34px;
    }

    .proto-revision__content .proto-outline-button {
        margin-top: 38px;
    }

    /* 밸런스 코성형 */

    .proto-balance__heading {
        display: block;
        margin-bottom: 46px;
    }

    .proto-balance__title {
        font-size: clamp(35px, 10vw, 45px);
        line-height: 1.3;
    }

    .proto-balance__body {
        display: flex;
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 38px;
    }

    .proto-balance__copy {
        max-width: none;
    }

    .proto-balance__copy p {
        font-size: 15px;
        line-height: 1.9;
    }

    .proto-placeholder--wide {
        aspect-ratio: 4 / 3.5;
    }

    /* 유형별 코성형 */

    .proto-types__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .proto-type-card {
        min-height: 130px;
        padding: 16px 15px 15px;
    }

    .proto-type-card__number {
        margin-bottom: 16px;
    }

    .proto-type-card h3 {
        font-size: 18px;
        line-height: 1.4;
    }

    .proto-type-card p {
        max-width: 90%;
        font-size: 8px;
        line-height: 1.5;
    }

    .proto-type-card i {
        right: 13px;
        bottom: 12px;
    }

    .proto-type-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        min-height: 110px;
    }


    /* 의료진 */

    .proto-doctor__inner {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .proto-doctor__inner .proto-placeholder {
        min-height: 560px;
    }

    .proto-doctor__content {
        padding: 84px 28px 94px;
    }

    .proto-doctor__name {
        margin-top: 38px;
    }

    /* 진료 원칙 */

    .proto-promise__grid {
        grid-template-columns: 1fr;
    }

    .proto-promise__grid li {
        min-height: 160px;
        padding: 20px 24px 18px;
    }


    .proto-promise__grid h3 {
        margin-top: 23px;
        font-size: 20px;
    }


    /* 상담 및 오시는 길 */

    .proto-contact__inner {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .proto-contact__content {
        padding: 90px 28px;
    }

    .proto-contact__information {
        margin-top: 40px;
    }

    .proto-contact__information dl>div {
        grid-template-columns: 85px 1fr;
        gap: 14px;
    }

    .proto-contact__buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .proto-placeholder--map {
        min-height: 430px;
    }

    /* 푸터 */

    .proto-footer__inner {
        width: calc(100% - 48px);
        padding: 68px 0 34px;
    }

    .proto-footer__brand {
        display: block;
        padding-bottom: 34px;
    }

    @media (max-width: 767px) {
        .proto-footer__logo img {
            width: 150px;
            height: auto;
        }
    }

    .proto-footer__brand p {
        margin-top: 24px;
        font-size: 14px;
    }

    .proto-footer__links {
        gap: 10px 18px;
    }

    .proto-footer__copyright {
        margin-top: 48px;
    }
}

/* =========================================================
   작은 모바일
========================================================= */

@media (max-width: 390px) {
    :root {
        --proto-mobile-padding: 20px;
    }

    .proto-philosophy__visual {
        width: min(90vw, 332px);
        height: 345px;
    }

    .proto-philosophy__back-panel {
        top: 88px;
        width: 208px;
        height: 230px;
    }

    .proto-philosophy__image {
        width: min(77vw, 284px);
    }

    .proto-philosophy__orbit {
        width: 106px;
        height: 106px;
    }

    .proto-philosophy__content {
        width: calc(100% - 44px);
    }

    .proto-types__grid {
        grid-template-columns: 1fr 1fr;
    }

    .proto-type-card {
        min-height: 130px;
        padding-right: 14px;
        padding-left: 14px;
    }

    .proto-contact__buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 350px) {
    .proto-types__grid {
        grid-template-columns: 1fr;
    }

    .proto-type-card {
        min-height: 118px;
    }
}

/* =========================================================
   움직임 최소화
========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .proto-hero__scroll i::after,
    .proto-philosophy__orbit-svg {
        animation: none;
    }

    .proto-signature-card .proto-placeholder {
        transition: none;
    }
}

/* =========================================================
   FAQ
========================================================= */
.proto-faq {
    padding: clamp(110px, 10vw, 180px) 0;
    background: #f3f0eb;
    color: #292724;
}

.proto-faq__inner {
    width: min(calc(100% - 80px), 1280px);
    margin: 0 auto;
}

.proto-faq__header {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) minmax(400px, 1.3fr);
    column-gap: clamp(60px, 8vw, 150px);
    margin-bottom: clamp(62px, 7vw, 104px);
}

.proto-faq__eyebrow {
    grid-column: 1;
    margin: 7px 0 0;
    color: #81786f;
    font-family: var(--font-site);
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.2em;
}

.proto-faq__title {
    grid-column: 2;
    margin: 0;
    color: #292724;
    font-size: clamp(38px, 4vw, 62px);
    font-weight: 400;
    line-height: 1.16;
    letter-spacing: -0.055em;
}

.proto-faq__intro {
    grid-column: 2;
    max-width: 520px;
    margin: 24px 0 0;
    color: #716b64;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: -0.025em;
}

.proto-faq__list {
    border-top: 1px solid rgba(55, 50, 45, 0.22);
}

.proto-faq__item {
    border-bottom: 1px solid rgba(55, 50, 45, 0.22);
}

.proto-faq__question {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 74px;
    padding: 17px 78px 17px 0;
    color: #302d2a;
    font-size: clamp(16px, 1.05vw, 18px);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: -0.03em;
    list-style: none;
    cursor: pointer;
}

.proto-faq__question::-webkit-details-marker {
    display: none;
}

.proto-faq__question::before,
.proto-faq__question::after {
    position: absolute;
    top: 50%;
    right: 18px;
    width: 20px;
    height: 1px;
    background: #4f4943;
    content: "";
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.proto-faq__question::before {
    transform: translateY(-50%);
}

.proto-faq__question::after {
    transform: translateY(-50%) rotate(90deg);
}

.proto-faq__item[open] .proto-faq__question::after {
    opacity: 0;
    transform: translateY(-50%) rotate(0);
}


.proto-faq__question:focus-visible {
    outline: 2px solid #76685b;
    outline-offset: 5px;
}

.proto-faq__answer {
    max-width: 960px;
    padding: 0 78px 28px 0;
}

.proto-faq__answer p {
    margin: 0;
    color: #69635d;
    font-size: 16px;
    font-weight: 400;
    line-height: 2;
    letter-spacing: -0.025em;
    word-break: keep-all;
}

.proto-faq__answer strong {
    color: #393531;
    font-weight: 600;
}

/* Tablet */
@media (max-width: 1023px) {
    .proto-faq__inner {
        width: min(calc(100% - 56px), 900px);
    }

    .proto-faq__header {
        grid-template-columns: 170px 1fr;
        column-gap: 42px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .proto-faq {
        padding: 92px 0 104px;
    }

    .proto-faq__inner {
        width: calc(100% - 40px);
    }

    .proto-faq__header {
        display: block;
        margin-bottom: 52px;
    }

    .proto-faq__eyebrow {
        margin: 0 0 18px;
        font-size: 11px;
    }

    .proto-faq__title {
        font-size: clamp(32px, 9.5vw, 40px);
        line-height: 1.2;
    }

    .proto-faq__intro {
        margin-top: 17px;
        font-size: 14px;
        line-height: 1.75;
    }

    .proto-faq__question {
        min-height: 0;
        padding: 17px 42px 17px 0;
        font-size: 15px;
        line-height: 1.6;
        letter-spacing: -0.025em;
        word-break: keep-all;
    }

    .proto-faq__question::before,
    .proto-faq__question::after {
        right: 5px;
        width: 17px;
    }

    .proto-faq__answer {
        padding: 0 20px 24px 0;
    }

    .proto-faq__answer p {
        font-size: 14px;
        line-height: 1.9;
        word-break: normal;
        overflow-wrap: anywhere;
    }
}


/* Small mobile */
@media (max-width: 374px) {
    .proto-faq__inner {
        width: calc(100% - 32px);
    }

    .proto-faq__question {
        padding-right: 40px;
    }

    .proto-faq__answer {
        padding-right: 12px;
    }
}

/* ===== [P02 철학 섹션 최종 수정 시작] ===== */

.proto-philosophy {
    overflow: hidden;
    background-color: var(--proto-ivory);
}

.proto-philosophy__inner {
    display: grid;
    grid-template-columns: 440px minmax(430px, 560px);
    align-items: center;
    justify-content: center;
    gap: clamp(90px, 8vw, 140px);
    width: min(calc(100% - 96px), 1180px);
    margin: 0 auto;
}

/* 전체 이미지 조합 영역 */
.proto-philosophy__visual {
    position: relative;
    width: 440px;
    height: 440px;
    overflow: visible;
    justify-self: center;
}

/* 뒤쪽 스톤·월넛 패널 */
.proto-philosophy__back-panel {
    position: absolute;
    top: 153px;
    left: 0px;
    z-index: 1;
    width: 240px;
    height: 275px;
    background:
        radial-gradient(circle at 26% 22%,
            rgba(255, 255, 255, 0.35),
            transparent 34%),
        linear-gradient(145deg,
            rgba(113, 84, 67, 0.16),
            rgba(255, 255, 255, 0.05)),
        linear-gradient(135deg,
            #d4cbc1 0%,
            #bcaea1 55%,
            #9f8c7e 100%);
    box-shadow: 0 22px 50px rgba(67, 58, 52, 0.08);
}

/* 앞쪽 추상 이미지 */
.proto-philosophy__image {
    position: absolute;
    top: 20px;
    right: 0;
    z-index: 2;
    width: 330px;
    height: 375px;
    aspect-ratio: auto;
    overflow: hidden;
    margin: 0;
    background-color: #e8e1d8;
    box-shadow: 0 28px 65px rgba(66, 57, 51, 0.13);
}

.proto-philosophy__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 이미지 왼쪽 위에 겹치는 원형 영문 */
.proto-philosophy__orbit {
    position: absolute;
    top: -46px;
    left: 44px;
    z-index: 3;
    width: 132px;
    height: 132px;
    pointer-events: none;
}

.proto-philosophy__orbit-svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    transform-origin: center;
    animation: proto-orbit-reverse 14s linear infinite;
}

.proto-philosophy__orbit-svg text {
    fill: #aaa5a0;
    font-family: var(--font-english);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.06em;
    word-spacing: -0.04em;
}



.proto-philosophy__content {
    width: 100%;
    max-width: 560px;
}

.proto-philosophy__title {
    margin: 0;
    color: var(--proto-charcoal);
    font-size: clamp(27px, 2.2vw, 34px);
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: -0.045em;
    word-break: keep-all;
}

.proto-philosophy__description {
    max-width: 510px;
    margin: 0;
    color: #68615b;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.95;
    letter-spacing: -0.02em;
}

/* 작은 PC 및 태블릿 */
@media (max-width: 1100px) and (min-width: 768px) {
    .proto-philosophy__inner {
        grid-template-columns: 390px minmax(0, 1fr);
        gap: 52px;
        width: calc(100% - 56px);
    }

    .proto-philosophy__visual {
        width: 390px;
        height: 410px;
    }

    .proto-philosophy__back-panel {
        top: 155px;
        left: 0px;
        width: 220px;
        height: 248px;
    }

    .proto-philosophy__image {
        top: 35px;
        width: 300px;
        height: 340px;
    }

    .proto-philosophy__orbit {
        top: -27px;
        left: 28px;
        width: 124px;
        height: 124px;
    }

    .proto-philosophy__title {
        font-size: 27px;
    }
}

/* 모바일 */
@media (max-width: 767px) {
    .proto-philosophy {
        padding-top: 96px;
        padding-bottom: 108px;
    }

    .proto-philosophy__inner {
        display: flex;
        flex-direction: column;
        gap: 66px;
        width: 100%;
    }

    .proto-philosophy__visual {
        flex: 0 0 auto;
        width: min(86vw, 320px);
        height: 340px;
        margin: 18px auto 0;
    }

    .proto-philosophy__back-panel {
        top: 128px;
        left: 0px;
        width: 175px;
        height: 202px;
    }

    .proto-philosophy__image {
        top: 30px;
        right: 0;
        width: 240px;
        height: 275px;
    }

    .proto-philosophy__orbit {
        top: -21px;
        left: calc(100% - 291px);
        width: 102px;
        height: 102px;
    }

    .proto-philosophy__orbit-svg text {
        font-size: 9.5px;
        letter-spacing: 0.1em;
    }


    .proto-philosophy__content {
        width: calc(100% - 48px);
        max-width: 500px;
        margin: 0 auto;
    }

    .proto-philosophy__title {
        font-size: clamp(23px, 6.2vw, 27px);
        line-height: 1.72;
    }

    .proto-philosophy__description {
        font-size: 15px;
        line-height: 1.9;
    }
}

@media (max-width: 350px) {
    .proto-philosophy__visual {
        width: 292px;
        height: 326px;
    }

    .proto-philosophy__back-panel {
        top: 123px;
        left: 0px;
        width: 168px;
        height: 192px;
    }

    .proto-philosophy__image {
        width: 230px;
        height: 263px;
    }

    .proto-philosophy__orbit {
        top: -19px;
        left: 13px;
        width: 98px;
        height: 98px;
    }


    .proto-philosophy__content {
        width: calc(100% - 40px);
    }
}

/* =========================================================
   PC 철학 섹션 최종 설정
========================================================= */
@media (min-width: 1101px) {
    .proto-philosophy {
        padding-top: 120px;
        padding-bottom: 120px;
    }

    .proto-philosophy__inner {
        display: grid;
        grid-template-columns: 510px minmax(500px, 620px);
        align-items: center;
        gap: clamp(110px, 7vw, 140px);
        width: min(calc(100% - 96px), 1320px);
        margin: 0 auto;
        transform: none;
    }

    .proto-philosophy__visual {
        position: relative;
        width: 510px;
        height: 500px;
    }

    .proto-philosophy__back-panel {
        position: absolute;
        top: 183px;
        left: 0;
        width: 280px;
        height: 320px;
    }

    .proto-philosophy__image {
        position: absolute;
        top: 25px;
        right: 0;
        width: 390px;
        height: 445px;
    }

    .proto-philosophy__orbit {
        position: absolute;
        top: -50px;
        left: 45px;
        width: 150px;
        height: 150px;
    }

    .proto-philosophy__content {
        width: 100%;
        max-width: 620px;
        transform: translateX(80px);
    }

    .proto-philosophy__title {
        font-size: clamp(33px, 2.1vw, 37px);
        line-height: 1.58;
    }

    .proto-philosophy__description {
        width: 100%;
        max-width: 520px;
        font-size: 16px;
        line-height: 1.95;
        color: #68615b;
    }

    .proto-philosophy__paragraph-gap {
        display: block;
        height: 10px;
    }
}


/* ===== [P02 철학 섹션 최종 수정 끝] ===== */

/* =========================================================
   FINAL — 메인 비주얼 최종 통합
========================================================= */

/* ---------------------------------------------------------
   PC / 태블릿
--------------------------------------------------------- */

@media (min-width: 768px) {
    .proto-hero {
        position: relative;
        width: 100%;
        height: calc(100dvh - var(--header-height, 80px)) !important;
        min-height: calc(100dvh - var(--header-height, 80px)) !important;
        max-height: calc(100dvh - var(--header-height, 80px)) !important;
        box-sizing: border-box;
        overflow: hidden;
        isolation: isolate;
        aspect-ratio: auto !important;
        background-color: #e8e6e1;
    }

    .proto-hero__video {
        position: absolute;
        inset: 0;
        z-index: -3;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        opacity: 1;
        transform: none !important;
        
    }

    .proto-hero__overlay {
        position: absolute;
        inset: 0;
        z-index: -2;
        pointer-events: none;
        
    }

    .proto-hero__content {
        display: flex;
        align-items: center;
        width: 100% !important;
        max-width: none !important;
        height: 100%;
        margin: 0 !important;
        box-sizing: border-box;
        padding: 3vh 0 0 9.5vw !important;
        pointer-events: none;
    }

    .proto-hero__copy {
        width: 38vw !important;
        max-width: none !important;
        margin: 0;
    }

    .proto-hero__title {
        margin: 0;
        color: #302b28;
        font-family: var(--font-korean);
        font-size: clamp(40px, 2.8vw, 54px) !important;
        font-weight: 500 !important;
        line-height: 1.34;
        letter-spacing: -0.04em;
        word-break: keep-all;
        text-shadow: none;
        font-synthesis: none;
    }

    .proto-hero__title span,
    .proto-hero__title span:first-child,
    .proto-hero__title span:last-child {
        display: block;
        font-weight: 500 !important;
    }

    .proto-hero__brand {
        margin: 20px 0 0;
        color: #675247;
        font-family: var(--font-korean);
        font-size: 15px !important;
        font-weight: 500;
        line-height: 1.6;
        letter-spacing: 0.1em;
        text-shadow: none;
        transform: translateX(2px);
        font-synthesis: none;
    }

    .proto-hero__scroll {
        position: absolute;
        right: auto;
        bottom: 28px;
        left: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        color: rgba(250, 248, 245, 0.92);
        font-family: var(--font-english);
        font-size: 10px;
        font-weight: 400;
        letter-spacing: 0.16em;
        text-shadow: 0 1px 6px rgba(32, 28, 26, 0.32);
        transform: translateX(-50%);
        font-synthesis: none;
    }

    .proto-hero__scroll i {
        display: block;
        width: 1px;
        height: 42px;
        overflow: hidden;
        background-color: rgba(250, 248, 245, 0.42);
        box-shadow: 0 1px 5px rgba(32, 28, 26, 0.2);
    }

    .proto-hero__scroll i::after {
        display: block;
        width: 1px;
        height: 16px;
        background-color: #faf8f5;
        content: "";
        animation: proto-scroll-line 2s ease-in-out infinite;
    }
}


/* ---------------------------------------------------------
   모바일
--------------------------------------------------------- */

@media (max-width: 767px) {
    .proto-hero {
        position: relative;
        width: 100%;
        height: calc(100svh - var(--header-height, 80px)) !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: hidden;
        isolation: isolate;
        background-color: #e8e6e1;
    }

    .proto-hero__video {
        position: absolute;
        inset: 0;
        z-index: -3;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        opacity: 1;
        transform: none !important;
        
    }

    .proto-hero__overlay {
        position: absolute;
        inset: 0;
        z-index: -2;
        pointer-events: none;
        
    }

    .proto-hero__content {
        display: flex;
        align-items: flex-end;
        width: calc(100% - 48px) !important;
        max-width: none !important;
        height: 100%;
        margin: 0 auto !important;
        box-sizing: border-box;
        padding: 0 0 112px !important;
        pointer-events: none;
    }

    .proto-hero__copy {
        width: 100% !important;
        max-width: none !important;
        margin: 0;
    }

    .proto-hero__title {
        margin: 0;
        color: #fff;
        font-family: var(--font-korean);
        font-size: clamp(28px, 8vw, 36px) !important;
        font-weight: 500 !important;
        line-height: 1.38;
        letter-spacing: -0.035em;
        word-break: keep-all;
        text-shadow: 0 2px 12px rgba(32, 28, 26, 0.24);
        font-synthesis: none;
    }

    .proto-hero__title span,
    .proto-hero__title span:first-child,
    .proto-hero__title span:last-child {
        display: block;
        font-weight: 500 !important;
    }

    .proto-hero__brand {
        margin: 17px 0 0;
        color: rgba(255, 255, 255, 0.92);
        font-family: var(--font-korean);
        font-size: 14px !important;
        font-weight: 500;
        line-height: 1.6;
        letter-spacing: 0.08em;
        text-shadow: 0 1px 8px rgba(32, 28, 26, 0.22);
        transform: translateX(1px);
        font-synthesis: none;
    }

    .proto-hero__scroll {
        position: absolute;
        right: 18px;
        bottom: 24px;
        left: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        color: rgba(255, 255, 255, 0.78);
        font-family: var(--font-english);
        font-size: 9px;
        font-weight: 400;
        letter-spacing: 0.16em;
        text-shadow: none;
        transform: none;
        font-synthesis: none;
    }

    .proto-hero__scroll i {
        display: block;
        width: 1px;
        height: 34px;
        overflow: hidden;
        background-color: rgba(255, 255, 255, 0.3);
        box-shadow: none;
    }

    .proto-hero__scroll i::after {
        display: block;
        width: 1px;
        height: 16px;
        background-color: #fff;
        content: "";
        animation: proto-scroll-line 2s ease-in-out infinite;
    }
}


/* ---------------------------------------------------------
   스크롤 애니메이션
--------------------------------------------------------- */

@keyframes proto-scroll-line {
    0% {
        transform: translateY(-18px);
    }

    100% {
        transform: translateY(46px);
    }
}


/* =========================================================
   PC 중앙 스크롤 표시 밝은 색상 복원
========================================================= */

@media (min-width: 768px) {
    .proto-hero__scroll {
        color: rgba(250, 248, 245, 0.92) !important;
        text-shadow: 0 1px 6px rgba(32, 28, 26, 0.32) !important;
    }

    .proto-hero__scroll i {
        background-color: rgba(250, 248, 245, 0.42) !important;
        box-shadow: 0 1px 5px rgba(32, 28, 26, 0.2) !important;
    }

    .proto-hero__scroll i::after {
        background-color: #faf8f5 !important;
    }
}

/* =========================================================
   미플러스 성형외과 시각적 정렬 보정
========================================================= */

/* PC: 오른쪽으로 2px */
@media (min-width: 768px) {
    .proto-hero__brand {
        transform: translateX(2px);
    }
}

/* 모바일: 오른쪽으로 1px */
@media (max-width: 767px) {
    .proto-hero__brand {
        transform: translateX(1px);
    }
}


/* 시그니처 카드 실제 이미지 */
.proto-signature-card .proto-placeholder {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.proto-signature-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.7s ease;
}

@media (hover: hover) and (pointer: fine) {
    .proto-signature-card:hover .proto-signature-card__image {
        transform: scale(1.025);
    }
}

/* =========================================================
   PC 시그니처 카드 최종 크기·간격·라인 정렬
========================================================= */
@media (min-width: 1101px) {

    .proto-signature__grid,
    :is(div, section):has(> .proto-signature-card--large) {
        display: grid;

        grid-template-columns:
            minmax(0, 1.524fr) minmax(0, 1fr) !important;

        grid-template-rows: auto auto;

        /* 왼쪽과 오른쪽 이미지 사이 간격 */
        column-gap: clamp(60px, 5vw, 80px) !important;

        /* 오른쪽 위·아래 카드 간격 */
        row-gap: 32px !important;

        align-items: stretch;

        /* 간격이 늘어도 이미지 크기는 거의 그대로 유지 */
        width: min(calc(100% - 96px), 1140px) !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    /* 모든 시그니처 카드 */
    .proto-signature-card {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-width: 0;
    }

    /* 왼쪽 코재수술 카드 */
    .proto-signature-card--large {
        grid-row: 1 / span 2;
        height: 100%;
    }

    /* 코재수술 이미지 */
    .proto-signature-card--large .proto-placeholder--portrait {
        flex: 1 1 auto;
        width: 100% !important;
        height: auto !important;
        min-height: 0;
        aspect-ratio: auto !important;
        overflow: hidden;
    }

    /* 오른쪽 카드 */
    .proto-signature-card:not(.proto-signature-card--large) {
        width: 100%;
        min-width: 0;
    }

    /* 오른쪽 이미지 */
    .proto-signature-card:not(.proto-signature-card--large) .proto-placeholder--landscape {
        flex: 0 0 auto;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
        overflow: hidden;
    }

/* 이미지 하단 텍스트 — 내용만큼 높이 확보 */
.proto-signature-card__content {
    flex: 0 0 auto;
    width: 100% !important;
    height: auto;
    min-height: 78px;
    margin: 0 !important;
    padding: 16px 0 0 !important;
    box-sizing: border-box;
    text-align: left;
}


    .proto-signature-card__content p,
    .proto-signature-card__content h3 {
        margin-right: 0;
        margin-left: 0;
    }

    /* 실제 이미지 */
    .proto-signature-card__image {
        display: block;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }
}



/* 시그니처 섹션 상단 여백 축소 */
@media (min-width: 1101px) {
    .proto-signature {
        padding-top: 100px !important;
    }
}

/* =========================================================
   시그니처 이미지 톤 통일 — 코재수술 이미지 교체 반영
========================================================= */

/* 모든 이미지 기본 설정 */
.proto-signature-card__image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;

    transition:
        filter 0.4s ease,
        transform 0.7s ease;
}

/* 01. 코재수술
   새 이미지의 강한 브라운·베이지 톤 완화 */
.proto-signature-card[href="/코재수술/"] .proto-signature-card__image {
    filter:
        saturate(0.8) contrast(1.04) brightness(1.02) !important;
}


/* 02. 미플러스 코성형 */
.proto-signature-card[href="/코성형/"] .proto-signature-card__image {
    filter:
        saturate(0.82) contrast(0.965) brightness(1.02) !important;
}

/* 03. 유형별 코성형
   기존의 차가운 회색 톤을 약간 부드럽게 보정 */
.proto-signature-card[href="/남자코성형/"] .proto-signature-card__image {
    filter:
        saturate(0.78) contrast(0.96) brightness(1.025) sepia(0.025) !important;
}

/* 이미지 공통 오버레이 */
.proto-signature-card .proto-placeholder::after {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    display: block !important;
    content: "" !important;
    pointer-events: none;
    background: rgba(232, 236, 235, 0.045) !important;
    border: 0 !important;
}

/* 코재수술 이미지만 조금 더 차가운 오버레이 적용 */
.proto-signature-card[href="/코재수술/"] .proto-placeholder::after {
    background: rgba(239, 240, 238, 0.02) !important;
}


/* 기존 placeholder 가로·세로 가이드선 제거 */
.proto-signature-card .proto-placeholder::before {
    display: none !important;
    content: none !important;
    background: none !important;
    border: 0 !important;
}

/* 이미지 확대 효과 */
@media (hover: hover) and (pointer: fine) {
    .proto-signature-card:hover .proto-signature-card__image {
        transform: scale(1.025);
    }
}

/* =========================================================
   시그니처 이미지 공통 테두리 최종
   이미지 확대 시에도 테두리 고정
========================================================= */
.proto-signature-card .proto-placeholder {
    position: relative !important;
    box-sizing: border-box !important;
    overflow: hidden !important;

    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: #eeece7 !important;
    box-shadow: none !important;
}

/* 실제 이미지 */
.proto-signature-card__image {
    position: relative;
    z-index: 1;

    display: block !important;
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
    object-fit: cover !important;

    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* 이미지보다 위에 고정되는 공통 테두리 */
.proto-signature-card .proto-placeholder::before {
    position: absolute !important;
    inset: 0 !important;
    z-index: 50 !important;

    display: block !important;
    visibility: visible !important;
    width: auto !important;
    height: auto !important;
    box-sizing: border-box !important;

    content: "" !important;
    pointer-events: none;

    border: 1px solid #6f665f !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* 기존 placeholder 가로·세로 가이드선 제거 */
.proto-signature-card .proto-placeholder::after {
    display: none !important;
    visibility: hidden !important;
    content: none !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* =========================================================
   코재수술 섹션 실제 수술 이미지
   prototype.css 가장 마지막에 배치
========================================================= */

.proto-revision__media {
    position: relative;
    min-width: 0;
    overflow: hidden;
    isolation: isolate;
}

/* 실제 이미지 영역 */
.proto-revision__picture {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background-color: #6d6661;
}

/* 실제 이미지 */
.proto-revision__image {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;

    /* 의료진을 중심으로 배치 */
    object-position: 53% center;

    /*
     * 원본의 강한 노란색·파란색을 줄이고
     * 코재수술 섹션의 차콜·그레이지 톤과 연결
     */
    filter:
        saturate(0.56) contrast(0.94) brightness(0.73) sepia(0.08);
}

/* 이미지 위 웜그레이·차콜 오버레이 */
.proto-revision__media::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    pointer-events: none;

    background:
        linear-gradient(90deg,
            rgba(52, 48, 45, 0.1) 0%,
            rgba(64, 55, 50, 0.08) 52%,
            rgba(52, 47, 44, 0.28) 100%),
        rgba(89, 71, 61, 0.1);
}

/* 세로 영문을 이미지와 오버레이 위에 배치 */
.proto-revision__vertical {
    z-index: 2;
}

/* 모바일 */
@media (max-width: 767px) {
    .proto-revision__media {
        min-height: 530px;
    }

    .proto-revision__picture {
        min-height: 530px;
    }

    .proto-revision__image {
        object-position: 53% center;

        /* 모바일은 이미지가 전체 폭을 차지하므로 조금 더 밝게 */
        filter:
            saturate(0.6) contrast(0.95) brightness(0.79) sepia(0.07);
    }

    .proto-revision__media::after {
        background:
            linear-gradient(180deg,
                rgba(52, 48, 45, 0.05) 0%,
                rgba(52, 47, 44, 0.21) 100%),
            rgba(89, 71, 61, 0.07);
    }
}

/* =========================================================
   밸런스 코성형 제목 크기 통일
========================================================= */

.proto-balance__title {
    max-width: 760px;
    margin: 0;
    color: var(--proto-charcoal);

    /* 다른 섹션 제목과 동일 */
    font-size: clamp(34px, 3vw, 46px);
    font-weight: 400;
    line-height: 1.42;
    letter-spacing: -0.045em;
    word-break: keep-all;
}

/* 모바일도 공통 섹션 제목과 동일하게 통일 */
@media (max-width: 767px) {
    .proto-balance__title {
        font-size: clamp(27px, 7.5vw, 32px);
        font-weight: 400;
        line-height: 1.5;
        letter-spacing: -0.045em;
    }
}

/* =========================================================
   시그니처 카드 — 영역 고정, 실제 이미지만 호버
   prototype.css 가장 마지막에 배치
========================================================= */

/* 이미지 프레임은 항상 고정 */
.proto-signature-card .proto-placeholder,
.proto-signature-card:hover .proto-placeholder,
.proto-signature-card:focus-visible .proto-placeholder {
    position: relative;
    overflow: hidden;
    filter: none !important;
    transform: none !important;
    transition: none !important;
}

/* 실제 이미지만 움직이도록 설정 */
.proto-signature-card__image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transform: scale(1);
    transform-origin: 50% 50%;
    transition:
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) !important;
    will-change: transform;
}

/* PC 마우스 오버 시 이미지만 확대 */
@media (hover: hover) and (pointer: fine) {

    .proto-signature-card:hover .proto-signature-card__image,
    .proto-signature-card:focus-visible .proto-signature-card__image {
        transform: scale(1.025);
    }
}

/* 움직임 최소화 설정 */
@media (prefers-reduced-motion: reduce) {
    .proto-signature-card__image {
        transition: none !important;
    }

    .proto-signature-card:hover .proto-signature-card__image,
    .proto-signature-card:focus-visible .proto-signature-card__image {
        transform: none !important;
    }
}

/* =========================================================
   미플러스 이미지 기본 선명도 통일
========================================================= */

.proto-signature-card[href="/코성형/"] .proto-signature-card__image,
.proto-signature-card[href="/미플러스-코성형/"] .proto-signature-card__image {
    filter:
        saturate(0.84) contrast(1) brightness(1) !important;
}

/* 호버해도 이미지 프레임 필터는 변경하지 않음 */
.proto-signature-card[href="/코성형/"] .proto-placeholder,
.proto-signature-card[href="/코성형/"]:hover .proto-placeholder,
.proto-signature-card[href="/코성형/"]:focus-visible .proto-placeholder,
.proto-signature-card[href="/미플러스-코성형/"] .proto-placeholder,
.proto-signature-card[href="/미플러스-코성형/"]:hover .proto-placeholder,
.proto-signature-card[href="/미플러스-코성형/"]:focus-visible .proto-placeholder {
    filter: none !important;
}

/* =========================================================
   3D-CT 정밀진단 실제 이미지 및 톤 보정
========================================================= */

.proto-ct__picture {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin: 0;
    box-sizing: border-box;
    border: 1px solid #6f665f;
    background-color: #dedbd6;
}

.proto-ct__image {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    object-position: center center;

    filter:
        saturate(0.82) contrast(0.98) brightness(0.98) sepia(0.035);
}

.proto-ct__picture::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    pointer-events: none;
    background: rgba(91, 72, 61, 0.045);
}

@media (max-width: 767px) {
    .proto-ct__picture {
        aspect-ratio: 16 / 9;
    }

    /* 모바일은 화면이 작으므로 조금 더 밝게 */
    .proto-ct__image {
        filter:
            saturate(0.84) contrast(0.99) brightness(1) sepia(0.025);
    }

    .proto-ct__picture::after {
        background: rgba(91, 72, 61, 0.03);
    }
}

/* =========================================================
   닥터 섹션 PC·모바일 실제 이미지
========================================================= */

.proto-doctor__picture {
    position: relative;
    display: block;
    align-self: stretch;
    min-width: 0;
    width: 100%;
    height: 100%;
    min-height: 820px;
    overflow: hidden;
    margin: 0;
    background-color: #d8d2cb;
}

.proto-doctor__image {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    object-position: center center;
}

/* 작은 PC 및 태블릿 */
@media (max-width: 1280px) and (min-width: 768px) {
    .proto-doctor__picture {
        min-height: 820px;
    }

    .proto-doctor__image {
        object-position: center center;
    }
}

/* 모바일 */
@media (max-width: 767px) {
    .proto-doctor__picture {
        width: 100%;
        height: auto;
        min-height: 560px;
        aspect-ratio: 4 / 5;
    }

    .proto-doctor__image {
        filter:
            saturate(0.89) contrast(0.98) brightness(0.98) sepia(0.02);
    }

    .proto-doctor__picture::after {
        background:
            linear-gradient(180deg,
                rgba(94, 76, 65, 0.01) 0%,
                rgba(94, 76, 65, 0.055) 100%),
            rgba(126, 103, 88, 0.018);
    }
}


/* =========================================================
   닥터 섹션 이미지 톤 보정
========================================================= */

.proto-doctor__picture {
    position: relative;
    isolation: isolate;
}

/* 의료진 이미지 색감 보정 */
.proto-doctor__image {
    position: relative;
    z-index: 0;

    filter:
        saturate(0.86) contrast(0.97) brightness(0.96) sepia(0.025);
}

/* 오른쪽 콘텐츠 영역과 자연스럽게 연결하는 웜그레이 오버레이 */
.proto-doctor__picture::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    pointer-events: none;

    background:
        linear-gradient(90deg,
            rgba(94, 76, 65, 0.015) 0%,
            rgba(94, 76, 65, 0.025) 58%,
            rgba(94, 76, 65, 0.075) 100%),
        rgba(126, 103, 88, 0.025);
}

/* =========================================================
   모바일 닥터 이미지 최종 비율 — 4:5
========================================================= */

@media (max-width: 767px) {
    .proto-doctor__picture {
        display: block;
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 4 / 5;
        overflow: hidden;
        margin: 0;
    }

    .proto-doctor__image {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 44%;
    }
}

/* =========================================================
   본문 내부 문단 간격
========================================================= */

.proto-description-gap {
    display: block;
    height: 10px;
}

@media (max-width: 767px) {
    .proto-description-gap {
        height: 7px;
    }
}

/* =========================================================
   미플러스 리얼리뷰 영상 섹션
========================================================= */

.proto-video-review {
    overflow: hidden;
    background-color: var(--proto-surface);
}

/* 제목과 전체보기 */
.proto-video-review__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 58px;
}

.proto-video-review__heading .proto-eyebrow {
    margin-bottom: 20px;
}

.proto-video-review__more {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 7px;
    border-bottom: 1px solid var(--proto-line);
    padding-bottom: 7px;
    color: var(--proto-text-soft);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.02em;
    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.proto-video-review__more span {
    font-family: var(--font-english);
    font-size: 13px;
    transition: transform 0.2s ease;
}

.proto-video-review__more:hover,
.proto-video-review__more:focus-visible {
    border-color: var(--proto-walnut);
    color: var(--proto-walnut);
}

.proto-video-review__more:hover span,
.proto-video-review__more:focus-visible span {
    transform: translateX(3px);
}

/* 영상 목록 */
.proto-video-review__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.proto-video-review__card {
    display: block;
    min-width: 0;
    color: var(--proto-charcoal);
}

/* 16:9 썸네일 */
.proto-video-review__thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(64, 59, 56, 0.28);
    background-color: var(--proto-stone);
}

.proto-video-review__thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition:
        filter 0.45s ease,
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 썸네일 위 은은한 톤 */
.proto-video-review__thumbnail::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(53, 47, 43, 0.055);
    content: "";
    pointer-events: none;
    transition: background-color 0.35s ease;
}

/* 재생 버튼 */
.proto-video-review__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 50%;
    background-color: rgba(48, 43, 40, 0.42);
    box-shadow: 0 7px 22px rgba(37, 32, 29, 0.14);
    transform: translate(-50%, -50%);
    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.proto-video-review__play i {
    display: block;
    width: 0;
    height: 0;
    margin-left: 3px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #fff;
}

/* 영상 제목 */
.proto-video-review__content {
    padding: 17px 2px 0;
}

.proto-video-review__content p {
    margin: 0 0 8px;
    color: var(--proto-text-light);
    font-family: var(--font-english);
    font-size: 9px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.13em;
}

.proto-video-review__content h3 {
    margin: 0;
    color: var(--proto-charcoal);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: -0.035em;
    word-break: keep-all;
}

/* 안내 문구 */
.proto-video-review__notice {
    margin: 38px 0 0;
    color: var(--proto-text-light);
    font-size: 11px;
    line-height: 1.7;
    letter-spacing: -0.015em;
}

/* PC 호버 */
@media (hover: hover) and (pointer: fine) {
    .proto-video-review__card:hover .proto-video-review__thumbnail img {
        filter: brightness(0.92);
        transform: scale(1.035);
    }

    .proto-video-review__card:hover .proto-video-review__thumbnail::after {
        background-color: rgba(53, 47, 43, 0.12);
    }

    .proto-video-review__card:hover .proto-video-review__play {
        background-color: rgba(112, 85, 69, 0.88);
        transform: translate(-50%, -50%) scale(1.06);
    }
}

/* 태블릿 */
@media (max-width: 1024px) and (min-width: 768px) {
    .proto-video-review__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px 24px;
    }
}

/* 모바일 */
@media (max-width: 767px) {
    .proto-video-review__heading {
        display: block;
        margin-bottom: 40px;
    }

    .proto-video-review__more {
        margin-top: 26px;
        margin-bottom: 0;
    }

    .proto-video-review__list {
        display: flex;
        gap: 16px;
        width: auto;
        margin-right: calc(var(--proto-mobile-padding) * -1);
        overflow-x: auto;
        padding-right: var(--proto-mobile-padding);
        padding-bottom: 12px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .proto-video-review__list::-webkit-scrollbar {
        display: none;
    }

    .proto-video-review__card {
        flex: 0 0 min(82vw, 320px);
        scroll-snap-align: start;
    }

    .proto-video-review__play {
        width: 42px;
        height: 42px;
    }

    .proto-video-review__content {
        padding-top: 14px;
    }

    .proto-video-review__content h3 {
        font-size: 15px;
    }

    .proto-video-review__notice {
        margin-top: 26px;
        padding-right: 10px;
        font-size: 10px;
    }
}

/* 움직임 최소화 */
@media (prefers-reduced-motion: reduce) {

    .proto-video-review__thumbnail img,
    .proto-video-review__play,
    .proto-video-review__more span {
        transition: none !important;
    }

    .proto-video-review__card:hover .proto-video-review__thumbnail img {
        transform: none !important;
    }
}

/* 하단 콘텐츠 섹션 구분 */
.proto-video-review {
    padding-block: 120px;
    background-color: #f8f6f2;
}


.proto-faq {
    padding-block: 120px;
    background-color: #f7f4ef;
    border-top: 1px solid #ded7cf;
}

/* 모바일 */
@media (max-width: 767px) {

    .proto-video-review,
    .proto-faq {
        padding-block: 80px;
    }
}


/* FAQ: 밝고 깨끗하게 */
.proto-faq {
    background-color: #faf9f6;
    border-top: 1px solid #ded7cf;
}

/* FAQ 전체 박스 제거 */
.proto-faq__list {
    background: transparent !important;
    box-shadow: none !important;
}

/* FAQ 항목은 카드가 아니라 구분선 구조 */
.proto-faq__item,
.proto-faq__list>li {
    background: transparent !important;
    box-shadow: none !important;
    border-color: rgba(64, 59, 56, 0.14) !important;
}

/* 질문 버튼 배경도 제거 */
.proto-faq__item button,
.proto-faq__list>li button,
.proto-faq summary {
    background: transparent !important;
}


/* 하단 섹션 배경 체계 */

/* 닥터 섹션은 기존 웜 그레이지 유지 */
.proto-doctor {
    background-color: #ebe6df;
}

/* 리얼리뷰 */
.proto-video-review {
    position: relative;
    background-color: #fbfaf7 !important;
    border-top: 1px solid #ded7cf;
}

/* FAQ */
.proto-faq {
    background-color: #f3efea !important;
    border-top: 1px solid #d8d1c9;
}

/* 상담·오시는 길 */
.proto-contact {
    background-color: #d8cec4 !important;
    border-top: 1px solid #b9ada2;
}

/* 상담 정보와 지도 배경 통일 */
.proto-contact__content,
.proto-contact__map {
    background-color: transparent !important;
}

/* 지도 영역 구분선 */
.proto-contact__map {
    border-left: 1px solid rgba(64, 59, 56, 0.12);
}

@media (max-width: 767px) {
    .proto-contact__map {
        border-left: 0;
        border-top: 1px solid rgba(64, 59, 56, 0.12);
    }
}

/* 유형별 코성형과 닥터 섹션 사이 구분선 */
.proto-doctor {
    position: relative;
    isolation: isolate;
}

.proto-doctor::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
    height: 1px;
    background-color: rgba(64, 59, 56, 0.12);
    content: "";
    pointer-events: none;
}

/* FAQ 헤더 정렬 강제 초기화 */
.proto-faq header {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto 84px !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    text-align: center !important;
}

/* FAQ 영문 문구 */
.proto-faq header .proto-eyebrow {
    display: block !important;
    width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
}

/* FAQ 제목 */
#proto-faq-title {
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    text-align: center !important;
    transform: none !important;
}

/* FAQ 제목 아래 설명 */
#proto-faq-title+.proto-section-description {
    position: static !important;
    display: block !important;
    width: min(100%, 680px) !important;
    max-width: 680px !important;
    margin: 22px auto 0 !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
    box-sizing: border-box;
    text-align: center !important;
    transform: none !important;
}

/* FAQ 설명문 아래 여백 */
.proto-faq .proto-section-heading {
    margin-bottom: 84px !important;
}

@media (max-width: 767px) {
    .proto-faq .proto-section-heading {
        margin-bottom: 48px !important;
    }
}

/* 상담·오시는 길 정보 가독성 개선 */
.proto-contact__information {
    border-top-color: rgba(64, 59, 56, 0.2);
}

.proto-contact__information dl>div {
    border-bottom-color: rgba(64, 59, 56, 0.2);
}

/* ADDRESS, TELEPHONE, HOURS */
.proto-contact__information dt {
    color: #70665f;
    font-weight: 500;
}

/* 실제 주소·전화번호·진료시간 */
.proto-contact__information dd {
    color: #4f4944;
    font-weight: 400;
}

/* 전화번호가 링크인 경우 */
.proto-contact__information dd a {
    color: inherit;
}

/* =========================================================
   유형별 코성형 카드 세로 높이 축소
========================================================= */

/* PC·태블릿 */
@media (min-width: 768px) {
    .proto-type-card {
        min-height: 140px;
        padding: 20px 24px 18px;
    }

    .proto-type-card__number {
        margin-bottom: 18px;
    }
}

/* 모바일 */
/* 유형별 맞춤 수술 카드 — 모바일 높이 축소 */
@media (max-width: 767px) {
    .proto-type-card {
        min-height: 96px;
        padding: 11px 14px 10px;
    }

    .proto-type-card__number {
        margin-bottom: 6px;
    }

    .proto-type-card h3 {
        margin: 0;
        font-size: 17px;
        line-height: 1.25;
    }

    .proto-type-card p {
        margin-top: 3px;
        font-size: 9px;
        line-height: 1.25;
    }

    .proto-type-card i {
        right: 12px;
        bottom: 9px;
    }

    /* 마지막 한 칸도 다른 카드와 같은 높이 */
    .proto-type-card:last-child:nth-child(odd) {
        min-height: 96px;
    }
}

/* 작은 모바일 */
@media (max-width: 350px) {
    .proto-type-card {
        min-height: 104px;
    }
}

/* 너무 굵지 않은 부드러운 강조 */
strong.proto-soft-strong {
    color: inherit;
    font-weight: 500 !important;
}

/* 철학 섹션 문단 사이 여백 */
.proto-philosophy__paragraph-gap {
    display: block;
    height: 18px;
}

@media (max-width: 767px) {
    .proto-philosophy__paragraph-gap {
        height: 18px;
    }
}

/* 푸터 메뉴와 SNS */
.proto-footer__top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    margin-bottom: 10px;
}

.proto-footer__top .proto-footer__nav {
    margin-bottom: 0;
}

.proto-footer__social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.proto-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    color: rgba(248, 244, 239, 0.68);
    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.proto-footer__social svg {
    display: block;
    width: 17px;
    height: 17px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.proto-footer__social .proto-footer__play,
.proto-footer__social .proto-footer__instagram-dot {
    fill: currentColor;
    stroke: none;
}

@media (hover: hover) and (pointer: fine) {
    .proto-footer__social a:hover {
        color: #f8f4ef;
    }
}

@media (max-width: 767px) {
    .proto-footer__top {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 14px 20px;
    }

    .proto-footer__social a {
        width: 28px;
        height: 28px;
    }

    .proto-footer__social svg {
        width: 18px;
        height: 18px;
    }
}

/* =========================
   네이버 지도
========================== */

.proto-contact__map {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background-color: #d8d1c9;
}

.proto-contact__map-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
}

.proto-contact__map-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    filter: saturate(0.72) contrast(0.94);
    transition: transform 0.6s ease;
}

/* 미플러스 위치 표시 */
.proto-contact__map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transform: translate(-50%, -50%);
    color: #403b38;
    font-size: 13px;
    font-style: normal;
    white-space: nowrap;
}

.proto-contact__map-marker i {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
    border: 5px solid #f8f4ef;
    border-radius: 50% 50% 50% 0;
    background-color: #8c6250;
    box-shadow: 0 4px 14px rgba(48, 43, 40, 0.24);
    transform: rotate(-45deg);
}

.proto-contact__map-marker strong {
    padding: 7px 12px;
    border: 1px solid rgba(64, 59, 56, 0.13);
    border-radius: 2px;
    background-color: rgba(248, 246, 242, 0.94);
    box-shadow: 0 5px 18px rgba(48, 43, 40, 0.1);
    font-weight: 500;
}

/* 네이버 지도 이동 버튼 */
.proto-contact__map-button {
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 18px;
    background-color: #302b28;
    color: #f8f4ef;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

@media (hover: hover) and (pointer: fine) {
    .proto-contact__map-link:hover .proto-contact__map-image {
        transform: scale(1.025);
    }

    .proto-contact__map-link:hover .proto-contact__map-button {
        background-color: #403936;
    }
}

@media (max-width: 767px) {

    .proto-contact__map-link,
    .proto-contact__map-image {
        min-height: 300px;
    }

    .proto-contact__map-button {
        right: 16px;
        bottom: 16px;
        min-height: 42px;
        padding: 0 15px;
        font-size: 11.5px;
    }

    .proto-contact__map-marker {
        font-size: 12px;
    }
}

/* 상담 영역 진료시간 정렬 */
.proto-contact__hours {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.proto-contact__hours-line {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

/* 평일과 토요일의 표시 너비를 동일하게 고정 */
.proto-contact__day {
    display: inline-block;
    flex: 0 0 3em;
    width: 3em;
    color: inherit;
    font: inherit;
    white-space: nowrap;
}

/* 평일 두 글자를 토요일 세 글자 폭에 맞춰 분산 */
.proto-contact__day--spread {
    text-align: justify;
    text-align-last: justify;
}

.proto-contact__time,
.proto-contact__hours-closed {
    color: inherit;
    font: inherit;
    white-space: nowrap;
}

/* 모바일 미플러스 철학 본문 행간만 통일 */
@media (max-width: 767px) {
    .proto-philosophy__description {
        line-height: 1.8 !important;
    }

    /* 문단 여백용 span이 본문 행간에 영향을 주지 않도록 분리 */
    .proto-philosophy__paragraph-gap {
        line-height: 0 !important;
    }
}

/* =========================================================
   FINAL — SUIT 및 작은 글씨 색상 통합
   기존 코드 삭제 없이 CSS 파일 완전한 맨 마지막에 추가
========================================================= */

/* ---------------------------------------------------------
   공통 색상 및 글꼴
--------------------------------------------------------- */

:root {
    /* 기본 본문용 작은 글씨 */
    --proto-text-soft: #59524d;

    /* 번호, 영문 라벨, 안내 문구 */
    --proto-text-light: #68605a;

    /* 공통 구분선 */
    --proto-line: rgba(48, 43, 40, 0.22);
    --proto-line-light: rgba(48, 43, 40, 0.14);
}


/* ---------------------------------------------------------
   일반 섹션 설명문
--------------------------------------------------------- */

.proto-section-description,
.proto-philosophy__description,
.proto-balance__copy p {
    color: #59524d;
    font-weight: 450;
}


/* ---------------------------------------------------------
   시그니처 진료 카드
--------------------------------------------------------- */

/* 영문 카테고리 */
.proto-signature-card__content p {
    color: #68605a;
    font-weight: 500;
}

/* 자세히 보기 등 작은 글씨 */
.proto-signature-card__content>span {
    color: #59524d;
    font-weight: 450;
}


/* ---------------------------------------------------------
   유형별 코성형 카드
--------------------------------------------------------- */

.proto-type-card__number,
.proto-type-card p {
    color: #68605a;
    font-weight: 500;
}

/* 호버 시에는 흰색 계열 유지 */
.proto-type-card:hover .proto-type-card__number,
.proto-type-card:hover p,
.proto-type-card:focus-visible .proto-type-card__number,
.proto-type-card:focus-visible p {
    color: rgba(255, 255, 255, 0.76);
}


/* ---------------------------------------------------------
   의료진 영역
--------------------------------------------------------- */

.proto-doctor__name span {
    color: #59524d;
    font-weight: 450;
}


/* ---------------------------------------------------------
   진료 원칙
--------------------------------------------------------- */

/* 번호 */
.proto-promise__grid li>span {
    color: #68605a;
    font-weight: 500;
}

/* 설명문 */
.proto-promise__grid p {
    color: #59524d;
    font-weight: 450;
}


/* ---------------------------------------------------------
   영상 리뷰
--------------------------------------------------------- */

/* 전체보기 */
.proto-video-review__more {
    color: #59524d;
    font-weight: 500;
}

/* 영상 카테고리 */
.proto-video-review__content p {
    color: #68605a;
    font-weight: 500;
}

/* 하단 안내문 */
.proto-video-review__notice {
    color: #59524d;
    font-weight: 450;
}


/* ---------------------------------------------------------
   FAQ
--------------------------------------------------------- */

/* FAQ 상단 설명 */
.proto-faq__intro,
#proto-faq-title+.proto-section-description {
    color: #59524d;
    font-weight: 450;
}

/* FAQ 답변 */
.proto-faq__answer p {
    color: #59524d;
    font-weight: 450;
}

/* 답변 내부 강조 */
.proto-faq__answer strong {
    color: #302b28;
    font-weight: 600;
}


/* ---------------------------------------------------------
   상담 및 오시는 길
--------------------------------------------------------- */

/* ADDRESS, TELEPHONE, HOURS */
.proto-contact__information dt {
    color: #625a54;
    font-weight: 600;
}

/* 실제 주소, 전화번호, 진료시간 */
.proto-contact__information dd {
    color: #4f4944;
    font-weight: 450;
}

.proto-contact__information dd a {
    color: inherit;
}


/* ---------------------------------------------------------
   지도
--------------------------------------------------------- */

.proto-contact__map-marker {
    color: #403b38;
    font-weight: 500;
}

.proto-contact__map-marker strong {
    color: #403b38;
    font-weight: 600;
}


/* ---------------------------------------------------------
   버튼 및 링크의 작은 글씨
--------------------------------------------------------- */

.proto-text-link,
.proto-solid-button,
.proto-outline-button {
    font-weight: 500;
}


/* ---------------------------------------------------------
   PC 작은 글씨 가독성
--------------------------------------------------------- */

@media (min-width: 768px) {

    .proto-section-description,
    .proto-philosophy__description,
    .proto-balance__copy p,
    .proto-signature-card__content>span,
    .proto-doctor__name span,
    .proto-promise__grid p,
    .proto-video-review__notice,
    .proto-faq__intro,
    .proto-faq__answer p,
    .proto-contact__information dd {
        color: #59524d;
        font-weight: 450;
    }
}


/* ---------------------------------------------------------
   모바일 작은 글씨 가독성
--------------------------------------------------------- */

@media (max-width: 767px) {

    /* 모바일 본문은 PC보다 한 단계 진하게 */
    .proto-section-description,
    .proto-philosophy__description,
    .proto-balance__copy p,
    .proto-signature-card__content>span,
    .proto-doctor__name span,
    .proto-promise__grid p,
    .proto-video-review__notice,
    .proto-faq__intro,
    .proto-faq__answer p,
    .proto-contact__information dd {
        color: #514a46;
        font-weight: 500;
    }

    /* 매우 작은 영문, 번호, 카테고리 */
    .proto-signature-card__content p,
    .proto-type-card__number,
    .proto-type-card p,
    .proto-promise__grid li>span,
    .proto-video-review__content p,
    .proto-contact__information dt {
        color: #5f5751;
        font-weight: 600;
    }

    /* 카드 호버·포커스 색상 보호 */
    .proto-type-card:hover .proto-type-card__number,
    .proto-type-card:hover p,
    .proto-type-card:focus-visible .proto-type-card__number,
    .proto-type-card:focus-visible p {
        color: rgba(255, 255, 255, 0.78);
    }
}


/* ---------------------------------------------------------
   어두운 배경 텍스트 보호
   코재수술과 푸터는 기존 밝은 글씨 유지
--------------------------------------------------------- */

.proto-revision__content .proto-section-description {
    color: rgba(255, 255, 255, 0.76);
}

.proto-revision .proto-check-list li {
    color: rgba(255, 255, 255, 0.84);
}

.proto-footer,
.proto-footer__information {
    color: rgba(248, 244, 239, 0.7);
}

.proto-footer__nav a {
    color: rgba(248, 244, 239, 0.78);
}

.proto-footer__copyright {
    color: rgba(248, 244, 239, 0.48);
}


/* ---------------------------------------------------------
   메인 영상 위 텍스트 보호
--------------------------------------------------------- */

@media (max-width: 767px) {
    .proto-hero__title {
        color: #fff;
    }

    .proto-hero__brand {
        color: rgba(255, 255, 255, 0.92);
    }

    .proto-hero__scroll {
        color: rgba(255, 255, 255, 0.78);
    }
}

/* =========================================================
   FINAL — 메인 영문 소제목 크기 통합
   영문: LT Marathon
   숫자: SUIT Variable
========================================================= */

/* ---------------------------------------------------------
   PC
--------------------------------------------------------- */
@media screen and (min-width: 1024px) {
    /*
     * 섹션 상단 영문
     * 예: MIPLUS REAL REVIEWS, SIGNATURE, FAQ
     */
    .proto-eyebrow,
    .proto-faq__eyebrow {
        font-family: var(--font-english) !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 1.35 !important;
        letter-spacing: 0.12em !important;
        white-space: nowrap;

        font-synthesis: none !important;
    }

    /*
     * 시그니처 카드 영문
     * 예: REVISION RHINOPLASTY
     */
    .proto-signature-card__content p {
        margin-bottom: 9px;
        font-family: var(--font-english) !important;
        font-size: 12px !important;
        font-weight: 400 !important;
        line-height: 1.35 !important;
        letter-spacing: 0.08em !important;
        white-space: nowrap;
        font-synthesis: none !important;
    }

    /*
     * 리얼리뷰 카드 영문
     * 예: REVISION RHINOPLASTY,
     * BALANCE CONTOUR RHINOPLASTY
     */
    .proto-video-review__content p {
        margin-bottom: 8px;
        font-family: var(--font-english) !important;
        font-size: 11.5px !important;
        font-weight: 400 !important;
        line-height: 1.4 !important;
        letter-spacing: 0.075em !important;
        white-space: nowrap;
        font-synthesis: none !important;
    }

    /*
     * 유형별 코성형 카드 영문
     * 예: LOW NOSE, SHORT NOSE, BULBOUS NOSE
     */
    .proto-type-card p {
        margin-top: 7px;
        font-family: var(--font-english) !important;
        font-size: 11.5px !important;
        font-weight: 400 !important;
        line-height: 1.35 !important;
        letter-spacing: 0.09em !important;
        white-space: nowrap;
        font-synthesis: none !important;
    }

    /*
     * 상담 영역 영문
     * ADDRESS, TELEPHONE, HOURS
     */
    .proto-contact__information dt {
        font-family: var(--font-english) !important;
        font-size: 12px !important;
        font-weight: 400 !important;
        line-height: 1.35 !important;
        letter-spacing: 0.09em !important;
        white-space: nowrap;
        font-synthesis: none !important;
    }

    /*
     * 이미지 위 세로 영문
     */
    .proto-revision__vertical {
        font-family: var(--font-english) !important;
        font-size: 11px !important;
        font-weight: 400 !important;
        line-height: 1 !important;
        letter-spacing: 0.16em !important;
        white-space: nowrap;
        font-synthesis: none !important;
    }

    /*
     * 메인 스크롤 영문
     */
    .proto-hero__scroll {
        font-family: var(--font-english) !important;
        font-size: 10px !important;
        font-weight: 400 !important;
        letter-spacing: 0.16em !important;
        font-synthesis: none !important;
    }

    /*
     * 카드 번호는 SUIT Variable
     * 예: 01, 02, 03
     */
    .proto-type-card__number,
    .proto-promise__grid li > span {
        font-family: var(--font-number) !important;
        font-size: 11px !important;
        font-weight: 500 !important;
        line-height: 1 !important;
        letter-spacing: 0.08em !important;
        font-synthesis: none !important;
    }
}

/* ---------------------------------------------------------
   태블릿
--------------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .proto-eyebrow,
    .proto-faq__eyebrow {
        font-size: 13px !important;
        font-weight: 400 !important;
        line-height: 1.35 !important;
        letter-spacing: 0.11em !important;
        white-space: nowrap;
        font-synthesis: none !important;
    }

    .proto-signature-card__content p,
    .proto-video-review__content p {
        font-size: 11px !important;
        font-weight: 400 !important;
        line-height: 1.4 !important;
        letter-spacing: 0.07em !important;
        white-space: nowrap;
        font-synthesis: none !important;
    }

    .proto-type-card p,
    .proto-contact__information dt {
        font-size: 10.5px !important;
        font-weight: 400 !important;
        line-height: 1.35 !important;
        letter-spacing: 0.075em !important;
        white-space: nowrap;
        font-synthesis: none !important;
    }

    .proto-type-card__number,
    .proto-promise__grid li > span {
        font-family: var(--font-number) !important;
        font-size: 10px !important;
        font-weight: 500 !important;
    }
}

/* ---------------------------------------------------------
   모바일
   기존 레이아웃을 해치지 않는 범위에서만 보정
--------------------------------------------------------- */
@media screen and (max-width: 767px) {
    .proto-eyebrow,
    .proto-faq__eyebrow {
        font-size: 11px !important;
        font-weight: 400 !important;
        line-height: 1.35 !important;
        letter-spacing: 0.11em !important;
        white-space: nowrap;
        font-synthesis: none !important;
    }

    .proto-signature-card__content p,
    .proto-video-review__content p {
        font-size: 10px !important;
        font-weight: 400 !important;
        line-height: 1.4 !important;
        letter-spacing: 0.065em !important;
        white-space: nowrap;
        font-synthesis: none !important;
    }

    .proto-type-card p {
        max-width: calc(100% - 14px);
        margin-top: 4px;
        overflow: hidden;
        font-size: 9.5px !important;
        font-weight: 400 !important;
        line-height: 1.3 !important;
        letter-spacing: 0.06em !important;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-synthesis: none !important;
    }

    .proto-contact__information dt {
        font-size: 10.5px !important;
        font-weight: 400 !important;
        letter-spacing: 0.07em !important;
        white-space: nowrap;
        font-synthesis: none !important;
    }

    .proto-type-card__number,
    .proto-promise__grid li > span {
        font-family: var(--font-number) !important;
        font-size: 9.5px !important;
        font-weight: 500 !important;
    }
}

/* ==================================================
   MAIN ORBIT — MATCH DOCTOR PROMISE
   위치와 원형 크기는 기존값 유지
================================================== */

/* 메인 원형 영문 */
.miplus-philosophy__orbit-text text,
.miplus-philosophy__orbit-text textPath {
    font-family:
        "LT Marathon",
        Arial,
        sans-serif !important;

    font-size: 20px !important;
    font-weight: 400 !important;
    letter-spacing: 0.015em !important;

    fill: rgba(111, 95, 82, 0.38) !important;
}

/* 10초, 시계 방향 */
.miplus-philosophy__orbit-text {
    transform-origin: 50% 50% !important;

    animation:
        miplus-main-orbit-rotate
        10s
        linear
        infinite !important;
}

@keyframes miplus-main-orbit-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* 모션 감소 설정 */
@media (prefers-reduced-motion: reduce) {
    .miplus-philosophy__orbit-text {
        animation: none !important;
    }
}

/* ==================================================
   철학 섹션 뒤쪽 패널 — 실제 이미지 적용
   prototype.css 완전한 마지막에 배치
================================================== */

.proto-philosophy__back-panel {
    /*
     * 기존 그라데이션을 제거하고
     * 실제 이미지로 완전히 교체
     */
    background:
        url("../images/philosophy-back.webp")
        center center / cover
        no-repeat !important;

    overflow: hidden !important;
}

/* 기존 가상 요소가 이미지를 덮지 않도록 제거 */
.proto-philosophy__back-panel::before,
.proto-philosophy__back-panel::after {
    display: none !important;
    content: none !important;
}

/* 유형별 코성형 카드 번호 */
a.proto-type-card > span.proto-type-card__number {
  font-family: "LT Marathon", sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.06em !important;
  color: #aaa39a !important;
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 767px) {
  a.proto-type-card > span.proto-type-card__number {
    display: block !important;
    margin-bottom: 20px !important;

    font-family: "LT Marathon", sans-serif !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: 0.04em !important;
    color: #aaa39a !important;
    opacity: 1 !important;
  }
}

/* =========================================================
   FINAL — 메인 한글 섹션 제목 통합
========================================================= */

#proto-philosophy-title,
#proto-signature-title,
#proto-revision-title,
#proto-balance-title,
#proto-types-title,
#proto-doctor-title,
#proto-video-title,
#proto-faq-title,
#proto-contact-title {
    margin: 0;
    font-family: var(--font-korean);
    font-weight: 500 !important;
    line-height: 1.5 !important;
    letter-spacing: -0.045em !important;
    word-break: keep-all;
    font-synthesis: none;
}

/* 어두운 코재수술 섹션의 제목 색상 유지 */
#proto-revision-title {
    color: var(--proto-white) !important;
}

/* PC */
@media (min-width: 1024px) {
    #proto-philosophy-title,
    #proto-signature-title,
    #proto-revision-title,
    #proto-balance-title,
    #proto-types-title,
    #proto-doctor-title,
    #proto-video-title,
    #proto-faq-title,
    #proto-contact-title {
        font-size: clamp(32px, 2.3vw, 40px) !important;
        font-weight: 500 !important;
        line-height: 1.5 !important;
    }
}

/* 태블릿 */
@media (min-width: 768px) and (max-width: 1023px) {
    #proto-philosophy-title,
    #proto-signature-title,
    #proto-revision-title,
    #proto-balance-title,
    #proto-types-title,
    #proto-doctor-title,
    #proto-video-title,
    #proto-faq-title,
    #proto-contact-title {
        font-size: 30px !important;
        font-weight: 500 !important;
        line-height: 1.5 !important;
    }
}

/* 모바일 */
@media (max-width: 767px) {
    #proto-philosophy-title,
    #proto-signature-title,
    #proto-revision-title,
    #proto-balance-title,
    #proto-types-title,
    #proto-doctor-title,
    #proto-video-title,
    #proto-faq-title,
    #proto-contact-title {
        font-size: 27px !important;
        font-weight: 500 !important;
        line-height: 1.5 !important;
    }
}

/* 작은 모바일 */
@media (max-width: 359px) {
    #proto-philosophy-title,
    #proto-signature-title,
    #proto-revision-title,
    #proto-balance-title,
    #proto-types-title,
    #proto-doctor-title,
    #proto-video-title,
    #proto-faq-title,
    #proto-contact-title {
        font-size: 25px !important;
        font-weight: 500 !important;
    }
}


/* =========================================================
   FINAL — MIPLUS SIGNATURE 위아래 여백
========================================================= */

/* 섹션 전체 위·아래 여백 */
.proto-section.proto-signature {
    padding-top: 120px !important;
    padding-bottom: 150px !important;
}

/* 설명문과 이미지 카드 사이 */
.proto-signature .proto-signature__grid {
    margin-top: 120px !important;
}

/* 작은 PC */
@media (min-width: 1024px) and (max-width: 1279px) {
    .proto-section.proto-signature {
        padding-top: 100px !important;
        padding-bottom: 130px !important;
    }

    .proto-signature .proto-signature__grid {
        margin-top: 84px !important;
    }
}

/* 태블릿 */
@media (min-width: 768px) and (max-width: 1023px) {
    .proto-section.proto-signature {
        padding-top: 90px !important;
        padding-bottom: 110px !important;
    }

    .proto-signature .proto-signature__grid {
        margin-top: 72px !important;
    }
}

/* 모바일 */
@media (max-width: 767px) {
    .proto-section.proto-signature {
        padding-top: 72px !important;
        padding-bottom: 88px !important;
    }

    .proto-signature .proto-signature__grid {
        margin-top: 52px !important;
    }
}

/* 메인 비주얼 첫 문장 굵기 최종 설정 */
body .proto-hero .proto-hero__title .proto-hero__title-light {
  font-family:
    "SUIT Variable",
    "SUIT",
    var(--font-korean),
    sans-serif !important;

  font-weight: 300 !important;
  font-variation-settings: "wght" 300;
  font-synthesis: none;
}

@media (max-width: 767px) {
  body .proto-hero .proto-hero__title .proto-hero__title-light {
    font-weight: 300 !important;
    font-variation-settings: "wght" 300;
  }
}

/* =========================================================
   FINAL — 코재수술 시그니처 이미지 선명도 보정
   기존 색감·Hover 확대 유지
========================================================= */

/* 기본 상태 */
.proto-signature-card[href="/코재수술/"]
.proto-signature-card__image {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: center center !important;

    /* 기존 색감 유지 */
    filter:
        saturate(0.8)
        contrast(1.04)
        brightness(1.02) !important;

    opacity: 1 !important;

    /* 기본 상태에서는 GPU 확대 레이어를 만들지 않음 */
    transform: none !important;
    transform-origin: 50% 50%;

    transition:
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) !important;

    will-change: auto !important;
    image-rendering: auto;
}

/* 기존 Hover 확대 효과 유지 */
@media (hover: hover) and (pointer: fine) {
    .proto-signature-card[href="/코재수술/"]:hover
    .proto-signature-card__image,
    .proto-signature-card[href="/코재수술/"]:focus-visible
    .proto-signature-card__image {
        transform: scale(1.025) !important;
    }
}

/* 모션 최소화 환경 */
@media (prefers-reduced-motion: reduce) {
    .proto-signature-card[href="/코재수술/"]
    .proto-signature-card__image,
    .proto-signature-card[href="/코재수술/"]:hover
    .proto-signature-card__image,
    .proto-signature-card[href="/코재수술/"]:focus-visible
    .proto-signature-card__image {
        transform: none !important;
        transition: none !important;
    }
}

/* =========================================================
   FINAL — 상담 및 오시는 길 정보 기준선 정렬
========================================================= */

.proto-contact__information dl > div {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 20px;
    align-items: baseline;
}

/* 영문 항목명 */
.proto-contact__information dt {
    align-self: baseline;

    margin: 0;

    font-family: var(--font-english);
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    letter-spacing: 0.09em !important;

    white-space: nowrap;
}

/* 한글·전화번호·진료시간 */
.proto-contact__information dd {
    align-self: baseline;

    min-width: 0;
    margin: 0;

    font-size: 14px;
    font-weight: 450;
    line-height: 1.5 !important;
}

/* 진료시간은 첫 번째 줄을 HOURS 기준선에 맞춤 */
.proto-contact__hours {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: baseline;

    gap: 4px;
    margin: 0;
}

.proto-contact__hours-line {
    display: flex;
    align-items: baseline;

    gap: 7px;
    line-height: 1.5;
}

.proto-contact__day {
    display: inline-block;
    flex: 0 0 3em;

    width: 3em;

    line-height: inherit;
    white-space: nowrap;
    vertical-align: baseline;
}

.proto-contact__time {
    color: inherit;

    font: inherit;
    line-height: inherit;
    white-space: nowrap;
}

.proto-contact__hours-closed {
    line-height: 1.5;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .proto-contact__information dl > div {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 18px;
        align-items: baseline;
    }

    .proto-contact__information dt {
        font-size: 10.5px !important;
        line-height: 1.5 !important;
        letter-spacing: 0.075em !important;
    }

    .proto-contact__information dd {
        font-size: 13.5px;
        line-height: 1.5 !important;
    }
}

@media (max-width: 767px) {
    .proto-contact__information dl > div {
        grid-template-columns: 85px minmax(0, 1fr);
        gap: 14px;
        align-items: baseline;
    }

    .proto-contact__information dt {
        font-size: 10.5px !important;
        line-height: 1.5 !important;
    }

    .proto-contact__information dd {
        font-size: 13.5px;
        line-height: 1.5 !important;
    }
}

/* =========================================================
   FINAL — 미플러스 리얼리뷰 URL 카드
   유튜브 URL → 썸네일 자동 생성 방식
   영문 분류 및 게시일 미사용
========================================================= */

/*
 * JavaScript가 실행되기 전의 임시 요소
 * 실행 후 .proto-video-review__card로 교체됨
 */
.proto-video-review__item {
    min-width: 0;
}

/* 카드 */
.proto-video-review__card {
    display: block;
    min-width: 0;
    color: var(--proto-charcoal);
    text-decoration: none;
}

/* 썸네일 */
.proto-video-review__thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(64, 59, 56, 0.28);
    background-color: var(--proto-stone);
}

/* 유튜브 썸네일 */
.proto-video-review__thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    object-position: center center;
    opacity: 1;
    image-rendering: auto;

    transition:
        filter 0.45s ease,
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 썸네일 톤 오버레이 */
.proto-video-review__thumbnail::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    content: "";
    pointer-events: none;
    background-color: rgba(53, 47, 43, 0.055);
    transition: background-color 0.35s ease;
}

/* 재생 버튼 */
.proto-video-review__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 50%;

    background-color: rgba(48, 43, 40, 0.42);
    box-shadow: 0 7px 22px rgba(37, 32, 29, 0.14);

    transform: translate(-50%, -50%);

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.proto-video-review__play i {
    display: block;
    width: 0;
    height: 0;
    margin-left: 3px;

    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #fff;
}

/* 제목 영역 */
.proto-video-review__content {
    padding: 17px 2px 0;
}

/*
 * 기존 HTML에 영문 분류가 남아 있어도 표시하지 않음
 * 게시일 역시 카드에 사용하지 않음
 */
.proto-video-review__content > p,
.proto-video-review__content > time,
.proto-video-review__category,
.proto-video-review__date {
    display: none !important;
}

/* 영상 제목 */
.proto-video-review__content h3 {
    display: -webkit-box;
    min-height: calc(1.55em * 2);
    overflow: hidden;
    margin: 0;

    color: var(--proto-charcoal);
    font-family: var(--font-korean);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: -0.035em;
    word-break: keep-all;
    overflow-wrap: break-word;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;

    font-synthesis: none;
}

/* 키보드 접근성 */
.proto-video-review__card:focus-visible {
    outline: 2px solid var(--proto-walnut);
    outline-offset: 5px;
}

/* PC Hover */
@media (hover: hover) and (pointer: fine) {
    .proto-video-review__card:hover
    .proto-video-review__thumbnail img,
    .proto-video-review__card:focus-visible
    .proto-video-review__thumbnail img {
        filter: brightness(0.92);
        transform: scale(1.035);
    }

    .proto-video-review__card:hover
    .proto-video-review__thumbnail::after,
    .proto-video-review__card:focus-visible
    .proto-video-review__thumbnail::after {
        background-color: rgba(53, 47, 43, 0.12);
    }

    .proto-video-review__card:hover
    .proto-video-review__play,
    .proto-video-review__card:focus-visible
    .proto-video-review__play {
        background-color: rgba(112, 85, 69, 0.88);
        transform: translate(-50%, -50%) scale(1.06);
    }
}

/* 태블릿 */
@media (min-width: 768px) and (max-width: 1023px) {
    .proto-video-review__item {
        min-width: 0;
    }

    .proto-video-review__content {
        padding-top: 17px;
    }

    .proto-video-review__content h3 {
        min-height: calc(1.55em * 2);
        font-size: 16px;
    }
}

/* 모바일 */
@media (max-width: 767px) {
    .proto-video-review__item {
        flex: 0 0 min(82vw, 320px);
        min-width: 0;
        scroll-snap-align: start;
    }

    .proto-video-review__content {
        padding: 14px 2px 0;
    }

    .proto-video-review__content h3 {
        min-height: calc(1.55em * 2);
        font-size: 15px;
        line-height: 1.55;
    }

    .proto-video-review__play {
        width: 42px;
        height: 42px;
    }
}

/* 작은 모바일 */
@media (max-width: 359px) {
    .proto-video-review__item,
    .proto-video-review__card {
        flex-basis: min(84vw, 290px);
    }

    .proto-video-review__content h3 {
        font-size: 14px;
    }
}

/* 움직임 최소화 */
@media (prefers-reduced-motion: reduce) {
    .proto-video-review__thumbnail img,
    .proto-video-review__thumbnail::after,
    .proto-video-review__play {
        transition: none !important;
    }

    .proto-video-review__card:hover
    .proto-video-review__thumbnail img,
    .proto-video-review__card:focus-visible
    .proto-video-review__thumbnail img {
        transform: none !important;
    }
}

/* =========================================================
   FINAL — 리얼리뷰 영상 제목 크기 축소
========================================================= */

/* PC */
.proto-video-review__content h3 {
    font-size: 14px !important;
    line-height: 1.55;
}

/* 태블릿 */
@media (min-width: 768px) and (max-width: 1023px) {
    .proto-video-review__content h3 {
        font-size: 13.5px !important;
    }
}

/* 모바일 */
@media (max-width: 767px) {
    .proto-video-review__content h3 {
        font-size: 13.5px !important;
        line-height: 1.55;
    }
}

/* 작은 모바일 */
@media (max-width: 359px) {
    .proto-video-review__content h3 {
        font-size: 13px !important;
    }
}

/* =========================================================
   FINAL — 유튜브 영상 모달
========================================================= */

/* button으로 생성되는 영상 카드 초기화 */
button.proto-video-review__card {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--proto-charcoal);
    font: inherit;
    text-align: left;
    appearance: none;
    cursor: pointer;
}

/* 모달 활성화 중 배경 스크롤 방지 */
html.is-video-modal-open,
body.is-video-modal-open {
    overflow: hidden;
}

/* 모달 전체 */
.proto-video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 70px 40px 40px;

    visibility: hidden;
    opacity: 0;

    transition:
        opacity 0.28s ease,
        visibility 0.28s ease;
}

.proto-video-modal[hidden] {
    display: none;
}

.proto-video-modal.is-open {
    visibility: visible;
    opacity: 1;
}

/* 어두운 배경 */
.proto-video-modal__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;

    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 0;

    background-color: rgba(12, 12, 12, 0.88);
    appearance: none;
    cursor: pointer;
}

/* 영상 영역 */
.proto-video-modal__dialog {
    position: relative;
    z-index: 1;

    width: min(100%, 1080px);
    margin: auto;

    opacity: 0;
    transform: translateY(12px) scale(0.985);

    transition:
        opacity 0.28s ease,
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.proto-video-modal.is-open
.proto-video-modal__dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* 접근성용 제목 — 화면에는 숨김 */
.proto-video-modal__title {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* 닫기 버튼 */
.proto-video-modal__close {
    position: absolute;
    top: -44px;
    right: 0;
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: transparent;
    appearance: none;
    cursor: pointer;
}

/* X 아이콘 */
.proto-video-modal__close::before,
.proto-video-modal__close::after {
    position: absolute;
    width: 18px;
    height: 1px;

    background-color: rgba(255, 255, 255, 0.9);
    content: "";
}

.proto-video-modal__close::before {
    transform: rotate(45deg);
}

.proto-video-modal__close::after {
    transform: rotate(-45deg);
}

.proto-video-modal__close span {
    display: none;
}

.proto-video-modal__close:hover::before,
.proto-video-modal__close:hover::after,
.proto-video-modal__close:focus-visible::before,
.proto-video-modal__close:focus-visible::after {
    background-color: #fff;
}

.proto-video-modal__close:focus-visible {
    outline: 1px solid rgba(255, 255, 255, 0.9);
    outline-offset: 3px;
}

/* 16:9 영상 플레이어 */
.proto-video-modal__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.proto-video-modal__frame iframe {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    height: 100%;

    border: 0;
}

/* 태블릿 */
@media (max-width: 1023px) {
    .proto-video-modal {
        padding: 70px 32px 32px;
    }

    .proto-video-modal__dialog {
        width: min(100%, 920px);
    }
}

/* 모바일 */
@media (max-width: 767px) {
    .proto-video-modal {
        padding: 58px 16px 24px;
    }

    .proto-video-modal__dialog {
        width: 100%;
    }

    .proto-video-modal__close {
        top: -42px;
        right: 0;
        width: 36px;
        height: 36px;
    }

    .proto-video-modal__frame {
        aspect-ratio: 16 / 9;
    }
}

/* 가로 방향 모바일 */
@media (max-width: 767px) and (orientation: landscape) {
    .proto-video-modal {
        padding: 42px 70px 18px;
    }

    .proto-video-modal__dialog {
        width: min(100%, calc(100vh * 1.65));
    }

    .proto-video-modal__close {
        top: -38px;
    }
}

/* 움직임 최소화 */
@media (prefers-reduced-motion: reduce) {
    .proto-video-modal,
    .proto-video-modal__dialog {
        transition: none;
    }

    .proto-video-modal__dialog,
    .proto-video-modal.is-open
    .proto-video-modal__dialog {
        transform: none;
    }
}

/* 오시는 길 전화번호: 짧은 하이픈과 높이 조정 */
.proto-contact__information .proto-contact__phone-separator {
    display: inline-block;
    width: 4px;
    height: 1px;
    margin: 0 1px;
    padding: 0;
    border: 0;

    font-size: 0 !important;
    line-height: 0 !important;
    letter-spacing: 0 !important;

    background-color: currentColor;
    vertical-align: middle;
    transform: translateY(-1px);
}

/* =========================================================
   메인 카드 작은 영문: 색상과 최소 크기 통일
   한글 제목, 본문, 숫자, 배경, 배치는 변경하지 않음
========================================================= */

/* 밝은 배경 카드의 작은 영문 */
.prototype-main .proto-signature-card__content p,
.prototype-main .proto-type-card p,
.prototype-main .proto-video-review__content p {
    color: var(--section-eyebrow-color, #9f826e) !important;
    font-weight: 400 !important;
}

/* 큰 화면 */
@media (min-width: 1024px) {
    .prototype-main .proto-signature-card__content p,
    .prototype-main .proto-type-card p,
    .prototype-main .proto-video-review__content p {
        font-size: 11.5px !important;
    }
}

/* 태블릿 */
@media (min-width: 768px) and (max-width: 1023px) {
    .prototype-main .proto-signature-card__content p,
    .prototype-main .proto-type-card p,
    .prototype-main .proto-video-review__content p {
        font-size: 10.5px !important;
    }
}

/* 모바일 */
@media (max-width: 767px) {
    .prototype-main .proto-signature-card__content p,
    .prototype-main .proto-type-card p,
    .prototype-main .proto-video-review__content p {
        font-size: 9.5px !important;
    }
}

/* 유형별 카드의 어두운 선택 배경에서는 밝은 영문 유지 */
.prototype-main .proto-type-card:hover p,
.prototype-main .proto-type-card:focus-visible p {
    color: rgba(255, 255, 255, 0.78) !important;
}

/* 메인 밝은 배경의 한글 제목: 공통 제목색 적용 */
.prototype-main :is(
    #proto-philosophy-title,
    #proto-signature-title,
    #proto-balance-title,
    #proto-types-title,
    #proto-doctor-title,
    #proto-video-title,
    #proto-faq-title,
    #proto-contact-title,
    .proto-signature-card__content h3,
    .proto-doctor__name strong,
    .proto-promise__grid h3,
    .proto-video-review__content h3,
    .proto-faq__question
) {
    color: var(--color-text, #1d1c19);
}

/* 유형별 카드: 배경이 어두워지는 상태는 제외 */
.prototype-main
.proto-type-card:not(:hover):not(:focus-visible) h3 {
    color: var(--color-text, #1d1c19);
}

/* =========================================================
   메인 영상: 원본 보정본 사용
   CSS 색상 보정 제거 · 모바일 가독성만 유지
========================================================= */

/* 메인 영상 — 끊김 원인 비교용 */
.proto-hero__video {
    /* 기존 보정값: saturate(0.88) contrast(0.88) brightness(1.04) */
    filter: none;
}


/* 모바일: 하단 문구 가독성을 위한 명암만 유지 */
@media (max-width: 767px) {
    .proto-hero__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.02) 0%,
                rgba(0, 0, 0, 0.08) 48%,
                rgba(0, 0, 0, 0.28) 100%
            );
    }
}

/* 시그니처 첫 번째 이미지 — 기존 색감 보정 복원 */
.proto-signature-card--large .proto-signature-card__image {
    filter:
        saturate(0.8)
        contrast(1.04)
        brightness(1.02) !important;
}

/* 메인 의료진 이미지 — 원본 상태로 표시 */
#main-content .proto-doctor .proto-doctor__image {
    filter: saturate(0.86) !important;

    opacity: 1 !important;
    transform: none !important;
    will-change: auto !important;
}

#main-content .proto-doctor .proto-doctor__picture::after {
    display: none !important;
}


/* 첫 번째 시그니처 이미지 — 확대·상시 합성 레이어 해제 */
.proto-signature-card--large .proto-signature-card__image,
.proto-signature-card--large:hover .proto-signature-card__image,
.proto-signature-card--large:focus-visible .proto-signature-card__image {
    transform: none !important;
    will-change: auto !important;
    transition: none !important;
}

/* PC 첫 번째 시그니처 이미지 — 프레임과 이미지 크기 계산 분리 */
@media (min-width: 1101px) {
    .proto-signature-card--large .proto-placeholder--portrait {
        position: relative !important;
        overflow: hidden !important;
    }

    .proto-signature-card--large .proto-signature-card__image {
        position: absolute !important;
        inset: 0 !important;

        display: block !important;
        width: 100% !important;
        height: 100% !important;

        object-fit: cover !important;
        object-position: center center !important;

        transform: none !important;
        will-change: auto !important;
        transition: none !important;
    }
}

/* 첫 번째 시그니처 이미지 — 기본 선명도 유지 + 호버 줌 복원 */
.proto-signature-card.proto-signature-card--large
.proto-signature-card__image {
    transform: none !important;
    will-change: auto !important;
    transition:
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

@media (hover: hover) and (pointer: fine) {
    .proto-signature-card.proto-signature-card--large:hover
    .proto-signature-card__image,
    .proto-signature-card.proto-signature-card--large:focus-visible
    .proto-signature-card__image {
        transform: scale(1.025) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .proto-signature-card.proto-signature-card--large
    .proto-signature-card__image {
        transform: none !important;
        transition: none !important;
    }
}


/* =========================================================
   메인 — 절제된 그린 포인트

   · 유형별 코성형: 카드 번호
   · 미플러스의 특별함·의료진: 기존 짧은 장식선
   · 의료진: 이름 위 기존 구분선

   작은 영문 브라운 유지
   글씨 크기·굵기·배치·사진·영상 효과 변경 없음
========================================================= */


/* 01. 유형별 코성형 — 번호
   기본·마우스 오버·키보드 선택 상태 모두 동일 */

html body main#main-content.prototype-main
.proto-types a.proto-type-card
> span.proto-type-card__number,

html body main#main-content.prototype-main
.proto-types a.proto-type-card:is(:hover, :focus-visible)
> span.proto-type-card__number {
    color: var(--miplus-accent-green, #879b68) !important;
}


/* 02. 기존 짧은 장식선
   해당 요소가 있는 곳에만 적용 / 새 선 생성 없음 */

html body main#main-content.prototype-main
:is(.proto-philosophy, .proto-doctor)
.proto-short-line {
    background-color:
        var(--miplus-accent-green, #879b68) !important;
}


/* 03. 의료진 — 이름 위 기존 구분선
   선의 두께·길이·위치는 그대로 유지 */

html body main#main-content.prototype-main
.proto-doctor .proto-doctor__name {
    border-top-color:
        var(--miplus-accent-green, #879b68) !important;
}

/* =========================================================
   메인 3D-CT — 왼쪽 텍스트 / 오른쪽 이미지

   · 영문·제목·설명을 하나의 그룹으로 정리
   · 제목 아래 브라운 가로선
   · 기존 글씨 크기·굵기·사진 보정 유지
   · 모바일: 텍스트 → 이미지
========================================================= */

/* PC — 텍스트와 사진을 좌우로 배치 */
html body main#main-content.prototype-main
.proto-balance .proto-balance__layout {
    display: grid;
    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.35fr);
    align-items: center;
    gap: clamp(40px, 5vw, 80px);
    width: 100%;
    min-width: 0;
}

/* 왼쪽 텍스트 묶음 */
html body main#main-content.prototype-main
.proto-balance .proto-balance__content {
    display: block;
    width: 100%;
    min-width: 0;
    text-align: left;
}

/* 기존 영문 / 제목의 좌우 분할 해제 */
html body main#main-content.prototype-main
.proto-balance .proto-balance__heading {
    display: block !important;
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

/* 작은 영문 */
html body main#main-content.prototype-main
.proto-balance .proto-balance__heading > .proto-eyebrow {
    margin: 0 0 24px !important;
    text-align: left !important;
}

/* 큰 제목 — 기존 글씨 크기와 굵기 유지 */
html body main#main-content.prototype-main
.proto-balance .proto-balance__title {
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

/* 공통 가상요소 가로선과 중복되지 않도록 정리 */
html body main#main-content.prototype-main
.proto-balance .proto-balance__heading::after,

html body main#main-content.prototype-main
.proto-balance .proto-balance__title::after {
    display: none !important;
    content: none !important;
}

/* 가로선 — 공통 길이·간격 변수 사용 */
html body main#main-content.prototype-main
.proto-balance .proto-balance__rule {
    display: block;
    width: var(--heading-rule-width, 28px);
    height: 1px;

    margin:
        var(--heading-rule-gap-top, 20px)
        0
        var(--heading-rule-gap-bottom, 18px);

    padding: 0;
    border: 0;

    background-color:
        var(--section-eyebrow-color, #9f826e);
}

/* 설명 — 제목과 같은 왼쪽 기준선 */
html body main#main-content.prototype-main
.proto-balance .proto-balance__copy {
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

html body main#main-content.prototype-main
.proto-balance .proto-balance__copy > p {
    text-align: left !important;
}

/* 사진 — 기존 비율·필터·테두리 유지 */
html body main#main-content.prototype-main
.proto-balance .proto-balance__layout > .proto-ct__picture {
    align-self: center;
    min-width: 0;
    margin: 0 !important;
}

/* 태블릿 */
@media (min-width: 768px) and (max-width: 1023px) {
    html body main#main-content.prototype-main
    .proto-balance .proto-balance__layout {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1.1fr);
        gap: 32px;
    }
}

/* 모바일 — 텍스트 다음 사진 */
@media (max-width: 767px) {
    html body main#main-content.prototype-main
    .proto-balance .proto-balance__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--content-media-gap, 32px);
    }

    html body main#main-content.prototype-main
    .proto-balance .proto-balance__heading > .proto-eyebrow {
        margin-bottom: 18px !important;
    }

    html body main#main-content.prototype-main
    .proto-balance .proto-balance__rule {
        margin-top: var(--heading-rule-gap-top, 16px);
        margin-bottom: var(--heading-rule-gap-bottom, 14px);
    }
}

/* 메인 의료진 — 모바일도 3:2 원본 비율로 표시 */
@media (max-width: 767px) {

    html body main#main-content.prototype-main
    .proto-doctor .proto-doctor__picture {
        position: relative;
        display: block;

        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 3 / 2 !important;

        margin: 0;
        overflow: hidden;
    }

    html body main#main-content.prototype-main
    .proto-doctor .proto-doctor__image {
        position: absolute;
        inset: 0;

        display: block;
        width: 100% !important;
        height: 100% !important;

        object-fit: contain !important;
        object-position: center center !important;
    }
}

/* 메인 의료진 — 모바일 원장 이름 축소 */
@media (max-width: 767px) {
    html body main#main-content.prototype-main
    .proto-doctor .proto-doctor__name > strong {
        font-size: 18px !important;
    }
}

/* =========================================================
   메인 모바일 — 진료 안내 버튼 크기·여백 통일
========================================================= */

@media (max-width: 767px) {

    html body main#main-content.prototype-main
    :is(
        .proto-revision,
        .proto-balance,
        .proto-doctor
    )
    :is(
        .proto-outline-button,
        .proto-text-link
    ) {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        align-self: flex-start;

        box-sizing: border-box;

        width: 180px !important;
        min-width: 180px !important;
        max-width: 100%;
        height: 48px !important;
        min-height: 48px !important;

        margin: 28px 0 0 !important;
        padding: 10px 16px !important;

        border-width: 1px !important;
        border-style: solid !important;

        font-size: 14px !important;
        line-height: 1.4 !important;
        text-align: center;
        white-space: nowrap;
    }
}

/* 메인 시그니처 — 모바일 자세히 보기 오른쪽 배치 */
@media (max-width: 767px) {

    html body main#main-content.prototype-main
    .proto-signature-card__content {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        align-items: center;
        column-gap: 16px;
        row-gap: 8px;

        height: auto !important;
        min-height: 0 !important;
    }

    /* 왼쪽 위: 작은 영문 */
    html body main#main-content.prototype-main
    .proto-signature-card__content > p {
        grid-column: 1;
        grid-row: 1;
        margin: 0 !important;
    }

    /* 왼쪽 아래: 진료명 */
    html body main#main-content.prototype-main
    .proto-signature-card__content > h3 {
        grid-column: 1;
        grid-row: 2;
        margin: 0 !important;
    }

    /* 오른쪽: 자세히 보기 */
    html body main#main-content.prototype-main
    .proto-signature-card__content > span {
        grid-column: 2;
        grid-row: 1 / 3;
        align-self: center;
        justify-self: end;

        margin: 0 !important;
        white-space: nowrap;
    }
}

/* 모바일 — 진료명과 자세히 보기 기준선 보정 */
@media (max-width: 767px) {

    html body main#main-content.prototype-main
    .proto-signature-card__content > h3 {
        grid-column: 1 !important;
        grid-row: 2 !important;
        align-self: baseline !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body main#main-content.prototype-main
    .proto-signature-card__content > span {
        grid-column: 2 !important;
        grid-row: 2 !important;
        align-self: baseline !important;
        justify-self: end !important;

        position: relative;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        transform: none !important;
    }

    /* 밑줄을 글자에 가깝게 */
    html body main#main-content.prototype-main
    .proto-signature-card__content > span::after {
        top: auto !important;
        bottom: -2px !important;
        left: 0;
        right: 0;
        height: 1px;
    }
}

/* 모바일 — 자세히 보기 밑줄 복원 */
@media (max-width: 767px) {
    html body main#main-content.prototype-main
    .proto-signature-card__content > span {
        padding-bottom: 1px !important;
        border-bottom: 1px solid
            var(--section-eyebrow-color, #9f826e) !important;
    }

    /* 가상요소 밑줄은 제거해 중복 방지 */
    html body main#main-content.prototype-main
    .proto-signature-card__content > span::after {
        display: none !important;
        content: none !important;
    }
}

/* 메인 의료진 — PC 사진 3:2 비율 정리 */
@media (min-width: 1024px) {

    html body main#main-content.prototype-main
    .proto-doctor .proto-doctor__inner {
        height: auto !important;
        min-height: 0 !important;
    }

    html body main#main-content.prototype-main
    .proto-doctor .proto-doctor__picture {
        position: relative !important;
        display: block;

        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 3 / 2 !important;

        align-self: center !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
    }

    html body main#main-content.prototype-main
    .proto-doctor .proto-doctor__image {
        position: absolute !important;
        inset: 0 !important;

        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;

        object-fit: contain !important;
        object-position: center !important;
        filter: none !important;
        transform: none !important;
    }
}

/* 메인 — 시그니처 카드 한글 제목 */
html body main#main-content.prototype-main
.proto-signature-card__content h3 {
    font-size: 23px !important;
    font-weight: 500 !important;
}

@media (max-width: 767px) {
    html body main#main-content.prototype-main
    .proto-signature-card__content h3 {
        font-size: 20px !important;
    }
}

/* ========================================
   메인 오시는 길 — 실제 네이버 지도
======================================== */

html body main#main-content.prototype-main
.proto-contact__map--interactive {
    position: relative;
    display: block;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    isolation: isolate;
}

html body main#main-content.prototype-main
.proto-contact__naver-map {
    display: block;
    width: 100%;
    height: 500px;
    margin: 0;
    padding: 0;
}

/* 기존 전역 이미지 규칙이 지도 타일을 변형하지 않도록 */
html body main#main-content.prototype-main
#miplus-naver-map img {
    max-width: none !important;
    max-height: none !important;
}

/* 네이버 지도 장소 페이지로 이동 */
html body main#main-content.prototype-main
.proto-contact__naver-link {
    position: absolute;
    z-index: 10;
    left: 24px;
    bottom: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    padding: 13px 18px;
    background: #fff;
    color: var(--color-text, #1d1c19);

    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;

    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.12);
}

html body main#main-content.prototype-main
.proto-contact__naver-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

/* 실제 지도에 표시할 병원 마커 */
.miplus-map-pin {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 170px;
    padding-bottom: 10px;
}

.miplus-map-pin__label {
    display: block;
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #9f826e;
    border-radius: 3px;

    color: #302c29;
    font-family: "Miplus A2Z", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.miplus-map-pin::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 50%;

    width: 12px;
    height: 12px;

    background: #fff;
    border-right: 1px solid #9f826e;
    border-bottom: 1px solid #9f826e;

    transform: translateX(-50%) rotate(45deg);
}

@media (min-width: 768px) and (max-width: 1023px) {
    html body main#main-content.prototype-main
    .proto-contact__naver-map {
        height: 440px;
    }
}

@media (max-width: 767px) {
    html body main#main-content.prototype-main
    .proto-contact__naver-map {
        height: 360px;
    }

    html body main#main-content.prototype-main
    .proto-contact__naver-link {
        left: 16px;
        bottom: 38px;
        gap: 12px;
        padding: 11px 14px;
        font-size: 12px;
    }
}

/* 메인 네이버 지도 — 오른쪽 영역 전체 채우기 */
html body main#main-content.prototype-main
.proto-contact__map--interactive {
    position: relative;
    align-self: stretch;
    min-height: 500px;
}

html body main#main-content.prototype-main
.proto-contact__naver-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
}

@media (max-width: 767px) {
    html body main#main-content.prototype-main
    .proto-contact__map--interactive {
        min-height: 360px;
    }
}

/* 메인 네이버 지도 — 가로형 로고 마커 */
.miplus-logo-marker {
    --map-marker-color: #705c4c;

    display: flex;
    flex-direction: column;
    align-items: center;

    width: 120px;
    height: 82px;
    cursor: pointer;
}

/* 가로형 로고 배지 */
.miplus-logo-marker__badge {
    position: relative;
    z-index: 1;

    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;

    width: 120px;
    height: 52px;

    background: var(--map-marker-color);
    border: 1px solid #fff;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

html body main#main-content.prototype-main
#miplus-naver-map .miplus-logo-marker__badge img {
    display: block;

    width: 112px;
    height: 44px;
    margin: 0;
    padding: 0;

    object-fit: contain;
    border: 0;
}


/* 실제 위치로 이어지는 선 */
.miplus-logo-marker__stem {
    display: block;
    flex: none;

    width: 1px;
    height: 20px;

    background: var(--map-marker-color);
}

/* 실제 병원 위치 */
.miplus-logo-marker__dot {
    display: block;
    flex: none;

    width: 10px;
    height: 10px;

    background: var(--map-marker-color);
    border-radius: 50%;
}

/* 메인 상담 안내 — 정보 글씨 굵기 완화 */
html body main#main-content.prototype-main
.proto-contact__information dd,
html body main#main-content.prototype-main
.proto-contact__information dd :is(a, span, strong) {
    font-weight: 400 !important;
}

/* 메인 영상 — 은은한 필름 그레인 */
.proto-hero__overlay::after {
    content: "";
    position: absolute;
    inset: 0;

    pointer-events: none;
    opacity: 0.18;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23808080' filter='url(%23grain)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 180px 180px;
}

/* 메인 — 최상묵 원장 이름 굵기 완화 */
html body main#main-content.prototype-main
.proto-doctor__name strong {
    font-weight: 400 !important;
}

/* 유형별 맞춤 수술 — 카드 안쪽 배경 */
html body main#main-content.prototype-main
.proto-types a.proto-type-card {
    background-color: #F8F6F3   !important;

}

/* 마우스·키보드 선택 시 한 톤 진하게 */
html body main#main-content.prototype-main
.proto-types a.proto-type-card:is(:hover, :focus-visible) {
    background-color: #E9E5E0    !important;

    color: var(--proto-charcoal, #403b38) !important;
}

/* 밝은 배경에서도 한글 제목은 기존 어두운 색 유지 */
html body main#main-content.prototype-main
.proto-types a.proto-type-card:is(:hover, :focus-visible) h3 {
    color: var(--color-text, #1d1c19) !important;
}

/* 기존 호버의 흰색 영문 전환 해제 */
html body main#main-content.prototype-main
.proto-types a.proto-type-card:is(:hover, :focus-visible) p {
    color: var(--section-eyebrow-color, #9f826e) !important;
}

/* =========================================================
   메인 첫 섹션 — 원칙 섹션과 동일한 원형 영문 장식
========================================================= */

/* PC: 원칙 섹션과 동일한 144px */
html body main#main-content.prototype-main
.proto-philosophy__visual > .proto-philosophy__orbit {
    display: block !important;
    width: 144px !important;
    height: 144px !important;
    pointer-events: none;
}

/* 동일한 방향·속도로 회전 */
html body main#main-content.prototype-main
.proto-philosophy__orbit > .doctor-promise__orbit-svg {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    overflow: visible;

    transform-origin: 50% 50%;
    animation: miplus-main-standard-orbit 10s linear infinite !important;
}

/* 원칙 섹션 원본의 글꼴·크기·색·자간 */
html body main#main-content.prototype-main
.proto-philosophy__orbit .doctor-promise__orbit-svg text,

html body main#main-content.prototype-main
.proto-philosophy__orbit .doctor-promise__orbit-svg textPath {
    fill: rgba(111, 95, 82, 0.22) !important;

    font-family:
        "LT Marathon",
        "Trebuchet MS",
        Arial,
        sans-serif !important;

    font-size: 20px !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-synthesis: none;

    letter-spacing: 0.015em !important;
    word-spacing: normal !important;
}

/* 1024~1279px: 원칙 섹션과 동일한 132px */
@media (min-width: 1024px) and (max-width: 1279px) {
    html body main#main-content.prototype-main
    .proto-philosophy__visual > .proto-philosophy__orbit {
        width: 132px !important;
        height: 132px !important;
    }
}

/* 태블릿: 원칙 섹션과 동일한 크기 */
@media (min-width: 768px) and (max-width: 1023px) {
    html body main#main-content.prototype-main
    .proto-philosophy__visual > .proto-philosophy__orbit {
        width: 108px !important;
        height: 108px !important;
    }

    html body main#main-content.prototype-main
    .proto-philosophy__orbit .doctor-promise__orbit-svg text,

    html body main#main-content.prototype-main
    .proto-philosophy__orbit .doctor-promise__orbit-svg textPath {
        font-size: 17px !important;
    }
}

/* 모바일: 원칙 섹션처럼 숨김 */
@media (max-width: 767px) {
    html body main#main-content.prototype-main
    .proto-philosophy__visual > .proto-philosophy__orbit {
        display: none !important;
    }
}

@keyframes miplus-main-standard-orbit {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    html body main#main-content.prototype-main
    .proto-philosophy__orbit > .doctor-promise__orbit-svg {
        animation: none !important;
    }
}

/* 모바일 — 메인 SCROLL 표시 가운데 정렬 */
@media (max-width: 767px) {
    html body main#main-content.prototype-main
    .proto-hero__scroll {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
    }
}

/* 모바일 — SCROLL 글씨 없이 은은한 선만 표시 */
@media (max-width: 767px) {
    html body main#main-content.prototype-main
    .proto-hero__scroll {
        bottom: 16px !important;
        gap: 0 !important;
        padding: 8px 14px;
    }

    html body main#main-content.prototype-main
    .proto-hero__scroll > span {
        display: none !important;
    }

    html body main#main-content.prototype-main
    .proto-hero__scroll i {
        height: 28px !important;
        background-color: rgba(255, 255, 255, .18) !important;
    }

    html body main#main-content.prototype-main
    .proto-hero__scroll i::after {
        background-color: rgba(255, 255, 255, .55) !important;
    }
}

/* 모바일 — 메인 제목 두 줄 간격 축소 */
@media (max-width: 767px) {
    html body main#main-content.prototype-main
    .proto-hero__title {
        line-height: 1.5 !important;
        row-gap: 0 !important;
    }

    html body main#main-content.prototype-main
    .proto-hero__title > span + span {
        margin-top: 0 !important;
    }
}

/* =========================================================
   메인 하단 — 상담 버튼 및 지도 정리
========================================================= */

html body main#main-content.prototype-main
.proto-contact .proto-contact__buttons {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100%;
    margin-top: 32px;
}

html body main#main-content.prototype-main
.proto-contact .proto-contact__buttons
> .mp-main-contact-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;

    box-sizing: border-box;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 50px !important;

    margin: 0 !important;
    padding: 12px 10px !important;

    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    letter-spacing: -0.02em;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

html body main#main-content.prototype-main
.proto-contact .mp-main-contact-icon {
    display: block;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin: 0;
    color: inherit;
}

html body main#main-content.prototype-main
.proto-contact .mp-main-contact-info-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;

    width: auto;
    min-width: 0;
    min-height: 36px;
    margin: 8px 0 0;
    padding: 4px 0;

    border: 0;
    background: transparent;
    color: #62564c;

    font-size: 12px;
    font-weight: 300;
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* 지도 외곽 — 기존 최소 높이·배치 해제 */
html body main#main-content.prototype-main
.proto-contact .proto-contact__map--interactive {
    position: relative;
    display: flex !important;
    flex-direction: column;
    align-self: stretch;

    box-sizing: border-box;
    min-width: 0;
    min-height: 0 !important;
    height: auto !important;
    margin: 0;
    padding: 0 !important;

    overflow: hidden;
    isolation: isolate;
}

/* 지도와 상태 안내가 들어가는 영역 */
html body main#main-content.prototype-main
.proto-contact .mp-main-map-canvas {
    position: relative;
    flex: 1 0 500px;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    background: #eee9e2;
}

/* 지도 자체는 부모의 확정된 높이를 채움 */
html body main#main-content.prototype-main
.proto-contact #miplus-naver-map {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;

    box-sizing: border-box;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 지도 타일에 일반 이미지 크기 제한이 적용되지 않도록 */
html body main#main-content.prototype-main
.proto-contact #miplus-naver-map img {
    max-width: none !important;
    max-height: none !important;
}

/* 로딩·실패 안내 */
html body main#main-content.prototype-main
.proto-contact .mp-main-map-status {
    position: absolute;
    inset: 0;
    z-index: 30;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    margin: 0;
    padding: 24px;

    background: #eee9e2;
    color: #625a54;

    font-family: "Miplus A2Z", sans-serif;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.9;
    text-align: center;
    white-space: pre-line;
}

html body main#main-content.prototype-main
.proto-contact .mp-main-map-status[hidden] {
    display: none !important;
}

/* 네이버 지도 링크 — 지도 위가 아닌 아래에 배치 */
html body main#main-content.prototype-main
.proto-contact .proto-contact__naver-link {
    position: static !important;
    inset: auto !important;
    z-index: auto;

    display: flex !important;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 10px;

    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    margin: 0 !important;
    padding: 12px 18px !important;

    border: 0;
    border-top: 1px solid rgba(64, 59, 56, 0.12);
    background: #f8f5f0;
    color: #4b4139;

    font-size: 12px !important;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;

    box-shadow: none !important;
    transform: none !important;
}

@media (max-width: 767px) {
    html body main#main-content.prototype-main
    .proto-contact .proto-contact__inner {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    html body main#main-content.prototype-main
    .proto-contact .proto-contact__content {
        padding: 64px 24px 40px !important;
    }

    html body main#main-content.prototype-main
    .proto-contact .proto-contact__buttons {
        margin-top: 26px;
        gap: 8px !important;
    }

    html body main#main-content.prototype-main
    .proto-contact .proto-contact__buttons
    > .mp-main-contact-button {
        min-height: 48px !important;
        padding: 10px 6px !important;
        font-size: 13px !important;
    }

    html body main#main-content.prototype-main
    .proto-contact .mp-main-contact-icon {
        flex-basis: 14px;
        width: 14px;
        height: 14px;
    }

    html body main#main-content.prototype-main
    .proto-contact .mp-main-map-canvas {
        flex: 0 0 260px;
        height: 260px;
        min-height: 260px;
    }
}

/* 메인 하단 — 진료 안내 바로가기 숨김 */
html body main#main-content.prototype-main
.proto-contact .mp-main-contact-info-link {
    display: none !important;
}
