/* ================================================================
   株式会社BCMジャパン — Redesigned Corporate Website
   Design Direction: White-based, refined, cool, architectural
   Color System:
     Navy Deep:    #0D1B2A
     Navy Mid:     #1A2D45
     Steel:        #4A6FA5
     Gold:         #B8964E
     White:        #FFFFFF
     Off-White:    #F8F9FB
     Light:        #ECEEF2
     Gray:         #8A96A3
     Text:         #1C2B3A
================================================================ */

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

:root {
  --navy:       #0D1B2A;
  --navy-mid:   #1A2D45;
  --steel:      #4A6FA5;
  --gold:       #B8964E;
  --gold-lt:    #D4AE6A;
  --white:      #FFFFFF;
  --off:        #F8F9FB;
  --light:      #ECEEF2;
  --gray:       #8A96A3;
  --text:       #1C2B3A;
  --header-h:   76px;
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); font-size: 16px; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
strong { font-weight: 700; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 48px; }
.sp-hidden { display: inline; }

/* ================================================================
   HEADER
================================================================ */
#site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(255,255,255,0.0);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

#site-header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 4px 24px rgba(0,0,0,0.06);
}

/* Scrolled nav links go dark */
#site-header.scrolled .nav-link { color: var(--text); }
#site-header.scrolled .nav-link:hover { color: var(--navy); }
#site-header.scrolled .hamburger span { background: var(--navy); }

.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.header-logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 48px; width: auto; display: block; }

.nav-list { display: flex; align-items: center; gap: 4px; }

.nav-link {
  font-family: 'Barlow', sans-serif;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.9);
  padding: 8px 16px;
  position: relative;
  transition: color 0.25s var(--ease);
}

.nav-link::after {
  content: ''; position: absolute;
  bottom: 4px; left: 16px; right: 16px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  border-radius: 2px;
  padding: 9px 22px;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.nav-cta::after { display: none; }

.nav-cta:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184,150,78,0.4);
}

/* Hamburger */
.hamburger { display: none; flex-direction: column; justify-content: space-between; width: 24px; height: 16px; }
.hamburger span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.3s var(--ease), 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); }

/* Mobile nav */
.mobile-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 999;
  display: flex; align-items: center; justify-content: center;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease-out);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 0; text-align: center; width: 100%; }
.mnav-link {
  display: block; padding: 22px 40px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem; font-weight: 700; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s, background 0.2s;
}
.mnav-link:hover { color: var(--gold); background: rgba(255,255,255,0.03); }

/* ================================================================
   SECTION COMMON
================================================================ */
.section { padding: 108px 0; position: relative; }

.section-label {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.section-label--light { color: var(--gold-lt); }

.section-h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 700; color: var(--navy); letter-spacing: 0.04em; line-height: 1.25;
}

.section-h2--light { color: var(--white); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-h2::after {
  content: ''; display: block;
  width: 40px; height: 2px; background: var(--gold);
  margin: 18px auto 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em;
  padding: 15px 34px; border-radius: 2px;
  transition: all 0.28s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold); color: var(--white);
}
.btn--primary:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(184,150,78,0.45);
}

.btn--ghost {
  border: 1.5px solid rgba(255,255,255,0.6); color: var(--white);
}
.btn--ghost:hover {
  border-color: var(--gold-lt); color: var(--gold-lt);
  transform: translateY(-2px);
}

.btn--outline {
  border: 1.5px solid var(--navy); color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--white); }

.btn--full { width: 100%; justify-content: center; }

/* ================================================================
   HERO
================================================================ */
.hero {
  position: relative;
  height: 100vh; min-height: 660px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute; inset: 0; z-index: 0;
}

.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  transform: scale(1.04);
  animation: heroZoom 12s var(--ease) forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.0); }
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,18,30,0.38) 0%,
    rgba(13,27,42,0.22) 50%,
    rgba(10,18,30,0.18) 100%
  );
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 40px;
  max-width: 880px;
}

