/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #1565C0;
  --blue-dark: #0D47A1;
  --blue-mid: #1976D2;
  --cyan: #00B4D8;
  --navy: #080F1E;
  --navy-2: #0C1629;
  --white: #FFFFFF;
  --off-white: #F7F9FC;
  --gray-100: #EFF3F8;
  --gray-200: #DDE4EF;
  --gray-400: #9AADC4;
  --gray-600: #5A6F8A;
  --gray-800: #1E2D40;
  --gradient: linear-gradient(135deg, #1565C0 0%, #00B4D8 100%);
  --shadow-xs: 0 1px 4px rgba(0,0,0,.06);
  --shadow-sm: 0 4px 16px rgba(0,0,0,.08);
  --shadow-md: 0 12px 40px rgba(0,0,0,.12);
  --shadow-lg: 0 24px 64px rgba(0,0,0,.18);
  --shadow-blue: 0 8px 32px rgba(21,101,192,.35);
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --ease: cubic-bezier(.4,0,.2,1);
  --t: .3s var(--ease);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--t); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 820px; }

/* ===== HEADER ===== */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: var(--t);
}
#header.scrolled {
  background: rgba(8,15,30,.95);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 2px 24px rgba(0,0,0,.3);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.logo img { height: 46px; width: auto; }

#nav ul { display: flex; align-items: center; gap: 2px; }
#nav ul li a {
  color: rgba(255,255,255,.8); font-size: .875rem; font-weight: 500;
  padding: 8px 14px; border-radius: var(--r-sm);
  letter-spacing: .02em;
}
#nav ul li a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.btn-nav {
  background: var(--gradient) !important; color: var(--white) !important;
  padding: 9px 22px !important; border-radius: 30px !important;
  font-weight: 700 !important; box-shadow: var(--shadow-blue); margin-left: 8px;
}
.btn-nav:hover { opacity: .88; transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--t); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 40px; font-size: .95rem;
  font-weight: 700; cursor: pointer; border: none;
  font-family: 'Noto Sans JP', sans-serif;
  transition: var(--t); white-space: nowrap;
}
.btn-primary { background: var(--gradient); color: var(--white); box-shadow: var(--shadow-blue); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 48px rgba(21,101,192,.5); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.45); }
.btn-outline:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.8); }
.btn-outline-white { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.4); padding: 11px 26px; font-size: .875rem; }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-sm { padding: 10px 22px; font-size: .85rem; margin-top: 20px; }

/* ===== HERO ===== */
#hero {
  position: relative; min-height: 100vh;
  background: var(--navy);
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .5; }
.shape-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(21,101,192,.55) 0%, transparent 70%);
  top: -150px; right: -150px;
}
.shape-2 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(0,180,216,.35) 0%, transparent 70%);
  bottom: -80px; left: -80px;
}
#hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -45deg, transparent, transparent 80px,
    rgba(255,255,255,.015) 80px, rgba(255,255,255,.015) 81px
  );
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center; padding: 140px 32px 110px;
}

/* ロゴ大きく */
.hero-logo { margin: 0 auto 44px; width: 200px; }
.hero-logo img {
  width: 100%;
  filter: drop-shadow(0 0 40px rgba(21,101,192,.7)) brightness(1.08);
}

.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem; letter-spacing: .38em;
  color: var(--cyan); font-weight: 600; margin-bottom: 28px;
  display: inline-block; padding: 7px 20px;
  border: 1px solid rgba(0,180,216,.35); border-radius: 30px;
  background: rgba(0,180,216,.06);
}
#hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 900; line-height: 1.08;
  margin-bottom: 20px; letter-spacing: -.025em;
}
.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 20%, #64B5F6 60%, #00B4D8 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,.5);
  font-weight: 300; letter-spacing: .14em; margin-bottom: 22px;
}
.hero-desc { font-size: 1rem; color: rgba(255,255,255,.52); margin-bottom: 48px; line-height: 2.1; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,.28); font-size: .64rem; letter-spacing: .28em;
  font-family: 'Montserrat', sans-serif;
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(0,180,216,.6), transparent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:.3} 50%{opacity:1} }

/* ===== SECTIONS ===== */
.section { padding: 112px 0; }
.section--dark { background: var(--navy-2); position: relative; overflow: hidden; }
.section--gray { background: var(--off-white); }

