/* ==========================================================================
   HongTteokBang Premium UI Stylesheet (style.css)
   ========================================================================== */

@import url('tokens.css');

/* Global Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--background-color);
  color: var(--text-color);
  letter-spacing: var(--letter-spacing);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease-custom);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.card {
  border-radius: var(--border-radius-card) !important;
}

/* Button & Tab Pill Custom Styles */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--border-radius-pill);
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-speed) var(--ease-custom);
  letter-spacing: var(--letter-spacing);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #b71c1c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(211, 47, 47, 0.25);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-color);
}

.btn-secondary:hover {
  background-color: #ffb300;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 193, 7, 0.25);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

/* Section Common Header */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 16px;
  color: var(--text-color);
}

.section-header p {
  font-size: 18px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: rgba(211, 47, 47, 0.1);
  color: var(--primary-color);
  border-radius: var(--border-radius-pill);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* ==========================================================================
   Header (GNB - Glassmorphism)
   ========================================================================== */
.glass-gnb {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 253, 251, 0.85);
  border-bottom: 1px solid rgba(211, 47, 47, 0.08);
  z-index: 1000;
  transition: all 0.3s var(--ease-custom);
}

.glass-gnb.scrolled {
  height: 70px;
  background: rgba(255, 253, 251, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.glass-gnb .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-color);
}

.logo img {
  height: 40px;
}

.gnb-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.gnb-menu a {
  font-size: 16px;
  font-weight: 600;
  position: relative;
  padding: 8px 0;
}

.gnb-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: var(--primary-color);
  transition: all 0.3s var(--ease-custom);
  transform: translateX(-50%);
  border-radius: var(--border-radius-pill);
}

.gnb-menu a:hover::after,
.gnb-menu a.active::after {
  width: 100%;
}

.gnb-menu a:hover,
.gnb-menu a.active {
  color: var(--primary-color);
}

.gnb-btn {
  margin-left: 20px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-color);
}

/* Mobile GNB Overlay Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background-color: var(--background-color);
  z-index: 1001;
  padding: 40px 24px;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  transition: right 0.4s var(--ease-custom);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-color);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 24px;
}

.mobile-menu a {
  font-size: 18px;
  font-weight: 700;
  display: block;
  padding: 8px 0;
}

.mobile-menu a:hover {
  color: var(--primary-color);
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  transition: all 0.3s ease;
}

.nav-overlay.visible {
  opacity: 1;
  visibility: visible;
}


/* ==========================================================================
   Hero Slider
   ========================================================================== */
.hero-slider-container {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: #000;
}

.hero-slider {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.hero-slide {
  width: 33.3333%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Semi-transparent gradient overlay for text legibility */
.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%),
              linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 40%);
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 55%;
  left: 10%;
  transform: translateY(-50%);
  z-index: 2;
  color: var(--white);
  max-width: 650px;
  opacity: 0;
  animation: heroTextFadeIn 1s 0.3s forwards;
}

@keyframes heroTextFadeIn {
  to {
    opacity: 1;
    top: 50%;
  }
}

.hero-content .badge {
  background-color: var(--secondary-color);
  color: var(--text-color);
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: 56px;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-content p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-btns {
  display: flex;
  gap: 16px;
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s var(--ease-custom);
}

.slider-arrow:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.slider-arrow.prev {
  left: 32px;
}

.slider-arrow.next {
  right: 32px;
}

.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s var(--ease-custom);
}

.slider-dot.active {
  background: var(--primary-color);
  width: 32px;
  border-radius: var(--border-radius-pill);
}


/* ==========================================================================
   Section Fade-in Animation (Intersection Observer Styles)
   ========================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-custom), transform 0.8s var(--ease-custom);
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }


/* ==========================================================================
   Brand Story (Counters)
   ========================================================================== */
.section-padding {
  padding: 100px 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-text h3 {
  font-size: 32px;
  margin-bottom: 24px;
  color: var(--primary-color);
}

.story-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.counter-card {
  background: var(--white);
  border-radius: var(--border-radius-card);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(211, 47, 47, 0.03);
  transition: all 0.3s var(--ease-custom);
}

.counter-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.counter-card .material-icons {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.counter-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 6px;
}

.counter-label {
  font-size: 14px;
  color: #777;
  font-weight: 600;
}

.story-image-wrap {
  position: relative;
}

.story-image-wrap img {
  border-radius: var(--border-radius-card);
  box-shadow: var(--box-shadow);
}


/* ==========================================================================
   Interior Gallery (3 Columns + Hover zoom & mask)
   ========================================================================== */
.interior-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.interior-card {
  position: relative;
  border-radius: var(--border-radius-card);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  height: 400px;
  cursor: pointer;
}

.interior-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-custom);
}

