/* ========================================
   SERVICE SECTION
   ======================================== */
.services-section { padding: 80px 0; background: var(--background-100); }
.services-header { text-align: center; margin-bottom: 64px; }
.services-header-sub { font-size: 0.875rem; color: var(--foreground-600); letter-spacing: 0.05em; margin-bottom: 16px; }
.services-header-title { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 400; color: var(--foreground-950); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 16px; }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.service-card-img-wrap { overflow: hidden; border-radius: 8px; aspect-ratio: 3 / 4; margin-bottom: 24px; }
.service-card-img { width: 100%; height: 100%; object-fit: cover; animation: living-image 10s ease-in-out infinite; }
.service-card-img-wrap:hover .service-card-img { animation-play-state: paused; }
.service-card-title { font-size: 1.125rem; font-weight: 600; color: var(--foreground-950); margin-bottom: 12px; }
.service-card-desc { font-size: 0.875rem; color: var(--foreground-600); line-height: 1.6; margin-bottom: 20px; word-break: keep-all; }
.service-card-link { display: inline-flex; align-items: center; padding: 10px 20px; border: 1px solid var(--foreground-300); border-radius: 50px; font-size: 0.875rem; color: var(--foreground-700); transition: all 0.3s ease; white-space: nowrap; }
.service-card-link:hover { background: var(--primary-500); color: #ffffff; border-color: var(--primary-500); }

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section { padding: 4px 0 80px 0; background: var(--background-50); }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.about-text { order: 2; }
.about-text-desktop { order: 2; }
.about-label { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 400; color: var(--primary-400); letter-spacing: 0.05em; margin-bottom: 16px; }
.about-label em { font-style: normal; color: var(--primary-500); font-family: var(--font-heading); }
.about-title { font-size: 1.875rem; font-weight: 700; color: var(--foreground-950); line-height: 1.375; font-family: var(--font-body); margin-bottom: 0; white-space: pre-line; }
.about-desc { font-size: 1rem; color: var(--foreground-600); line-height: 1.6; margin-top: 8px; max-width: 448px; white-space: pre-line; word-break: keep-all; }
.about-subtitle { font-family: var(--font-heading); font-size: 1.25rem; font-style: italic; font-weight: 200; color: var(--primary-500); letter-spacing: 0.05em; margin: 28px 0 24px 0; }
.about-btn-row { margin-top: 32px; display: flex; gap: 16px; }
.about-image { order: 1; border-radius: 16px; overflow: hidden; }
.about-img { width: 100%; height: 400px; object-fit: cover; object-position: center; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); display: block; }
.about-image:hover .about-img { transform: scale(1.06); }

/* Mobile-only: title area (hidden on desktop) */
.about-title-area { display: none; }
/* Mobile-only: content below image (hidden on desktop) */
.about-text-bottom { display: none; }

/* ========================================
   ABOUT SECTION — MOBILE
   ======================================== */
@media (max-width: 767px) {
  .about-section {
    padding: 0 0 48px 0;
  }
  .about-section .cl-container {
    padding-left: 0;
    padding-right: 0;
  }
  .about-grid {
    display: block;
    position: relative;
    gap: 0;
  }
  .about-text-desktop {
    display: none;
  }
  .about-image {
    order: unset;
    border-radius: 12px;
    margin: 0 12px;
    overflow: hidden;
    position: relative;
  }
  .about-img {
    height: 400px;
    border-radius: 12px;
  }

  /* Title area — separated from image, like Gallery section */
  .about-title-area {
    display: block;
    text-align: center;
    padding: 12px 24px 36px;
  }
  .about-title-area .about-label,
  .about-title-area .about-label em {
    color: var(--primary-500);
    margin-bottom: 8px;
  }
  .about-title-area .about-title {
    color: var(--foreground-950);
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-body);
    line-height: 1.3;
  }

  /* Content below image */
  .about-text-bottom {
    display: block;
    padding: 28px 20px 8px;
  }
  .about-text-bottom .about-subtitle {
    color: var(--primary-500);
    font-size: 1.125rem;
    margin: 0 0 16px 0;
  }
  .about-text-bottom .about-desc {
    color: var(--foreground-600);
    font-size: 0.875rem;
    margin-top: 0;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: break-word;
  }
  .about-text-bottom .about-btn-row {
    margin-top: 20px;
  }
  .about-text-bottom .cl-btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    border-radius: 50px;
    background: var(--primary-500);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s ease;
  }
  .about-text-bottom .cl-btn-primary:hover {
    background: var(--primary-600);
  }
}