.section-header { text-align: center; margin-bottom: 72px; }
.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: .68rem; font-weight: 700; letter-spacing: .38em;
  color: var(--blue); display: block; margin-bottom: 14px;
}
.section-label--light { color: var(--cyan); }
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900; color: var(--gray-800);
  margin-bottom: 16px; letter-spacing: -.02em; line-height: 1.2;
}
.section--dark .section-header h2, .text-white { color: var(--white); }
.section-desc { color: var(--gray-600); font-size: .95rem; }

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s var(--ease);
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(21,101,192,.2);
}
.service-img {
  width: 100%; height: 200px; overflow: hidden; position: relative;
  flex-shrink: 0;
}
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.service-card:hover .service-img img { transform: scale(1.05); }

.service-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--gradient); color: var(--white);
  font-size: .62rem; font-weight: 800; letter-spacing: .12em;
  padding: 4px 12px; border-radius: 20px;
  font-family: 'Montserrat', sans-serif;
  box-shadow: var(--shadow-blue);
}

.service-body {
  padding: 28px 28px 32px;
  display: flex; flex-direction: column; flex: 1;
}
.service-icon {
  width: 46px; height: 46px; border-radius: var(--r-sm);
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: var(--blue); font-size: 1.2rem;
  transition: var(--t); flex-shrink: 0;
}
.service-card:hover .service-icon { background: var(--gradient); color: var(--white); }
.service-card h3 {
  font-size: 1.05rem; font-weight: 700; color: var(--gray-800);
  margin-bottom: 10px; letter-spacing: -.01em;
}
.service-card p {
  font-size: .875rem; color: var(--gray-600);
  line-height: 1.85; margin-bottom: 20px; flex: 1;
}
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.service-tags span {
  font-size: .68rem; padding: 4px 11px; border-radius: 20px;
  background: var(--gray-100); color: var(--blue);
  font-weight: 600; border: 1px solid var(--gray-200);
}

/* ===== MISSION ===== */
.mission-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(21,101,192,.18) 0%, transparent 60%);
  pointer-events: none;
}
.mission-layout {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.mission-text h2 { color: var(--white); margin-bottom: 36px; }
.mission-quote {
  border-left: 3px solid var(--cyan); padding: 22px 26px;
  margin-bottom: 28px;
  background: rgba(21,101,192,.1);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.mission-en {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem; font-weight: 800; color: var(--white); margin-bottom: 6px;
}
.mission-ja { color: var(--cyan); font-size: .875rem; letter-spacing: .08em; }
.mission-body { color: rgba(255,255,255,.68); font-size: .95rem; line-height: 1.95; margin-bottom: 16px; }
.mission-body strong { color: var(--white); font-weight: 700; }

.mission-values { display: flex; flex-direction: column; gap: 16px; }
.value-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-md); padding: 22px; transition: var(--t);
}
.value-item:hover { background: rgba(21,101,192,.14); border-color: rgba(21,101,192,.3); }
.value-icon {
  width: 42px; height: 42px; border-radius: var(--r-sm); flex-shrink: 0;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1rem;
}
.value-text h4 { color: var(--white); font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.value-text p { color: rgba(255,255,255,.5); font-size: .825rem; line-height: 1.7; }

/* ===== WHY ===== */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--r-lg); padding: 44px 40px;
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.why-card::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 4px;
  background: var(--gradient); border-radius: 2px 0 0 2px;
  transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-card:hover::before { transform: scaleY(1); }
.why-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.2rem; font-weight: 900;
  color: var(--gray-100); line-height: 1; margin-bottom: 18px; display: block;
}
.why-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--gray-800); margin-bottom: 12px; }
.why-card p { color: var(--gray-600); font-size: .875rem; line-height: 1.85; }

/* ===== FLOW ===== */
.flow-steps { display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; }
.flow-step {
  flex: 1; min-width: 190px; max-width: 228px;
  text-align: center; padding: 40px 22px;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-lg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.flow-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.flow-num {
  font-family: 'Montserrat', sans-serif; font-size: .65rem; font-weight: 700;
  letter-spacing: .15em; color: var(--cyan); margin-bottom: 16px;
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  background: rgba(0,180,216,.07); border: 1px solid rgba(0,180,216,.22);
}
.flow-icon {
  width: 56px; height: 56px; margin: 0 auto 18px;
  background: var(--gradient); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.3rem; box-shadow: var(--shadow-blue);
}
.flow-step h3 { font-size: .95rem; font-weight: 700; color: var(--gray-800); margin-bottom: 10px; }
.flow-step p { font-size: .825rem; color: var(--gray-600); line-height: 1.85; }
.flow-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400); font-size: 1rem; padding: 0 8px; flex-shrink: 0;
}