.interior-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(211, 47, 47, 0.85); /* Red tinted overlay */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  padding: 30px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s var(--ease-custom);
  z-index: 2;
}

.interior-card:nth-child(even) .interior-overlay {
  background: rgba(255, 193, 7, 0.9); /* Gold tinted overlay */
  color: var(--text-color);
}

.interior-overlay-content {
  transform: translateY(20px);
  transition: transform 0.5s var(--ease-custom);
}

.interior-overlay h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.interior-overlay p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.9;
}

.interior-card:hover .interior-img {
  transform: scale(1.08);
}

.interior-card:hover .interior-overlay {
  opacity: 1;
}

.interior-card:hover .interior-overlay-content {
  transform: translateY(0);
}


/* ==========================================================================
   Franchise Benefits
   ========================================================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--border-radius-card);
  padding: 40px 30px;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(211, 47, 47, 0.02);
  transition: all 0.4s var(--ease-custom);
  display: flex;
  flex-direction: column;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-hover);
  border-color: rgba(211, 47, 47, 0.1);
}

.benefit-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(211, 47, 47, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.benefit-icon-circle .material-icons {
  font-size: 30px;
  color: var(--primary-color);
}

.benefit-card:nth-child(even) .benefit-icon-circle {
  background-color: rgba(255, 193, 7, 0.15);
}

.benefit-card:nth-child(even) .benefit-icon-circle .material-icons {
  color: #d89b00;
}

.benefit-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--text-color);
}

.benefit-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
}


/* ==========================================================================
   AJAX Menu Tabs
   ========================================================================== */
.menu-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  overflow-x: auto;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}

.menu-tabs {
  display: flex;
  gap: 12px;
  list-style: none;
}

.tab-pill {
  padding: 12px 24px;
  border-radius: var(--border-radius-pill);
  background: var(--white);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s var(--ease-custom);
  white-space: nowrap;
}

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

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  min-height: 350px;
  transition: opacity 0.3s ease;
}

.menu-card {
  background: var(--white);
  border-radius: var(--border-radius-card);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(211, 47, 47, 0.02);
  transition: all 0.3s var(--ease-custom);
  display: flex;
  flex-direction: column;
}

.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.menu-img-wrap {
  position: relative;
  height: 220px;
  background-color: #f9f9f9;
  overflow: hidden;
}

.menu-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-card:hover .menu-img-wrap img {
  transform: scale(1.05);
}

.menu-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.menu-info h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text-color);
}

.menu-info p {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.menu-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f5f5f5;
  padding-top: 16px;
}

.menu-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-color);
}


/* ==========================================================================
   Interview / Success Stories
   ========================================================================== */
.interview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.interview-card {
  background: var(--white);
  border-radius: var(--border-radius-card);
  padding: 40px 30px;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(211, 47, 47, 0.03);
  position: relative;
  transition: all 0.3s var(--ease-custom);
}

.interview-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--box-shadow-hover);
}

.interview-quote-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 48px;
  color: rgba(211, 47, 47, 0.08);
}

.interview-owner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.interview-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(211, 47, 47, 0.1);
}

.interview-meta h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.interview-meta p {
  font-size: 14px;
  color: #888;
}

.interview-sales {
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.08) 0%, rgba(255, 193, 7, 0.12) 100%);
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.interview-sales-title {
  font-size: 12px;
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.interview-sales-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-color);
}

.interview-card p.content {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}


/* ==========================================================================
   Franchise Opening Process (Timeline)
   ========================================================================== */
.timeline-wrap {
  position: relative;
  margin-top: 60px;
}

.timeline-line {
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(211, 47, 47, 0.1);
  z-index: 1;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.timeline-step {
  text-align: center;
}

.timeline-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--white);
  border: 3px solid rgba(211, 47, 47, 0.2);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  margin: 0 auto 20px auto;
  transition: all 0.3s var(--ease-custom);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.timeline-step:hover .timeline-badge {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  transform: scale(1.1);
}

.timeline-step h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-color);
}

.timeline-step p {
  font-size: 13px;
  line-height: 1.5;
  color: #777;
}


/* ==========================================================================
   Cost Simulator Section & SVG Ring Chart
   ========================================================================== */
