/*
Theme Name: Kenbi
Theme URI: https://kenbi-seikotsuin.com/
Author: Kenbi Seikotsuin
Description: 健美整骨院守恒院 - ケア＆コンディショニングで健康で美しい人生を
Version: 2.0
Text Domain: kenbi
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Montserrat:wght@300;400;600;700;800;900&display=swap');

/* =====================
   CSS VARIABLES
===================== */
:root {
  --primary:       #0096C7;
  --primary-dark:  #007A9E;
  --primary-light: #48CAE4;
  --secondary:     #023E8A;
  --accent:        #06D6A0;
  --accent-dark:   #05B085;
  --dark:          #0D1B2A;
  --text:          #1A2B3C;
  --text-light:    #607080;
  --bg:            #FFFFFF;
  --bg-soft:       #F0F9FF;
  --bg-mint:       #F0FFF8;
  --border:        #D0E8F2;
  --shadow:        0 4px 24px rgba(0,150,199,0.14);
  --shadow-lg:     0 12px 48px rgba(0,0,0,0.12);
  --radius:        12px;
  --radius-lg:     24px;
  --transition:    0.3s ease;
  --font-jp:       'Noto Sans JP', sans-serif;
  --font-en:       'Montserrat', sans-serif;
}

/* =====================
   RESET & BASE
===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-jp);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }

/* =====================
   UTILITIES
===================== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--soft  { background: var(--bg-soft); }
.section--dark  { background: var(--dark); color: white; }

.section-label {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 10px;
}
.section--dark .section-label { color: var(--accent); }

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 16px;
}
.section--dark .section-title { color: white; }

.section-lead {
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.85;
}
.section--dark .section-lead { color: rgba(255,255,255,0.65); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-lead { margin: 0 auto; }

/* Icon sizing */
.icon svg { display: inline-block; vertical-align: middle; }

/* =====================
   BUTTONS
===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--primary { background: var(--primary); color: white; border-color: var(--primary); }
.btn--primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: white; transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,150,199,0.4); }
.btn--accent { background: var(--accent); color: var(--dark); border-color: var(--accent); }
.btn--accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: white; transform: translateY(-3px); box-shadow: 0 10px 30px rgba(6,214,160,0.4); }
.btn--outline-white { background: transparent; color: white; border-color: rgba(255,255,255,0.6); }
.btn--outline-white:hover { background: white; color: var(--primary); border-color: white; transform: translateY(-3px); }
.btn--lg { padding: 18px 44px; font-size: 1rem; }

/* =====================
   SCROLL ANIMATIONS
===================== */
.animate {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate.is-visible { opacity: 1; transform: translateY(0); }
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }
.animate-delay-6 { transition-delay: 0.6s; }

/* =====================
   NAVIGATION
===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}
.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav__logo { display: flex; align-items: center; }
.nav__logo-img {
  height: 38px;
  width: auto;
  display: block;
  /* invert to white on dark hero background */
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}
.nav.scrolled .nav__logo-img { filter: none; }
/* Fallback text logo (shown if img fails) */
.nav__logo-text {
  font-weight: 900;
  font-size: 1.05rem;
  color: white;
  transition: color var(--transition);
  display: none;
}
.nav.scrolled .nav__logo-text { color: var(--dark); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition);
  position: relative;
}
.nav.scrolled .nav__link { color: var(--text); }
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
.nav__link:hover::after,
.nav__link.current::after { width: 100%; }
.nav__link:hover { color: var(--primary); }

.nav__cta {
  background: var(--accent) !important;
  color: var(--dark) !important;
  padding: 9px 20px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition) !important;
}
.nav__cta svg { width: 14px; height: 14px; }
.nav__cta::after { display: none !important; }
.nav__cta:hover { background: var(--accent-dark) !important; color: white !important; transform: translateY(-2px); }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition);
}
.nav.scrolled .nav__hamburger span { background: var(--dark); }
.nav__hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-active span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav__drawer {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: white;
  padding: 16px 24px 32px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  z-index: 999;
  border-top: 1px solid var(--border);
}
.nav__drawer.is-open { display: block; }
.nav__drawer .nav__link {
  display: block;
  color: var(--text);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.nav__drawer .nav__link::after { display: none; }
.nav__drawer .nav__cta { display: flex; justify-content: center; margin-top: 20px; padding: 14px; }

/* =====================
   HERO (VIDEO)
===================== */
.hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Video layer */
.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Overlay: darken video + slight gradient for readability */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 15, 28, 0.80) 0%,
    rgba(2, 32, 68, 0.65) 50%,
    rgba(8, 15, 28, 0.75) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 110px 24px 72px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease forwards;
}
.hero__eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.hero__title {
  font-size: clamp(2rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.2;
  color: white;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease 0.15s both;
}
.hero__title .line-accent { color: var(--accent); }
.hero__title .line-blue  { color: var(--primary-light); }
.hero__title .line-br    { display: block; }

.hero__sub {
  font-size: clamp(0.9rem, 2vw, 1.08rem);
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  line-height: 1.9;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease 0.3s both;
}
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.45s both;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  backdrop-filter: blur(8px);
}
.hero__tag-check {
  width: 14px; height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}
