/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { font-family: 'Noto Sans JP', sans-serif; color: #333; line-height: 1.8; font-weight: 400; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html:lang(zh-CN) body, html:lang(zh) body { font-family: 'Noto Sans SC', 'Noto Sans JP', sans-serif; }
html:lang(en) body { font-family: 'Inter', 'Noto Sans JP', sans-serif; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { line-height: 1.35; }

/* ===== A11Y UTILITIES ===== */
.visually-hidden {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important;
}
.skip-link {
  position: absolute; top: -40px; left: 8px; z-index: 2000;
  background: var(--green-dark, #2a7a2e); color: #fff;
  padding: 10px 18px; border-radius: 8px; font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 8px; color: #fff; outline: 2px solid #fff; outline-offset: 2px; }

/* Focus ring (keyboard only) */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--green-main, #369b38);
  outline-offset: 2px; border-radius: 4px;
}
a:focus-visible, button:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--green-main, #369b38); outline-offset: 2px;
}

/* ===== COLOR SYSTEM ===== */
:root {
  --green-dark: #2a7a2e;
  --green-main: #369b38;
  --green-light: #7fbe26;
  --green-pale: #e8f5e9;
  --green-gradient: linear-gradient(135deg, #7fbe26 0%, #369b38 100%);
  --orange-main: #fb7c21;
  --orange-gradient: linear-gradient(135deg, #f6b91e 0%, #fb7c21 100%);
  --dark: #1a1a2e;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-600: #6c757d;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
}

/* ===== HEADER / NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  transition: box-shadow 0.3s, background 0.3s;
}
.navbar.is-scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.navbar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 0;
  background: none; padding: 0;
  display: flex; align-items: center; justify-content: center;
  color: inherit; font-weight: inherit; font-size: inherit; letter-spacing: normal;
  flex-shrink: 0;
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo-text { font-size: 15px; font-weight: 700; color: var(--dark); line-height: 1.3; }
.logo-text small { font-size: 11px; font-weight: 400; color: var(--gray-600); display: block; }
.logo-img { height: 48px; width: auto; max-width: 280px; display: block; object-fit: contain; }
@media (max-width: 768px) { .logo-img { height: 40px; max-width: 220px; } }

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 500;
  color: #555; transition: all 0.2s;
}
.nav-links a:hover { background: var(--green-pale); color: var(--green-dark); }
.nav-links a.active { background: var(--green-pale); color: var(--green-dark); font-weight: 600; }
.nav-cta {
  background: var(--green-gradient) !important; color: #fff !important;
  padding: 10px 24px !important; border-radius: 50px !important; font-weight: 600 !important;
  box-shadow: 0 2px 12px rgba(54,155,56,0.3);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(54,155,56,0.4); }
.lang-switch { font-size: 13px; color: var(--gray-600); margin-left: 8px; }
.lang-switch a { padding: 4px 8px; }
.lang-switch a:hover { color: var(--green-main); }
.lang-switch .active { color: var(--green-main); font-weight: 600; }

/* Mobile menu */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: #333; margin: 5px 0; transition: 0.3s; border-radius: 2px; }
.mobile-nav {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(12px);
  z-index: 999; padding: 24px; overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 14px 16px; font-size: 16px; font-weight: 500;
  color: #333; border-bottom: 1px solid var(--gray-200); transition: all 0.2s;
}
.mobile-nav a:hover { background: var(--green-pale); color: var(--green-dark); }
.mobile-nav .lang-switch-mobile { display: flex; gap: 12px; padding: 16px; justify-content: center; }
.mobile-nav .lang-switch-mobile a { border: none; padding: 8px 20px; border-radius: 50px; font-size: 14px; }
.mobile-nav .lang-switch-mobile a.active { background: var(--green-pale); color: var(--green-dark); }

/* ===== HERO ===== */
.hero {
  min-height: 92vh; min-height: 92svh; display: flex; align-items: center;
  background: linear-gradient(160deg, #f0faf0 0%, #e0f2e0 30%, #fff 70%);
  position: relative; overflow: hidden; padding-top: 72px;
}
.hero::before {
  content: ''; position: absolute; top: -20%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(127,190,38,0.12) 0%, transparent 70%);
}
.hero::after {
  content: ''; position: absolute; bottom: -10%; left: -5%;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(54,155,56,0.08) 0%, transparent 70%);
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 60px 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-pale); color: var(--green-dark);
  padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 500;
  margin-bottom: 20px;
}
.hero-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green-light); }
.hero h1 {
  font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.4;
  color: var(--dark); margin-bottom: 20px;
}
.hero h1 .accent { color: var(--green-main); }
.hero-desc { font-size: 16px; color: #555; margin-bottom: 32px; line-height: 1.9; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== PAGE HERO (sub-pages) ===== */
.page-hero {
  padding: 140px 24px 60px;
  background: linear-gradient(160deg, #f0faf0 0%, #e0f2e0 50%, #fff 100%);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -30%; right: -15%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(127,190,38,0.1) 0%, transparent 70%);
}
.page-hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero .section-label { margin-bottom: 12px; }
.page-hero h1 {
  font-size: clamp(28px, 3.5vw, 40px); font-weight: 700; color: var(--dark);
  line-height: 1.4; margin-bottom: 16px;
}
.page-hero p { font-size: 16px; color: #666; max-width: 600px; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-gradient); color: #fff;
  padding: 16px 36px; border-radius: 50px; font-size: 16px; font-weight: 600;
  box-shadow: 0 4px 16px rgba(54,155,56,0.3);
  transition: all 0.3s; border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(54,155,56,0.4); color: #fff; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--green-dark);
  padding: 16px 36px; border-radius: 50px; font-size: 16px; font-weight: 600;
  border: 2px solid var(--green-main); transition: all 0.3s; cursor: pointer;
}
.btn-secondary:hover { background: var(--green-pale); }
.btn-sm { padding: 10px 24px; font-size: 14px; }
.btn-orange {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange-gradient); color: #fff;
  padding: 16px 36px; border-radius: 50px; font-size: 16px; font-weight: 600;
  box-shadow: 0 4px 16px rgba(251,124,33,0.3);
  transition: all 0.3s; border: none; cursor: pointer;
}
.btn-orange:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(251,124,33,0.4); color: #fff; }

/* Estimate CTA buttons (used in hero/section) */
.btn-estimate {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-size: 15px; font-weight: 600;
  transition: all 0.3s; color: #fff;
}
.btn-estimate.green { background: var(--green-gradient); box-shadow: 0 4px 16px rgba(54,155,56,0.3); }
.btn-estimate.green:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(54,155,56,0.4); color: #fff; }
.btn-estimate.orange { background: var(--orange-gradient); box-shadow: 0 4px 16px rgba(251,124,33,0.3); }
.btn-estimate.orange:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(251,124,33,0.4); color: #fff; }

/* Generic .btn bridge class (for EN/CN pages) */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 16px 36px; border-radius: 50px; font-size: 16px; font-weight: 600; transition: all 0.3s; cursor: pointer; border: none; }
.btn.btn-primary { background: var(--green-gradient); color: #fff; box-shadow: 0 4px 16px rgba(54,155,56,0.3); }
.btn.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(54,155,56,0.4); color: #fff; }
.btn.btn-secondary { background: #fff; color: var(--green-dark); border: 2px solid var(--green-main); }
.btn.btn-secondary:hover { background: var(--green-pale); }

/* Stat cards (hero) */
.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card {
  background: var(--white); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-md); transition: transform 0.3s;
}
.stat-card:hover { transform: translateY(-4px); }
.stat-card .num { font-size: 36px; font-weight: 700; color: var(--green-main); line-height: 1; }
.stat-card .label { font-size: 13px; color: var(--gray-600); margin-top: 4px; }
.stat-card.accent { background: var(--green-gradient); }
.stat-card.accent .num { color: #fff; }
.stat-card.accent .label { color: rgba(255,255,255,0.85); }
.hero-visual { display: flex; flex-direction: column; gap: 20px; }

/* ===== SECTIONS ===== */
section { padding: clamp(60px, 9vw, 100px) 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.container, .main-content { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--green-main); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px;
}
.section-label::before { content: ''; width: 24px; height: 2px; background: var(--green-main); }
.section-title {
  font-size: clamp(24px, 3vw, 36px); font-weight: 700; color: var(--dark);
  margin-bottom: 16px; line-height: 1.4;
}
.section-desc { font-size: 16px; color: #666; max-width: 600px; margin-bottom: 48px; }

/* ===== GREETING ===== */
.greeting { background: var(--gray-100); }
.greeting-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: center; }
.greeting-photo-frame {
  width: 260px; height: 320px; border-radius: var(--radius-lg);
  background: var(--green-gradient); padding: 4px;
  box-shadow: var(--shadow-lg);
}
.greeting-photo-inner {
  width: 100%; height: 100%; border-radius: 17px;
  background: var(--gray-200); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.greeting-photo-inner img { width: 100%; height: 100%; object-fit: cover; }
.greeting-name { margin-top: 16px; text-align: center; }
.greeting-name strong { font-size: 18px; display: block; }
.greeting-name span { font-size: 13px; color: var(--gray-600); }
.greeting-text { font-size: 16px; line-height: 2; color: #444; }
.greeting-text p { margin-bottom: 16px; }

/* ===== IP ANIMATION (Hero SVG) ===== */
.ip-animation { width: 100%; height: 100%; display: block; position: relative; }
.ip-animation svg { width: 100%; height: 100%; display: block; }
.ip-animation .ip-glow {
  transform-origin: 130px 140px;
  transform-box: fill-box;
  animation: ipGlowPulse 3.2s ease-in-out infinite;
}
.ip-animation .ip-shield {
  transform-box: fill-box;
  transform-origin: center;
  animation: ipShieldFloat 4.5s ease-in-out infinite;
}
.ip-animation .ip-badge {
  transform-box: fill-box;
  transform-origin: center;
  animation: ipBadgeFloat 3.6s ease-in-out infinite;
}
.ip-animation .ip-b1 { animation-delay: 0s; }
.ip-animation .ip-b2 { animation-delay: 0.9s; }
.ip-animation .ip-b3 { animation-delay: 1.8s; }
.ip-animation .ip-b4 { animation-delay: 2.7s; }
.ip-animation .ip-particle {
  transform-box: fill-box;
  transform-origin: center;
  animation: ipParticle 5s ease-in-out infinite;
}
.ip-animation .ip-p1 { animation-delay: 0s; animation-duration: 5s; }
.ip-animation .ip-p2 { animation-delay: 0.7s; animation-duration: 6s; }
.ip-animation .ip-p3 { animation-delay: 1.4s; animation-duration: 5.5s; }
.ip-animation .ip-p4 { animation-delay: 2.1s; animation-duration: 6.5s; }
.ip-animation .ip-p5 { animation-delay: 2.8s; animation-duration: 5.8s; }
.ip-animation .ip-p6 { animation-delay: 3.5s; animation-duration: 6.2s; }

@keyframes ipGlowPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.18); }
}
@keyframes ipShieldFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes ipBadgeFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 1; }
  50% { transform: translateY(-4px) scale(1.04); opacity: 0.9; }
}
@keyframes ipParticle {
  0%, 100% { transform: translate(0, 0); opacity: 0.25; }
  50% { transform: translate(10px, -10px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .ip-animation .ip-glow,
  .ip-animation .ip-shield,
  .ip-animation .ip-badge,
  .ip-animation .ip-particle { animation: none; }
  .ip-animation svg animate { display: none; }
}

/* ===== SERVICES GRID ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 36px 28px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  transition: all 0.3s; position: relative; overflow: hidden; display: block;
}
.service-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  border-color: var(--green-light);
}
.service-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--green-gradient); transform: scaleX(0); transition: transform 0.3s;
  transform-origin: left;
}
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.service-icon.green { background: var(--green-pale); }
.service-icon.orange { background: #fff3e0; }
.service-icon.blue { background: #e3f2fd; }
.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.service-card p { font-size: 14px; color: #666; line-height: 1.7; }
.service-card .arrow {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--green-main); font-size: 14px; font-weight: 600; margin-top: 16px;
}

/* ===== ESTIMATE CTA ===== */
.estimate-section { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.estimate-section::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(127,190,38,0.15) 0%, transparent 70%);
}
.estimate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.estimate-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 40px; backdrop-filter: blur(8px);
}
.estimate-card h3 { font-size: 22px; margin-bottom: 12px; }
.estimate-card p { color: rgba(255,255,255,0.7); font-size: 15px; margin-bottom: 24px; }

