﻿html { scroll-padding-top: 64px; }

/* ===== FORMATION PRO — page-specific styles ===== */

/* ===== SHARED HERO (all formation pages) ===== */
.pg-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px 20px 80px;
  overflow: hidden;
}
.pg-hero::after {
  content: '';
  position: absolute;
  top: 75px;
  right: 12px;
  width: 61px;
  height: 61px;
  background-image: url('../../image/overlay/pixel unique.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top right;
  pointer-events: none;
  z-index: 10;
}
@media (min-width: 768px) {
  .pg-hero::after { top: 85px; right: 22px; width: clamp(16px, 2.8vw, 32px); height: clamp(16px, 2.8vw, 32px); }
}
@media (max-width: 767px) {
  .pg-hero::after { width: 16px; height: 16px; top: 80px; }
}
.pg-hero__media {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 0;
}
.pg-hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.75) contrast(1.1);
}
.pg-hero__media::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0.6) 45%, rgba(8,8,8,0.1) 100%);
}
.pg-hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  animation: fadeUp 0.8s ease-out 0.2s both;
}
.pg-hero__breadcrumb {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(245,245,245,0.38);
  margin-bottom: 24px;
}
.pg-hero__breadcrumb a {
  color: rgba(245,245,245,0.38);
  text-decoration: none;
  transition: color 0.2s;
}
.pg-hero__breadcrumb a:hover { color: var(--accent); }
.pg-hero__breadcrumb span { margin: 0 8px; }
.pg-hero__tag {
  font-family: var(--font-display);
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 20px;
}
.pg-hero__title {
  font-family: var(--font-display);
  font-size: clamp(28px, calc(2.5vw + 16px), 58px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 16px;
}
.pg-hero__title em {
  font-style: normal;
  color: var(--accent);
}
.pg-hero__desc {
  font-size: clamp(13px, calc(0.6vw + 10px), 16px);
  color: rgba(245,245,245,0.7);
  line-height: 1.5;
  max-width: 52ch;
  margin-bottom: 28px;
}
.pg-hero__badges {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}
.pg-hero__badge {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(245,245,245,0.65);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 16px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ===== SHARED INTRO (all formation pages) ===== */
.pg-intro {
  background: var(--white);
  padding: 100px 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  position: relative;
  overflow: hidden;
  border-bottom: none;
}
.pg-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.pg-intro__text .section-tag { color: var(--accent); }
.pg-intro__text .section-title {
  color: var(--black);
  margin: 12px 0 24px;
}
.pg-intro__text p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(0,0,0,0.55);
  margin-bottom: 16px;
}
.pg-intro__values {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-self: center;
  width: 100%;
}
.pg-intro__value {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  background: transparent;
  border-left: none;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.pg-intro__value:first-child { padding-top: 0; }
.pg-intro__value:last-child { border-bottom: none; padding-bottom: 0; }
.pg-intro__value-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 700;
  color: var(--accent);
  line-height: 0.9;
  letter-spacing: -0.05em;
  flex-shrink: 0;
}
.pg-intro__value-label {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.8vw, 46px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--black);
  line-height: 1;
  text-align: right;
}

/* ===== SHARED CTA ===== */
.pg-cta {
  background: var(--white);
  padding: 80px 6vw;
  border-top: 3px solid var(--accent);
  position: relative;
  overflow: hidden;
}
.pg-cta__watermark {
  position: absolute;
  left: -2vw;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(120px, 24vw, 300px);
  font-weight: 700;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,0,0,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.pg-cta__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
  position: relative;
  z-index: 1;
}
.pg-cta__text .section-tag { color: rgba(0,0,0,0.45); margin-bottom: 16px; }
.pg-cta__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.05em;
  color: var(--black);
  margin: 0 0 24px;
}
.pg-cta__title em { font-style: normal; color: var(--accent); }
.pg-cta__text p {
  font-size: 15px;
  color: rgba(0,0,0,0.55);
  line-height: 1.6;
  max-width: 36ch;
}
.pg-cta__sep {
  display: none;
  width: 1px;
  background: rgba(0,0,0,0.1);
  align-self: stretch;
  flex-shrink: 0;
}
.pg-cta__panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.pg-cta__panel-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(0,0,0,0.4);
}
.pg-cta__phone {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
  text-decoration: none;
  line-height: 1;
  transition: opacity 0.2s;
  display: block;
}
.pg-cta__phone:hover { opacity: 0.7; }
.pg-cta__email {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(0,0,0,0.4);
  text-decoration: none;
  transition: color 0.2s;
  display: block;
}
.pg-cta__email:hover { color: var(--accent); }
.pg-cta__avail {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(0,0,0,0.28);
}

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