.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: fadeInUp 0.8s ease 0.6s both;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
  animation: fadeInUp 0.8s ease 0.8s both;
}
.hero__stat-num {
  font-family: var(--font-en);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: white;
  line-height: 1;
}
.hero__stat-num .unit { font-size: 1rem; color: var(--primary-light); margin-left: 2px; }
.hero__stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-top: 6px; }

.hero__scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem;
  font-family: var(--font-en);
  letter-spacing: 0.15em;
  animation: fadeInUp 1s ease 1.2s both;
  z-index: 1;
}
.hero__scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: lineGrow 1.5s ease infinite;
}
@keyframes lineGrow {
  0%   { transform: scaleY(1); transform-origin: top; }
  50%  { transform: scaleY(0.2); transform-origin: bottom; }
  100% { transform: scaleY(1); transform-origin: top; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =====================
   CONCEPT
===================== */
.concept { padding: 100px 0; background: white; }
.concept__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.concept__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-soft);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
.concept__title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 24px;
}
.concept__title .hl { color: var(--primary); border-bottom: 3px solid var(--accent); padding-bottom: 2px; }
.concept__text { font-size: 0.92rem; color: var(--text-light); line-height: 1.95; margin-bottom: 14px; }
.concept__cards { display: flex; flex-direction: column; gap: 16px; }
.concept__card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 24px 28px;
  border-left: 4px solid var(--primary);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.concept__card:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.concept__card--mint { border-left-color: var(--accent); background: var(--bg-mint); }
.concept__card-img {
  width: 56px; height: 56px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.concept__card-img img { width: 100%; height: 100%; object-fit: cover; }
.concept__card-title { font-weight: 700; color: var(--dark); margin-bottom: 4px; font-size: 0.95rem; }
.concept__card-text  { font-size: 0.82rem; color: var(--text-light); line-height: 1.7; }

/* =====================
   SERVICES (各種治療)
===================== */
.services {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
/* Optional: clinic background image with overlay */
.services__bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/services-bg.jpg');
  background-size: cover;
  background-position: center;
}
.services__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(240, 249, 255, 0.92);
}
.services .container { position: relative; z-index: 1; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.service-card__img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 18px;
}
.service-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card__img img { transform: scale(1.06); }
.service-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.4;
}
.service-card__text {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.75;
  text-align: center;
  flex: 1;
}
.service-card__badge {
  display: inline-block;
  background: #F4820A;
  color: white;
  padding: 6px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.82rem;
  margin-top: 14px;
  align-self: flex-start;
}

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

/* =====================
   FEATURES (with photos)
===================== */
.features {
  padding: 100px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.features::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(0,150,199,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative; z-index: 1;
}
.feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: rgba(0,150,199,0.5);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,150,199,0.18);
}
/* Photo at top of feature card */
.feature-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}
.feature-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  filter: brightness(0.85);
}
.feature-card:hover .feature-card__img img {
  transform: scale(1.08);
  filter: brightness(1);
}
/* Body */
.feature-card__body { padding: 24px 20px; }
.feature-card__num {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--primary);
  display: block;
  margin-bottom: 10px;
}
.feature-card__title { font-size: 1rem; font-weight: 700; color: white; margin-bottom: 8px; }
.feature-card__text  { font-size: 0.8rem; color: rgba(255,255,255,0.55); line-height: 1.75; }