.hero-eyebrow {
  font-family: 'Barlow', sans-serif;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.38em;
  color: var(--gold-lt);
  margin-bottom: 28px;
  opacity: 0; animation: aFadeUp 0.9s var(--ease-out) 0.3s forwards;
}

.hero-h1 {
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 700; color: var(--white);
  line-height: 1.18; letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.h1-line { display: block; opacity: 0; animation: aFadeUp 0.9s var(--ease-out) 0.5s forwards; }
.h1-line--accent {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.9);
  animation-delay: 0.65s;
}

.hero-sub {
  font-size: clamp(0.88rem, 1.5vw, 1rem);
  color: rgba(255,255,255,0.72);
  line-height: 2; margin-bottom: 48px;
  font-weight: 300;
  opacity: 0; animation: aFadeUp 0.9s var(--ease-out) 0.85s forwards;
}

.hero-btns {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: aFadeUp 0.9s var(--ease-out) 1.05s forwards;
}

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px;
}

.hero-scroll__line {
  display: block; width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: lineDown 2.2s ease-in-out infinite;
}

@keyframes lineDown {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0.3; }
}

.hero-scroll__text {
  font-family: 'Barlow', sans-serif;
  font-size: 0.58rem; letter-spacing: 0.3em;
  color: rgba(255,255,255,0.4);
}

/* Keyframe shared */
@keyframes aFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   TICKER
================================================================ */
.ticker-wrap {
  background: var(--navy);
  padding: 14px 0; overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ticker-track {
  display: flex; gap: 0;
  animation: tickerScroll 28s linear infinite;
  width: max-content;
}

.ticker-track span {
  font-family: 'Barlow', sans-serif;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.25em;
  color: rgba(255,255,255,0.45);
  padding: 0 40px;
  white-space: nowrap;
  position: relative;
}

.ticker-track span::after {
  content: '·';
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  color: var(--gold); opacity: 0.6;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ================================================================
   ABOUT
================================================================ */
.about-section { background: var(--white); }

.about-grid {
  display: grid; grid-template-columns: 1fr 420px; gap: 80px; align-items: center;
}

.about-rule {
  width: 40px; height: 2px; background: var(--gold); margin: 20px 0 28px;
}

.about-body {
  font-size: 0.95rem; color: #4A5568; line-height: 2;
}

.about-text .section-h2 { letter-spacing: 0.05em; }

/* Stats */
.about-stats { display: flex; flex-direction: column; gap: 2px; }

.stat-card {
  background: var(--off);
  border: 1px solid var(--light);
  border-left: 3px solid var(--gold);
  padding: 28px 32px;
  display: flex; flex-direction: column; gap: 6px;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.stat-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateX(4px);
}

.stat-num {
  font-family: 'Barlow', sans-serif;
  font-size: 2.2rem; font-weight: 800; color: var(--navy); line-height: 1;
}

.stat-suffix { font-size: 1rem; font-weight: 400; margin-left: 2px; }

.stat-desc { font-size: 0.78rem; color: var(--gray); letter-spacing: 0.04em; line-height: 1.6; }

/* ================================================================
   CONCEPT
================================================================ */
.concept-section { background: var(--navy); padding: 108px 0; overflow: hidden; }

.concept-layout {
  display: grid; grid-template-columns: 480px 1fr; gap: 80px; align-items: start;
}

.concept-rule {
  width: 40px; height: 2px; background: var(--gold-lt); margin: 20px 0 28px;
}

.concept-h2 { color: var(--white); }

.concept-body {
  font-size: 0.92rem; color: rgba(255,255,255,0.65); line-height: 2;
}

.concept-body strong { color: var(--gold-lt); font-weight: 700; }

/* Pillars */
.concept-pillars {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  align-self: center;
}

.cpillar {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 32px 28px;
  transition: background 0.3s var(--ease), border-color 0.3s;
  position: relative; overflow: hidden;
}

.cpillar::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.cpillar:hover { background: rgba(255,255,255,0.07); border-color: rgba(184,150,78,0.3); }
.cpillar:hover::before { transform: scaleX(1); }

.cpillar-icon-wrap { font-size: 1.5rem; color: var(--gold); margin-bottom: 16px; display: block; }

.cpillar h3 {
  font-size: 0.88rem; font-weight: 700; color: var(--white);
  margin-bottom: 10px; letter-spacing: 0.04em; line-height: 1.5;
}

.cpillar p { font-size: 0.8rem; color: rgba(255,255,255,0.5); line-height: 1.85; }

/* ================================================================
   SERVICES
================================================================ */
.services-section { background: var(--off); }

.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px;
  background: var(--light); border: 1px solid var(--light); border-radius: 4px; overflow: hidden;
}

.svc-card {
  background: var(--white); padding: 48px 40px;
  position: relative;
  transition: box-shadow 0.3s var(--ease);
}

.svc-card:hover { box-shadow: inset 0 0 0 1.5px var(--steel); z-index: 1; }

.svc-card--featured { border-top: 3px solid var(--gold); }

.svc-num {
  position: absolute; top: 28px; right: 32px;
  font-family: 'Barlow', sans-serif;
  font-size: 3.5rem; font-weight: 800;
  color: var(--light); line-height: 1; user-select: none;
}

.svc-icon { font-size: 1.5rem; color: var(--steel); margin-bottom: 18px; }
.svc-card--featured .svc-icon { color: var(--gold); }

.svc-title {
  font-size: 1rem; font-weight: 700; color: var(--navy);
  margin-bottom: 14px; letter-spacing: 0.04em; line-height: 1.4;
}

.svc-desc { font-size: 0.86rem; color: var(--gray); line-height: 1.9; margin-bottom: 20px; }

.svc-list { display: flex; flex-direction: column; gap: 7px; }

.svc-list li {
  font-size: 0.8rem; color: var(--navy-mid); padding-left: 14px; position: relative;
}

.svc-list li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 5px; height: 1px; background: var(--gold);
}

