/* ============================================================
   en-landing.css  –  U-medi 외국인 환자 랜딩페이지 공통 스타일
   샘플 #1 : Thegonggam Plastic Surgery
   ============================================================ */

/* ── CSS 변수 ── */
:root {
    --navy:      #1a2744;
    --navy-d:    #111c35;
    --gold:      #b8966e;
    --gold-l:    #d4b896;
    --gold-pale: #fdf6ee;
    --cream:     #faf8f5;
    --white:     #ffffff;
    --gray:      #f4f2ef;
    --text:      #2c2c2c;
    --muted:     #6e6e6e;
    --border:    #e2ddd7;
    --green:     #2d7a4f;
    --green-l:   #e8f5ee;
}

/* ── 기본 리셋 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* ── TOPBAR ── */
.topbar { background: var(--navy-d); padding: 9px 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.topbar-left { color: rgba(255,255,255,.5); display: flex; gap: 20px; }
.topbar-left span { display: flex; align-items: center; gap: 6px; }
.topbar-left i { color: var(--gold); font-size: 11px; }
.topbar-right { display: flex; gap: 8px; }
.tb-btn { border: 1px solid rgba(184,150,110,.3); color: var(--gold-l); padding: 5px 14px; border-radius: 2px; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-decoration: none; transition: all .2s; }
.tb-btn:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.tb-btn.wa { border-color: rgba(37,211,102,.3); color: #6dcc94; }
.tb-btn.wa:hover { background: #25D366; border-color: #25D366; color: var(--white); }

/* ── GNB ── */
.gnb { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 200; transition: box-shadow .3s; }
.gnb-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.logo-en { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; color: var(--navy); }
.logo-sub { font-size: 9px; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; margin-top: 3px; }
.nav-links { display: flex; list-style: none; gap: 0; }
.nav-links li a { padding: 0 14px; height: 64px; display: flex; align-items: center; font-size: 13px; color: var(--text); text-decoration: none; transition: color .2s; }
.nav-links li a:hover { color: var(--gold); }
.nav-ctas { display: flex; gap: 8px; align-items: center; }
.btn-wa { border: 1px solid var(--border); color: var(--text); padding: 8px 16px; border-radius: 2px; font-size: 12.5px; font-weight: 500; text-decoration: none; transition: all .2s; display: flex; align-items: center; gap: 6px; }
.btn-wa:hover { border-color: #25D366; color: #25D366; }
.btn-book { background: var(--gold); color: var(--white); padding: 8px 20px; border-radius: 2px; font-size: 12.5px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; transition: background .2s; }
.btn-book:hover { background: var(--navy); color: var(--white); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--navy); }

/* ── HERO ── */
.hero { background: var(--navy); min-height: 540px; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-shape  { position: absolute; right: -100px; top: -80px; width: 600px; height: 600px; border-radius: 50%; border: 1px solid rgba(184,150,110,.07); }
.hero-shape2 { position: absolute; right: 100px; bottom: -180px; width: 400px; height: 400px; border-radius: 50%; border: 1px solid rgba(184,150,110,.05); }
.hero-grid { display: grid; grid-template-columns: 1fr 400px; gap: 60px; align-items: center; position: relative; z-index: 2; padding: 80px 0; }
.hero-eyebrow { font-size: 10.5px; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.hero-eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }
.hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(34px,4vw,56px); font-weight: 300; color: var(--white); line-height: 1.15; margin-bottom: 8px; }
.hero h1 em { font-style: italic; color: var(--gold-l); }
.hero-h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(15px,1.6vw,19px); font-weight: 300; color: rgba(255,255,255,.5); margin-bottom: 24px; font-style: italic; line-height: 1.5; }
.hero-sub { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.85; margin-bottom: 32px; max-width: 500px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.btn-hero-p { background: var(--gold); color: var(--white); padding: 13px 28px; border-radius: 2px; font-size: 13px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; transition: all .2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-hero-p:hover { background: #a07a52; color: var(--white); }
.btn-hero-s { border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.8); padding: 13px 26px; border-radius: 2px; font-size: 13px; text-decoration: none; transition: all .2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-hero-s:hover { border-color: var(--gold-l); color: var(--gold-l); }
.ins-badges { border-top: 1px solid rgba(255,255,255,.1); padding-top: 28px; }
.ins-badges-label { font-size: 10px; letter-spacing: .14em; color: rgba(255,255,255,.3); text-transform: uppercase; margin-bottom: 14px; }
.ins-row { display: flex; gap: 10px; flex-wrap: wrap; }
.ins-badge { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 3px; padding: 6px 14px; font-size: 11.5px; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 6px; transition: border-color .2s; }
.ins-badge i { color: var(--gold); font-size: 10px; }
.ins-badge:hover { border-color: rgba(184,150,110,.4); }

/* ── 히어로 퀵폼 카드 ── */
.hero-form-card { background: var(--white); border-radius: 4px; padding: 30px; box-shadow: 0 20px 56px rgba(0,0,0,.28); }
.hero-form-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--navy); margin-bottom: 4px; }
.hfc-sub { font-size: 12.5px; color: var(--muted); margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.ff { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.ff label { font-size: 10.5px; letter-spacing: .1em; color: var(--navy); font-weight: 500; text-transform: uppercase; }
.ff input, .ff select { border: 1px solid var(--border); padding: 9px 12px; font-size: 13.5px; font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--cream); border-radius: 2px; outline: none; width: 100%; transition: border-color .2s; }
.ff input:focus, .ff select:focus { border-color: var(--gold); }
.ff select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236e6e6e'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; }
.btn-check { width: 100%; background: var(--navy); color: var(--white); border: none; padding: 12px; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; border-radius: 2px; transition: background .2s; margin-top: 2px; }
.btn-check:hover { background: var(--gold); }
.hfc-alt { text-align: center; margin-top: 12px; font-size: 12px; color: var(--muted); }
.hfc-alt a { color: var(--gold); text-decoration: none; }
.form-ok { display: none; text-align: center; padding: 20px 0; }
.form-ok i { font-size: 36px; color: var(--green); display: block; margin-bottom: 12px; }
.form-ok h4 { font-family: 'Cormorant Garamond', serif; font-size: 21px; color: var(--navy); margin-bottom: 6px; }
.form-ok p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ── TRUST BAR ── */
.trust-bar { background: var(--cream); border-bottom: 1px solid var(--border); }
.trust-bar-inner { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-item { padding: 28px 20px; border-right: 1px solid var(--border); text-align: center; }
.trust-item:last-child { border-right: none; }
.trust-item i { font-size: 16px; color: var(--gold-l); display: block; margin-bottom: 8px; opacity: .7; }
.trust-num { font-family: 'Cormorant Garamond', serif; font-size: 38px; font-weight: 600; color: var(--navy); line-height: 1; }
.trust-num span { font-size: 20px; color: var(--gold); }
.trust-label { font-size: 12px; color: var(--muted); margin-top: 5px; line-height: 1.5; }

/* ── INSURANCE 섹션 ── */
.ins-section { padding: 80px 0; background: var(--white); }
.ins-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.sec-tag { font-size: 10px; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.sec-tag::before { content: ''; display: block; width: 22px; height: 1px; background: var(--gold); }
.sec-h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(26px,3vw,38px); font-weight: 400; color: var(--navy); line-height: 1.25; margin-bottom: 10px; }
.divider { width: 32px; height: 1px; background: var(--gold); margin: 16px 0; }
.ins-list { display: flex; flex-direction: column; gap: 10px; margin: 24px 0; }
.ins-row-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border: 1px solid var(--border); border-radius: 2px; transition: border-color .2s; }
.ins-row-item:hover { border-color: var(--gold); }
.ins-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.ins-nm { font-size: 13.5px; font-weight: 500; color: var(--navy); }
.ins-tp { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.ins-tag { font-size: 10px; font-weight: 500; letter-spacing: .07em; color: var(--green); background: var(--green-l); padding: 3px 9px; border-radius: 2px; text-transform: uppercase; }
.ins-note-box { font-size: 13px; color: var(--muted); line-height: 1.8; padding: 14px 16px; background: var(--gold-pale); border-left: 3px solid var(--gold); margin-top: 6px; }

/* ── BILLING 카드 ── */
.billing-card { background: var(--navy); padding: 36px; border-radius: 4px; }
.billing-card .sec-tag::before { background: var(--gold-l); }
.billing-card .sec-tag { color: var(--gold-l); }
.billing-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 300; color: var(--white); margin-bottom: 6px; }
.billing-card .lead { font-size: 13.5px; color: rgba(255,255,255,.45); margin-bottom: 24px; line-height: 1.75; }
.steps { display: flex; flex-direction: column; }
.step { display: flex; gap: 18px; padding-bottom: 24px; }
.step:last-child { padding-bottom: 0; }
.step-line { display: flex; flex-direction: column; align-items: center; }
.step-n { width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 500; flex-shrink: 0; }
.step-conn { flex: 1; width: 1px; background: rgba(184,150,110,.25); margin-top: 5px; }
.step:last-child .step-conn { display: none; }
.step-body { padding-top: 4px; }
.step-body h4 { font-size: 13.5px; font-weight: 500; color: var(--white); margin-bottom: 4px; }
.step-body p { font-size: 12.5px; color: rgba(255,255,255,.4); line-height: 1.7; }
.step-hl { font-size: 10.5px; font-weight: 500; color: var(--gold); letter-spacing: .06em; margin-top: 5px; display: inline-block; }

/* ── HOW IT WORKS ── */
.how-section { padding: 80px 0; background: var(--cream); }
.how-hdr { text-align: center; max-width: 580px; margin: 0 auto 48px; }
.how-lead { font-size: 14px; color: var(--muted); line-height: 1.8; margin-top: 12px; }
.how-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 36px; }
.how-card { background: var(--white); border: 1px solid var(--border); border-radius: 4px; padding: 28px 22px; text-align: center; }
.how-num { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 13px; font-weight: 500; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.how-card i { font-size: 22px; color: var(--gold); display: block; margin-bottom: 12px; }
.how-card h4 { font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 8px; }
.how-card p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.badge-mini { font-size: 10px; letter-spacing: .07em; color: var(--green); background: var(--green-l); padding: 3px 9px; border-radius: 2px; display: inline-block; margin-top: 10px; font-weight: 500; }
.how-cta { text-align: center; }

/* ── ABOUT ── */
.about-section { padding: 80px 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 420px 1fr; gap: 64px; align-items: start; }
.clinic-photo { width: 100%; aspect-ratio: 4/5; background: var(--gray); border-radius: 2px; display: flex; align-items: center; justify-content: center; flex-direction: column; color: var(--muted); }
.clinic-photo i { font-size: 48px; opacity: .2; margin-bottom: 12px; }
.clinic-photo span { font-size: 13px; opacity: .4; letter-spacing: .06em; }
.creds { display: flex; flex-direction: column; gap: 10px; margin: 24px 0; }
.cred { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: var(--cream); border: 1px solid var(--border); border-radius: 2px; }
.cred-ico { width: 30px; height: 30px; background: var(--navy); border-radius: 2px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cred-ico i { color: var(--gold); font-size: 12px; }
.cred h4 { font-size: 13px; font-weight: 500; color: var(--navy); margin-bottom: 2px; }
.cred p { font-size: 12px; color: var(--muted); line-height: 1.6; }
.coord-box { background: var(--navy); padding: 20px; border-radius: 2px; margin-top: 20px; }
.coord-box p { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.8; }
.coord-box strong { color: var(--gold-l); }

/* ── GALLERY ── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); gap: 10px; margin-top: 4px; }
.gallery-item { border-radius: 4px; overflow: hidden; aspect-ratio: 4/3; background: var(--gray); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item img:hover { transform: scale(1.05); }

/* ── CONTACT ── */
.contact-section { padding: 80px 0; background: var(--navy); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-left h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(30px,3.5vw,44px); font-weight: 300; color: var(--white); line-height: 1.2; margin-bottom: 12px; }
.contact-left h2 em { font-style: italic; color: var(--gold-l); }
.contact-left p { font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.85; margin-bottom: 28px; }
.channels { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.ch-item { display: flex; align-items: center; gap: 14px; }
.ch-ico { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.ch-ico.ph { background: rgba(184,150,110,.15); color: var(--gold); }
.ch-ico.wa { background: rgba(37,211,102,.12); color: #6dcc94; }
.ch-ico.kk { background: rgba(255,200,0,.12); color: #f9c000; }
.ch-ico.em { background: rgba(255,255,255,.07); color: rgba(255,255,255,.5); }
.ch-label { font-size: 10px; letter-spacing: .1em; color: rgba(255,255,255,.3); text-transform: uppercase; margin-bottom: 1px; }
.ch-value { font-size: 14px; font-weight: 500; color: var(--white); }
.ch-sub { font-size: 12px; color: rgba(255,255,255,.3); margin-top: 1px; }

/* ── 예약 폼 ── */
.book-form { background: var(--white); border-radius: 4px; padding: 32px; }
.book-form h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--navy); margin-bottom: 4px; }
.book-form .form-sub { font-size: 12.5px; color: var(--muted); margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.fr2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.book-form .ff { margin-bottom: 10px; }
.book-form .ff label { font-size: 10.5px; letter-spacing: .1em; color: var(--navy); font-weight: 500; text-transform: uppercase; display: block; margin-bottom: 5px; }
.book-form .ff input,
.book-form .ff select,
.book-form .ff textarea { border: 1px solid var(--border); padding: 9px 12px; font-size: 13.5px; font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--cream); border-radius: 2px; outline: none; width: 100%; transition: border-color .2s; }
.book-form .ff input:focus,
.book-form .ff select:focus,
.book-form .ff textarea:focus { border-color: var(--gold); }
.book-form .ff textarea { min-height: 80px; resize: vertical; }
.book-form .ff select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236e6e6e'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; }
.privacy-row { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 14px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.privacy-row input { margin-top: 2px; accent-color: var(--gold); flex-shrink: 0; }
.btn-submit { width: 100%; background: var(--gold); color: var(--white); border: none; padding: 13px; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; border-radius: 2px; transition: background .2s; }
.btn-submit:hover { background: var(--navy); }
.form-guarantee { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; font-size: 11.5px; color: var(--muted); }
.form-guarantee i { color: var(--green); font-size: 12px; }
.book-ok { display: none; text-align: center; padding: 28px 12px; }
.book-ok i { font-size: 38px; color: var(--green); display: block; margin-bottom: 14px; }
.book-ok h4 { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.book-ok p { font-size: 13px; color: var(--muted); line-height: 1.75; }
.btn-wa-follow { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; background: #25D366; color: var(--white); padding: 10px 20px; border-radius: 2px; font-size: 13px; font-weight: 500; text-decoration: none; }

/* ── FOOTER ── */
footer { background: #0d1526; padding: 44px 0 24px; }
.foot-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.foot-brand .logo-en { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 600; color: var(--white); }
.foot-brand .logo-sub { font-size: 9px; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; display: block; margin-top: 3px; margin-bottom: 14px; }
.foot-desc { font-size: 13px; color: rgba(255,255,255,.28); line-height: 1.85; }
.foot-col h4 { font-size: 10px; letter-spacing: .16em; color: var(--gold); text-transform: uppercase; margin-bottom: 14px; font-weight: 500; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.foot-col ul li a { font-size: 13px; color: rgba(255,255,255,.3); text-decoration: none; transition: color .2s; }
.foot-col ul li a:hover { color: var(--gold-l); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.foot-bottom p { font-size: 11.5px; color: rgba(255,255,255,.18); }
.foot-links { display: flex; gap: 16px; }
.foot-links a { font-size: 11.5px; color: rgba(255,255,255,.18); text-decoration: none; transition: color .2s; }
.foot-links a:hover { color: rgba(255,255,255,.4); }

/* ── 플로팅 WhatsApp ── */
.float-wa { position: fixed; bottom: 24px; right: 24px; width: 52px; height: 52px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 22px; text-decoration: none; box-shadow: 0 4px 18px rgba(37,211,102,.3); z-index: 300; transition: transform .2s; }
.float-wa:hover { transform: scale(1.08); }

/* ── 반응형 ── */
@media (max-width: 1024px) {
    .hero-grid, .ins-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero-form-card, .book-form { max-width: 480px; }
    .how-cards { grid-template-columns: 1fr; }
    .foot-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links, .nav-ctas { display: none; }
    .hamburger { display: flex; }
    .trust-bar-inner { grid-template-columns: 1fr 1fr; }
    .trust-item { border-bottom: 1px solid var(--border); }
    .trust-item:nth-child(odd)  { border-right: 1px solid var(--border); }
    .trust-item:nth-child(even) { border-right: none; }
    .topbar-left span:not(:first-child) { display: none; }
    .fr2 { grid-template-columns: 1fr; }
    .foot-inner { grid-template-columns: 1fr; }
}