/* =====================
   SYMPTOMS (with photos)
===================== */
.symptoms { padding: 100px 0; background: var(--bg-soft); }
.symptoms__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.symptom-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
  display: block;
  color: var(--text);
  width: calc(33.333% - 16px);
  min-width: 220px;
}
.symptom-card:hover {
  border-color: var(--primary);
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  color: var(--text);
}
/* Photo at top */
.symptom-card__img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.symptom-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.symptom-card:hover .symptom-card__img img { transform: scale(1.06); }
/* Body */
.symptom-card__body { padding: 24px; }
.symptom-card__title { font-size: 1.08rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.symptom-card__text  { font-size: 0.8rem; color: var(--text-light); line-height: 1.75; margin-bottom: 16px; }
.symptom-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  transition: gap var(--transition);
}
.symptom-card__arrow svg { width: 16px; height: 16px; }
.symptom-card:hover .symptom-card__arrow { gap: 10px; }

/* =====================
   TRAINING SECTION
===================== */
.training { padding: 100px 0; background: white; position: relative; overflow: hidden; }
.training::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 45%; height: 100%;
  background: linear-gradient(135deg, rgba(0,150,199,0.04) 0%, rgba(6,214,160,0.06) 100%);
  clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
}
.training__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative; z-index: 1;
}
.training__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--secondary), var(--primary) 50%, var(--accent));
  color: white;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.training__title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900; color: var(--dark); line-height: 1.3; margin-bottom: 20px; }
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.training__text { font-size: 0.92rem; color: var(--text-light); line-height: 1.95; margin-bottom: 32px; }
.training__steps { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.training__step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  transition: transform var(--transition);
}
.training__step:hover { transform: translateX(8px); }
.training__step-num {
  flex-shrink: 0;
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 0.82rem;
}
.training__step h4 { font-weight: 700; color: var(--dark); margin-bottom: 3px; font-size: 0.92rem; }
.training__step p  { font-size: 0.8rem; color: var(--text-light); }
.training__card {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 55%, #009988 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  color: white;
  position: relative;
  overflow: hidden;
}
.training__card::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: rgba(255,255,255,0.08); border-radius: 50%;
}
.training__card::after {
  content: '';
  position: absolute; bottom: -40px; left: -40px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,0.05); border-radius: 50%;
}
.training__card h3 { font-size: 1.4rem; font-weight: 900; margin-bottom: 8px; position: relative; z-index: 1; }
.training__card .desc { font-size: 0.85rem; opacity: 0.8; margin-bottom: 28px; position: relative; z-index: 1; }
.training__prices { position: relative; z-index: 1; }
.training__price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.training__price-row:last-child { border-bottom: none; }
.training__price-name { font-size: 0.88rem; font-weight: 600; }
.training__price-val { font-family: var(--font-en); font-weight: 800; font-size: 1.15rem; color: var(--accent); }

