/* ============================================
   HQ BILLIARD — Main Stylesheet
   Color: #8A7355 (warm brown) + #1C1A17 (charcoal) + off-white
   Font: Noto Sans KR + Cormorant Garamond
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --brown:       #8A7355;
  --brown-light: #A8956F;
  --brown-dark:  #6B5940;
  --charcoal:    #1C1A17;
  --off-white:   #FAF8F5;
  --warm-sand:   #F0ECE4;
  --border:      #E5DCC8;
  --text:        #2B2B2B;
  --text-muted:  #7A7A7A;
  --white:       #FFFFFF;
  --red:         #C83232;

  --font-body:    'Noto Sans KR', sans-serif;
  --font-heading: 'Cormorant Garamond', 'Noto Serif KR', Georgia, serif;

  --header-h: 72px;
  --container: 1200px;
  --radius:    12px;
  --transition: .25s ease;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--off-white);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* --- Utility --- */
.section-label {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 8px;
}
.section-label-center {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--brown);
  text-align: center;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.3;
}
.section-title-center {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.3;
  text-align: center;
}
.section-sub {
  color: var(--text-muted);
  font-size: 15px;
  margin-top: 8px;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: var(--brown);
  color: var(--white);
  font-size: 15px; font-weight: 500;
  border-radius: 6px;
  transition: background var(--transition);
}
.btn-primary:hover { background: var(--brown-dark); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px;
  border: 1.5px solid var(--brown);
  color: var(--brown);
  font-size: 15px; font-weight: 500;
  border-radius: 6px;
  transition: all var(--transition);
}
.btn-outline:hover { background: var(--brown); color: var(--white); }
.btn-text {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--brown);
  font-size: 14px; font-weight: 500;
  transition: gap var(--transition);
}
.btn-text:hover { gap: 8px; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.06); }
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 40px; height: 40px;
  background: var(--charcoal);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brown-light);
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 700;
  letter-spacing: 1px;
}
.logo-text { font-size: 16px; font-weight: 600; color: var(--charcoal); letter-spacing: 1px; }
.logo-text small { display: block; font-size: 10px; font-weight: 400; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; }

.gnb { display: flex; gap: 32px; }
.gnb a {
  font-size: 14px; font-weight: 500; color: var(--text);
  padding: 8px 0;
  position: relative;
  transition: color var(--transition);
}
.gnb a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--brown); transition: width var(--transition);
}
.gnb a:hover, .gnb a.active { color: var(--brown); }
.gnb a:hover::after, .gnb a.active::after { width: 100%; }

.header-cta {
  padding: 10px 20px;
  background: var(--brown);
  color: var(--white);
  font-size: 13px; font-weight: 500;
  border-radius: 5px;
  transition: background var(--transition);
}
.header-cta:hover { background: var(--brown-dark); }

.hamburger { display: none; width: 28px; height: 20px; flex-direction: column; justify-content: space-between; }
.hamburger span { display: block; width: 100%; height: 2px; background: var(--charcoal); transition: all var(--transition); }

/* ============================================
   HERO
   ============================================ */
.hero {
  margin-top: var(--header-h);
  position: relative;
  height: calc(100vh - var(--header-h));
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  background: var(--charcoal);
}
.hero-slide {
  position: absolute; inset: 0;
  display: flex;
  opacity: 0;
  transition: opacity .8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-text {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 60px 80px;
  background: var(--off-white);
  position: relative; z-index: 2;
}
.hero-headline {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--charcoal);
}
.hero-headline em {
  font-style: normal;
  color: var(--brown);
}
.hero-sub {
  margin-top: 16px;
  font-size: 15px;
  color: var(--text-muted);
  letter-spacing: 1px;
}
.hero-body {
  margin-top: 12px;
  font-size: 15px;
  color: var(--text);
  max-width: 440px;
  line-height: 1.8;
}
.hero-buttons {
  display: flex; gap: 12px;
  margin-top: 32px;
}
.hero-image {
  flex: 1.2;
  position: relative;
  overflow: hidden;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-image .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--off-white) 0%, transparent 15%);
}

.hero-nav {
  position: absolute; bottom: 40px; left: 80px; z-index: 10;
  display: flex; align-items: center; gap: 20px;
}
.hero-nav button {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 18px;
  transition: all var(--transition);
  background: var(--white);
}
.hero-nav button:hover { border-color: var(--brown); color: var(--brown); }
.hero-dots { display: flex; gap: 8px; }
.hero-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all var(--transition);
}
.hero-dots span.active {
  width: 28px; border-radius: 4px;
  background: var(--brown);
}

