/* =========================================
   ROOT — CSS 변수 (여기서만 수정하면 전체 반영)
   ========================================= */
:root {

  /* ── 색상 ──────────────────────────────── */
  --color-primary:       #1a3a6e;   /* 메인 컬러 (네이비) */
  --color-primary-dark:  #122a52;   /* 메인 어두운 버전 */
  --color-primary-light: #2a5298;   /* 메인 밝은 버전 */
  --color-accent:        #c9a84c;   /* 포인트 컬러 (골드) */
  --color-accent-dark:   #a8893a;   /* 포인트 어두운 버전 */

  --color-text:          #333333;   /* 본문 텍스트 */
  --color-text-muted:    #888888;   /* 보조 텍스트 */
  --color-text-light:    #bbbbbb;   /* 흐린 텍스트 */
  --color-white:         #ffffff;
  --color-black:         #000000;

  --color-bg:            #ffffff;   /* 기본 배경 */
  --color-bg-soft:       #f8f9fc;   /* 연한 배경 */
  --color-bg-dark:       #1a2a3a;   /* 푸터 배경 */

  --color-border:        #e0e0e0;   /* 테두리 */
  --color-error:         #e74c3c;   /* 오류/필수 */

  /* ── IPARK 브랜드 컬러 ─────────────────── */
  --ipark-red:           #c30028;   /* Pantone 3517C | CMYK 19 100 89 0 | RGB 195 0 40 */
  --ipark-light-blue:    #d2dce6;   /* Pantone 642C | CMYK 21 5 7 0 | RGB 210 220 230 */
  --ipark-light-gray:    #bebebe;   /* Pantone Cool Gray 4C | CMYK 0 0 0 30 | RGB 190 190 190 */
  --ipark-gray:          #4b5055;   /* Pantone 425C | CMYK 30 20 20 70 | RGB 75 80 85 */
  --ipark-dark-gray:     #363e41;   /* Pantone 432C | CMYK 74 62 55 47 | RGB 54 62 65 */
  --ipark-blue-black:    #000014;   /* Pantone Black 6C | CMYK 100 79 44 87 | RGB 0 0 20 */

  /* ── 폰트 패밀리 ────────────────────────── */
  --font-serif:  'Noto Serif KR', 'Batang', '바탕', serif;      /* 제목 */
  --font-sans:   'Noto Sans KR',  'Malgun Gothic', sans-serif;  /* 본문/UI */

  /* ── 폰트 굵기 ──────────────────────────── */
  --fw-thin:       100;
  --fw-light:      300;
  --fw-regular:    400;
  --fw-medium:     500;
  --fw-semibold:   600;
  --fw-bold:       700;
  --fw-extrabold:  800;
  --fw-black:      900;

  /* ── 폰트 크기 ──────────────────────────── */
  --fs-xs:    0.75rem;   /*  12px */
  --fs-sm:    0.875rem;  /*  14px */
  --fs-base:  1rem;      /*  16px */
  --fs-md:    1.125rem;  /*  18px */
  --fs-lg:    1.25rem;   /*  20px */
  --fs-xl:    1.5rem;    /*  24px */
  --fs-2xl:   1.875rem;  /*  30px */
  --fs-3xl:   2.25rem;   /*  36px */
  --fs-4xl:   3rem;      /*  48px */

  /* ── 줄 간격 ────────────────────────────── */
  --lh-tight:   1.4;
  --lh-base:    1.8;
  --lh-loose:   2.0;

  /* ── 간격 (spacing) ────────────────────── */
  --sp-1:    4px;
  --sp-2:    8px;
  --sp-3:   12px;
  --sp-4:   16px;
  --sp-5:   20px;
  --sp-6:   24px;
  --sp-8:   32px;
  --sp-10:  40px;
  --sp-12:  48px;
  --sp-16:  64px;
  --sp-20:  80px;

  /* ── 레이아웃 ───────────────────────────── */
  --width-content:  1000px;   /* 본문 최대 너비 */
  --width-header:   1200px;   /* 헤더 최대 너비 */
  --height-header:    60px;   /* 헤더 높이 */
  --mobile-margin:    16px;   /* 모바일 좌우 최소 여백 */

  /* ── 트랜지션 ───────────────────────────── */
  --transition-fast:    0.15s ease;
  --transition-base:    0.25s ease;
  --transition-slow:    0.4s ease;

  /* ── 그림자 ─────────────────────────────── */
  --shadow-sm:   0 2px  8px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:   0 8px 30px rgba(0,0,0,0.12);
  --shadow-header: 0 2px 16px rgba(0,0,0,0.12);

  /* ── 둥근 모서리 ────────────────────────── */
  --radius-sm:   4px;
  --radius-md:   6px;
  --radius-lg:   8px;
  --radius-full: 9999px;

}


