/* ================================================================
   Raifuku Theme - Main Stylesheet
   ================================================================ */

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

:root {
  --c-bg:        #faf9f6;
  --c-white:     #ffffff;
  --c-dark:      #1a1a1a;
  --c-text:      #333333;
  --c-text-lt:   #6b6b6b;
  --c-accent:    #8b7355;
  --c-accent-dk: #6b5740;
  --c-border:    #e0dcd6;
  --c-overlay:   rgba(0, 0, 0, 0.45);

  --ff-sans:  'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --ff-serif: 'Noto Serif JP', 'Hiragino Mincho ProN', serif;

  --header-h: 70px;
  --container: 1100px;
}

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

body {
  font-family: var(--ff-sans);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ================================================================
   Landing Page
   ================================================================ */
.landing {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: var(--c-white);
  text-align: center;
  padding: 2rem;
  position: relative;
}

.landing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

.landing-content {
  position: relative;
  z-index: 1;
  max-width: 500px;
}

.landing-logo {
  font-family: var(--ff-serif);
  font-size: 2.8rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.landing-tagline {
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 3rem;
}

.landing-divider {
  width: 40px;
  height: 1px;
  background: var(--c-accent);
  margin: 0 auto 3rem;
}

.landing-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.landing-link {
  display: block;
  padding: 1.2rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.landing-link:hover {
  border-color: var(--c-accent);
  background: rgba(139, 115, 85, 0.1);
}

.landing-link-label {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.12em;
  font-weight: 400;
}

.landing-link-sub {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.25rem;
  letter-spacing: 0.06em;
}

/* ----------------------------------------------------------------
   Landing page: hero media background (.landing-bg)
   ---------------------------------------------------------------- */
.landing-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* fallback static image */
.landing-bg > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* video hero */
.landing-bg .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* slideshow hero */
.landing-bg .hero-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.landing-bg .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.landing-bg .hero-slide.active {
  opacity: 1;
}

.landing-bg .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* dots not visible behind overlay — hide them */
.landing-bg .hero-slide-dots {
  display: none;
}

/* ================================================================
   Header / Navigation
   ================================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--c-dark);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu {
  display: flex;
  gap: 1.8rem;
}

.nav-menu a {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--c-text-lt);
  position: relative;
  transition: color 0.2s;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-accent);
  transition: width 0.3s;
}

.nav-menu a:hover {
  color: var(--c-accent);
}

.nav-menu a:hover::after {
  width: 100%;
}

.lang-switcher {
  display: flex;
  gap: 0.6rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--c-border);
}

.lang-switcher a {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--c-text-lt);
  padding: 0.2em 0.5em;
  transition: color 0.2s;
}

.lang-switcher a.active {
  color: var(--c-accent);
  font-weight: 500;
}

.lang-switcher a:hover {
  color: var(--c-accent);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-dark);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ================================================================
   Hero / Slider
   ================================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slider .slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--c-overlay);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--c-white);
  padding: 2rem;
}

.hero-title {
  font-family: var(--ff-serif);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
}

.hero-catch {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 2.2;
  opacity: 0.85;
  margin-bottom: 2.5rem;
}

.hero-btn {
  display: inline-block;
  padding: 0.8rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--c-white);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.3s;
}

.hero-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--c-white);
}

/* ─── Hero Video ─── */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

/* ─── Hero Slideshow ─── */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slideshow[data-transition="slide"] .hero-slide {
  opacity: 1;
  transform: translateX(100%);
  transition: transform 0.8s ease;
}

.hero-slideshow[data-transition="slide"] .hero-slide.active {
  transform: translateX(0);
}

.hero-slideshow[data-transition="slide"] .hero-slide.prev {
  transform: translateX(-100%);
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Hero Slide Dots ─── */
.hero-slide-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hero-slide-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.hero-slide-dots .dot.active {
  background: #fff;
}

/* ================================================================
   Sections - Common
   ================================================================ */
.section {
  padding: 6rem 0;
}

.section--greeting,
.section--about {
  background: var(--c-white);
}

.section--contact {
  background: var(--c-dark);
  color: var(--c-white);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-en {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 400;
  letter-spacing: 0.1em;
}

.section-subtitle {
  font-size: 0.88rem;
  color: var(--c-text-lt);
  margin-top: 0.8rem;
}

.section-line {
  width: 32px;
  height: 1px;
  background: var(--c-accent);
  margin: 1.5rem auto 0;
}

/* ================================================================
   Greeting
   ================================================================ */
.greeting-body {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.greeting-body p {
  font-size: 0.95rem;
  color: var(--c-text-lt);
  line-height: 2.2;
}

/* ================================================================
   Experience Cards
   ================================================================ */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.exp-card {
  display: block;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.exp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.exp-card__image {
  height: 220px;
  overflow: hidden;
}

.exp-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.exp-card:hover .exp-card__image img {
  transform: scale(1.05);
}

.exp-card__body {
  padding: 1.5rem;
}

.exp-card__body h3 {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
}

.exp-card__body p {
  font-size: 0.85rem;
  color: var(--c-text-lt);
  line-height: 1.9;
}

/* ================================================================
   Location Teaser
   ================================================================ */
.location-teaser {
  text-align: center;
}

.location-teaser p {
  font-size: 0.92rem;
  color: var(--c-text-lt);
  margin-bottom: 2rem;
}

/* ================================================================
   About
   ================================================================ */
.about-intro {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.about-intro p {
  font-size: 0.95rem;
  color: var(--c-text-lt);
  line-height: 2.2;
}

.about-services {
  max-width: 720px;
  margin: 0 auto 3rem;
  padding: 2rem;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
}

.about-services h3,
.about-staff h3,
.about-company h3 {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
  text-align: center;
  color: var(--c-accent-dk);
}

.about-services ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.6rem;
}

.about-services li {
  font-size: 0.88rem;
  color: var(--c-text-lt);
  padding-left: 1.2rem;
  position: relative;
}

.about-services li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
}

/* Staff */
.about-staff {
  margin-bottom: 3rem;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 720px;
  margin: 0 auto;
}

.staff-card {
  text-align: center;
}

.staff-card__image {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 3px solid var(--c-border);
}

.staff-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-card h4 {
  font-family: var(--ff-serif);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}

.staff-card span {
  font-size: 0.8rem;
  color: var(--c-text-lt);
}

/* Company Table */
.about-company {
  max-width: 720px;
  margin: 0 auto;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid var(--c-border);
}

.company-table th,
.company-table td {
  padding: 1rem 0;
  font-size: 0.9rem;
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 140px;
  font-weight: 500;
  color: var(--c-text);
}

.company-table td {
  color: var(--c-text-lt);
}

/* ================================================================
   Instagram
   ================================================================ */
.section--instagram {
  background: var(--c-white);
}

.instagram-feed {
  max-width: 900px;
  margin: 0 auto 2rem;
  text-align: center;
}

.instagram-placeholder {
  padding: 3rem 2rem;
  background: var(--c-bg);
  border: 1px dashed var(--c-border);
  color: var(--c-text-lt);
  font-size: 0.9rem;
}

.instagram-follow {
  text-align: center;
}

/* ================================================================
   Contact
   ================================================================ */
.contact-wrap {
  max-width: 600px;
  margin: 0 auto;
}

.contact-lead {
  text-align: center;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.form-group .req {
  color: var(--c-accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--c-white);
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  transition: border-color 0.3s;
  border-radius: 0;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-accent);
}

.form-group select option {
  color: var(--c-dark);
  background: var(--c-white);
}

.form-group textarea {
  resize: vertical;
}

.form-submit {
  text-align: center;
  margin-top: 2rem;
}

.form-status {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.88rem;
}

.form-status.success {
  color: #8bc78b;
}

.form-status.error {
  color: #e08080;
}

/* ================================================================
   Buttons
   ================================================================ */
.btn {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--ff-sans);
}

.btn--primary {
  background: var(--c-accent);
  color: var(--c-white);
  border: 1px solid var(--c-accent);
}

.btn--primary:hover {
  background: var(--c-accent-dk);
  border-color: var(--c-accent-dk);
}

.btn--outline {
  background: transparent;
  color: var(--c-accent);
  border: 1px solid var(--c-accent);
}

.btn--outline:hover {
  background: var(--c-accent);
  color: var(--c-white);
}

/* ================================================================
   Location Page
   ================================================================ */
.location-banner {
  position: relative;
  height: 50vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--header-h);
  overflow: hidden;
}

.location-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.location-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-banner__overlay {
  position: absolute;
  inset: 0;
  background: var(--c-overlay);
}

.location-banner__content {
  position: relative;
  z-index: 1;
  color: var(--c-white);
  text-align: center;
}

.location-banner__content h1 {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0.15em;
}

.section--locations {
  padding: 4rem 0 6rem;
}

.location-intro {
  text-align: center;
  font-size: 0.95rem;
  color: var(--c-text-lt);
  margin-bottom: 3rem;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.location-card {
  display: block;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.location-card__image {
  height: 200px;
  overflow: hidden;
}

.location-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-card__body {
  padding: 1.5rem;
}

.location-card__body h3 {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.location-card__addr {
  font-size: 0.82rem;
  color: var(--c-text-lt);
  margin-bottom: 0.4rem;
}

.location-card__exp {
  font-size: 0.85rem;
  color: var(--c-accent-dk);
}

.location-map {
  border: 1px solid var(--c-border);
  overflow: hidden;
}

/* ================================================================
   Single Location Detail
   ================================================================ */
.loc-detail-hero {
  position: relative;
  height: 50vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--header-h);
  overflow: hidden;
}

.loc-detail-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.loc-detail-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.loc-detail-hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--c-overlay);
  z-index: 1;
}

.loc-detail-hero__content {
  position: relative;
  z-index: 2;
  color: var(--c-white);
  text-align: center;
}

.loc-detail-hero__content h1 {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0.15em;
}

.loc-detail {
  padding: 4rem 0 6rem;
}

.loc-detail-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
}

.loc-detail-body {
  font-size: 0.95rem;
  line-height: 2.2;
  color: var(--c-text-lt);
}

.loc-detail-body p {
  margin-bottom: 1.5rem;
}

.loc-detail-body img {
  margin: 1.5rem 0;
  border: 1px solid var(--c-border);
}

.loc-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.loc-detail-info {
  padding: 1.2rem;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
}

.loc-detail-info h3 {
  font-family: var(--ff-serif);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--c-accent-dk);
  margin-bottom: 0.5rem;
}

.loc-detail-info p {
  font-size: 0.85rem;
  color: var(--c-text-lt);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .loc-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   Location Photo Album / Slider
   ================================================================ */
.loc-gallery {
  margin-top: 3rem;
}

.loc-gallery__title {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--c-accent-dk);
}

.loc-slider {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-dark);
}

.loc-slider__track {
  display: flex;
  transition: transform 0.5s ease;
}

.loc-slider__slide {
  min-width: 100%;
  aspect-ratio: 16 / 9;
}

.loc-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--c-dark);
}

