/* ===================================================================
   NAVIRA MOTORS — Design System
   Navy + Gold, inspired by the brand mark. Kobe port-city elegance.
=================================================================== */

:root {
  /* Brand palette — sampled from the logo */
  --navy-950: #06162E;
  --navy-900: #0B2545;
  --navy-800: #123163;
  --navy-700: #1C3E6E;
  --gold-600: #A9812E;
  --gold-500: #C9A24C;
  --gold-400: #E0BD6E;

  --cream: #FAF8F3;
  --white: #FFFFFF;
  --ink: #1C2430;
  --gray-600: #5B6472;
  --gray-400: #8A93A3;
  --border: #E4DFD3;
  --border-dark: rgba(250, 248, 243, 0.16);

  --font-display: "Playfair Display", "Noto Serif JP", Georgia, serif;
  --font-body: "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container-w: 1180px;
  --radius: 6px;
  --shadow-soft: 0 12px 32px -12px rgba(11, 37, 69, 0.18);
  --shadow-card: 0 2px 10px rgba(11, 37, 69, 0.06);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--navy-900); line-height: 1.2; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Utility ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-500);
  display: inline-block;
}
.kicker.on-dark { color: var(--gold-400); }

.section { padding: clamp(56px, 9vw, 108px) 0; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--navy { background: linear-gradient(160deg, var(--navy-950), var(--navy-900)); color: var(--cream); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--gray-600); font-size: 1.05rem; }
.section--navy .section-head p { color: rgba(250, 248, 243, 0.78); }

.lede { font-size: 1.15rem; color: var(--gray-600); max-width: 620px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 3px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-950);
}
.btn--gold:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn--outline-dark {
  border-color: rgba(250, 248, 243, 0.35);
  color: var(--cream);
}
.btn--outline-dark:hover { border-color: var(--gold-400); color: var(--gold-400); }
.btn--outline-navy {
  border-color: var(--navy-900);
  color: var(--navy-900);
}
.btn--outline-navy:hover { background: var(--navy-900); color: var(--white); }
.btn--navy { background: var(--navy-900); color: var(--white); }
.btn--navy:hover { background: var(--navy-800); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 243, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand img { height: 34px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav ul { display: flex; gap: 34px; }
.main-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--navy-800);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold-500);
  transition: right 0.2s ease;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.main-nav a[aria-current="page"] { color: var(--navy-950); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-900); display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  color: var(--cream);
  padding: clamp(72px, 12vw, 140px) 0 clamp(64px, 9vw, 110px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 100%, transparent 20%, rgba(224,189,110,0.07) 21%, rgba(224,189,110,0.07) 34%, transparent 35%, transparent),
    radial-gradient(circle at 0% 100%, transparent 20%, rgba(224,189,110,0.07) 21%, rgba(224,189,110,0.07) 34%, transparent 35%, transparent),
    radial-gradient(circle at 100% 100%, transparent 20%, rgba(224,189,110,0.07) 21%, rgba(224,189,110,0.07) 34%, transparent 35%, transparent);
  background-size: 64px 32px;
  opacity: 0.55;
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.2vw, 3.35rem);
  max-width: 15ch;
  margin-bottom: 22px;
}
.hero .lede { color: rgba(250, 248, 243, 0.8); font-size: 1.12rem; max-width: 46ch; margin-bottom: 34px; }
.hero-page {
  padding: clamp(56px, 9vw, 96px) 0;
}
.hero-page h1 { color: var(--white); max-width: 22ch; }
.hero-page .lede { color: rgba(250,248,243,0.8); max-width: 56ch; }

/* Route graphic */
.route-graphic { position: relative; }
.route-card {
  background: rgba(250, 248, 243, 0.06);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 28px 24px;
}
.route-svg { width: 100%; height: auto; }
.route-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-top: 14px;
}

/* ---------- Value / Service cards ---------- */
.grid { display: grid; gap: 28px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
}
.card .icon {
  width: 44px; height: 44px;
  margin-bottom: 20px;
  color: var(--gold-600);
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--gray-600); font-size: 0.96rem; margin-bottom: 0; }
.card .num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold-500);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  display: block;
}