/* ========================================
   PHILOSOPHY SECTION
   ======================================== */
.philosophy-section { position: relative; padding: 192px 0 96px; overflow: hidden; }
.philosophy-bg { position: absolute; inset: 0; transition: all 1s ease; }
.philosophy-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.philosophy-bg-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.60); transition: all 1s ease; }
.philosophy-bg-overlay.dark { background: rgba(0,0,0,0.60); }
.philosophy-container { position: relative; z-index: 10; }
.philosophy-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: flex-start; }
.philosophy-heading { font-family: var(--font-heading); font-size: 1.875rem; font-weight: 400; color: var(--primary-400); letter-spacing: -0.02em; margin-bottom: 32px; }
.philosophy-tabs { display: flex; flex-direction: column; gap: 16px; padding-bottom: 32px; }
.philosophy-tab { display: flex; align-items: baseline; gap: 12px; text-align: left; transition: opacity 0.5s ease; opacity: 0.4; cursor: pointer; background: none; border: none; padding: 0; width: 100%; }
.philosophy-tab:hover { opacity: 0.6; }
.philosophy-tab.active { opacity: 1; }
.philosophy-tab-word { font-family: var(--font-heading); color: #ffffff; transition: all 0.5s ease; font-size: 1.25rem; font-style: italic; font-weight: 400; }
.philosophy-tab.active .philosophy-tab-word { font-size: 1.5rem; font-weight: 700; }
.philosophy-tab-label { color: rgba(255,255,255,0.6); font-size: 0.875rem; transition: all 0.5s ease; overflow: hidden; white-space: normal; word-break: keep-all; opacity: 0; max-width: 0; }
.philosophy-tab.active .philosophy-tab-label { opacity: 1; max-width: none; }
.philosophy-right { padding-bottom: 32px; }
.philosophy-card { background: rgba(255,255,255,0.1); backdrop-filter: blur(12px); border-radius: 16px; padding: 32px; border: 1px solid rgba(255,255,255,0.1); position: relative; min-height: 160px; }
.philosophy-desc { opacity: 0; transform: translateY(16px); pointer-events: none; position: absolute; top: 32px; left: 32px; right: 32px; transition: all 0.5s ease; }
.philosophy-desc.active { opacity: 1; transform: translateY(0); pointer-events: auto; position: relative; top: auto; left: auto; right: auto; }
.philosophy-desc-title { color: #ffffff; font-size: 1.125rem; font-weight: 600; margin-bottom: 16px; }
.philosophy-desc-text { color: rgba(255,255,255,0.7); font-size: 0.875rem; line-height: 1.7; }
.philosophy-card-footer { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; }
.philosophy-icon-info { display: flex; align-items: center; gap: 12px; }
.philosophy-icon-circle { width: 48px; height: 48px; border-radius: 50%; background: var(--primary-500); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.philosophy-icon-circle i { font-size: 20px; color: #ffffff; }
.philosophy-icon-title { color: #ffffff; font-weight: 500; font-size: 0.875rem; }
.philosophy-icon-sub { color: rgba(255,255,255,0.5); font-size: 0.75rem; }
.philosophy-link { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.7); transition: color 0.2s ease; white-space: nowrap; font-size: 0.875rem; }
.philosophy-link:hover { color: #ffffff; }
.philosophy-link-arrow { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; transition: transform 0.2s ease; }
.philosophy-link:hover .philosophy-link-arrow { transform: translateX(4px); }

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery-section { padding: 64px 0; background: var(--background-50); }
.gallery-header { text-align: center; margin-bottom: 16px; }
.gallery-label { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 400; color: var(--primary-400); letter-spacing: 0.05em; }
.gallery-label em { font-style: normal; color: var(--primary-500); font-family: var(--font-heading); }
.gallery-title { font-size: 2.5rem; font-weight: 700; color: var(--foreground-950); line-height: 1.3; font-family: var(--font-body); margin-top: 16px; margin-bottom: 16px; text-align: center; }
.gallery-sub { font-size: 0.875rem; color: var(--foreground-600); max-width: 448px; margin: 0 auto 48px; text-align: center; }
.gallery-carousel { overflow: hidden; user-select: none; cursor: grab; }
.gallery-carousel:active { cursor: grabbing; }
.gallery-track { display: flex; align-items: flex-start; gap: 24px; }
.gallery-slide { position: relative; border-radius: 12px; overflow: hidden; flex-shrink: 0; transition: all 0.5s ease; }
.gallery-slide-img { width: 960px; max-width: 92vw; height: 300px; object-fit: cover; object-position: center; display: block; }
.gallery-slide-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.3), transparent); pointer-events: none; }
.gallery-controls { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; }
.gallery-dots { display: flex; gap: 8px; }
.gallery-dot { height: 6px; border-radius: 50px; transition: all 0.5s ease; background: var(--primary-200); width: 6px; border: none; cursor: pointer; }
.gallery-dot.active { width: 32px; background: var(--primary-500); }
.gallery-arrows { display: flex; gap: 8px; }
.gallery-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--background-300); background: transparent; display: flex; align-items: center; justify-content: center; color: var(--foreground-500); transition: all 0.3s ease; cursor: pointer; }
.gallery-arrow:hover { background: var(--primary-500); color: #ffffff; border-color: var(--primary-500); }

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section { padding: 0 0 80px 0; background: var(--background-50); }
.faq-inner { max-width: 768px; margin: 0 auto; }
.faq-header { text-align: center; margin-bottom: 48px; }
.faq-label { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 400; color: var(--primary-400); letter-spacing: 0.05em; }
.faq-label em { font-style: normal; color: var(--primary-500); font-family: var(--font-heading); }
.faq-title { font-size: 2.5rem; font-weight: 700; color: var(--foreground-950); line-height: 1.3; font-family: var(--font-body); margin-top: 16px; margin-bottom: 0; }
.faq-header-sub { font-size: 0.875rem; color: var(--foreground-500); line-height: 1.6; margin-top: 16px; max-width: 448px; margin-left: auto; margin-right: auto; }
.faq-header-sub br { display: none; }
.faq-list { background: var(--background-50); border-radius: 16px; border: 1px solid var(--background-200); padding: 0 20px; }
.faq-item { border-bottom: 1px solid var(--background-200); }
.faq-item:last-child { border-bottom: none; }
.faq-item-h3 { margin: 0; padding: 0; }
.faq-item-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; text-align: left; cursor: pointer; background: none; border: none; }
.faq-item-q { font-size: 1rem; color: var(--foreground-900); font-weight: 500; padding-right: 16px; transition: color 0.3s ease; }
.faq-item-btn:hover .faq-item-q { color: var(--primary-500); }
.faq-item-icon { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--background-300); display: flex; align-items: center; justify-content: center; transition: all 0.4s ease; color: var(--foreground-400); }
.faq-item-icon i { font-size: 18px; }
.faq-item-btn:hover .faq-item-icon { border-color: var(--primary-300); color: var(--primary-500); }
.faq-item-btn[aria-expanded="true"] .faq-item-icon { background: var(--primary-500); border-color: var(--primary-500); color: #ffffff; transform: rotate(45deg); }
.faq-item-answer { overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out, padding 0.4s ease; }
.faq-item-answer.open { max-height: 500px; opacity: 1; padding-bottom: 20px; }
.faq-item-a { font-size: 0.875rem; color: var(--foreground-600); line-height: 1.7; }
.faq-bottom { text-align: center; margin-top: 40px; }
.faq-bottom-text { font-size: 0.875rem; color: var(--foreground-500); margin-bottom: 16px; }
.faq-bottom-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 36px; border-radius: 50px; background: var(--primary-500); color: #ffffff; font-size: 1rem; font-weight: 600; transition: background 0.3s ease; white-space: nowrap; cursor: pointer; text-decoration: none; }
.faq-bottom-btn:hover { background: var(--primary-600); }

/* ========================================
   CONTENT CARDS (YOUTUBE)
   ======================================== */
.content-section { padding: 80px 0; background: var(--background-100); }
.content-header { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 48px; }
.content-heading { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 400; color: var(--foreground-950); letter-spacing: -0.02em; margin-bottom: 16px; }
.content-header-sub { font-size: 0.875rem; color: var(--foreground-600); letter-spacing: 0.05em; }
.content-header-right { margin-top: 16px; }
.content-yt-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: #dc2626; color: #ffffff; border-radius: 50px; font-size: 0.75rem; font-weight: 600; transition: background 0.2s ease; white-space: nowrap; text-decoration: none; }
.content-yt-btn:hover { background: #b91c1c; }
.content-yt-icon { width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; }
.content-yt-icon i { font-size: 14px; }
.content-carousel { overflow: hidden; user-select: none; cursor: pointer; }
.content-track { display: flex; align-items: flex-start; gap: 20px; }
.content-card { flex-shrink: 0; width: 320px; max-width: 85vw; border-radius: 12px; overflow: hidden; cursor: pointer; transition: all 0.5s ease; }
.content-card-thumb-wrap { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--background-200); }
.content-card-thumb { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.5s ease; display: block; }
.content-card:hover .content-card-thumb { transform: scale(1.05); }
.content-card-play-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.content-card-play-btn { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.9); display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease; }
.content-card:hover .content-card-play-btn { transform: scale(1.1); }
.content-card-play-btn i { font-size: 18px; color: var(--foreground-800); margin-left: 2px; }
.content-controls { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; }
.content-dots { display: flex; gap: 8px; }
.content-dot { height: 6px; border-radius: 50px; transition: all 0.5s ease; background: var(--primary-200); width: 6px; border: none; cursor: pointer; }
.content-dot.active { width: 32px; background: var(--primary-500); }