/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  word-break: keep-all;               /* 한글 단어 중간 줄바꿈 방지 */
  -webkit-font-smoothing: antialiased; /* Mac/iOS 폰트 안티앨리어싱 */
  -moz-osx-font-smoothing: grayscale;  /* Firefox on macOS 폰트 안티앨리어싱 */
}

html { font-size: 16px; scroll-behavior: smooth; }

a {
  color: inherit;                           /* 부모 색상 상속 (파란 링크색 제거) */
  text-decoration: none;                    /* 기본 밑줄 제거 */
  transition: color var(--transition-fast); /* 호버 시 부드러운 색상 전환 */
}
a:hover {
  color: var(--color-accent);               /* 호버 시 골드 포인트 컬러 */
}

body {
  /* 본문/UI — 고딕 (가독성) */
  font-family: var(--font-sans);
  color: var(--color-text);
  line-height: var(--lh-base);
  background: var(--color-bg);
}

/* index 제외 페이지는 고정 헤더만큼 본문을 아래로 내려 겹침 방지 */
body.page-sub {
  padding-top: var(--height-header);
}

/* 제목류 — 명조 (고급스러운 느낌) */
h1, h2, h3, h4,
.section-title,
.slide-caption h2,
.page-hero h1,
.logo-text,
.card-title {
  font-family: var(--font-serif);
}

img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }


/* =========================================
   LAYOUT CONTAINER
   ========================================= */
.container {
  max-width: var(--width-content);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

/* 모바일: 좌우 여백 3px */
@media (max-width: 768px) {
  .container { padding: 0 var(--mobile-margin); }
}


/* =========================================
   HEADER
   ========================================= */
.site-header {
  --nav-bg-color: rgba(14, 34, 68, 0.92);
  --nav-bg-filter: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--height-header);
  background-color: var(--nav-bg-color);
}

/* 전 페이지 공통 헤더 배경 */
.site-header {
  --nav-bg-color: #2a5298;
  background-color: var(--nav-bg-color);
}

/* index.php 전용: 히어로 위 투명 오버레이 */
.site-header.site-header--home {
  --nav-bg-color: rgba(0, 0, 0, 0.3);
  background-color: var(--nav-bg-color);
}

/* ── 3단 그리드: [로고] [메뉴] [전화] ── */
.header-inner {
  max-width: var(--width-header);
  margin: 0 auto;
  padding: 0 var(--sp-5);
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

/* 왼쪽 영역 */
.header-left {
  display: flex;
  align-items: center;
}

/* 오른쪽 영역 */
.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--sp-4);
}

/* 전화번호 */
.nav_phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-sans);
  font-size: calc(var(--fs-lg) * 1.5);
  font-weight: 600;
  white-space: nowrap;
}

.nav_phone:hover { color: #c30028; }

/* 로고 */
.logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.logo-image {
  display: block;
  height: var(--fs-lg);
  width: auto;
}

.logo-text {
  font-family: var(--font-sans);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: #fff;
  letter-spacing: -0.5px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.25);
}

/* =========================================
   MEGA NAV
   ========================================= */
.mega-nav { position: static; }

.nav-list {
  display: flex;
  justify-content: center;
  gap: 0;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  height: var(--height-header);
  padding: 0 22px;
  font-family: var(--font-sans);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  transition: color var(--transition-fast), text-shadow 0.25s ease;
}

.nav-item:hover .nav-link {
  color: #FFD700;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.9),
    0 0 20px rgba(255, 255, 255, 0.6),
    0 0 40px rgba(255, 255, 255, 0.3);
}

.nav-item.active .nav-link {
  color: #fff;
}

.nav-item.active .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-accent);   /* 골드 액센트 언더라인 */
  border-radius: 2px 2px 0 0;
}

/* 모바일 토글용 개별 패널 기본값 */
.mega-panel {
  display: none;
}

/* PC 통합 메가메뉴 패널 */
.mega-all-panel {
  display: block;
  position: fixed;
  top: var(--height-header);
  left: 0;
  right: 0;
  transform: translateY(-6px);
  width: 100%;
  background-color: var(--nav-bg-color);
  -webkit-backdrop-filter: var(--nav-bg-filter);
  backdrop-filter: var(--nav-bg-filter);
  border-top: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  border-radius: 0;
  min-height: 210px;
  padding: 18px 0 44px;
  z-index: 1005;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0s linear 0.22s;
}