/* =====================
   PROFILE
===================== */
.profile { padding: 100px 0; background: var(--bg-soft); }
.profile__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}
.profile__photo-wrap { position: relative; }
.profile__photo {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 3/4;
  overflow: hidden;
}
.profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile__photo-placeholder { font-size: 6rem; opacity: 0.3; color: white; display: flex; align-items: center; justify-content: center; height: 100%; }
.profile__badge {
  position: absolute;
  bottom: -16px; left: 16px; right: 16px;
  background: white;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
}
.profile__badge-name  { font-weight: 900; font-size: 1.1rem; color: var(--dark); }
.profile__badge-title { font-size: 0.78rem; color: var(--primary); font-weight: 600; margin-top: 3px; }
.profile__content { padding-top: 8px; }
.profile__content h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 900; color: var(--dark); margin-bottom: 20px; }
.profile__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.profile__tag { background: white; border: 1px solid var(--border); color: var(--primary); font-size: 0.78rem; font-weight: 600; padding: 6px 14px; border-radius: 100px; }
.profile__text { font-size: 0.92rem; color: var(--text-light); line-height: 1.95; margin-bottom: 12px; }
.profile__career { margin-top: 36px; }
.profile__career h3 { font-size: 0.82rem; font-weight: 700; color: var(--text-light); letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-en); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.career-list { display: flex; flex-direction: column; }
.career-item { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.career-item:last-child { border-bottom: none; }
.career-item__time { flex-shrink: 0; width: 72px; font-family: var(--font-en); font-size: 0.72rem; font-weight: 700; color: var(--primary); padding-top: 3px; }
.career-item__dot { flex-shrink: 0; width: 8px; height: 8px; background: var(--primary); border-radius: 50%; margin-top: 7px; }
.career-item__text { font-size: 0.88rem; color: var(--text); }

/* =====================
   FLOW
===================== */
.flow { padding: 100px 0; background: white; }
.flow__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
}
.flow__steps::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--accent));
}
.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 28px;
  position: relative; z-index: 1;
}
.flow-step__circle {
  width: 88px; height: 88px;
  background: white;
  border: 3px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
  transition: all var(--transition);
  position: relative;
}
.flow-step:hover .flow-step__circle { background: var(--primary); color: white; transform: scale(1.1); box-shadow: 0 8px 24px rgba(0,150,199,0.35); }
.flow-step__circle-icon {
  position: absolute; top: -8px; right: -8px;
  width: 28px; height: 28px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.flow-step__circle-icon svg { width: 14px; height: 14px; color: var(--dark); }
.flow-step__title { font-weight: 700; font-size: 1.05rem; color: var(--dark); margin-bottom: 10px; }
.flow-step__text  { font-size: 0.82rem; color: var(--text-light); line-height: 1.75; }

/* =====================
   ACCESS
===================== */
.access { padding: 100px 0; background: var(--dark); color: white; }
.access__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.access__info h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; margin-bottom: 36px; }
.hours-block { margin-bottom: 36px; }
.hours-block h3 { font-family: var(--font-en); font-size: 0.72rem; font-weight: 700; color: var(--accent); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 16px; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid rgba(255,255,255,0.06); }
.hours-table td { padding: 10px 0; font-size: 0.88rem; }
.hours-table td:first-child { color: rgba(255,255,255,0.55); width: 130px; }
.hours-table td:last-child { font-weight: 600; }
.hours-table .holiday td { color: rgba(255,255,255,0.3); }
.access__addr { padding: 20px 24px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); }
.access__addr p { font-size: 0.88rem; color: rgba(255,255,255,0.75); margin-bottom: 6px; line-height: 1.7; }
.access__addr p:last-child { margin-bottom: 0; }
.access__addr strong { color: white; }
.access__addr-icon { display: inline-flex; align-items: center; gap: 8px; }
.access__addr-icon svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.access__map { background: rgba(255,255,255,0.04); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; border: 1px solid rgba(255,255,255,0.08); }
.access__map iframe { width: 100%; height: 100%; display: block; border: none; }