/* ===== NEWS ===== */
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item {
  display: flex; align-items: center; gap: 20px;
  background: var(--white); border-radius: var(--radius); padding: 20px 24px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  transition: all 0.2s;
}
.news-item:hover { box-shadow: var(--shadow-md); }
.news-date { font-size: 14px; color: var(--gray-600); white-space: nowrap; font-weight: 500; }
.news-tag {
  padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 600;
  white-space: nowrap;
}
.news-tag.info { background: var(--green-pale); color: var(--green-dark); }

/* ===== OFFICE MAP ===== */
.offices { background: var(--gray-100); }
.office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.office-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all 0.3s;
  border: 2px solid var(--green-main);
}
.office-card:hover { box-shadow: var(--shadow-md); }
.office-card.main { border: 2px solid var(--green-main); }
.office-badge {
  display: inline-block; background: var(--green-gradient); color: #fff;
  padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 600; margin-bottom: 12px;
}
.office-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.office-card address { font-style: normal; font-size: 14px; color: #555; line-height: 1.8; }
.office-card .tel { font-size: 18px; font-weight: 700; color: var(--green-main); margin-top: 12px; }
.office-card .map-embed { margin-top: 16px; border-radius: var(--radius); overflow: hidden; }
.office-card .map-embed iframe { width: 100%; height: 200px; border: 0; }

/* ===== CONTENT SECTIONS (sub-pages) ===== */
.content-section { padding: 80px 24px; }
.content-section:nth-child(even) { background: var(--gray-100); }
.content-inner { max-width: 1100px; margin: 0 auto; }

/* ===== TABLES ===== */
.modern-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.modern-table th {
  background: var(--green-gradient); color: #fff;
  padding: 14px 20px; font-size: 14px; font-weight: 600;
  text-align: left; white-space: nowrap;
}
.modern-table th:first-child { border-radius: var(--radius) 0 0 0; }
.modern-table th:last-child { border-radius: 0 var(--radius) 0 0; }
.modern-table td {
  padding: 14px 20px; font-size: 14px; border-bottom: 1px solid var(--gray-200);
}
.modern-table tr:hover td { background: var(--green-pale); }
.modern-table .total-row td { font-weight: 700; background: #f0faf0; }
.modern-table .text-right { text-align: right; }
.modern-table .text-center { text-align: center; }
.modern-table .highlight { color: var(--green-main); font-weight: 700; }

/* Info table (profile, etc.) */
.info-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.info-table th {
  background: var(--green-pale); color: var(--green-dark);
  padding: 14px 20px; font-size: 14px; font-weight: 600;
  text-align: left; width: 180px; border-bottom: 1px solid var(--gray-200);
}
.info-table td {
  padding: 14px 20px; font-size: 14px; border-bottom: 1px solid var(--gray-200);
}

/* ===== CARDS (generic) ===== */
.card {
  background: var(--white); border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  transition: all 0.3s;
}
.card:hover { box-shadow: var(--shadow-md); }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--dark); }
.card p { font-size: 15px; color: #555; line-height: 1.8; }
.cards-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cards-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ===== ATTORNEY PROFILE CARDS ===== */
.attorney-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  display: grid; grid-template-columns: 200px 1fr; gap: 32px;
  margin-bottom: 24px;
}
.attorney-photo {
  width: 200px; height: 240px; border-radius: var(--radius);
  overflow: hidden; background: var(--gray-200);
}
.attorney-photo img { width: 100%; height: 100%; object-fit: cover; }
.attorney-info h3 { font-size: 22px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.attorney-info .title { font-size: 14px; color: var(--green-main); font-weight: 500; margin-bottom: 16px; }
.attorney-info .qual-list { list-style: none; padding: 0; margin: 0; }
.attorney-info .qual-list li {
  padding: 4px 0; font-size: 14px; color: #555;
  padding-left: 20px; position: relative;
}
.attorney-info .qual-list li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--green-light);
}

