/* ============================================================
   Nojima International Co., Ltd. — Main Stylesheet
   ============================================================ */

/* ── Self-hosted Inter ── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Variables ── */
:root {
  --primary:       #1a3a5c;
  --primary-dark:  #0a1e35;
  --primary-light: #2563eb;
  --accent:        #c9a84c;
  --bg:            #f4f6f9;
  --surface:       #ffffff;
  --text:          #1a2533;
  --muted:         #5f6e83;
  --border:        #e2e8f0;
  --success:       #16a34a;
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  14px;
  --r-xl:  20px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.12);
  --ease: .22s ease;
  --max-w: 1240px;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ── Utilities ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.mt-8  { margin-top:  8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* ── Sections ── */
section { padding: 96px 0; }
.bg-white { background: var(--surface); }
.bg-gray  { background: var(--bg); }

/* ── Section Headings ── */
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--primary-light);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-head.center .section-eyebrow {
  justify-content: center;
}
.section-title {
  font-size: clamp(1.9rem, 3.8vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--primary-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-desc {
  font-size: 1.03rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.75;
}
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-desc { margin-left: auto; margin-right: auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 4px;
  font-weight: 600;
  font-size: .92rem;
  transition: var(--ease);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: .2px;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(10,30,53,.3); }
.btn-primary:disabled { opacity: .75; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #f0f7ff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.btn-outline { border: 2px solid var(--primary); background: transparent; color: var(--primary); border-radius: 4px; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-white { border: 2px solid rgba(255,255,255,.5); background: transparent; color: #fff; border-radius: 4px; }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.8); }
.btn-sm { padding: 9px 18px; font-size: .83rem; }

/* ── Button spinner ── */
@keyframes btn-spin { to { transform: rotate(360deg); } }
.btn-spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin .7s linear infinite;
  vertical-align: middle;
  margin-right: 7px;
  flex-shrink: 0;
}

/* ── Header / Nav ── */
header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s ease;
}
header.scrolled {
  box-shadow: 0 2px 24px rgba(10,30,53,.1);
  border-bottom-color: transparent;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; }
.logo-img { height: 64px; width: auto; display: block; }
.footer-logo { height: 56px; }

.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-menu a {
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
  padding: 7px 12px;
  border-radius: var(--r-sm);
  transition: var(--ease);
  letter-spacing: .1px;
}
.nav-menu a:hover    { color: var(--primary); background: #eff6ff; }
.nav-menu a.active   { color: var(--primary); background: #eff6ff; font-weight: 600; }

.lang-switch {
  display: flex;
  gap: 4px;
  margin-left: 14px;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}
.lang-btn {
  font-size: .75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 4px;
  color: var(--muted);
  transition: var(--ease);
  display: inline-block;
  letter-spacing: .5px;
}
.lang-btn:hover { background: var(--border); color: var(--text); }
.lang-btn.active { background: var(--primary); color: #fff; }

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  border-radius: var(--r-sm);
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero (Home) ── */
.hero {
  background: linear-gradient(to right, #060f1c 0%, #0a1e38 50%, #0d2240 100%);
  color: #fff;
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
  width: 100%;
}
.hero-text-col {
  display: flex;
  align-items: center;
  padding: 100px 48px 100px 0;
}
.hero-img-panel {
  background-image: url('../images/home-page.png');
  background-image: image-set(
    url('../images/home-page.webp') type('image/webp'),
    url('../images/home-page.png') type('image/png')
  );
  background-size: cover;
  background-position: center top;
  clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%);
  min-height: 100%;
  position: relative;
}
.hero-img-panel::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,30,56,.55) 0%, rgba(10,30,56,.1) 60%, transparent 100%);
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,.018) 60px,
      rgba(255,255,255,.018) 61px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,.018) 60px,
      rgba(255,255,255,.018) 61px
    );
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 40%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  z-index: 1;
}
.hero-content { position: relative; text-align: left; max-width: 600px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  padding: 7px 18px;
  border-radius: 4px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  color: rgba(255,255,255,.85);
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: clamp(.95rem, 2.2vw, 1.15rem);
  opacity: .6;
  margin-bottom: 16px;
  letter-spacing: .5px;
  font-weight: 400;
}
.hero-desc {
  font-size: 1rem;
  opacity: .7;
  max-width: 540px;
  margin: 0 0 44px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; }