.loc-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: var(--c-white);
  border: none;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loc-slider__btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.loc-slider__btn--prev { left: 0; }
.loc-slider__btn--next { right: 0; }

.loc-slider__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.loc-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s;
}

.loc-slider__dot.active {
  background: var(--c-white);
}

/* ================================================================
   Single Experience Detail
   ================================================================ */
.exp-detail {
  padding: 4rem 0 6rem;
}

.exp-detail-body {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.exp-detail-body p {
  font-size: 0.95rem;
  color: var(--c-text-lt);
  line-height: 2.2;
}

.exp-related {
  margin-bottom: 3rem;
}

.exp-related h2 {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--c-accent-dk);
}

.exp-detail-back {
  text-align: center;
  margin-top: 2rem;
}

/* ================================================================
   Footer
   ================================================================ */
.site-footer {
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid var(--c-border);
  background: var(--c-bg);
}

.footer-logo {
  font-family: var(--ff-serif);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--c-text);
  margin-bottom: 0.8rem;
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--c-text-lt);
  letter-spacing: 0.04em;
}

/* ================================================================
   FAQ Chat Widget
   ================================================================ */
.faq-chat-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-white);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
}

.faq-chat-btn:hover {
  transform: scale(1.08);
  background: var(--c-accent-dk);
}