/* ===== FORMS ===== */
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block; font-size: 14px; font-weight: 600; color: var(--dark);
  margin-bottom: 8px;
}
.form-group label .required {
  background: #ef4444; color: #fff; font-size: 11px; font-weight: 600;
  padding: 2px 8px; border-radius: 50px; margin-left: 8px;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
  width: 100%; padding: 14px 18px; border: 2px solid var(--gray-200);
  border-radius: var(--radius); font-size: 15px; font-family: inherit;
  transition: border-color 0.3s; background: #fff;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(54,155,56,0.1);
}
.form-group textarea { min-height: 160px; resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-note { font-size: 13px; color: var(--gray-600); margin-top: 6px; }

/* ===== FLOW STEPS ===== */
.flow-steps { display: flex; flex-direction: column; gap: 0; position: relative; }
.flow-step {
  display: grid; grid-template-columns: 80px 1fr; gap: 24px;
  position: relative; padding-bottom: 40px;
}
.flow-step::before {
  content: ''; position: absolute; left: 40px; top: 60px; bottom: 0;
  width: 2px; background: var(--green-light);
}
.flow-step:last-child::before { display: none; }
.flow-step .step-num {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green-gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; position: relative; z-index: 1;
  margin: 0 auto;
}
.flow-step .step-content {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
}
.flow-step .step-content h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.flow-step .step-content p { font-size: 14px; color: #555; line-height: 1.8; }

/* ===== RECRUIT ===== */
.job-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  margin-bottom: 24px;
}
.job-card h3 {
  font-size: 22px; font-weight: 700; color: var(--dark); margin-bottom: 20px;
  padding-bottom: 16px; border-bottom: 2px solid var(--green-light);
}
.job-detail { display: grid; grid-template-columns: 140px 1fr; gap: 8px; margin-bottom: 8px; }
.job-detail dt { font-size: 14px; font-weight: 600; color: var(--green-dark); }
.job-detail dd { font-size: 14px; color: #555; }

/* ===== DOWNLOAD BUTTONS ===== */
.download-list { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.download-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius); font-size: 14px; font-weight: 500;
  border: 1px solid var(--gray-200); background: var(--white);
  transition: all 0.2s; color: #333;
}
.download-btn:hover { border-color: var(--green-main); background: var(--green-pale); color: var(--green-dark); }

/* ===== FAQ ===== */
.faq-item { margin-bottom: 16px; }
.faq-q {
  display: flex; align-items: flex-start; gap: 12px;
  font-weight: 600; font-size: 16px; color: var(--dark); margin-bottom: 8px;
}
.faq-q::before {
  content: 'Q'; flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green-gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.faq-a {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: #555; line-height: 1.8; padding-left: 0;
}
.faq-a::before {
  content: 'A'; flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--orange-gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}

/* ===== THANKS PAGE ===== */
.thanks-section { text-align: center; padding: 160px 24px 100px; }
.thanks-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--green-gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; margin: 0 auto 24px;
}
.thanks-section h1 { font-size: 28px; font-weight: 700; color: var(--dark); margin-bottom: 20px; }
.thanks-section p { font-size: 16px; color: #555; line-height: 2; max-width: 600px; margin: 0 auto 16px; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 60px 24px 30px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo-text { color: #fff; font-size: 16px; margin-bottom: 12px; }
.footer-brand .logo-text small { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 14px; line-height: 1.8; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer li a { font-size: 14px; transition: color 0.2s; }
.footer li a:hover { color: var(--green-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px; text-align: center; font-size: 13px;
}
.footer-contact-info { margin-top: 16px; }
.footer-contact-info .phone { font-size: 20px; font-weight: 700; color: var(--green-light); }

/* ===== SIDEBAR NAV (for fee/flow pages) ===== */
.page-with-sidebar { display: grid; grid-template-columns: 1fr 260px; gap: 40px; }
.sidebar-nav { position: sticky; top: 96px; align-self: start; }
.sidebar-nav h4 { font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 12px; }
.sidebar-nav ul { list-style: none; }
.sidebar-nav li { margin-bottom: 4px; }
.sidebar-nav a {
  display: block; padding: 10px 16px; border-radius: 8px; font-size: 14px;
  color: #555; transition: all 0.2s; border-left: 3px solid transparent;
}
.sidebar-nav a:hover { background: var(--green-pale); color: var(--green-dark); border-left-color: var(--green-main); }
.sidebar-nav a.active { background: var(--green-pale); color: var(--green-dark); border-left-color: var(--green-main); font-weight: 600; }

/* ===== FEE NOTE ===== */
.fee-note {
  background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius);
  padding: 16px 20px; font-size: 14px; color: #92400e; margin: 16px 0;
}
.fee-note strong { color: #78350f; }

/* ===== COMPARISON BADGE ===== */
.comparison-badge {
  display: inline-block; background: var(--orange-gradient); color: #fff;
  padding: 4px 14px; border-radius: 50px; font-size: 13px; font-weight: 600;
  margin-bottom: 16px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .stat-cards { grid-template-columns: repeat(4, 1fr); }
  .greeting-grid { grid-template-columns: 1fr; text-align: center; }
  .greeting-photo-frame { margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .estimate-grid { grid-template-columns: 1fr; }
  .office-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .page-with-sidebar { grid-template-columns: 1fr; }
  .sidebar-nav { display: none; }
  .attorney-card { grid-template-columns: 1fr; }
  .attorney-photo { width: 160px; height: 200px; margin: 0 auto; }
  .cards-grid-2 { grid-template-columns: 1fr; }
  .cards-grid-3 { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .flow-step { grid-template-columns: 60px 1fr; gap: 16px; }
  .flow-step::before { left: 30px; }
  .job-detail { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .hero-buttons { flex-direction: column; }
  .btn-primary, .btn-secondary, .btn-orange { justify-content: center; }
  .footer-top { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .news-item { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeInUp 0.8s ease-out forwards; }
/* .fade-in-delay-* must be combined with .fade-in to animate */
.fade-in.fade-in-delay-1 { animation-delay: 0.15s; opacity: 0; }
.fade-in.fade-in-delay-2 { animation-delay: 0.3s; opacity: 0; }
.fade-in.fade-in-delay-3 { animation-delay: 0.45s; opacity: 0; }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in, .fade-in.fade-in-delay-1, .fade-in.fade-in-delay-2, .fade-in.fade-in-delay-3 { opacity: 1 !important; animation: none !important; }
}

/* ===== SUBPAGE GENERIC WRAPPERS ===== */
.content-wrapper { max-width: 1100px; margin: 0 auto; padding: 40px 24px; }

/* Fees page-specific */
.fees-section { padding: 60px 0; }
.fees-section + .fees-section { border-top: 1px solid var(--gray-200); }
.example-calc {
  background: var(--green-pale); border-radius: var(--radius);
  padding: 24px; margin: 24px 0;
}
.example-calc h4 { color: var(--green-dark); margin-bottom: 12px; }
.example-calc-table { width: 100%; border-collapse: collapse; }
.example-calc-table td { padding: 8px 12px; border-bottom: 1px dashed rgba(54,155,56,0.2); font-size: 14px; }
.example-calc-table td.text-right { text-align: right; font-weight: 600; }
.example-calc-table .total-row td { border-bottom: none; border-top: 2px solid var(--green-main); font-weight: 700; color: var(--green-dark); padding-top: 12px; }
.other-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 16px; margin: 24px 0; }

/* Flow page-specific */
.flow-section { padding: 60px 0; }
.flow-section + .flow-section { border-top: 1px solid var(--gray-200); }
.flow-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 20px; margin-top: 32px; }
.flow-detail-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.flow-detail-title { font-size: 16px; font-weight: 700; color: var(--green-dark); margin-bottom: 8px; }
.flow-detail-desc { font-size: 14px; color: #555; line-height: 1.8; }

/* Profile page */
.attorney-grid { display: grid; gap: 24px; }
.attorney-name { font-size: 22px; font-weight: 700; color: var(--dark); }
.attorney-title { font-size: 14px; color: var(--green-main); font-weight: 500; margin-bottom: 12px; }
.attorney-id { font-size: 13px; color: var(--gray-600); }
.office-tel { font-size: 18px; font-weight: 700; color: var(--green-main); margin-top: 8px; }
.office-map { margin-top: 16px; border-radius: var(--radius); overflow: hidden; }
.office-map iframe { width: 100%; height: 220px; border: 0; }

/* Recruit page */
.job-cards { display: flex; flex-direction: column; gap: 20px; }
.job-item {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
}
.job-title {
  font-size: 20px; font-weight: 700; color: var(--dark);
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--green-light);
}
.job-description { font-size: 14px; color: #555; line-height: 1.8; margin-bottom: 16px; }
.job-info { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; }
.job-label { font-size: 13px; font-weight: 600; color: var(--green-dark); }
.job-value { font-size: 14px; color: #555; }
.contact-info { background: var(--green-pale); border-radius: var(--radius); padding: 20px 24px; margin-top: 24px; font-size: 14px; color: var(--green-dark); }

/* Contact form */
.contact-form { max-width: 720px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.form-row.full { grid-template-columns: 1fr; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.form-label .required { background: #ef4444; color: #fff; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 50px; margin-left: 8px; }
.form-input, .form-textarea {
  width: 100%; padding: 14px 18px; border: 2px solid var(--gray-200);
  border-radius: var(--radius); font-size: 15px; font-family: inherit;
  transition: border-color 0.3s; background: #fff;
}
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--green-main); box-shadow: 0 0 0 3px rgba(54,155,56,0.1); }
.form-textarea { min-height: 160px; resize: vertical; }
.btn-submit {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-gradient); color: #fff;
  padding: 16px 48px; border-radius: 50px; font-size: 16px; font-weight: 600;
  box-shadow: 0 4px 16px rgba(54,155,56,0.3);
  transition: all 0.3s; border: none; cursor: pointer;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(54,155,56,0.4); }

/* Thanks page */
.thanks-title { font-size: 28px; font-weight: 700; color: var(--dark); margin-bottom: 20px; }
.thanks-message { font-size: 16px; color: #555; line-height: 2; max-width: 600px; margin: 0 auto 24px; }
.thanks-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.btn-primary-thanks { display: inline-flex; align-items: center; gap: 8px; background: var(--green-gradient); color: #fff; padding: 14px 32px; border-radius: 50px; font-size: 15px; font-weight: 600; transition: all 0.3s; box-shadow: 0 4px 16px rgba(54,155,56,0.3); }
.btn-primary-thanks:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(54,155,56,0.4); color: #fff; }
.btn-secondary-thanks { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--green-dark); padding: 14px 32px; border-radius: 50px; font-size: 15px; font-weight: 600; border: 2px solid var(--green-main); transition: all 0.3s; }
.btn-secondary-thanks:hover { background: var(--green-pale); }
.contact-info-box { background: var(--green-pale); border-radius: var(--radius); padding: 24px; margin: 32px auto; max-width: 600px; }
.contact-info-item { display: flex; align-items: center; gap: 12px; margin: 8px 0; font-size: 14px; color: var(--green-dark); }

/* Download section (service page) */
.download-section { background: var(--gray-100); border-radius: var(--radius-lg); padding: 32px; margin-top: 32px; }

/* News section additional */
.news-text { flex: 1; font-size: 14px; color: #555; }

/* Table responsive wrapper */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0; }
.table-wrap .modern-table { margin: 0; min-width: 560px; }

/* Services section alias */
.services { padding: clamp(60px, 9vw, 100px) 24px; }
.news { padding: clamp(60px, 9vw, 100px) 24px; }

/* ===== PRINT ===== */
@media print {
  .navbar, .mobile-nav, .menu-toggle, .footer, .estimate-section, .skip-link, .hero-buttons, .news-item.interactive, .nav-cta { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; line-height: 1.6; }
  a { color: #000; text-decoration: underline; }
  section, .content-section { padding: 20px 0 !important; page-break-inside: avoid; }
  .hero { min-height: auto; padding: 20px 0; background: #fff; }
  .modern-table, .info-table { page-break-inside: avoid; }
  .modern-table th { background: #e0e0e0 !important; color: #000 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .office-card, .card, .service-card { box-shadow: none !important; border: 1px solid #ccc !important; page-break-inside: avoid; }
}

/* ===== Subpage sections (EN/CN) ===== */
.services-section,
.fees-section-block,
.requirements-section,
.downloads-section,
.faq-section,
.contact-form-section,
.contact-info-section,
.office-hours-section,
.attorney-section,
.company-info-section,
.access-section,
.recruit-section,
.thanks-content,
.quick-links-section,
.why-us-section,
.access,
.attorneys,
.firm-content,
.requirements,
.pricing,
.faq {
  padding: clamp(60px, 9vw, 100px) 24px;
}
.services-section:nth-of-type(even),
.requirements-section,
.downloads-section {
  background: var(--gray-100);
}

.services-list,
.requirements-list,
.benefits-list {
  list-style: none;
  padding: 0;
  max-width: 780px;
  margin: 24px auto 0;
}
.services-list li,
.requirements-list li,
.benefits-list li {
  padding: 14px 16px 14px 44px;
  position: relative;
  font-size: 15px;
  line-height: 1.7;
  border-bottom: 1px solid var(--gray-200);
  color: #333;
}
.services-list li::before,
.requirements-list li::before,
.benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 14px;
  color: var(--green-main);
  font-weight: 700;
}

.fees-table,
.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.fees-table th,
.fee-table th {
  background: var(--green-gradient);
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
}
.fees-table td,
.fee-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 14px;
}
.fees-table tbody tr:nth-child(odd),
.fee-table tbody tr:nth-child(odd) {
  background: #fafafa;
}
.fee-intro {
  max-width: 780px;
  margin: 0 auto 24px;
  font-size: 15px;
  color: #555;
  line-height: 1.8;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 32px auto 0;
}
.download-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 18px 20px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--dark);
  font-weight: 500;
  transition: all 0.2s;
}
.download-item:hover {
  border-color: var(--green-main);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(127,190,38,0.15);
}

.cta-section {
  background: var(--green-gradient);
  color: #fff;
  padding: clamp(60px, 9vw, 100px) 24px;
  text-align: center;
}
.cta-section h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 16px;
}
.cta-section p {
  color: rgba(255,255,255,0.9);
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 15px;
  line-height: 1.8;
}

/* Contact form */
.form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.form-intro {
  max-width: 720px;
  margin: 0 auto 24px;
  color: #555;
  line-height: 1.8;
}

/* Contact info */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 32px auto 0;
}
.contact-info-card {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}
.contact-info-card h3 {
  color: var(--green-dark);
  font-size: 16px;
  margin-bottom: 12px;
}
.hours-text { color: #444; line-height: 1.8; }

/* Profile / attorneys */
.attorney-image {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--green-pale);
}
.bio {
  color: #555;
  line-height: 1.8;
  font-size: 14px;
}
.badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--green-pale);
  color: var(--green-dark);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-right: 4px;
}
.access-grid,
.offices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 32px auto 0;
}
.access-item,
.office-contact,
.firm-info {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}

/* Thanks page additions */
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 32px auto 0;
}
.quick-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--dark);
  transition: all 0.2s;
}
.quick-link-card:hover {
  transform: translateY(-2px);
  border-color: var(--green-main);
  box-shadow: 0 4px 12px rgba(127,190,38,0.15);
}
.quick-link-icon {
  font-size: 32px;
  margin-bottom: 8px;
  color: var(--green-main);
}
.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}
.contact-block,
.contact-reminder {
  max-width: 600px;
  margin: 24px auto;
  padding: 20px;
  background: var(--green-pale);
  border-radius: var(--radius);
  text-align: center;
  color: var(--green-dark);
}