/* ============================================
   CORE VALUES (6 icons) — circular outlined
   ============================================ */
.values {
  padding: 60px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.value-item {
  text-align: center;
  padding: 24px 12px;
  border-right: 1px solid var(--border);
}
.value-item:last-child { border-right: none; }
.value-icon {
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  color: var(--brown);
  display: flex; align-items: center; justify-content: center;
}
.value-icon svg { width: 64px; height: 64px; }
.value-title { font-size: 14px; font-weight: 600; color: var(--charcoal); margin-bottom: 6px; }
.value-desc { font-size: 12px; color: var(--text-muted); line-height: 1.6; }

/* ============================================
   GALLERY (HQ BILLIARD GALLERY)
   ============================================ */
.gallery-preview {
  padding: 80px 0;
  background: var(--white);
}
.gallery-header {
  margin-bottom: 40px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--charcoal);
}
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-card:hover img { transform: scale(1.05); }
.gallery-card-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
  color: var(--white);
}
.gallery-card-info h4 { font-size: 15px; font-weight: 600; }
.gallery-card-info p { font-size: 12px; color: rgba(255,255,255,.7); margin-top: 2px; }
.gallery-more {
  text-align: center;
  margin-top: 32px;
}

/* ============================================
   STATISTICS (dark background)
   ============================================ */
.stats {
  padding: 48px 0;
  background: var(--charcoal);
}
.stats-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}
.stats-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  padding-right: 48px;
  border-right: 1px solid rgba(255,255,255,.15);
}
.stats-logo-icon {
  width: 56px; height: 56px;
  border: 2px solid var(--brown-light);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brown-light);
  font-family: var(--font-heading);
  font-size: 22px; font-weight: 700;
  letter-spacing: 1px;
}
.stats-logo-text {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.3;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  flex: 1;
}
.stat-item {
  text-align: center;
  padding: 16px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }
.stat-label { font-size: 12px; color: rgba(255,255,255,.5); margin-bottom: 8px; }
.stat-value {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}
.stat-unit { font-size: 13px; color: rgba(255,255,255,.4); margin-top: 6px; }

/* ============================================
   CLUB INTRODUCTION
   ============================================ */
.intro {
  padding: 100px 0;
  background: var(--off-white);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.intro-label { font-family: var(--font-heading); font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--brown); margin-bottom: 12px; }
.intro-title { font-family: var(--font-heading); font-size: 40px; font-weight: 600; color: var(--charcoal); line-height: 1.25; }
.intro-body { margin-top: 16px; color: var(--text); line-height: 1.8; }
.intro-checks {
  margin-top: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.intro-checks li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--text);
}
.intro-checks li::before {
  content: ''; display: block; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brown); flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M8.5 13.3 5 9.8l1.2-1.2 2.3 2.3 5-5L14.8 7z'/%3E%3C/svg%3E");
}

.intro-image-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--charcoal);
}
.intro-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.intro-image-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 12px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  padding: 16px 28px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.2);
}
.intro-badge-icon {
  width: 48px; height: 48px;
  border: 2px solid var(--brown-light);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brown-light);
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 700;
}
.intro-badge-text {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.3;
}

/* ============================================
   VIDEO GALLERY (YouTube integration)
   ============================================ */
.videos {
  padding: 80px 0;
  background: var(--off-white);
}
.videos-header {
  text-align: center;
  margin-bottom: 40px;
}
.videos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.video-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.video-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--charcoal);
  overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity var(--transition); }
.video-card:hover .video-thumb img { opacity: 1; }
.video-thumb .play-icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition);
}
.video-card:hover .play-icon { transform: translate(-50%, -50%) scale(1.1); }
.video-info { padding: 14px 16px; }
.video-info h4 { font-size: 14px; font-weight: 600; color: var(--charcoal); }
.video-info p { font-size: 12px; color: var(--text-muted); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.videos-more { text-align: center; margin-top: 36px; }

/* ============================================
   YouTube Modal
   ============================================ */
.yt-modal {
  position: fixed; inset: 0;
  z-index: 3000;
  display: flex; align-items: center; justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: all .3s ease;
}
.yt-modal.open { visibility: visible; opacity: 1; }
.yt-modal-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.8);
}
.yt-modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  z-index: 1;
  transform: scale(.9);
  transition: transform .3s ease;
}
.yt-modal.open .yt-modal-content { transform: scale(1); }
.yt-modal-close {
  position: absolute; top: -40px; right: 0;
  color: var(--white);
  font-size: 28px;
  padding: 4px 8px;
  z-index: 2;
}
.yt-modal-close:hover { color: var(--brown-light); }
.yt-modal-player {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.yt-modal-player iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
}