/* ── Stats Bar ── */
.stats-bar { background: var(--surface); border-bottom: 1px solid var(--border); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { text-align: center; padding: 32px 16px; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 7px;
  letter-spacing: -1px;
}
.stat-label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* ── Page Hero (sub-pages) ── */
.page-hero {
  background: linear-gradient(150deg, #060f1c 0%, #0a1e38 50%, #1a3a5c 100%);
  color: #fff;
  padding: 60px 0 52px;
}

/* ── Stacked Page Hero (full-width image top + text below) ── */
.page-hero-stack {
  background: linear-gradient(150deg, #060f1c 0%, #0a1e38 50%, #1a3a5c 100%);
  color: #fff;
}
.page-hero-stack-img {
  position: relative;
  width: 100%;
  height: clamp(300px, 55vw, 580px);
  overflow: hidden;
  background: #060f1c;
}
.page-hero-stack-img picture {
  display: block;
  width: 100%;
  height: 100%;
}
.page-hero-stack-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.page-hero-stack-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6,15,28,.3) 0%, rgba(6,15,28,.55) 60%, rgba(6,15,28,.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 40px;
}
.page-hero-stack-text {
  padding: 36px 0 52px;
}

/* Bullet list inside page hero (real estate pain points) */
.hero-bullets {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-bullets li {
  font-size: .9rem;
  opacity: .82;
  padding: 6px 14px 6px 12px;
  background: rgba(255,255,255,.07);
  border-left: 2px solid var(--accent);
  border-radius: 0 4px 4px 0;
  line-height: 1.5;
}

/* President's quote block inside page hero */
.hero-quote {
  margin-top: 22px;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  background: rgba(255,255,255,.06);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: .88rem;
  font-style: italic;
  opacity: .85;
  line-height: 1.75;
}
.hero-quote cite {
  display: block;
  font-style: normal;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  opacity: .55;
  margin-top: 10px;
}

/* Stats badge row inside mobile career hero */
.hero-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.hero-stat-badge {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 4px;
  padding: 9px 16px;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.45;
}
.hero-company-label {
  margin-top: 18px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  opacity: .5;
}

.page-hero-inner { max-width: 700px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: rgba(255,255,255,.45); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,.6); transition: var(--ease); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: rgba(255,255,255,.25); }
.page-hero h1,
.page-hero-stack h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -1px; margin-bottom: 10px; line-height: 1.2; }
.page-hero p,
.page-hero-stack-text p:not(.hero-company-label) { font-size: .97rem; opacity: .75; }

/* ── Service Cards ── */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: var(--ease);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #bfdbfe; }
.svc-icon {
  width: 52px; height: 52px;
  background: #eff6ff;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
  flex-shrink: 0;
}
.svc-icon svg { width: 24px; height: 24px; }
.svc-card h3 { font-size: .97rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.svc-card p  { font-size: .86rem; color: var(--muted); line-height: 1.6; }

/* ── Listing Cards ── */
.listings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.listing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.listing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.listing-thumb {
  height: 210px;
  background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.listing-thumb::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 28px,
    rgba(255,255,255,.025) 28px,
    rgba(255,255,255,.025) 29px
  );
}
.listing-thumb--car {
  background: linear-gradient(145deg, #0d1e2e 0%, #1a3550 100%);
}
.listing-thumb-icon {
  position: relative;
  color: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
}
.listing-thumb-icon svg { width: 80px; height: 80px; }
.listing-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--accent); color: #1a1a1a;
  font-size: .67rem; font-weight: 700;
  padding: 4px 10px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: .8px;
}
.listing-body { padding: 20px 20px 22px; }
.listing-body h3 { font-size: .98rem; font-weight: 700; margin-bottom: 4px; color: var(--primary-dark); }
.listing-price { font-size: 1.25rem; font-weight: 800; color: var(--primary); margin-bottom: 5px; letter-spacing: -.5px; }
.listing-meta  { font-size: .77rem; color: var(--muted); margin-bottom: 9px; }
.listing-desc  { font-size: .84rem; color: var(--text); line-height: 1.55; }