.site-header.mega-open .mega-all-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0s;
}

.mega-all-grid {
  display: none;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  max-width: var(--width-header);
  margin: 0 auto;
  padding: 0 20px;
  gap: 14px 24px;
}

.mega-col-sub li a {
  display: block;
  padding: 5px 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.84);
  white-space: nowrap;
  transition: color 0.18s;
}

.mega-col-sub li a:hover {
  color: #fff;
}

/* 기존 개별 서브메뉴 텍스트 스타일 (모바일에서 사용) */
.mega-sub li a {
  display: block;
  padding: 13px 22px;
  font-size: calc(0.875rem + 2px);
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
}

.mega-sub li a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* 오버레이 */
.mega-overlay {
  display: none;
  position: fixed;
  inset: var(--height-header) 0 0 0;
  background: rgba(0,0,0,0.3);
  z-index: 990;
}

/* =========================================
   MOBILE MENU TOGGLE
   ========================================= */
.nav_toggleBtn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav_toggleBtn span {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}

/* 열린 상태 */
.nav_toggleBtn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav_toggleBtn.open span:nth-child(2) { opacity: 0; }
.nav_toggleBtn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (min-width: 901px) {
  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: var(--sp-6);
    max-width: none;
    width: 100%;
    padding: 0 clamp(8px, 2vw, 24px);
  }

  .header-left {
    justify-self: start;
  }

  .mega-nav {
    margin: 0;
    width: 100%;
  }

  .header-right {
    justify-self: end;
  }

  /* 데스크톱: 풀폭 배경 + 각 메인메뉴 아래 세로 서브메뉴 */
  .mega-panel {
    display: none;
    position: absolute;
    top: var(--height-header);
    left: 50%;
    transform: translateX(-50%);
    min-width: max-content;
    z-index: 1006;
    background: transparent;
    border: none;
    border-top: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    padding-top: 10px;
  }

  .site-header.mega-open .mega-panel {
    display: block;
  }

  .mega-sub li {
    text-align: center;
  }

  .mega-sub li a {
    display: inline-block;
    padding: 6px 0 5px;
    position: relative;
    background: transparent;
    text-decoration: none;
  }

  .mega-sub li a::after {
    content: '';
    position: absolute;
    left: -3px;
    bottom: 0;
    width: calc(100% + 6px);
    height: 1px;
    background: var(--ipark-red);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.24s ease;
  }

  .mega-sub li a:hover {
    background: transparent;
    color: #fff;
  }

  .mega-sub li a:hover::after,
  .mega-sub li a:focus-visible::after {
    transform: scaleX(1);
  }
}