/* =====================
   FOOTER
===================== */
.footer { background: #060C18; color: white; padding: 64px 0 100px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer__logo-img { height: 36px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer__desc { font-size: 0.8rem; color: rgba(255,255,255,0.45); line-height: 1.8; margin-bottom: 20px; }
.footer__socials { display: flex; gap: 10px; }
.footer__social {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65);
  transition: all var(--transition);
}
.footer__social svg { width: 18px; height: 18px; }
.footer__social:hover { background: var(--primary); color: white; transform: translateY(-3px); }
.footer__col h4 { font-family: var(--font-en); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.38); margin-bottom: 18px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 0.85rem; color: rgba(255,255,255,0.65); transition: color var(--transition); display: flex; align-items: center; gap: 8px; }
.footer__col a svg { width: 14px; height: 14px; flex-shrink: 0; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer__copy { font-size: 0.75rem; color: rgba(255,255,255,0.28); }

/* =====================
   FLOATING CTA
===================== */
.float-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.18);
  transform: translateY(100%);
  animation: ctaSlideUp 0.6s ease 1.2s forwards;
}
@keyframes ctaSlideUp { to { transform: translateY(0); } }
.float-cta__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 16px;
  text-decoration: none;
  transition: all var(--transition);
}
.float-cta__btn--tel  { background: var(--primary); color: white; }
.float-cta__btn--tel:hover  { background: var(--primary-dark); color: white; }
.float-cta__btn--line { background: #06C755; color: white; }
.float-cta__btn--line:hover { background: #05A845; color: white; }
.float-cta__icon { flex-shrink: 0; display: flex; }
.float-cta__icon svg { width: 24px; height: 24px; }
.float-cta__text { display: flex; flex-direction: column; }
.float-cta__label { font-size: 0.68rem; opacity: 0.85; line-height: 1; margin-bottom: 3px; }
.float-cta__num { font-family: var(--font-en); font-weight: 800; font-size: 1.1rem; letter-spacing: 0.04em; line-height: 1; }

/* =====================
   PAGE HERO (subpages)
===================== */
.page-hero {
  padding: 130px 0 70px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 60%, var(--primary-light) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__en { font-family: var(--font-en); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; color: var(--accent); display: block; margin-bottom: 10px; }
.page-hero__title { font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 900; margin-bottom: 14px; }
.page-hero__lead { font-size: 0.95rem; opacity: 0.82; max-width: 480px; margin: 0 auto; line-height: 1.85; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; margin-bottom: 20px; justify-content: center; }
.breadcrumb a { color: rgba(255,255,255,0.55); }
.breadcrumb a:hover { color: white; }
.breadcrumb__sep { color: rgba(255,255,255,0.3); font-size: 0.65rem; }
.breadcrumb__current { color: white; font-weight: 600; }

/* =====================
   SYMPTOM CONTENT
===================== */
.symptom-content { padding: 80px 0 100px; }
.symptom-content__grid { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.symptom-article h2 { font-size: 1.35rem; font-weight: 700; color: var(--dark); margin: 48px 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.symptom-article h2:first-child { margin-top: 0; }
.symptom-article p { font-size: 0.92rem; color: var(--text-light); line-height: 1.95; margin-bottom: 16px; }
.symptom-article ul { list-style: none; margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.symptom-article ul li { font-size: 0.9rem; color: var(--text-light); padding-left: 20px; position: relative; line-height: 1.7; }
.symptom-article ul li::before { content: '▸'; position: absolute; left: 0; color: var(--primary); font-size: 0.75rem; top: 3px; }
.type-cards { display: flex; flex-direction: column; gap: 16px; margin: 24px 0; }
.type-card { background: var(--bg-soft); border-radius: var(--radius); padding: 24px 28px; border-left: 4px solid var(--primary); }
.type-card--accent { border-left-color: var(--accent); }
.type-card h3 { font-weight: 700; color: var(--dark); margin-bottom: 8px; font-size: 0.95rem; }
.type-card p { margin-bottom: 0; }
.treatment-steps { display: flex; flex-direction: column; gap: 16px; margin: 24px 0; }
.treatment-step { display: flex; gap: 16px; padding: 20px 24px; background: white; border: 1px solid var(--border); border-radius: var(--radius); transition: box-shadow var(--transition); }
.treatment-step:hover { box-shadow: var(--shadow); }
.treatment-step__num { flex-shrink: 0; width: 40px; height: 40px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-en); font-weight: 800; font-size: 0.8rem; }
.treatment-step h4 { font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.treatment-step p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 0; }

/* =====================
   SIDEBAR
===================== */
.symptom-sidebar { position: sticky; top: 88px; }
.sidebar-card { background: white; border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--border); margin-bottom: 20px; }
.sidebar-card h3 { font-weight: 700; color: var(--dark); font-size: 0.88rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.sidebar-tel-link { display: flex; flex-direction: column; align-items: center; padding: 16px; background: var(--bg-soft); border-radius: var(--radius); margin-bottom: 12px; transition: background var(--transition); }
.sidebar-tel-link:hover { background: var(--primary); }
.sidebar-tel-link:hover .tel-label, .sidebar-tel-link:hover .tel-num { color: white; }
.tel-label { font-size: 0.72rem; color: var(--text-light); margin-bottom: 4px; }
.tel-num { font-family: var(--font-en); font-weight: 800; font-size: 1.5rem; color: var(--primary); letter-spacing: 0.05em; }
.sidebar-line-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; background: #06C755; color: white; border-radius: var(--radius); font-weight: 700; font-size: 0.88rem; transition: background var(--transition); }
.sidebar-line-btn svg { width: 18px; height: 18px; }
.sidebar-line-btn:hover { background: #05A845; color: white; }
.sidebar-nav ul { display: flex; flex-direction: column; gap: 8px; }
.sidebar-nav a { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: var(--bg-soft); border-radius: 8px; font-size: 0.85rem; color: var(--text); transition: all var(--transition); }
.sidebar-nav a svg { width: 16px; height: 16px; flex-shrink: 0; }
.sidebar-nav a:hover { background: var(--primary); color: white; transform: translateX(4px); }

/* =====================
   TRAINING PAGE
===================== */
.training-page { padding: 80px 0 100px; }
.training-page__intro { text-align: center; max-width: 700px; margin: 0 auto 72px; }
.training-page__intro h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; color: var(--dark); margin-bottom: 20px; }
.training-page__intro p { font-size: 0.95rem; color: var(--text-light); line-height: 1.95; }
.training-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 72px; }
.plan-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 28px; text-align: center; transition: all var(--transition); }
.plan-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--primary); }
.plan-card--featured { background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%); color: white; border-color: transparent; }
.plan-card--featured .plan-card__title, .plan-card--featured .plan-card__price { color: white; }
.plan-card--featured .plan-card__price-unit { color: rgba(255,255,255,0.65); }
.plan-card--featured .plan-card__text { color: rgba(255,255,255,0.8); }
.plan-card__num { font-family: var(--font-en); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; color: var(--primary); margin-bottom: 16px; display: block; }
.plan-card--featured .plan-card__num { color: var(--accent); }
.plan-card__icon { font-size: 2.4rem; margin-bottom: 14px; display: block; }
.plan-card__title { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 14px; }
.plan-card__price { font-family: var(--font-en); font-weight: 900; font-size: 2rem; color: var(--primary); }
.plan-card__price-unit { font-size: 0.82rem; color: var(--text-light); margin-bottom: 16px; display: block; }
.plan-card__text { font-size: 0.82rem; color: var(--text-light); line-height: 1.75; }
.training-cta { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 56px 48px; text-align: center; }
.training-cta h2 { font-size: 1.6rem; font-weight: 900; color: var(--dark); margin-bottom: 12px; }
.training-cta p { font-size: 0.92rem; color: var(--text-light); margin-bottom: 28px; }
.training-cta__btns { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* =====================
   PAGE LOADER
===================== */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow: hidden;
  transition: opacity 0.55s ease, transform 0.65s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: opacity, transform;
}
#loader.is-hidden {
  opacity: 0;
  transform: translateY(-6%);
  pointer-events: none;
}