/* ===== PHOTO GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 520px;
}
.gallery-main {
  grid-row: span 2;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
}
.gallery-sub {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
}
.gallery-main img,
.gallery-sub img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.gallery-main:hover img,
.gallery-sub:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,15,30,.7) 0%, transparent 55%);
  display: flex; align-items: flex-end; padding: 22px;
  opacity: 0; transition: opacity .3s var(--ease);
}
.gallery-main:hover .gallery-overlay,
.gallery-sub:hover .gallery-overlay { opacity: 1; }
.gallery-overlay p {
  color: var(--white); font-size: .9rem; font-weight: 600;
  line-height: 1.5; text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

/* ===== OFFICES ===== */
.online-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; padding: 10px 24px; border-radius: 30px;
  background: rgba(0,180,216,.09); border: 1px solid rgba(0,180,216,.32);
  color: var(--cyan); font-size: .875rem; font-weight: 700; letter-spacing: .05em;
}

.offices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; position: relative; z-index: 1; }
.office-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-xl); overflow: hidden; transition: var(--t);
}
.office-card:hover { background: rgba(21,101,192,.1); border-color: rgba(21,101,192,.35); transform: translateY(-4px); }
.office-photo {
  width: 100%; height: 220px; overflow: hidden;
}
.office-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.office-card:hover .office-photo img { transform: scale(1.04); }
.office-body { padding: 36px 40px 40px; }
.office-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gradient); color: var(--white);
  font-size: .65rem; font-weight: 700; letter-spacing: .18em;
  padding: 5px 15px; border-radius: 30px; margin-bottom: 18px;
  font-family: 'Montserrat', sans-serif;
}
.office-card h3 { color: var(--white); font-size: 1.3rem; font-weight: 700; margin-bottom: 22px; }
.office-info { margin-bottom: 28px; }
.office-row {
  display: flex; gap: 12px; align-items: flex-start;
  color: rgba(255,255,255,.62); font-size: .875rem; line-height: 1.75; margin-bottom: 14px;
}
.office-row i { color: var(--cyan); margin-top: 3px; flex-shrink: 0; }
.office-row a { color: var(--cyan); }
.office-row a:hover { color: var(--white); }

/* ===== CONTACT ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.contact-photo {
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  min-height: 500px;
}
.contact-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.contact-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,15,30,.88) 0%, rgba(8,15,30,.2) 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 36px 32px; gap: 18px;
}
.contact-photo-info {}
.contact-photo-label {
  display: block; font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; color: var(--cyan); margin-bottom: 4px;
  font-family: 'Montserrat', sans-serif;
}
.contact-photo-val {
  display: block; font-size: 1rem; font-weight: 600;
  color: var(--white);
}
.contact-right {
  display: flex; flex-direction: column; gap: 20px;
}
.ccard {
  background: #ffffff;
  border: 1px solid #c8d6e8;
  border-radius: 20px;
  padding: 36px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  flex: 1;
}
.ccard-icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
  box-shadow: var(--shadow-blue);
  flex-shrink: 0;
}
.ccard-icon--line {
  background: linear-gradient(135deg, #06C755, #04A344);
  box-shadow: 0 8px 28px rgba(6,199,85,.35);
}
.ccard h3 {
  font-size: 1.1rem; font-weight: 700;
  color: var(--gray-800); margin-bottom: 14px;
}
.ccard p {
  font-size: .9rem; color: var(--gray-600);
  line-height: 1.9; margin-bottom: 24px;
}
.ccard-address {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  color: var(--blue);
  word-break: break-all;
}
.ccard-address:hover { color: var(--blue-dark); text-decoration: underline; }
.ccard-qr {
  width: 160px; height: 160px;
  border-radius: var(--r-sm);
  padding: 8px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

/* Contact Info Bar */
.contact-infobar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 28px 40px;
}
.infobar-item {
  display: flex; align-items: center; gap: 14px;
  flex: 1; justify-content: center;
}
.infobar-item i {
  color: var(--blue); font-size: 1.1rem; flex-shrink: 0;
}
.infobar-item div { display: flex; flex-direction: column; gap: 3px; }
.infobar-label {
  font-size: .72rem; color: var(--gray-400);
  font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase;
}
.infobar-val { font-size: .95rem; color: var(--gray-800); font-weight: 600; }
.infobar-divider {
  width: 1px; height: 40px;
  background: var(--gray-200);
  margin: 0 8px;
  flex-shrink: 0;
}