/* ============================================
   MEMBERSHIP BANNER
   ============================================ */
.membership {
  padding: 60px 0;
  background: var(--white);
}
.membership-card {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 48px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.membership-badge {
  flex-shrink: 0;
  width: 100px; height: 100px;
  background: var(--charcoal);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--brown-light);
  font-family: var(--font-heading);
  font-size: 24px; font-weight: 700;
}
.membership-content { flex: 1; }
.membership-content h3 {
  font-family: var(--font-heading);
  font-size: 28px; font-weight: 600; color: var(--charcoal);
}
.membership-perks {
  display: flex; gap: 24px; margin-top: 12px;
}
.membership-perks li {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--text);
}
.membership-perks li::before {
  content: ''; display: block; width: 6px; height: 6px;
  background: var(--brown); border-radius: 50%;
}

/* ============================================
   CONSULT FORM + MAP
   ============================================ */
.consult {
  padding: 80px 0;
  background: var(--off-white);
}
.consult-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.consult-form { background: var(--white); padding: 40px; border-radius: var(--radius); border: 1px solid var(--border); }
.consult-form h3 { font-family: var(--font-heading); font-size: 28px; font-weight: 600; color: var(--charcoal); margin-bottom: 8px; }
.consult-form p { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }

.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--off-white);
  transition: border-color var(--transition);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--brown);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-row-inline { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-check {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-muted);
  margin-top: 8px;
}
.form-check input[type="checkbox"] { accent-color: var(--brown); }
.form-submit {
  width: 100%;
  padding: 16px;
  margin-top: 20px;
  background: var(--brown);
  color: var(--white);
  font-size: 16px; font-weight: 600;
  border-radius: 6px;
  transition: background var(--transition);
}
.form-submit:hover { background: var(--brown-dark); }