/* Center wrapper: rings + logo share the same midpoint */
.loader__center {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Expanding rings — absolutely centered inside .loader__center */
.loader__ring {
  position: absolute;
  width: 240px;
  height: 240px;
  top: 50%;
  left: 50%;
  margin-top: -120px;
  margin-left: -120px;
  border-radius: 50%;
  border: 1px solid rgba(0, 150, 199, 0.22);
  animation: loaderRipple 2.6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.loader__ring:nth-child(2) {
  animation-delay: 0.87s;
  border-color: rgba(6, 214, 160, 0.15);
}
.loader__ring:nth-child(3) {
  animation-delay: 1.73s;
  border-color: rgba(0, 150, 199, 0.08);
}
@keyframes loaderRipple {
  0%   { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.8); opacity: 0; }
}

/* Logo — sits above rings via z-index, centered by flex */
.loader__logo {
  position: relative;
  z-index: 1;
  width: 150px;
  height: auto;
  filter: brightness(0) invert(1);
  animation: loaderLogoIn 0.7s cubic-bezier(0.34, 1.4, 0.64, 1) 0.15s both;
}
@keyframes loaderLogoIn {
  from { opacity: 0; transform: scale(0.75) translateY(8px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}

/* Label */
.loader__label {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  font-family: var(--font-en);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  animation: loaderFadeUp 0.5s ease 0.55s both;
}

/* Progress bar */
.loader__bar-wrap {
  position: relative;
  z-index: 1;
  margin-top: 36px;
  width: 110px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  animation: loaderFadeUp 0.4s ease 0.4s both;
}
.loader__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  animation: loaderProgress 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}
@keyframes loaderProgress {
  0%   { width: 0%; }
  50%  { width: 65%; }
  100% { width: 100%; }
}

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

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .concept__inner { grid-template-columns: 1fr; gap: 48px; }
  .concept__cards { display: none; }
  .training__inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 900px) {
  .symptom-content__grid { grid-template-columns: 1fr; }
  .symptom-sidebar { position: static; }
  .training-plans { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav__menu { display: none; }
  .nav__hamburger { display: flex; }
  .hero__title { font-size: 2.1rem; }
  .hero__stats { gap: 28px; }
  .hero__btns { flex-direction: column; }
  .hero__btns .btn { text-align: center; }
  .symptoms__grid .symptom-card { width: calc(50% - 12px); }
  .flow__steps { grid-template-columns: 1fr; gap: 36px; }
  .flow__steps::before { display: none; }
  .profile__inner { grid-template-columns: 1fr; }
  .profile__photo { max-width: 260px; margin: 0 auto; }
  .profile__badge { left: 0; right: 0; }
  .access__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .training-cta { padding: 40px 24px; }
}
@media (max-width: 520px) {
  .symptoms__grid .symptom-card { width: 100%; }
  .features__grid { grid-template-columns: 1fr; }
  .float-cta__num { font-size: 0.92rem; }
}