/* ===== PRIVACY ===== */
.privacy-content {
  background: var(--white); border-radius: var(--r-lg);
  padding: 52px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
}
.privacy-content h3 { font-size: 1.1rem; color: var(--gray-800); margin-bottom: 16px; font-weight: 700; }
.privacy-content h4 { font-size: .95rem; color: var(--gray-800); margin: 24px 0 8px; font-weight: 700; }
.privacy-content p { color: var(--gray-600); font-size: .875rem; line-height: 1.9; }
.privacy-content a { color: var(--blue); text-decoration: underline; }

/* ===== FOOTER ===== */
#footer { background: var(--navy); }
.footer-top { padding: 80px 0 56px; border-bottom: 1px solid rgba(255,255,255,.06); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 52px; }
.footer-logo { height: 46px; width: auto; margin-bottom: 18px; }
.footer-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: .78rem; color: var(--cyan); font-weight: 600; margin-bottom: 12px; letter-spacing: .06em;
}
.footer-desc { color: rgba(255,255,255,.32); font-size: .825rem; line-height: 1.9; }
.footer-nav h4 { color: var(--white); font-size: .85rem; font-weight: 700; margin-bottom: 20px; letter-spacing: .04em; }
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav ul li a { color: rgba(255,255,255,.38); font-size: .825rem; }
.footer-nav ul li a:hover { color: var(--cyan); }
.footer-contact h4 { color: var(--white); font-size: .85rem; font-weight: 700; margin-bottom: 20px; letter-spacing: .04em; }
.footer-contact p { color: rgba(255,255,255,.38); font-size: .825rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.footer-contact p i { color: var(--cyan); }
.footer-contact a { color: var(--cyan); }
.footer-contact a:hover { color: var(--white); }
.footer-bottom { padding: 26px 0; text-align: center; color: rgba(255,255,255,.18); font-size: .78rem; }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--gradient); color: var(--white);
  border: none; cursor: pointer; font-size: .9rem;
  box-shadow: var(--shadow-blue); opacity: 0; transform: translateY(16px);
  transition: var(--t); display: flex; align-items: center; justify-content: center;
}
.back-to-top.show { opacity: 1; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); }

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(24px); animation: fadeUp .9s var(--ease) forwards; }
.delay-1 { animation-delay: .12s; }
.delay-2 { animation-delay: .24s; }
.delay-3 { animation-delay: .38s; }
.delay-4 { animation-delay: .52s; }
.delay-5 { animation-delay: .66s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

[data-aos] { opacity: 0; transform: translateY(36px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
[data-aos].aos-visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-layout { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .container { padding: 0 20px; }
  #nav {
    position: fixed; top: 76px; left: 0; right: 0;
    background: rgba(8,15,30,.97); backdrop-filter: blur(20px);
    padding: 20px; transform: translateY(-110%); opacity: 0;
    pointer-events: none; transition: var(--t);
  }
  #nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  #nav ul { flex-direction: column; gap: 4px; }
  #nav ul li a { display: block; padding: 12px 16px; font-size: .95rem; }
  .hamburger { display: flex; }
  .hero-logo { width: 150px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .flow-steps { flex-direction: column; align-items: center; }
  .flow-step { max-width: 360px; width: 100%; }
  .flow-arrow { transform: rotate(90deg); }
  .offices-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .privacy-content { padding: 32px 20px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .office-card { padding: 0; }
  .office-body { padding: 28px 24px 32px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-photo { min-height: 320px; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: 280px 200px 200px; height: auto; }
  .gallery-main { grid-row: span 1; }
  .ccard { padding: 30px 24px; }
}
@media (max-width: 480px) {
  #hero h1 { font-size: 2.5rem; }
  .hero-logo { width: 130px; }
  .section-header { margin-bottom: 48px; }
  .contact-card { padding: 36px 24px; }
}