.faq-chat-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.faq-chat-panel {
  position: fixed;
  bottom: 96px;
  right: 24px;
  z-index: 9998;
  width: 360px;
  max-height: 480px;
  background: var(--c-white);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}

.faq-chat-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.faq-chat-header {
  background: var(--c-accent);
  color: var(--c-white);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.faq-chat-header__title {
  font-family: var(--ff-serif);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.faq-chat-header__close {
  background: none;
  border: none;
  color: var(--c-white);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.faq-chat-header__close:hover {
  opacity: 1;
}

.faq-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-bubble {
  max-width: 85%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.7;
  animation: faqFadeIn 0.3s ease;
}

.faq-bubble--bot {
  background: var(--c-bg);
  color: var(--c-text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.faq-bubble--user {
  background: var(--c-accent);
  color: var(--c-white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.faq-question-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  animation: faqFadeIn 0.3s ease;
}

.faq-question-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.7rem 1rem;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  font-family: var(--ff-sans);
  font-size: 0.82rem;
  color: var(--c-text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  line-height: 1.5;
}

.faq-question-btn:hover {
  border-color: var(--c-accent);
  background: var(--c-white);
}

.faq-back-btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 0;
  background: none;
  border: none;
  color: var(--c-accent);
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  cursor: pointer;
  align-self: flex-start;
  transition: color 0.2s;
}

.faq-back-btn:hover {
  color: var(--c-accent-dk);
}

@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .cti-button {
    font-size: 0.8rem;
    padding: 12px 16px;
    bottom: 16px;
    left: 16px;
  }

  .faq-chat-panel {
    right: 12px;
    left: 12px;
    bottom: 88px;
    width: auto;
    max-height: 60vh;
  }

  .faq-chat-btn {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }
}

/* ================================================================
   Teacher Cards & Detail
   ================================================================ */
.teacher-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.teacher-card {
  display: block;
  text-align: center;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  overflow: hidden;
  padding-bottom: 1.5rem;
  cursor: default;
}

.teacher-card__image {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 2rem auto 1rem;
  border: 3px solid var(--c-border);
}

.teacher-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-card__body h3 {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}

.teacher-card__body span {
  font-size: 0.85rem;
  color: var(--c-text-lt);
}

/* Teacher Detail */
.teacher-detail {
  padding: 4rem 0 6rem;
}

.teacher-detail-content {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.teacher-detail-photo {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--c-border);
}

.teacher-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-detail-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.teacher-detail-bio h3 {
  font-family: var(--ff-serif);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--c-accent-dk);
  margin-bottom: 0.5rem;
}

.teacher-detail-bio p {
  font-size: 0.95rem;
  color: var(--c-text-lt);
  line-height: 2.2;
}

/* ================================================================
   Fixed CTI (Contact) Button
   ================================================================ */
.cti-button {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  background: #c0392b;
  color: #fff;
  padding: 14px 20px;
  border-radius: 32px;
  font-size: 0.9rem;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.cti-button:hover {
  background: #a93226;
  color: #fff;
  transform: translateY(-2px);
}

/* ================================================================
   Location Map iframe
   ================================================================ */
.location-map iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 8px;
}

/* ================================================================
   Gallery Lightbox link styling
   ================================================================ */
.loc-slider__slide a.gallery-lightbox {
  display: block;
  width: 100%;
  height: 100%;
}

/* ================================================================
   Scroll Animations
   ================================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 960px) {
  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 60px;
  }

  /* Mobile nav */
  .hamburger {
    display: flex;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 249, 246, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 999;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-menu {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }

  .nav-menu a {
    font-size: 1rem;
  }

  .lang-switcher {
    border-left: none;
    padding-left: 0;
    padding-top: 1rem;
    border-top: 1px solid var(--c-border);
  }

  /* Hero */
  .hero {
    min-height: 500px;
  }

  /* Grid */
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .staff-grid,
  .teacher-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .teacher-detail-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  /* Sections */
  .section {
    padding: 4rem 0;
  }

  .container {
    padding: 0 1.5rem;
  }

  .company-table th {
    width: 100px;
  }
}

@media (max-width: 480px) {
  .landing-logo {
    font-size: 2rem;
  }

  .hero-title {
    letter-spacing: 0.1em;
  }
}