/* ================================================================
   STRENGTH
================================================================ */
.strength-section { background: var(--white); }

.strength-list { display: flex; flex-direction: column; gap: 0; }

.str-item {
  display: grid; grid-template-columns: 80px 1fr; gap: 0; align-items: stretch;
  border-bottom: 1px solid var(--light);
  padding: 40px 0;
  transition: background 0.25s var(--ease);
}

.str-item:first-child { border-top: 1px solid var(--light); }

.str-item:hover { background: var(--off); }

.str-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--gold); padding-top: 4px; flex-shrink: 0;
}

.str-body h3 {
  font-size: 1.02rem; font-weight: 700; color: var(--navy);
  margin-bottom: 10px; letter-spacing: 0.04em;
}

.str-body p { font-size: 0.88rem; color: var(--gray); line-height: 1.9; max-width: 680px; }

/* ================================================================
   COMPANY
================================================================ */
.company-section { background: var(--off); }

.company-layout {
  display: grid; grid-template-columns: 1fr 360px; gap: 60px; align-items: start;
}

.company-table-wrap {
  border: 1px solid var(--light); border-radius: 4px; overflow: hidden;
}

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

.company-table tr:not(:last-child) { border-bottom: 1px solid var(--light); }

.company-table th,
.company-table td { padding: 18px 24px; text-align: left; font-size: 0.88rem; vertical-align: top; }

.company-table th {
  width: 160px; font-weight: 700; color: var(--navy);
  background: var(--white);
  border-right: 1px solid var(--light);
  letter-spacing: 0.04em; white-space: nowrap;
}

.company-table td { color: var(--text); line-height: 1.8; background: var(--white); }

/* Members */
.members-h {
  font-size: 1rem; font-weight: 700; color: var(--navy);
  margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 1px solid var(--light); letter-spacing: 0.06em;
}