/* Translation why-us / features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 32px auto 0;
}
.feature-card {
  background: #fff;
  padding: 28px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: transform 0.3s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.feature-icon {
  font-size: 36px;
  margin-bottom: 12px;
  color: var(--green-main);
}

/* CN / EN simple utility */
.contact-container,
.recruit-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
}
.contact-details,
.info-item,
.recruit-content,
.requirements-content {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  margin-bottom: 16px;
}
.message,
.recruit-message,
.message-text {
  max-width: 780px;
  margin: 0 auto 24px;
  line-height: 1.8;
  color: #444;
}
.future-applications,
.recruitment-info {
  max-width: 900px;
  margin: 24px auto 0;
  padding: 24px;
  background: var(--green-pale);
  border-radius: var(--radius);
}

/* Section title helper (already exists but add variants) */
.section-title { font-size: clamp(22px, 3vw, 32px); font-weight: 700; text-align: center; margin-bottom: 16px; color: var(--dark); }
.text-right { text-align: right; }
.highlight { color: var(--green-dark); font-weight: 700; }

/* EN profile extras */
.offices-section { padding: clamp(60px, 9vw, 100px) 24px; background: var(--gray-100); }
.office-desc { color: #555; line-height: 1.8; margin-top: 8px; }
.profile-table { width: 100%; border-collapse: collapse; max-width: 900px; margin: 24px auto; }
.profile-table td { padding: 14px 16px; border-bottom: 1px solid var(--gray-200); font-size: 15px; vertical-align: top; }
.profile-table td:first-child { width: 200px; background: var(--green-pale); color: var(--green-dark); font-weight: 600; }
.table-label { background: var(--green-pale); color: var(--green-dark); font-weight: 600; padding: 10px 14px; }
.position { display: inline-block; padding: 4px 10px; background: var(--green-gradient); color: #fff; border-radius: 12px; font-size: 12px; font-weight: 600; }