.cost-sim-card {
  background-color: var(--white);
  border-radius: var(--border-radius-card);
  padding: 48px;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(211, 47, 47, 0.03);
}

.sim-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.sim-tabs {
  display: flex;
  background-color: #f5f5f5;
  padding: 6px;
  border-radius: var(--border-radius-pill);
  gap: 6px;
  width: 100%;
  max-width: 600px;
}

.sim-tab {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--border-radius-pill);
  background: transparent;
  border: none;
  font-weight: 700;
  font-size: 16px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s var(--ease-custom);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sim-tab.active {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 6px 15px rgba(211, 47, 47, 0.2);
}

.sim-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.sim-table-wrap {
  overflow-x: auto;
}

.sim-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.sim-table th, .sim-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #eeeeee;
  font-size: 15px;
}

.sim-table th {
  font-weight: 700;
  color: #777;
  background-color: #fcfcfc;
}

.sim-table td {
  color: var(--text-color);
}

.sim-table td.cost-val {
  font-weight: 700;
  text-align: right;
}

.sim-table tr.total-row th,
.sim-table tr.total-row td {
  border-bottom: 2px solid var(--primary-color);
  font-size: 18px;
  background-color: rgba(211, 47, 47, 0.02);
}

.sim-table tr.total-row td.cost-val {
  color: var(--primary-color);
  font-size: 22px;
  font-weight: 800;
}

.sim-chart-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Donut Chart with Exact Absolute Positioning (Fix alignment issues) */
.donut-container {
  position: relative;
  width: 280px;
  height: 280px;
  margin-bottom: 20px;
}

.donut-svg {
  width: 100%;
  height: 100%;
  /* No rotate transform inline or inside SVG. Standardized alignment. */
}

.donut-segment {
  transform-origin: center;
  transition: stroke-dashoffset 0.6s var(--ease-custom), stroke-dasharray 0.6s var(--ease-custom);
  stroke-linecap: round;
}

.donut-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 80%;
  pointer-events: none;
}

.donut-total-lbl {
  font-size: 13px;
  color: #777;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.donut-total-val {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-color);
}

.chart-legends {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-top: 16px;
  width: 100%;
  max-width: 320px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}


/* ==========================================================================
   Kakao Map Section
   ========================================================================== */
.map-wrap {
  position: relative;
  border-radius: var(--border-radius-card);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(211, 47, 47, 0.05);
}

#kakao-map-container {
  width: 100%;
  height: 480px;
  background-color: #eaeaea;
}

/* Custom overlay style for Kakao Map */
.custom-overlay-wrap {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  background-color: var(--white);
  border-radius: var(--border-radius-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--primary-color); /* Premium Red Top Border */
  z-index: 10;
  padding: 20px;
}

.custom-overlay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.custom-overlay-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-color);
}

.custom-overlay-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}

.custom-overlay-close:hover {
  color: var(--primary-color);
}

.custom-overlay-body {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.custom-overlay-info {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.custom-overlay-info:last-child {
  margin-bottom: 0;
}

.custom-overlay-info .material-icons {
  font-size: 16px;
  color: var(--primary-color);
  margin-top: 3px;
}


/* ==========================================================================
   FAQ Section (slideToggle accordion)
   ========================================================================== */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--border-radius-card);
  margin-bottom: 16px;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(211, 47, 47, 0.02);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(211, 47, 47, 0.1);
}

.faq-question {
  width: 100%;
  padding: 24px 30px;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  outline: none;
}

.faq-q-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-color);
  padding-right: 20px;
  line-height: 1.4;
}

.faq-arrow {
  color: var(--primary-color);
  transition: transform 0.4s var(--ease-custom);
  flex-shrink: 0;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none; /* Controlled via jQuery slideToggle */
  padding: 0 30px 24px 30px;
  border-top: 1px solid #f7f7f7;
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  background-color: #fafafa;
}