.members-grid { display: flex; flex-direction: column; gap: 12px; }

.member {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border: 1px solid var(--light);
  border-radius: 4px; padding: 16px 20px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.member:hover {
  border-color: var(--steel);
  box-shadow: 0 4px 16px rgba(74,111,165,0.1);
}

.member-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-mid), var(--steel));
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: rgba(255,255,255,0.75); flex-shrink: 0;
}

.member-detail { display: flex; flex-direction: column; gap: 2px; }

.member-role {
  font-size: 0.68rem; color: var(--gold); font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}

.member-name { font-size: 0.95rem; font-weight: 700; color: var(--navy); letter-spacing: 0.06em; }
.member-en { font-family: 'Barlow', sans-serif; font-size: 0.72rem; color: var(--gray); }

/* ================================================================
   CONTACT
================================================================ */
.contact-section { background: var(--white); }

.contact-layout { display: grid; grid-template-columns: 360px 1fr; gap: 80px; align-items: start; }

.contact-rule { width: 40px; height: 2px; background: var(--gold); margin: 18px 0 28px; }

.contact-lead { font-size: 0.92rem; color: var(--gray); line-height: 2; margin-bottom: 36px; }

.contact-info-list { display: flex; flex-direction: column; gap: 16px; }

.contact-info-list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 0.88rem; color: var(--text);
}

.ci-icon {
  width: 32px; height: 32px; border-radius: 2px;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: var(--gold); flex-shrink: 0; margin-top: 1px;
}

.contact-info-list a { transition: color 0.2s; }
.contact-info-list a:hover { color: var(--gold); }

/* Form */
.contact-form { position: relative; display: flex; flex-direction: column; gap: 18px; }

.form-row { display: flex; gap: 16px; }
.form-row--2 > .fgroup { flex: 1; }

.fgroup { display: flex; flex-direction: column; gap: 7px; }

.fgroup label {
  font-size: 0.78rem; font-weight: 700; color: var(--navy); letter-spacing: 0.06em;
}

.req { color: #E53E3E; }

.fgroup input,
.fgroup select,
.fgroup textarea {
  background: var(--off); border: 1px solid var(--light);
  color: var(--text); padding: 13px 16px;
  border-radius: 2px; font-size: 0.88rem; font-family: inherit;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  width: 100%;
}

.fgroup select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B8964E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; cursor: pointer;
}

.fgroup input::placeholder,
.fgroup textarea::placeholder { color: #B0B8C4; }

.fgroup input:focus,
.fgroup select:focus,
.fgroup textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,150,78,0.12);
}

.fgroup textarea { resize: vertical; min-height: 120px; }

.form-note { font-size: 0.76rem; color: var(--gray); text-align: center; }

/* Form success overlay */
.contact-form-wrap { position: relative; }

.form-success {
  position: absolute; inset: 0;
  background: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; text-align: center;
  opacity: 0; pointer-events: none;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
  border-radius: 4px;
  z-index: 10;
}

.form-success.visible { opacity: 1; pointer-events: all; visibility: visible; }

.form-success i { font-size: 2.8rem; color: var(--gold); }
.form-success h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.form-success p { font-size: 0.88rem; color: var(--gray); line-height: 1.8; }