/* ========================================
   FOOTER SECTION
   ======================================== */
.footer { position: relative; background: var(--foreground-950); color: #ffffff; overflow: hidden; }

/* Video background: matches React — wrapper at 75% opacity, overlay on top */
.footer-video-wrap { position: absolute; inset: 0; opacity: 1; }
.footer-video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 85%; display: block; }
/* Use a lighter overlay so the video remains clearly visible even if autoplay is blocked */
.footer-video-overlay { display: block; position: absolute; inset: 0; background: rgba(0,0,0,0.45); }

.footer-content { position: relative; z-index: 10; padding-top: 128px; padding-bottom: 64px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 56px; }
.footer-label { color: rgba(255,255,255,0.7); font-size: 1rem; margin-bottom: 16px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.footer-label-icon { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; }
.footer-label-icon i { color: var(--primary-400); }
.footer-address { color: #ffffff; font-size: 1.125rem; font-weight: 500; line-height: 1.7; margin-bottom: 32px; }
.footer-address-detail { color: rgba(255,255,255,0.7); font-size: 1rem; font-weight: 400; }
.footer-nav-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 80px; }
.footer-nav-btn { display: flex; align-items: center; gap: 8px; padding: 10px 20px; border: 1px solid rgba(255,255,255,0.3); border-radius: 8px; font-size: 1rem; background: rgba(255,255,255,0.1); backdrop-filter: blur(4px); transition: all 0.3s ease; white-space: nowrap; text-decoration: none; color: #ffffff; }
.footer-nav-btn:hover { background: var(--primary-500); border-color: var(--primary-500); color: #ffffff; }
.footer-nav-btn-icon { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; }
.footer-nav-btn-icon i { color: var(--primary-400); transition: color 0.3s ease; }
.footer-nav-btn:hover .footer-nav-btn-icon i { color: #ffffff; }
.footer-brand { margin-bottom: 40px; }
.footer-brand-img { height: 56px; width: auto; object-fit: contain; margin-bottom: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 24px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.875rem; transition: color 0.2s ease; font-weight: 500; text-decoration: none; }
.footer-links a:hover { color: rgba(255,255,255,0.9); }
.footer-copyright { color: rgba(255,255,255,0.4); font-size: 0.875rem; line-height: 1.6; }
.footer-right { border-top: 1px solid rgba(255,255,255,0.4); padding-top: 56px; }
.footer-phone-wrap { margin-bottom: 48px; }
.footer-phone { color: #ffffff; font-size: 2.25rem; font-weight: 700; letter-spacing: 0.05em; }
.footer-hours-wrap { margin-bottom: 32px; }
.footer-hours { display: flex; flex-direction: column; gap: 12px; }
.footer-hour-row { display: flex; align-items: baseline; gap: 16px; font-size: 1rem; }
.footer-hour-day { color: rgba(255,255,255,0.8); width: 96px; flex-shrink: 0; font-weight: 600; }
.footer-hour-time { color: #ffffff; font-weight: 500; }
.footer-social { display: flex; align-items: center; gap: 12px; }
.footer-social-btn { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: all 0.3s ease; overflow: hidden; text-decoration: none; }
.footer-social-btn:hover { background: var(--primary-500); border-color: var(--primary-500); color: #ffffff; }
.footer-social-btn i { font-size: 20px; }
.footer-social-img { width: 12px; height: 12px; object-fit: contain; filter: brightness(0) invert(1); }

/* ========================================
   RESPONSIVE - sm (>= 640px)
   ======================================== */
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card-title { font-size: 1.125rem; }
  .about-btn-row { flex-direction: row; }
  .about-img { height: 520px; }
  .gallery-slide-img { height: 540px; }
  .faq-header-sub br { display: block; }
  .faq-list { padding: 0 32px; }
}

/* ========================================
   RESPONSIVE - md (>= 768px)
   ======================================== */
@media (min-width: 768px) {
  .services-section { padding: 128px 0; }
  .services-header { margin-bottom: 80px; }
  .services-header-sub { font-size: 1rem; }
  .services-header-title { font-size: 2.25rem; }
  .services-grid { gap: 32px; }
  .service-card-title { font-size: 1.25rem; }
  .service-card-desc { font-size: 1rem; }

  .about-section { padding: 24px 0 128px 0; }
  .about-title { font-size: 2.25rem; }
  .about-subtitle { font-size: 1.5rem; margin: 36px 0 24px 0; }
  .about-desc { margin-top: 8px; }

  .philosophy-section { padding: 256px 0 128px; }
  .philosophy-heading { font-size: 2.25rem; }
  .philosophy-tab.active .philosophy-tab-word { font-size: 1.875rem; }
  .philosophy-tab:not(.active) .philosophy-tab-word { font-size: 1.5rem; }
  .philosophy-tab-label { font-size: 1rem; white-space: nowrap; }
  .philosophy-tab.active .philosophy-tab-label { max-width: 28rem; }
  .philosophy-card { padding: 40px; }
  .philosophy-desc-title { font-size: 1.25rem; }
  .philosophy-desc-text { font-size: 1rem; }
  .philosophy-right { padding-bottom: 40px; }

  .gallery-section { padding: 96px 0; }
  .gallery-title { font-size: 2.5rem; }
  .gallery-sub { font-size: 1rem; }

  .faq-section { padding: 0 0 112px 0; }
  .faq-title { font-size: 2.5rem; }
  .faq-header-sub { font-size: 1rem; }
  .faq-item-q { font-size: 1.125rem; }
  .faq-item-a { font-size: 1rem; }
  .faq-item-btn { padding: 24px 0; }
  .faq-item-answer.open { padding-bottom: 24px; }

  .content-section { padding: 128px 0; }
  .content-header { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .content-header-right { margin-top: 0; }
  .content-header-sub { font-size: 1rem; }
  .content-heading { font-size: 2.25rem; }

  .footer-content { padding-top: 224px; padding-bottom: 96px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .footer-right { border-top: none; border-left: 1px solid rgba(255,255,255,0.4); padding-left: 80px; padding-top: 0; }
  .footer-address { font-size: 1.25rem; }
  .footer-phone { font-size: 3rem; }
}

/* ========================================
   RESPONSIVE - lg (>= 1024px)
   ======================================== */
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .services-header-title { font-size: 3rem; }
  .about-grid { grid-template-columns: 1fr 1.6fr; gap: 48px; }
  .about-text { order: 1; }
  .about-image { order: 2; }
  .philosophy-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .philosophy-heading { font-size: 3rem; }
  .philosophy-tab.active .philosophy-tab-word { font-size: 2.25rem; }
  .philosophy-right { padding-top: 64px; padding-bottom: 40px; }
  .gallery-title { font-size: 2.5rem; }
  .content-heading { font-size: 3rem; }
  .footer-right { padding-left: 112px; }
}

/* ========================================
   MOBILE / DESKTOP VISIBILITY HELPERS
   ======================================== */
.desktop-only { display: none; }
.mobile-only { display: block; }
@media (min-width: 768px) {
  .desktop-only { display: block; }
  .mobile-only { display: none; }
}

/* ========================================
   FOOTER BOTTOM (MOBILE)
   ======================================== */
.footer-bottom-mobile {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.footer-bottom-mobile .footer-brand { margin-bottom: 32px; }
.footer-bottom-mobile .footer-brand-img { height: 48px; width: auto; object-fit: contain; margin-bottom: 8px; }
.footer-bottom-mobile .footer-links { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 20px; }
.footer-bottom-mobile .footer-links a { color: rgba(255,255,255,0.6); font-size: 0.8125rem; transition: color 0.2s ease; font-weight: 500; text-decoration: none; }
.footer-bottom-mobile .footer-links a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom-mobile .footer-copyright { color: rgba(255,255,255,0.35); font-size: 0.8125rem; line-height: 1.6; }

/* Footer mobile: remove borders, reduce spacing */
@media (max-width: 767px) {
  .footer-grid { gap: 32px; }
  .footer-right { border-top: none; padding-top: 0; }
  .footer-bottom-mobile { margin-top: 40px; padding-top: 24px; border-top: none; }
  .footer-bottom-mobile .footer-brand { margin-bottom: 20px; }
  .footer-bottom-mobile .footer-links { gap: 16px; margin-bottom: 16px; }
}

/* Philosophy mobile: stack English above Korean, show label ONLY on active tab */
@media (max-width: 767px) {
  .philosophy-heading { font-size: 2.5rem; }
  .philosophy-tabs { gap: 10px; padding-bottom: 24px; }
  .philosophy-tab { flex-direction: column; align-items: flex-start; gap: 4px; }
  .philosophy-tab-word { font-size: 1.5rem; }
  .philosophy-tab.active .philosophy-tab-word { font-size: 1.75rem; }
  .philosophy-tab-label { display: none; opacity: 0; max-width: 0; overflow: hidden; font-size: 1rem; white-space: normal; word-break: keep-all; }
  .philosophy-tab.active .philosophy-tab-label { display: block; opacity: 1; max-width: none; }
}

/* ========================================
   MOBILE WORD-BREAK
   ======================================== */
@media (max-width: 767px) {
  body {
    word-break: keep-all;
  }
}