/* ── Inquiry Form ── */
.inquiry-section {
  background: #eff6ff;
  border-radius: var(--r-xl);
  padding: 40px;
  margin-top: 48px;
}
.inquiry-section h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: 24px; color: var(--primary-dark); scroll-margin-top: 90px; }

/* ── Form Wrap ── */
.form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px;
  max-width: 720px;
  margin: 0 auto;
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg { margin-bottom: 18px; }
.fg label { display: block; font-size: .85rem; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.fg input:not([type="checkbox"]),
.fg select,
.fg textarea {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: .92rem;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  transition: var(--ease);
  outline: none;
  -webkit-appearance: none;
}
.fg input:not([type="checkbox"]):focus,
.fg select:focus,
.fg textarea:focus { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.fg textarea { resize: vertical; min-height: 110px; }
.fg input[type="file"] { padding: 8px 12px; background: var(--bg); }
.form-note { font-size: .77rem; color: var(--muted); margin-top: 4px; }

/* ── Field Validation States ── */
.fg input:not([type="checkbox"]).is-error,
.fg select.is-error,
.fg textarea.is-error { border-color: #ef4444; background: #fff8f8; }
.fg input:not([type="checkbox"]).is-error:focus,
.fg select.is-error:focus,
.fg textarea.is-error:focus { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.12); }
.fg input:not([type="checkbox"]).is-valid,
.fg select.is-valid,
.fg textarea.is-valid { border-color: #22c55e; background: #f0fdf4; }
.fg input:not([type="checkbox"]).is-valid:focus,
.fg select.is-valid:focus,
.fg textarea.is-valid:focus { border-color: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.12); }
.field-error {
  color: #dc2626;
  font-size: .78rem;
  font-weight: 500;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
  animation: fadeInErr .15s ease;
}
.field-error::before { content: '⚠'; font-size: .75rem; }
@keyframes fadeInErr {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── File Upload Zone ── */
.file-upload-zone {
  position: relative;
  border: 2px dashed var(--border);
  border-radius: var(--r-lg);
  padding: 36px 24px 28px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease), box-shadow var(--ease);
  background: var(--bg);
  overflow: hidden;
}
.file-upload-zone:hover { border-color: var(--primary-light); background: #f0f9ff; }
.file-upload-zone.dragover {
  border-color: var(--primary);
  background: #eff6ff;
  box-shadow: 0 0 0 4px rgba(26,58,92,.08);
}
.file-upload-zone.has-file { border-color: #22c55e; background: #f0fdf4; border-style: solid; }
.file-upload-zone input[type="file"] {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0; cursor: pointer; z-index: 2;
}
.upload-icon-wrap {
  width: 52px; height: 52px;
  background: #eff6ff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  transition: background var(--ease);
  color: var(--primary);
}
.upload-icon-wrap svg { width: 24px; height: 24px; }
.file-upload-zone:hover .upload-icon-wrap,
.file-upload-zone.dragover .upload-icon-wrap { background: #dbeafe; }
.file-upload-zone.has-file .upload-icon-wrap { background: #dcfce7; }
.fu-title { font-size: .92rem; font-weight: 600; color: var(--text); margin-bottom: 5px; }
.fu-title span { color: var(--primary); text-decoration: underline; text-decoration-style: dotted; }
.fu-hint { font-size: .76rem; color: var(--muted); line-height: 1.5; }

/* ── File Preview Card ── */
.file-preview {
  display: none;
  align-items: center;
  gap: 12px;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: var(--r-md);
  padding: 13px 16px;
  margin-top: 10px;
  animation: fadeInErr .2s ease;
}
.file-preview.show { display: flex; }
.fp-icon { font-size: 1.7rem; flex-shrink: 0; line-height: 1; }
.fp-info { flex: 1; min-width: 0; }
.fp-name { font-size: .87rem; font-weight: 600; color: #15803d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-size { font-size: .73rem; color: var(--muted); margin-top: 2px; }
.fp-remove {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: none;
  border: 1.5px solid #86efac;
  border-radius: 6px;
  cursor: pointer; color: #16a34a; font-size: .85rem;
  transition: var(--ease);
}
.fp-remove:hover { background: #fee2e2; border-color: #fca5a5; color: #dc2626; }

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: var(--r-md);
  padding: 14px 18px;
  color: var(--success);
  font-weight: 500;
  font-size: .9rem;
  margin-top: 16px;
}
.form-success.show { display: flex; }

.form-error {
  display: none;
  align-items: center;
  gap: 10px;
  background: #fef2f2;
  border: 1.5px solid #fca5a5;
  border-radius: var(--r-md);
  padding: 14px 18px;
  color: #b91c1c;
  font-weight: 500;
  font-size: .9rem;
  margin-top: 16px;
}
.form-error a { color: inherit; text-decoration: underline; }
.form-error.show { display: flex; }

/* ── Company Info Table ── */
.info-table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.info-table-wrap table { width: 100%; border-collapse: collapse; }
.info-table-wrap tr { border-bottom: 1px solid var(--border); }
.info-table-wrap tr:last-child { border-bottom: none; }
.info-table-wrap th {
  background: var(--bg);
  padding: 16px 20px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  text-align: left;
  width: 30%;
  vertical-align: top;
}
.info-table-wrap td { padding: 16px 20px; font-size: .9rem; }
.map-ph {
  background: linear-gradient(135deg, #dbeafe, #e0f2fe);
  border-radius: var(--r-xl);
  height: 280px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px;
  color: var(--primary); font-size: 1rem; font-weight: 500;
  border: 1px solid var(--border);
}

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: start; }
.contact-info-list { display: flex; flex-direction: column; gap: 14px; }
.ci-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px;
}
.ci-icon {
  width: 44px; height: 44px;
  background: #eff6ff;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.ci-icon svg { width: 20px; height: 20px; }
.ci-text h4 { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; font-weight: 700; margin-bottom: 3px; }
.ci-text p  { font-size: .9rem; font-weight: 500; }
.ci-text a  { color: var(--primary); }
.ci-text a:hover { text-decoration: underline; }

/* ── Recruitment ── */
.recruit-intro {
  background: linear-gradient(150deg, #060f1c 0%, #0a1e38 50%, #1a3a5c 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 60px 48px;
  text-align: center;
  margin-bottom: 56px;
}
.recruit-intro h2 { font-size: 2rem; font-weight: 800; margin-bottom: 14px; }
.recruit-intro p  { opacity: .7; font-size: 1.02rem; max-width: 560px; margin: 0 auto; }
.perks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 18px; margin-bottom: 52px; }
.perk-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 18px;
  text-align: center;
  transition: var(--ease);
}
.perk-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.perk-icon {
  width: 48px; height: 48px;
  background: #eff6ff;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  color: var(--primary);
}
.perk-icon svg { width: 22px; height: 22px; }
.perk-card h4 { font-size: .9rem; font-weight: 700; margin-bottom: 5px; }
.perk-card p  { font-size: .79rem; color: var(--muted); }

/* ── Highlights / Why Us ── */
.highlights-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.hl-card {
  flex: 1 1 200px;
  max-width: 282px;
  text-align: center;
  padding: 36px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: var(--ease);
}
.hl-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.hl-icon {
  width: 56px; height: 56px;
  background: #eff6ff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: var(--primary);
}
.hl-icon svg { width: 26px; height: 26px; }
.hl-card h3 { font-size: .97rem; font-weight: 700; margin-bottom: 8px; color: var(--primary-dark); }
.hl-card p  { font-size: .84rem; color: var(--muted); line-height: 1.6; }

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(155deg, #060f1c 0%, #0a1e38 40%, #122d52 100%);
  color: #fff;
  text-align: center;
  padding: 96px 24px;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 60px,
    rgba(255,255,255,.015) 60px,
    rgba(255,255,255,.015) 61px
  );
  pointer-events: none;
}
.cta-section h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 16px; position: relative; letter-spacing: -.5px; }
.cta-section p  { font-size: 1.03rem; opacity: .7; margin-bottom: 40px; max-width: 520px; margin-left: auto; margin-right: auto; position: relative; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── Footer ── */
footer { background: #07111e; color: #6e8099; }
.footer-top {
  padding: 64px 0 48px;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-brand .footer-logo { height: 56px; width: auto; }
.footer-brand p { font-size: .82rem; margin-top: 14px; line-height: 1.7; color: #7a94ae; }
.footer-col h3 { color: #c8d8e8; font-size: .78rem; font-weight: 700; margin-bottom: 16px; letter-spacing: 1.2px; text-transform: uppercase; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: .82rem; color: #7a94ae; transition: var(--ease); }
.footer-links a:hover { color: #c8d8e8; padding-left: 4px; }
.footer-contact p { font-size: .8rem; margin-bottom: 7px; line-height: 1.6; }
.footer-contact a { color: #7a9ab8; }
.footer-contact a:hover { color: #c8d8e8; }
.footer-bottom {
  border-top: 1px solid #0d1e30;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .76rem;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: #7a94ae; }
.footer-bottom a:hover { color: #c8d8e8; }
.footer-dev { font-size: .68rem; color: #4a6278; }
.footer-dev a { color: #6a8ca8; }
.footer-dev a:hover { color: #c8d8e8; }

/* ── Company Grid ── */
.company-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img-panel { order: -1; clip-path: none; min-height: 320px; width: 100%; }
  .hero-text-col { padding: 100px 0; justify-content: center; }
  .hero-content { text-align: center; margin: 0 auto; }
  .hero-actions { justify-content: center; }

  .page-hero-stack { }
  .page-hero-stack-text { padding: 28px 0 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }

  .hamburger { display: flex; }

  .nav-menu {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    z-index: 299;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 11px 14px; border-radius: var(--r-md); }

  .lang-switch {
    border-left: none; padding-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 12px; margin-top: 6px; margin-left: 0;
  }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }

  .contact-grid { grid-template-columns: 1fr; }
  .company-grid  { grid-template-columns: 1fr; }
  .form-row-2   { grid-template-columns: 1fr; }
  .form-wrap { padding: 24px 20px; }
  .inquiry-section { padding: 28px 20px; }
  .recruit-intro { padding: 40px 28px; }

  .page-hero-stack h1 { font-size: clamp(1.65rem, 6vw, 2.2rem); }
  .hero-stat-badge { font-size: .78rem; padding: 8px 12px; }
  .hero-stats-row { gap: 8px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Privacy policy checkbox ── */
.privacy-check-fg {
  margin-bottom: 16px;
}
.privacy-check-fg label.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 0;
  color: var(--text);
}
.privacy-check-fg input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--primary);
  cursor: pointer;
  border: none;
  background: none;
  box-shadow: none;
}
.privacy-check-fg input[type="checkbox"]:focus {
  border: none;
  box-shadow: none;
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}
.privacy-check-fg .checkbox-label a {
  color: var(--primary);
  text-decoration: underline;
}

@media (max-width: 520px) {
  section { padding: 48px 0; }
  .section-head { margin-bottom: 28px; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .cta-btns { flex-direction: column; align-items: center; }
  .listings-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
  .hero-text-col { padding: 80px 0; }
  .hero-img-panel { min-height: 240px; }
  .hero-stats-row { flex-direction: column; gap: 8px; }
  .hero-stat-badge { font-size: .8rem; }
  .page-hero-stack-text { padding: 24px 0 32px; }
}