/* ==========================================================================
   Inquiries Contact Form (Lead Form)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: flex-start;
}

.contact-info-card {
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: var(--border-radius-card);
  padding: 40px;
  box-shadow: var(--box-shadow);
}

.contact-info-card h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.contact-info-card p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 30px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-channel-item .material-icons {
  font-size: 28px;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 12px;
  border-radius: 50%;
}

.contact-channel-meta h4 {
  font-size: 14px;
  opacity: 0.8;
  font-weight: 500;
}

.contact-channel-meta p {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0;
  opacity: 1;
}

.contact-form-card {
  background-color: var(--white);
  border-radius: var(--border-radius-card);
  padding: 40px;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(211, 47, 47, 0.03);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

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

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 8px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--border-radius-card);
  border: 1.5px solid var(--border-color);
  background-color: #fafafa;
  font-family: var(--font-family);
  font-size: 15px;
  color: var(--text-color);
  outline: none;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--primary-color);
  background-color: var(--white);
}

.form-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}

.form-checkbox-wrap input[type="checkbox"] {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  accent-color: var(--primary-color);
}

.form-checkbox-wrap label {
  font-size: 13px;
  line-height: 1.5;
  color: #666;
}

.form-checkbox-wrap a {
  color: var(--primary-color);
  text-decoration: underline;
}


/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--text-color);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 40px 0;
  border-top: 4px solid var(--primary-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
}

.footer-social:hover {
  background-color: var(--primary-color);
}

.footer-links-col h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-links-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}


/* ==========================================================================
   Floating Action Stack (with collapsing behavior)
   ========================================================================== */
.floating-stack {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
  align-items: flex-end;
  pointer-events: none; /* Let clicks pass through container gaps */
}

.floating-item {
  pointer-events: auto; /* Active items handle clicks */
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.4s var(--ease-custom),
              transform 0.4s var(--ease-custom),
              height 0.4s var(--ease-custom),
              width 0.4s var(--ease-custom),
              margin 0.4s var(--ease-custom),
              visibility 0.4s var(--ease-custom);
  position: relative;
  will-change: opacity, transform, height, width, margin;
}

.floating-item:hover {
  transform: translateY(-4px) scale(1.05);
}

.floating-item .material-icons {
  font-size: 24px;
}

.floating-item.tel {
  background-color: var(--primary-color);
}

.floating-item.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aec 90%);
}

.floating-item.scroll-top {
  background-color: var(--text-color);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.6);
  height: 0;
  width: 0;
  margin: 0;
}

/* When the Scroll-To-Top button is visible, expand height and opacity */
.floating-item.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  height: 54px;
  width: 54px;
}

/* Floating Tooltips */
.floating-tooltip {
  position: absolute;
  right: 68px;
  background-color: var(--text-color);
  color: var(--white);
  padding: 6px 12px;
  border-radius: var(--border-radius-card);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s var(--ease-custom);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.floating-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border-width: 5px 0 5px 5px;
  border-style: solid;
  border-color: transparent transparent transparent var(--text-color);
}

.floating-item:hover .floating-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}


/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

@media (max-width: 1024px) {
  .story-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .interior-grid, .menu-grid, .interview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .timeline-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  
  .timeline-line {
    display: none; /* Hide horizontal timeline line on mobile/tablet */
  }
  
  .sim-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-content h1 {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .glass-gnb {
    height: 70px;
  }
  
  .gnb-menu, .gnb-btn {
    display: none; /* Hide full menu and direct call on mobile GNB */
  }
  
  .mobile-menu-btn {
    display: block; /* Show mobile menu trigger */
  }
  
  .hero-slider-container {
    height: 80vh;
  }
  
  .hero-content {
    left: 6%;
    right: 6%;
  }
  
  .hero-content h1 {
    font-size: 34px;
  }
  
  .hero-content p {
    font-size: 16px;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  .counter-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .interior-grid, .menu-grid, .interview-grid, .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .interior-card {
    height: 300px;
  }
  
  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 320px;
    margin: 0 auto;
  }
  
  .timeline-step {
    display: flex;
    text-align: left;
    gap: 20px;
    align-items: flex-start;
  }
  
  .timeline-badge {
    margin: 0;
    flex-shrink: 0;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .cost-sim-card {
    padding: 24px;
  }
  
  .sim-tab {
    font-size: 14px; /* Mobile font sizing patch */
    padding: 10px 12px;
  }
}

/* Premium Checkbox & Select Custom Styling */
.custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--border-color);
  border-radius: 4px;
  background-color: var(--white);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  outline: none;
  flex-shrink: 0;
  margin-top: 4px !important;
}

.custom-checkbox:hover {
  border-color: var(--primary-color);
}

.custom-checkbox:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.custom-checkbox:checked::after {
  content: '';
  position: absolute;
  left: 4.5px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox:focus-visible {
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.2);
}

select.form-select, select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23D32F2F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px !important;
}

select.form-select:focus, select.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.2);
}