.consult-map { display: flex; flex-direction: column; gap: 20px; }
.map-placeholder {
  flex: 1;
  background: var(--warm-sand);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  min-height: 300px;
}
.map-info { padding: 20px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); }
.map-info h4 { font-size: 16px; font-weight: 600; color: var(--charcoal); margin-bottom: 8px; }
.map-info p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.map-info p strong { color: var(--text); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: 60px 0 0;
  background: var(--charcoal);
  color: rgba(255,255,255,.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .footer-logo {
  font-size: 18px; font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.footer-logo-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px;
  color: var(--brown-light);
  font-family: var(--font-heading);
  font-size: 14px; font-weight: 700;
}
.footer-brand p { font-size: 13px; line-height: 1.7; }
.footer-sns {
  display: flex; gap: 12px; margin-top: 16px;
}
.footer-sns a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: 14px;
  transition: all var(--transition);
}
.footer-sns a:hover { border-color: var(--brown-light); color: var(--brown-light); }

.footer-links h4 {
  font-size: 14px; font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }

.footer-contact h4 { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 16px; }
.footer-contact .phone {
  font-family: var(--font-heading);
  font-size: 28px; font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-contact p { font-size: 13px; line-height: 1.7; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0;
  font-size: 12px;
}
.footer-bottom a { margin-left: 16px; transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* ============================================
   QUICK MENU (right rail)
   ============================================ */
.quick-menu {
  position: fixed; right: 0; top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 8px 0 0 8px;
  box-shadow: -2px 0 12px rgba(0,0,0,.06);
  overflow: hidden;
}
.quick-menu-label {
  padding: 12px 14px;
  text-align: center;
  font-size: 12px; font-weight: 600;
  background: var(--brown);
  color: var(--white);
  line-height: 1.3;
}
.quick-menu a {
  display: flex; flex-direction: column; align-items: center;
  padding: 12px 14px;
  font-size: 11px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
  gap: 4px;
  min-width: 72px;
}
.quick-menu a:last-child { border-bottom: none; }
.quick-menu a:hover { background: var(--off-white); color: var(--brown); }
.quick-menu .qm-icon { font-size: 18px; }
.quick-menu .qm-top {
  background: var(--charcoal);
  color: rgba(255,255,255,.7);
}
.quick-menu .qm-top:hover { color: var(--white); }

/* ============================================
   MOBILE BOTTOM BAR
   ============================================ */
.mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  z-index: 1000;
  padding: 8px 0 env(safe-area-inset-bottom, 0);
}
.mobile-bar-inner {
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px;
  font-size: 11px; color: var(--text-muted);
}
.mobile-bar a.highlight {
  background: var(--brown); color: var(--white);
  border-radius: 8px;
  margin: 0 4px;
}
.mobile-bar .mb-icon { font-size: 20px; }

/* ============================================
   MOBILE MENU DRAWER
   ============================================ */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 2000;
  visibility: hidden;
  opacity: 0;
  transition: all .3s ease;
}
.mobile-menu.open { visibility: visible; opacity: 1; }
.mobile-menu-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.5);
}
.mobile-menu-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 300px;
  background: var(--white);
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
  padding: 24px;
}
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-close {
  display: flex; justify-content: flex-end;
  margin-bottom: 24px;
  font-size: 24px; color: var(--text);
}
.mobile-menu-nav a {
  display: block;
  padding: 14px 0;
  font-size: 16px; font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-menu-cta {
  margin-top: 24px;
  display: flex; flex-direction: column; gap: 12px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet landscape */
@media (max-width: 1199px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .value-item:nth-child(3) { border-right: none; }
  .value-item:nth-child(-n+3) { border-bottom: 1px solid var(--border); }
  .videos-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .quick-menu { display: none; }
  .stats-inner { gap: 32px; }
  .stats-logo { padding-right: 32px; }
}

/* Tablet portrait */
@media (max-width: 991px) {
  .gnb { gap: 20px; }
  .gnb a { font-size: 13px; }
  .hero-text { padding: 40px 48px; }
  .hero-headline { font-size: 42px; }
  .intro-grid { gap: 40px; }
  .intro-title { font-size: 34px; }
  .gallery-grid { gap: 12px; }
  .stats-logo { display: none; }
  .consult-grid { gap: 32px; }
}

/* Mobile */
@media (max-width: 767px) {
  :root { --header-h: 60px; }
  body { font-size: 14px; padding-bottom: 64px; }

  .gnb, .header-cta { display: none; }
  .hamburger { display: flex; }

  .hero { min-height: 500px; max-height: 700px; }
  .hero-slide { flex-direction: column; }
  .hero-text { padding: 32px 24px; flex: none; }
  .hero-headline { font-size: 32px; }
  .hero-image { flex: 1; }
  .hero-nav { left: 24px; bottom: 24px; }

  .values { padding: 40px 0; }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .value-item { padding: 16px 8px; border-right: none; border-bottom: 1px solid var(--border); }
  .value-item:nth-child(3n) { border-right: none; }
  .value-item:nth-last-child(-n+3) { border-bottom: none; }
  .value-icon { width: 48px; height: 48px; margin-bottom: 10px; }
  .value-icon svg { width: 48px; height: 48px; }
  .value-title { font-size: 12px; }
  .value-desc { font-size: 11px; }

  .gallery-preview { padding: 48px 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery-card { aspect-ratio: 3/2; }
  .section-title-center { font-size: 24px; }

  .stats { padding: 32px 0; }
  .stats-logo { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; padding: 12px 8px; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat-value { font-size: 32px; }

  .intro { padding: 60px 0; }
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .intro-title { font-size: 30px; }

  .videos { padding: 48px 0; }
  .videos-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .video-info { padding: 10px 12px; }
  .video-info h4 { font-size: 13px; }

  .membership { padding: 40px 0; }
  .membership-card { flex-direction: column; text-align: center; padding: 32px 24px; }
  .membership-perks { flex-direction: column; align-items: center; }

  .consult { padding: 48px 0; }
  .consult-grid { grid-template-columns: 1fr; }

  .section-title { font-size: 28px; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .quick-menu { display: none; }
  .mobile-bar { display: block; }

  .yt-modal-content { width: 95%; }
  .yt-modal-close { top: -36px; font-size: 24px; }
}

/* Small mobile */
@media (max-width: 479px) {
  .hero-headline { font-size: 26px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline { width: 100%; justify-content: center; }

  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .value-item:nth-child(2n) { border-right: none; }
  .value-item:nth-last-child(-n+2) { border-bottom: none; }

  .gallery-grid { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr; }

  .form-row-inline { grid-template-columns: 1fr; }
}