/* Steps */
.step { position: relative; padding-left: 4px; }
.step .step-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold-500);
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--gray-600); font-size: 0.94rem; }

/* ---------- Seal / hanko motif ---------- */
.seal {
  width: 74px; height: 74px;
  border: 1.5px solid var(--gold-500);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  color: var(--gold-500);
  font-size: 1.55rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

/* ---------- Founder block ---------- */
.founder {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 44px;
  align-items: start;
}
.founder-mark {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(155deg, var(--navy-900), var(--navy-700));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.founder-mark::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 50% 100%, transparent 20%, rgba(224,189,110,0.12) 21%, rgba(224,189,110,0.12) 34%, transparent 35%, transparent);
  background-size: 40px 20px;
}
.founder-initials {
  font-family: var(--font-display);
  font-size: 2.6rem;
  letter-spacing: 0.04em;
  position: relative;
  color: var(--gold-400);
}
.founder-name { font-size: 1rem; color: var(--navy-800); font-weight: 600; margin-bottom: 2px; }
.founder-role { font-size: 0.82rem; color: var(--gray-600); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 18px; }

/* ---------- Service detail cards ---------- */
.service-card { padding: 36px 32px; }
.service-card .top-row { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.service-card .icon { margin-bottom: 0; }
.mini-list { margin-top: 16px; }
.mini-list li {
  position: relative;
  padding-left: 18px;
  color: var(--gray-600);
  font-size: 0.92rem;
  margin-bottom: 8px;
}
.mini-list li::before { content: "—"; position: absolute; left: 0; color: var(--gold-500); }

/* ---------- Values list ---------- */
.value-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}
.value-row:last-child { border-bottom: 1px solid var(--border); }
.value-row h3 { font-size: 1.05rem; margin: 0; color: var(--navy-900); }
.value-row p { color: var(--gray-600); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(155deg, var(--navy-950), var(--navy-800));
  border-radius: 10px;
  padding: clamp(36px, 6vw, 60px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 50% 100%, transparent 20%, rgba(224,189,110,0.06) 21%, rgba(224,189,110,0.06) 34%, transparent 35%, transparent);
  background-size: 56px 28px;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: rgba(250,248,243,0.78); max-width: 46ch; margin: 0 auto 28px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--navy-800);
  margin-bottom: 8px;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201,162,76,0.15);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--gray-400); margin-top: 12px; }

.contact-info-card {
  background: var(--navy-900);
  color: var(--cream);
  border-radius: 10px;
  padding: 40px 34px;
  position: sticky;
  top: 110px;
}
.contact-info-card h3 { color: var(--white); font-size: 1.2rem; }
.contact-info-card .info-row { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--border-dark); }
.contact-info-card .info-row:first-of-type { border-top: none; margin-top: 8px; }
.contact-info-card .info-row .label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-400); min-width: 90px; }
.contact-info-card .info-row .value { font-size: 0.95rem; color: rgba(250,248,243,0.9); }
.contact-info-card a.value:hover { color: var(--gold-400); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(250, 248, 243, 0.75);
  padding: 64px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-dark);
}
.footer-badge {
  display: inline-flex;
  background: var(--cream);
  border-radius: 6px;
  padding: 10px 16px;
  margin-bottom: 18px;
}
.footer-badge img { height: 26px; }
.footer-top p { font-size: 0.92rem; color: rgba(250,248,243,0.65); max-width: 34ch; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.92rem; color: rgba(250,248,243,0.75); }
.footer-col a:hover { color: var(--gold-400); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(250,248,243,0.45);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .hero .container { grid-template-columns: 1fr; }
  .route-graphic { max-width: 420px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-card { position: static; }
  .founder { grid-template-columns: 160px 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav { position: fixed; inset: 84px 0 0 0; background: var(--navy-950); flex-direction: column; align-items: flex-start; padding: 40px 28px; transform: translateX(100%); transition: transform 0.28s ease; }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 26px; }
  .main-nav a { color: var(--cream); font-size: 1.1rem; }
  .main-nav .btn { margin-top: 30px; }
  .nav-toggle { display: flex; }
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .value-row { grid-template-columns: 1fr; gap: 10px; }
  .founder { grid-template-columns: 1fr; }
  .founder-mark { max-width: 160px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