@media (max-width: 900px) {
  /* 모바일: 3단 그리드 → 로고 + 오른쪽(전화+햄버거) */
  .nav_phone { display: none; }

  .logo-image {
    height: 1rem;
    width: auto;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  /* 중앙 메뉴는 fixed 패널로 전환되므로 grid에서 제외 */
  .mega-nav {
    grid-column: unset;
  }

.nav_toggleBtn { display: flex; }

  .mega-all-panel {
    display: none !important;
  }

  .mega-nav {
    position: fixed;
    top: var(--height-header); left: 0; right: 0; bottom: 0;
    background: rgba(14, 34, 68, 0.92);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    backdrop-filter: blur(24px) saturate(160%);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 998;
  }

  .mega-nav.open { transform: translateX(0); }

  .nav-list { flex-direction: column; }

  .nav-link {
    height: auto;
    padding: 16px 20px;
    color: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1rem;
  }

  .nav-item.active .nav-link::after { display: none; }

  /* 모바일: .active 일 때만 열기 (PC와 동일한 클래스 제어) */
  .mega-panel {
    display: none;
  }

  .mega-panel.active {
    display: block;
    position: static;
    transform: none;
    border: none;
    border-top: none;
    border-radius: 0;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .mega-sub li a { padding: 11px 36px; color: rgba(255,255,255,0.65); }
  .mega-sub li a:hover { background: rgba(255,255,255,0.08); color: #fff; }
}


/* =========================================
   PAGE HEADER (서브 페이지)
   ========================================= */
.page-hero {
  margin-top: 0;
  padding: 70px 20px 50px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  text-align: center;
  color: #fff;
}

@media (max-width: 768px) {
  .page-hero { padding: 52px 20px 36px; }
}

@media (max-width: 480px) {
  .page-hero { padding: 40px 16px 28px; }
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: var(--fw-bold);
  margin-bottom: 8px;
}

.page-hero p {
  font-size: 0.95rem;
  opacity: 0.8;
}

/* 브레드크럼 */
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 14px;
}

.breadcrumb span::after { content: ' >'; }
.breadcrumb span:last-child::after { content: ''; opacity: 1; font-weight: var(--fw-semibold); }


/* =========================================
   SECTION 공통
   ========================================= */
.section {
  padding: 80px 0;
}

.section:nth-child(even) { background: var(--color-bg-soft); }

@media (max-width: 768px) {
  .section { padding: 52px 0; }
}

@media (max-width: 480px) {
  .section { padding: 36px 0; }
}


/* =========================================
   이미지 공통 (서브페이지)
   ========================================= */
.content-img {
  width: 100%;
  max-width: 1000px;
  margin: 40px auto;
  display: block;
}

/* 이미지 상하 여백 넉넉하게 */
.img-wrap {
  margin: 50px auto;
  max-width: 1000px;
}

.img-wrap img {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .img-wrap    { margin: 32px auto; }
  .content-img { margin: 28px auto; }
}

@media (max-width: 480px) {
  .img-wrap    { margin: 20px auto; }
  .content-img { margin: 16px auto; }
}


/* =========================================
   GRID (카드 레이아웃)
   ========================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  backdrop-filter: blur(10px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s, background 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06),
              inset 0 1px 0 rgba(255,255,255,0.85);
}

.card:hover {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 50px rgba(26, 58, 110, 0.12),
              inset 0 1px 0 rgba(255,255,255,1);
  transform: translateY(-4px);
}

.card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.card-body { padding: 22px; }

.card-title {
  font-size: 1.05rem;
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  margin-bottom: 8px;
}

.card-text { font-size: 0.875rem; color: var(--color-text-muted); }


/* =========================================
   TABLE
   ========================================= */
.info-table {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.info-table th,
.info-table td {
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  text-align: left;
}

.info-table th {
  background: var(--color-primary);
  color: #fff;
  font-weight: var(--fw-semibold);
  white-space: nowrap;
}

.info-table tr:nth-child(even) td { background: var(--color-bg-soft); }

@media (max-width: 600px) {
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td {
    display: block;
    width: 100%;
  }
  .info-table th { background: var(--color-primary-light); }
  .info-table td { border-top: none; }
}


/* =========================================
   FORM (방문예약)
   ========================================= */
.form-wrap {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: var(--fw-semibold);
  color: #444;
  margin-bottom: 7px;
}

.form-group label .required { color: var(--color-error); margin-left: 2px; }

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #ccc;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
}

textarea.form-control { min-height: 120px; resize: vertical; }

.form-row {
  display: flex;
  gap: 12px;
}
.form-row .form-control {
  flex: 1;
}

.form-privacy {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.form-privacy-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 0.8rem;
}
.form-privacy-table th,
.form-privacy-table td {
  border: 1px solid var(--color-border);
  padding: 7px 10px;
  text-align: center;
}
.form-privacy-table th {
  background: rgba(0,0,0,0.04);
  font-weight: 600;
}

.btn-submit {
  display: block;
  width: 100%;
  padding: 15px;
  background: var(--color-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: var(--fw-bold);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  letter-spacing: 1px;
  transition: background var(--transition-base);
}

.btn-submit:hover { background: var(--color-primary-light); }

/* 오류 메시지 */
.form-error {
  max-width: 700px;
  margin: 0 auto var(--sp-5);
  color: var(--color-error);
  background: #fff3f3;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid #f5c6cb;
  font-size: var(--fs-sm);
}

/* 체크박스 동의 행 */
.form-check-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-check-input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.form-check-label {
  font-size: var(--fs-sm);
  margin: 0;
  cursor: pointer;
}

@media (max-width: 768px) {
  .form-wrap { padding: 24px 12px; }
}


/* =========================================
   VIDEO (홍보)
   ========================================= */
.video-wrap {
  max-width: 1000px;
  margin: 0 auto 60px;
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.video-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}


/* =========================================
   GALLERY
   ========================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform 0.3s;
  cursor: pointer;
}

.gallery-item img:hover { transform: scale(1.03); }

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}


/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.65);
  padding: 50px 0 30px;
  margin-top: 0;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: var(--fw-bold);
  color: #fff;
  margin-bottom: 14px;
}

.footer-info p { font-size: 0.8rem; margin-bottom: 5px; }

.footer-notice {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.75rem;
  line-height: 1.8;
}

.footer-copy {
  margin-top: 20px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

@media (max-width: 768px) {
  .footer-inner { padding: 0 var(--mobile-margin); }
  .site-footer  { padding: 40px 0 24px; }
}


/* =========================================
   FLOATING CTA
   ========================================= */
.float-cta {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  /* ── Liquid Glass circle ── */
  background: rgba(26, 58, 110, 0.68);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 0.65rem;
  font-weight: var(--fw-semibold);
  text-align: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22),
              inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: background var(--transition-base), transform 0.2s, box-shadow 0.2s;
}

.float-btn:hover {
  background: rgba(42, 82, 152, 0.80);
  -webkit-backdrop-filter: blur(22px) saturate(200%);
  backdrop-filter: blur(22px) saturate(200%);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28),
              inset 0 1px 0 rgba(255, 255, 255, 0.45);
  color: #fff;
}

.float-btn .icon { font-size: 1.3rem; margin-bottom: 2px; }

@media (max-width: 768px) {
  .float-cta { right: 10px; bottom: 20px; }
  .float-btn { width: 50px; height: 50px; font-size: 0.6rem; }
}


/* =========================================
   UTIL
   ========================================= */
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-accent  { color: var(--color-accent); }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }


/* =========================================
   SECTION 변형
   ========================================= */
/* 홀짝 자동 배경이 맞지 않을 때 명시적으로 사용 */
.section--alt { background: var(--color-bg-soft); }


/* =========================================
   SUBSECTION TITLE (섹션 내 소제목 h3)
   ========================================= */
.subsection-title {
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  color: var(--color-primary);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-2);
  border-bottom: 2px solid var(--color-border);
}


/* =========================================
   INFO-TABLE 유틸
   ========================================= */
.info-table--mb { margin-bottom: var(--sp-10); }
.info-table--mt { margin-top: var(--sp-3); }


/* =========================================
   TABLE 유틸 클래스
   ========================================= */
/* 셀 오른쪽 정렬 */
.table .td-right,
.table .th-right { text-align: right; }

/* 들여쓰기 (토지이용계획 소항목) */
.table .td-indent { padding-left: 1.8em; color: var(--color-text); }

/* 합계 행 */
.table .tr-total td,
.table .tr-total td:first-child {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
  font-weight: var(--fw-semibold);
  border-color: rgba(255,255,255,0.15);
}

/* 테이블 하단 주석 */
.table-note {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-top: var(--sp-2);
}


/* =========================================
   UNIT TABS (평면도 탭)
   ========================================= */
.unit-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: center;
  margin-bottom: var(--sp-8);
}

.unit-tab-btn {
  padding: 10px 28px;
  border: 2px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  cursor: pointer;
  transition: all 0.2s;
}

.unit-tab-btn.active,
.unit-tab-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.unit-tab-panel          { display: none; text-align: center; }
.unit-tab-panel.active   { display: block; }

.plan-img {
  max-width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}


/* =========================================
   SUB-TABS (84㎡ A·B·C 서브탭)
   ========================================= */
.sub-tab-group {
  display: flex;
  gap: 8px;
  margin: var(--sp-3) 0 var(--sp-2);
}

.sub-tab-btn {
  flex: 1;
  padding: 6px 0;
  border: 2px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text);
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  cursor: pointer;
  transition: all 0.2s;
}

.sub-tab-btn.active,
.sub-tab-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.sub-tab-panel        { display: none; }
.sub-tab-panel.active { display: block; }

/* 카드 타이틀 내 보조 텍스트 */
.card-title-sub {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  font-weight: var(--fw-regular);
}


/* =========================================
   FORM SUCCESS (방문예약 제출 완료)
   ========================================= */
.form-success {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 20px;
  background: #f0f4ff;
  border-radius: var(--radius-lg);
  border: 1px solid #c5d5f5;
}

.form-success__icon  { font-size: 2rem; margin-bottom: var(--sp-4); }
.form-success__title { font-size: var(--fs-lg); color: var(--color-primary); margin-bottom: 10px; font-weight: var(--fw-semibold); }
.form-success__text  { color: #666; font-size: 0.95rem; line-height: var(--lh-base); }

.form-success__btn {
  display: inline-block;
  margin-top: var(--sp-8);
  padding: 12px 32px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-weight: var(--fw-semibold);
  transition: background var(--transition-base);
}

.form-success__btn:hover { background: var(--color-primary-light); }

/* 전화번호 링크 */
.tel-link {
  color: var(--color-primary);
  font-weight: var(--fw-semibold);
}