/* ===== FORMATION PRO MODULES ===== */
.fp-modules {
  padding: 80px 20px;
  background: rgba(0,0,0,0.02);
}
.fp-modules__header { margin-bottom: 48px; }
.fp-modules__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.fp-module-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s;
}
.fp-module-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.fp-module-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.fp-module-card__img::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: clamp(16px, 2.8vw, 32px);
  height: clamp(16px, 2.8vw, 32px);
  background-image: url('../../image/overlay/pixel unique.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top right;
  pointer-events: none;
  z-index: 2;
}
.fp-module-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
  filter: brightness(0.88);
}
.fp-module-card:hover .fp-module-card__img img { transform: scale(1.05); }
.fp-module-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.fp-module-card__tag {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray);
  border: 1px solid rgba(0,0,0,0.14);
  padding: 4px 12px;
  display: inline-block;
  margin-bottom: 16px;
  align-self: flex-start;
}
.fp-module-card__tag--accent {
  color: var(--black);
  border-color: var(--accent);
  background: rgba(245,200,0,0.1);
}
.fp-module-card__title {
  font-family: var(--font-display);
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 12px;
}
.fp-module-card__desc {
  font-size: 14px;
  color: rgba(0,0,0,0.58);
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
}
.fp-module-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid rgba(0,0,0,0.07);
  margin-bottom: 20px;
}
.fp-module-meta {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 6px;
}
.fp-module-meta svg { width: 14px; height: 14px; flex-shrink: 0; }
.fp-module-meta--price {
  color: var(--black);
  font-size: 15px;
}
.fp-module-card__btn {
  background: var(--black);
  color: var(--accent);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 13px 28px;
  text-align: center;
  display: block;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.fp-module-card__btn:hover {
  background: var(--accent);
  color: var(--black);
  transform: translateY(-1px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 479px) {
  .pg-intro { padding: 60px 20px; gap: 32px; }
  .pg-intro__value { gap: 12px; padding: 16px 0; }
  .pg-intro__value-num { font-size: clamp(36px, 11vw, 52px); }
  .pg-intro__value-label { font-size: clamp(14px, 5vw, 20px); }
}
@media (min-width: 480px) and (max-width: 767px) {
  .pg-intro { padding: 72px 20px; gap: 40px; }
  .pg-intro__value { gap: 16px; padding: 20px 0; }
  .pg-intro__value-num { font-size: clamp(36px, 8vw, 56px); }
  .pg-intro__value-label { font-size: clamp(14px, 3.8vw, 22px); }
}
@media (min-width: 768px) {
  .pg-hero { padding: 80px 60px 100px; }
  .pg-intro { padding: 120px 60px 60px; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
  .pg-intro__value-num { font-size: clamp(40px, 4.5vw, 68px); }
  .pg-intro__value-label { font-size: clamp(18px, 2.5vw, 42px); }
  .fp-modules { padding: 50px 60px 100px; }
  .fp-modules__grid { grid-template-columns: repeat(2, 1fr); }
  .pg-cta { padding: 100px 6vw; }
  .pg-cta__inner { flex-direction: row; align-items: center; gap: 64px; }
  .pg-cta__text { flex: 1; }
  .pg-cta__sep { display: block; }
  .pg-cta__panel { flex: 0 0 auto; gap: 24px; }
}
@media (min-width: 1100px) {
  .pg-intro__value-num { font-size: clamp(52px, 5.5vw, 76px); }
  .pg-intro__value-label { font-size: clamp(28px, 3vw, 46px); }
}
@media (min-width: 1200px) {
  .fp-modules__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .pg-hero__media::after {
    background: linear-gradient(65deg, rgba(8,8,8,0.88) 0%, rgba(8,8,8,0) 52%);
  }
}

/* ===== FAQ ===== */
.ct-faq {
  border-bottom: 3px solid var(--accent);
  background: #111111;
  padding: clamp(72px, 9vw, 112px) clamp(24px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.ct-faq::after {
  content: '';
  position: absolute;
  top: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  background-image: url('../../image/overlay/pixel unique.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top right;
  pointer-events: none;
  z-index: 2;
}
@media (max-width: 767px) {
  .ct-faq::after { width: 16px; height: 16px; top: 75px; right: 12px; }
}
.ct-faq__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 72px);
}
.ct-faq__tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}
.ct-faq__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--white);
  margin-bottom: 20px;
}
.ct-faq__title em { font-style: normal; color: var(--accent); }
.ct-faq__subtitle { font-size: 14px; color: rgba(255,255,255,0.4); line-height: 1.6; }
.ct-faq__subtitle a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(245,200,0,0.3); transition: border-color 0.2s; }
.ct-faq__subtitle a:hover { border-color: var(--accent); }
.ct-faq__list { border-top: 1px solid rgba(255,255,255,0.08); }
.ct-faq__item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.ct-faq__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; background: none; border: none; color: var(--white);
  font-family: var(--font-display); font-size: clamp(14px, 1.3vw, 17px); font-weight: 600;
  text-align: left; cursor: pointer; transition: color 0.2s;
}
.ct-faq__btn:hover { color: var(--accent); }
.ct-faq__btn-inner { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; }
.ct-faq__icon {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: rgba(255,255,255,0.55); transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.ct-faq__icon svg { width: 16px; height: 16px; }
.ct-faq__btn:hover .ct-faq__icon { border-color: rgba(245,200,0,0.35); background: rgba(245,200,0,0.08); color: var(--accent); }
.ct-faq__chevron {
  width: 18px; height: 18px; flex-shrink: 0;
  color: rgba(255,255,255,0.35); transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), color 0.2s;
}
.ct-faq__btn:hover .ct-faq__chevron { color: var(--accent); }
.ct-faq__item.is-open .ct-faq__chevron { transform: rotate(180deg); color: var(--accent); }
.ct-faq__item.is-open .ct-faq__btn { color: var(--accent); }
.ct-faq__answer { overflow: hidden; max-height: 0; transition: max-height 0.38s cubic-bezier(0.4,0,0.2,1); }
.ct-faq__item.is-open .ct-faq__answer { max-height: 400px; }
.ct-faq__answer p { font-size: 15px; color: var(--white); line-height: 1.75; padding-bottom: 24px; max-width: 68ch; }
@media (max-width: 767px) {
  .fp-module-card__img { aspect-ratio: 16/7; }
  .fp-module-card__body { padding: 18px; }
}