/* Input error */
.fgroup .field-error { font-size: 0.74rem; color: #E53E3E; margin-top: 4px; }
.fgroup .input-err { border-color: #E53E3E !important; }

/* ================================================================
   FOOTER
================================================================ */
#site-footer { background: var(--navy); }

.footer-top { border-bottom: 1px solid rgba(255,255,255,0.08); padding: 60px 0; }

.footer-top-inner {
  display: grid; grid-template-columns: auto 1fr auto; gap: 60px; align-items: start;
}

.footer-brand { display: flex; flex-direction: column; gap: 10px; }

.footer-logo-img { height: 52px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }

.footer-brand-name {
  font-size: 0.85rem; font-weight: 700; color: rgba(255,255,255,0.85); letter-spacing: 0.08em;
}

.footer-brand-en {
  font-family: 'Barlow', sans-serif;
  font-size: 0.72rem; color: rgba(255,255,255,0.35); letter-spacing: 0.12em;
}

.footer-nav ul { display: flex; flex-wrap: wrap; gap: 6px 28px; }

.footer-nav a {
  font-family: 'Barlow', sans-serif;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--gold); }

.footer-contact { display: flex; flex-direction: column; gap: 10px; }

.footer-contact a,
.footer-contact span {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.82rem; color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}

.footer-contact i { color: var(--gold); font-size: 0.76rem; margin-top: 3px; flex-shrink: 0; }
.footer-contact a:hover { color: var(--gold); }

.footer-bottom { padding: 20px 0; }

.footer-copy {
  font-size: 0.72rem; color: rgba(255,255,255,0.22);
  letter-spacing: 0.1em; text-align: center;
}

/* ================================================================
   BACK TO TOP
================================================================ */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--navy); color: var(--gold);
  border: 1px solid rgba(184,150,78,0.35);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; z-index: 500;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s;
}

.back-to-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.back-to-top:hover { background: var(--navy-mid); }

/* ================================================================
   SCROLL ANIMATIONS
================================================================ */
[data-anim] {
  opacity: 0;
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

[data-anim="fade-up"]    { transform: translateY(36px); }
[data-anim="fade-right"] { transform: translateX(-36px); }
[data-anim="fade-left"]  { transform: translateX(36px); }

[data-anim].in-view { opacity: 1; transform: none; }

/* ================================================================
   RESPONSIVE — Tablet (≤ 1040px)
================================================================ */
@media (max-width: 1040px) {
  .container { padding: 0 32px; }
  .section { padding: 80px 0; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-stats { flex-direction: row; gap: 12px; }
  .stat-card { flex: 1; }

  .concept-layout { grid-template-columns: 1fr; gap: 48px; }
  .concept-pillars { grid-template-columns: repeat(2, 1fr); }

  .company-layout { grid-template-columns: 1fr; gap: 48px; }
  .members-grid { display: grid; grid-template-columns: repeat(2, 1fr); }

  .footer-top-inner { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .footer-brand { grid-column: 1; grid-row: 1; }
  .footer-contact { grid-column: 2; grid-row: 1; }
  .footer-nav { grid-column: 1 / -1; grid-row: 2; }
}

/* ================================================================
   RESPONSIVE — Mobile (≤ 768px)
================================================================ */
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .sp-hidden { display: none; }

  /* Header */
  #main-nav { display: none; }
  .hamburger { display: flex; }
  .header-inner { padding: 0 20px; }
  .logo-img { height: 40px; }

  /* Hero */
  .hero-content { padding: 0 20px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { justify-content: center; }

  /* About stats */
  .about-stats { flex-direction: column; }

  /* Concept */
  .concept-layout { grid-template-columns: 1fr; }
  .concept-pillars { grid-template-columns: 1fr; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .svc-card { padding: 36px 24px; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .form-row--2 { flex-direction: column; }

  /* Company table */
  .company-table th { width: 100px; font-size: 0.8rem; white-space: normal; }
  .company-table td { font-size: 0.82rem; }

  /* Members */
  .members-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top-inner { grid-template-columns: 1fr; }
  .footer-brand,
  .footer-nav,
  .footer-contact { grid-column: 1; grid-row: auto; }
  .footer-nav ul { flex-direction: column; gap: 12px; }

  .back-to-top { bottom: 20px; right: 20px; }
}

/* ================================================================
   RESPONSIVE — Small (≤ 480px)
================================================================ */
@media (max-width: 480px) {
  .hero-h1 { font-size: 1.75rem; }
  .section-h2 { font-size: 1.5rem; }
}
