/* ==========================================================================
   효치과 (HYO DENTAL CLINIC) — 통합 디자인 시스템
   Palette : Navy(신뢰) + Gold(품격) + Sage(자연/치유) + Cream/Ink(가독성)
   Type    : Noto Serif KR(전시) + Noto Sans KR(본문)
   ========================================================================== */

:root{
  /* color tokens */
  --navy-deep:   #0E2640;
  --navy:        #1B3A6B;
  --navy-soft:   #2E5089;
  --navy-mist:   #EAF0F7;
  --gold:        #C39A56;
  --gold-soft:   #E2CB9C;
  --sage:        #5C8569;
  --sage-soft:   #DCE7DE;
  --cream:       #F7F4EC;
  --white:       #FFFFFF;
  --ink:         #20242B;
  --ink-soft:    #5B6270;
  --line:        #E3DFD5;

  /* type */
  --f-display: "Noto Serif KR", "Nanum Myeongjo", serif;
  --f-body: "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 4px;
  --container: 1180px;
  --shadow-soft: 0 18px 50px -20px rgba(14,38,64,0.25);
  --shadow-card: 0 10px 30px -12px rgba(14,38,64,0.18);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html{ overflow-x: hidden; }
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--f-display); margin:0; color: var(--navy-deep); font-weight:700; }
p{ margin:0; }
.container{ max-width: var(--container); margin:0 auto; padding:0 28px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

/* ---------- focus visibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- eyebrow label ---------- */
.eyebrow{
  display:flex; align-items:center; gap:14px;
  font-size: 13px; letter-spacing: 0.22em; font-weight:700;
  color: var(--gold); text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before, .eyebrow.center::after{
  content:""; display:block; width:34px; height:1px; background: var(--gold-soft);
}
.eyebrow.center{ justify-content:center; }
.eyebrow.on-dark{ color: var(--gold-soft); }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 15px 30px; border-radius: var(--radius);
  font-weight:700; font-size:15px; letter-spacing:0.02em;
  border:1px solid transparent; cursor:pointer; transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary{ background: var(--navy); color:#fff; }
.btn-primary:hover{ background: var(--navy-soft); transform: translateY(-2px); }
.btn-gold{ background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover{ background: var(--gold-soft); transform: translateY(-2px); }
.btn-outline{ background: transparent; border-color: rgba(255,255,255,0.55); color:#fff; }
.btn-outline:hover{ background: rgba(255,255,255,0.12); }
.btn-outline-navy{ background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover{ background: var(--navy); color:#fff; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header{
  position: sticky; top:0; z-index: 500;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar{
  display:flex; align-items:center; justify-content:space-between;
  height: 82px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand-mark{
  width:46px; height:46px; border-radius:50%;
  background: var(--navy); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-family: var(--f-display); font-size:22px; font-weight:700;
  border: 1.5px solid var(--gold);
  flex-shrink:0;
}
.brand-name{ display:flex; flex-direction:column; line-height:1.15; white-space:nowrap; }
.brand-name strong{ font-family: var(--f-display); font-size:21px; color: var(--navy-deep); letter-spacing:0.02em; white-space:nowrap;}
.brand-name span{ font-size:10.5px; letter-spacing:0.18em; color: var(--sage); font-weight:600; white-space:nowrap; }

.main-nav{ display:flex; align-items:center; gap:27px; }
.main-nav a{
  font-size:15px; font-weight:600; color: var(--ink); position:relative; padding:6px 0; white-space:nowrap;
}
.main-nav a::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px; background: var(--gold);
  transform: scaleX(0); transition: transform .25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after{ transform: scaleX(1); }
.main-nav a.active{ color: var(--navy); }

.header-cta{ display:flex; align-items:center; gap:16px; }
.header-phone{ font-size:14px; font-weight:700; color: var(--navy); display:flex; align-items:center; gap:8px; }
.header-phone svg{ width:16px; height:16px; fill: var(--gold); }

.nav-toggle{
  display:none; width:42px; height:42px; border-radius:50%;
  border:1px solid var(--line); background:#fff;
  align-items:center; justify-content:center; cursor:pointer;
}
.nav-toggle svg{ width:20px; height:20px; }

@media (max-width: 1100px){
  .main-nav{
    position:fixed; top:82px; right:calc(-1 * min(86vw, 360px) - 24px); height:100vh; width:min(86vw, 360px);
    background: var(--white);
    flex-direction:column; align-items:flex-start; gap:0; padding: 10px 28px 30px;
    transition: right .3s ease; overflow-y:auto; box-shadow: -10px 0 30px rgba(14,38,64,0.12);
  }
  .main-nav.open{ right:0; }
  .main-nav a{ width:100%; padding:16px 0; border-bottom:1px solid var(--line); }
  .header-phone span{ display:none; }
  .nav-toggle{ display:flex; }
}
@media (max-width: 560px){
  .container{ padding:0 18px; }
  .site-header .bar{ height:70px; }
  .main-nav{ top:70px; }
  .brand-mark{ width:38px; height:38px; font-size:18px; }
  .brand-name strong{ font-size:17px; }
  .brand-name span{ font-size:8.5px; letter-spacing:0.12em; }
  .header-cta{ gap:8px; }
  .header-cta .btn-primary{ display:none; }
  .header-phone{ padding:8px; }
  .header-phone svg{ width:18px; height:18px; }
  .nav-toggle{ width:38px; height:38px; }
}

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.page-hero{
  position:relative; color:#fff; padding: 130px 0 90px;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy) 70%);
  overflow:hidden;
}
.page-hero::before{
  content:"孝"; position:absolute; right:-40px; top:-60px;
  font-family: var(--f-display); font-size:380px; color: rgba(255,255,255,0.05);
  line-height:1; pointer-events:none;
}
.page-hero .crumbs{ font-size:13px; letter-spacing:0.1em; color: var(--gold-soft); margin-bottom:16px; text-transform:uppercase;}
.page-hero h1{ color:#fff; font-size: clamp(32px, 4.4vw, 50px); line-height:1.3; max-width:760px; }
.page-hero p{ margin-top:18px; max-width:620px; color: rgba(255,255,255,0.82); font-size:17px; }

/* ==========================================================================
   SECTION helpers
   ========================================================================== */
.section{ padding: 96px 0; }
.section.tight{ padding: 70px 0; }
.section.bg-cream{ background: var(--cream); }
.section.bg-navy{ background: var(--navy-deep); color: rgba(255,255,255,0.88); }
.section.bg-navy h2, .section.bg-navy h3{ color:#fff; }
.section-head{ max-width: 680px; margin-bottom: 52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(28px, 3.2vw, 38px); line-height:1.35; }
.section-head p.lead{ margin-top:16px; font-size:16.5px; color: var(--ink-soft); }
.bg-navy .section-head p.lead{ color: rgba(255,255,255,0.72); }

.divider{ width:64px; height:2px; background: var(--gold); margin: 22px 0; }
.divider.center{ margin:22px auto; }

/* ==========================================================================
   HOME — HERO
   ========================================================================== */
.hero{
  position:relative; min-height: 86vh; display:flex; align-items:center;
  background: var(--navy-deep); overflow:hidden; color:#fff;
}
.hero-bg{ position:absolute; inset:0; }
.hero-bg img{ width:100%; height:100%; object-fit:cover; opacity:0.55; }
.hero-bg::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(100deg, rgba(14,38,64,0.96) 18%, rgba(14,38,64,0.65) 55%, rgba(14,38,64,0.25) 100%);
}
.hero-inner{ position:relative; z-index:2; padding: 150px 0 130px; width:100%; }
.hero-eyebrow{ color: var(--gold-soft); letter-spacing:0.24em; font-size:13px; font-weight:700; text-transform:uppercase; margin-bottom:22px; }
.hero h1{
  color:#fff; font-size: clamp(36px, 5.4vw, 64px); line-height:1.28; max-width:780px;
  font-weight:700;
}
.hero h1 em{ color: var(--gold-soft); font-style:normal; }
.hero .sub{ margin-top:24px; font-size:18px; color: rgba(255,255,255,0.82); max-width:560px; }
.hero-actions{ margin-top:42px; display:flex; gap:16px; flex-wrap:wrap; }

.hero-card{
  position:absolute; right: 6%; bottom: -40px; z-index:3;
  width: 260px; background:#fff; border-radius: 10px; padding:18px;
  box-shadow: var(--shadow-soft); text-align:center;
}
.hero-card img{ border-radius:6px; margin-bottom:14px; }
.hero-card strong{ display:block; color: var(--navy-deep); font-size:17px; font-family: var(--f-display); }
.hero-card span{ display:block; font-size:12.5px; color: var(--ink-soft); margin-top:4px; }
.hero-card .tag{
  display:inline-block; margin-top:10px; font-size:11px; letter-spacing:0.08em;
  background: var(--navy-mist); color: var(--navy); padding:5px 12px; border-radius:20px; font-weight:700;
  border:1px solid rgba(27,58,107,0.18);
}
@media (max-width: 860px){
  .hero-card{ display:none; }
}

/* hero as full banner image */
.hero.hero-image{
  min-height:0; display:block; background:var(--navy-deep); padding-bottom:48px;
}
.hero-banner-img{ display:block; width:100%; height:auto; }
.hero-actions-bar{ display:flex; gap:16px; flex-wrap:wrap; justify-content:center; padding-top:36px; }

/* ==========================================================================
   PHILOSOPHY (3 pillars, hanja numerals)
   ========================================================================== */
.philosophy{ background: var(--navy-deep); color:#fff; padding: 100px 0; position:relative; overflow:hidden; }
.philosophy::before{
  content:"孝"; position:absolute; left:-60px; bottom:-90px;
  font-family: var(--f-display); font-size:420px; color: rgba(255,255,255,0.04); line-height:1;
}
.philo-grid{ display:grid; grid-template-columns: 1fr 1.15fr; gap:64px; align-items:center; position:relative; z-index:1;}
.philo-list{ display:flex; flex-direction:column; gap:30px; }
.philo-item{ display:flex; gap:22px; border-bottom:1px solid rgba(255,255,255,0.12); padding-bottom:26px; }
.philo-item:last-child{ border-bottom:none; padding-bottom:0; }
.philo-num{
  font-family: var(--f-display); font-size:30px; color: var(--gold-soft);
  width:52px; flex-shrink:0;
}
.philo-item h3{ color:#fff; font-size:20px; margin-bottom:8px; }
.philo-item p{ color: rgba(255,255,255,0.7); font-size:15px; }
.philo-portrait{ position:relative; }
.philo-portrait .frame{
  border: 1px solid rgba(255,255,255,0.25); border-radius:8px; overflow:hidden;
  box-shadow: var(--shadow-soft);
}
.philo-portrait figcaption{ text-align:center; margin-top:18px; }
.philo-portrait figcaption strong{ display:block; font-family: var(--f-display); font-size:19px; color:#fff; }
.philo-portrait figcaption span{ font-size:13px; color: var(--gold-soft); }

@media (max-width: 880px){
  .philo-grid{ grid-template-columns: 1fr; }
  .philo-portrait{ order:-1; max-width:320px; margin:0 auto; }
}

/* philosophy as full banner image */
.philosophy.philosophy-image{ padding:64px 0; }
.philosophy-banner-img{ display:block; width:100%; height:auto; border-radius:10px; }

/* ==========================================================================
   CARD GRIDS
   ========================================================================== */
.grid{ display:grid; gap: 28px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px){ .grid-4{ grid-template-columns: repeat(2,1fr); } .grid-3{ grid-template-columns: repeat(2,1fr);} }
@media (max-width: 620px){ .grid-4, .grid-3, .grid-2{ grid-template-columns: 1fr; } }

.card{
  background:#fff; border:1px solid var(--line); border-radius:8px; overflow:hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover{ transform: translateY(-5px); box-shadow: var(--shadow-card); }
.card .card-img{ aspect-ratio: 4/3; overflow:hidden; }
.card .card-img img{ width:100%; height:100%; object-fit:cover; transition: transform .4s ease; }
.card:hover .card-img img{ transform: scale(1.06); }
.card .card-body{ padding:24px; }
.card .card-body h3{ font-size:18px; margin-bottom:10px; }
.card .card-body p{ font-size:14.5px; color: var(--ink-soft); }
.card-tag{
  display:inline-block; font-size:11.5px; font-weight:700; letter-spacing:0.06em;
  color: var(--sage); background: var(--sage-soft); padding:4px 10px; border-radius:20px; margin-bottom:12px;
  border:1px solid rgba(92,133,105,0.28);
}
.card-link{ margin-top:14px; display:inline-flex; align-items:center; gap:6px; font-weight:700; font-size:14px; color: var(--navy); }
.card-link svg{ width:14px; height:14px; transition: transform .2s ease; }
.card:hover .card-link svg{ transform: translateX(3px); }

/* link tile (used for home quick-links) */
.tile{
  position:relative; border-radius:8px; overflow:hidden; aspect-ratio: 3/4;
  box-shadow: var(--shadow-card);
}
.tile img{ width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.tile:hover img{ transform: scale(1.08); }
.tile::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(14,38,64,0) 40%, rgba(14,38,64,0.88) 100%);
}
.tile-text{ position:absolute; left:0; right:0; bottom:0; padding:22px; z-index:2; color:#fff; }
.tile-text .eyebrow{ color: var(--gold-soft); margin-bottom:8px; font-size:11px; }
.tile-text .eyebrow::before{ display:none; }
.tile-text h3{ color:#fff; font-size:19px; }

/* ==========================================================================
   NUMBERED PROCESS (sterilization steps etc.)
   ========================================================================== */
.process{ display:flex; flex-direction:column; }
.process-step{
  display:grid; grid-template-columns: 90px 1fr; gap:28px;
  padding: 30px 0; border-bottom:1px solid var(--line);
}
.process-step:last-child{ border-bottom:none; }
.process-step .step-num{
  font-family: var(--f-display); font-size:38px; color: var(--gold);
  display:flex; align-items:flex-start;
}
.process-step h3{ font-size:19px; margin-bottom:8px; }
.process-step p{ color: var(--ink-soft); font-size:15px; }
.process-step .step-photo{ margin-top:16px; border-radius:6px; overflow:hidden; max-width:480px; }
.process-step .step-photo img{ width:100%; display:block; }

/* ==========================================================================
   QUOTE / STATEMENT BAND
   ========================================================================== */
.statement{
  background: var(--cream); border-left:3px solid var(--gold);
  padding: 36px 40px; border-radius: 4px; margin: 40px 0;
}
.statement p{ font-family: var(--f-display); font-size:19px; line-height:1.6; color: var(--navy-deep); }

.note-box{
  background: var(--navy-mist); border-radius:6px; padding:22px 26px;
  font-size:13.5px; color: var(--ink-soft); line-height:1.8;
}
.note-box strong{ color: var(--navy); }

/* ==========================================================================
   TABLE (hours)
   ========================================================================== */
.hours-table{ width:100%; border-collapse:collapse; }
.hours-table th, .hours-table td{ padding:16px 18px; border-bottom:1px solid var(--line); text-align:left; font-size:15px; }
.hours-table th{ width:35%; color: var(--navy); font-weight:700; }
.hours-table tr:last-child th, .hours-table tr:last-child td{ border-bottom:none; }
.hours-table .closed{ color:#B5563F; font-weight:700; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{ background: var(--navy-deep); color: rgba(255,255,255,0.72); padding: 70px 0 30px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap:50px; padding-bottom:46px; border-bottom:1px solid rgba(255,255,255,0.12); }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:18px; }
.footer-brand strong{ font-family: var(--f-display); font-size:22px; color:#fff; }
.footer-desc{ font-size:14px; line-height:1.8; max-width:320px; }
.footer h4{ color:#fff; font-size:15px; margin-bottom:18px; letter-spacing:0.04em; }
.footer-list li{ font-size:14px; margin-bottom:10px; }
.footer-list a:hover{ color: var(--gold-soft); }
.footer-bottom{ display:flex; justify-content:space-between; padding-top:24px; font-size:12.5px; flex-wrap:wrap; gap:10px; }
@media (max-width:820px){ .footer-grid{ grid-template-columns:1fr; gap:34px; } }

/* ==========================================================================
   MISC utility
   ========================================================================== */
.muted{ color: var(--ink-soft); }
.text-center{ text-align:center; }
.mt-0{ margin-top:0 !important; }
.lightbox-trigger{ cursor: zoom-in; }

.lightbox{
  position:fixed; inset:0; background:rgba(10,20,32,0.92); z-index:1000;
  display:none; align-items:center; justify-content:center; padding:40px;
}
.lightbox.open{ display:flex; }
.lightbox img{ max-width:90vw; max-height:86vh; border-radius:6px; }
.lightbox-close{
  position:absolute; top:24px; right:28px; width:42px; height:42px; border-radius:50%;
  background:rgba(255,255,255,0.12); color:#fff; border:1px solid rgba(255,255,255,0.3);
  font-size:20px; cursor:pointer;
}

.badge-disclaimer{
  display:flex; gap:14px; align-items:flex-start; background:#fff; border:1px solid var(--line);
  border-radius:6px; padding:20px 22px; margin-bottom:46px;
}
.badge-disclaimer svg{ width:20px; flex-shrink:0; margin-top:2px; fill: var(--gold); }
.badge-disclaimer p{ font-size:13px; color: var(--ink-soft); line-height:1.8; }

/* sticky sub-nav (for long pages like 진료 시스템) */
.subnav-wrap{ background:#fff; border-bottom:1px solid var(--line); position:sticky; top:82px; z-index:400; }
.subnav{ display:flex; gap:8px; overflow-x:auto; padding: 14px 0; scrollbar-width:none; }
.subnav::-webkit-scrollbar{ display:none; }
.subnav a{
  flex-shrink:0; font-size:13.5px; font-weight:700; padding:9px 18px; border-radius:20px;
  background: var(--navy-mist); color: var(--navy); white-space:nowrap;
}
.subnav a:hover, .subnav a.active{ background: var(--navy); color:#fff; }

.cat-block{ padding: 70px 0; border-bottom:1px solid var(--line); }
.cat-block:last-child{ border-bottom:none; }
.cat-head{ display:flex; align-items:baseline; gap:16px; margin-bottom:14px; }
.cat-head .cat-no{ font-family:var(--f-display); font-size:15px; color: var(--gold); letter-spacing:0.05em;}
.cat-head h2{ font-size:26px; }
.cat-desc{ color: var(--ink-soft); max-width:760px; margin-bottom:38px; font-size:15.5px; }

.item-card{ display:grid; grid-template-columns: 280px 1fr; gap:32px; padding:34px 0; border-top:1px solid var(--line); }
.item-card:first-of-type{ border-top:none; }
.item-card .item-img{ border-radius:6px; overflow:hidden; aspect-ratio:4/3; background:var(--cream); }
.item-card .item-img img{ width:100%; height:100%; object-fit:cover; }
.item-card .item-img.dual{ display:flex; gap:6px; aspect-ratio:4/3; background:none; }
.item-card .item-img.dual img{ width:50%; height:100%; object-fit:cover; border-radius:6px; background:var(--cream); }
.item-card .item-img.trio{ display:grid; grid-template-columns:1fr 1fr; grid-template-rows:1fr 1fr; gap:6px; aspect-ratio:4/3; }
.item-card .item-img.trio img{ width:100%; height:100%; object-fit:cover; border-radius:6px; }
.item-card .item-img.trio img:first-child{ grid-row: 1 / 3; }
.item-card.no-img{ grid-template-columns: 1fr; }
.item-card h3{ font-size:19px; margin-bottom:10px; }
.item-card .item-tagline{ color: var(--navy); font-weight:700; font-size:14.5px; margin-bottom:10px; }
.item-card p{ color: var(--ink-soft); font-size:15px; }
.item-card ul.checks{ margin-top:14px; display:flex; flex-direction:column; gap:8px; }
.item-card ul.checks li{ font-size:14.5px; color: var(--ink); padding-left:22px; position:relative; }
.item-card ul.checks li::before{ content:"✓"; position:absolute; left:0; color: var(--sage); font-weight:700; }
.item-summary{ margin-top:18px; background: var(--cream); border-radius:6px; padding:16px 18px; font-size:13.5px; color: var(--navy-deep); }
.item-summary strong{ color: var(--navy); }
@media (max-width: 760px){ .item-card{ grid-template-columns:1fr; } }

/* video card (hygiene page) */
.video-card{ background:#fff; border:1px solid var(--line); border-radius:8px; padding:24px; }
.video-card h3{ font-size:16.5px; margin-bottom:10px; }
.video-card a.watch{ display:inline-flex; align-items:center; gap:8px; font-size:14px; font-weight:700; color: var(--navy); margin-top:10px; }
.video-card a.watch svg{ width:16px; height:16px; fill: #B5563F; }

/* gallery thumb grid for tour */
.room-block{ display:grid; grid-template-columns: 1fr 1fr; gap:50px; align-items:center; padding:70px 0; border-bottom:1px solid var(--line); }
.room-block:last-child{ border-bottom:none; }
.room-block.reverse .room-text{ order:2; }
.room-photos{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.room-photos img{ border-radius:6px; aspect-ratio:1/1; object-fit:cover; }
.room-photos .full{ grid-column: 1 / -1; aspect-ratio: 16/9; }
.room-no{ font-family: var(--f-display); color: var(--gold); font-size:15px; margin-bottom:10px; }
.room-text h2{ font-size:27px; margin-bottom:16px; }
.room-text p{ color: var(--ink-soft); font-size:15.5px; }
@media (max-width: 860px){
  .room-block{ grid-template-columns:1fr; gap:26px; padding:50px 0; }
  .room-block.reverse .room-text{ order:0; }
}

/* map */
.map-frame{ border-radius:8px; overflow:hidden; border:1px solid var(--line); height:420px; }
.map-frame iframe{ width:100%; height:100%; border:0; }

/* Desktop header spacing verified at 1280px. */
@media (min-width:1101px){
 .site-header .bar{gap:16px;}
 .brand,.header-cta{flex-shrink:0;}
 .main-nav{gap:14px;}
 .main-nav a{font-size:14px;}
 .header-phone{white-space:nowrap;}
 .header-cta{gap:12px;}
}

/* Footer social channels */
.footer-grid{grid-template-columns:1.4fr 1fr 1fr;gap:50px;}
.footer-socials h4{margin-bottom:15px;}
.footer-social-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.footer-social-link{display:flex;align-items:center;gap:8px;min-width:0;min-height:44px;padding:5px 7px;border:1px solid rgba(255,255,255,.13);border-radius:6px;color:rgba(255,255,255,.78);font-size:12.5px;line-height:1.3;transition:background .2s ease,border-color .2s ease,color .2s ease;}
.footer-social-link:hover,.footer-social-link:focus-visible{background:rgba(255,255,255,.08);border-color:rgba(226,203,156,.55);color:#fff;}
.social-icon{display:inline-flex;flex:0 0 26px;width:26px;height:26px;align-items:center;justify-content:center;border-radius:7px;color:#fff;font-family:Arial,sans-serif;font-size:17px;font-weight:700;line-height:1;}
.social-icon--naver{background:#03c75a;font-size:16px;}
.social-icon--instagram{background:linear-gradient(135deg,#7545d6 0%,#d63d92 52%,#f5a43b 100%);}
.social-icon--facebook{background:#1877f2;font-size:21px;align-items:flex-end;}
.social-icon--tistory{background:#eb5424;font-family:Georgia,serif;font-size:19px;}
.social-icon--kakaomap{background:#fee500;color:#3c1e1e;}
.social-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.social-icon .social-icon-dot{fill:currentColor;stroke:none;}
@media(max-width:1000px){.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 40px;}}
@media(max-width:820px){.footer-grid{grid-template-columns:1fr;gap:30px;}}
@media(max-width:480px){.footer-social-links{gap:8px;}.footer-social-link{padding:6px;gap:7px;font-size:12px;}.social-icon{flex-basis:28px;width:28px;height:28px;}}