/* =========================================================
   Nihon Visa - Main stylesheet
   Design tokens + component styles
   Order: tokens, base, layout, nav, hero, sections, components, animations, responsive
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --nv-bg: #FFF8EC;          /* primary cream background */
  --nv-bg-warm: #F4D9A6;     /* warm cream / tan accent panel */
  --nv-bg-dark: #2B2118;     /* dark coffee / near-black */
  --nv-bg-darker: #3A2D20;   /* card dark */
  --nv-bg-darker-2: #43342A; /* card dark hover */
  --nv-red: #E63946;         /* primary red (hinomaru) */
  --nv-ink: #2B2118;         /* primary text on cream */
  --nv-cream: #FFF8EC;       /* text on dark */
  --nv-mute: #5A4F3E;        /* secondary text */
  --nv-mute-2: #7A6F5E;      /* tertiary / labels */
  --nv-line: rgba(43, 33, 24, 0.15);
  --nv-line-dark: rgba(255, 248, 236, 0.15);
  --nv-green: #3E8E5A;       /* "now booking" pulse dot */

  --nv-shadow-1: 0 2px 0 var(--nv-ink);
  --nv-shadow-2: 0 3px 0 var(--nv-ink);
  --nv-shadow-3: 0 4px 0 var(--nv-ink);
  --nv-shadow-4: 0 6px 0 var(--nv-ink);
  --nv-shadow-red: 0 4px 0 var(--nv-red);
  --nv-shadow-cream: 0 4px 0 var(--nv-cream);

  --nv-radius-pill: 999px;
  --nv-radius-card: 24px;
  --nv-radius-card-lg: 32px;

  --nv-font-display: 'Fraunces', 'Recoleta', Georgia, serif;
  --nv-font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --nv-font-jp: 'Noto Serif JP', serif;

  --nv-section-pad-y: 120px;
  --nv-section-pad-x: 48px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--nv-bg);
  color: var(--nv-ink);
  font-family: var(--nv-font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

::selection {
  background: var(--nv-red);
  color: var(--nv-cream);
}

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
input, textarea, button, select { font-family: inherit; }
button { cursor: pointer; }

.nv-italic-red {
  font-style: italic;
  color: var(--nv-red);
}

.nv-italic-cream {
  font-style: italic;
  color: var(--nv-cream);
}

.nv-screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Reveal / scroll-in animation ---------- */
.nv-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(.2, .7, .2, 1),
              transform 700ms cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.nv-reveal.is-shown {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .nv-reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Section wrapper ---------- */
.nv-section {
  padding: var(--nv-section-pad-y) var(--nv-section-pad-x);
  position: relative;
}

.nv-section--warm {
  background: var(--nv-bg-warm);
}

.nv-section--dark {
  background: var(--nv-bg-dark);
  color: var(--nv-cream);
}

.nv-section--red {
  background: var(--nv-red);
  color: var(--nv-cream);
}

.nv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px;
  background: var(--nv-ink);
  color: var(--nv-cream);
  border-radius: var(--nv-radius-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.nv-section--dark .nv-eyebrow,
.nv-section--red .nv-eyebrow {
  background: var(--nv-cream);
  color: var(--nv-ink);
}

.nv-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nv-red);
}

.nv-h2 {
  font-family: var(--nv-font-display);
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin: 0;
  max-width: 1100px;
}

.nv-h2--md {
  font-size: clamp(40px, 5.5vw, 80px);
}

.nv-h2--lg {
  font-size: clamp(56px, 9vw, 144px);
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: -0.05em;
}

/* ---------- Nav ---------- */
.nv-nav {
  position: sticky;
  top: 16px;
  z-index: 100;
  margin: 16px 32px;
  padding: 14px 20px 14px 24px;
  background: rgba(255, 251, 243, 0.85);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1.5px solid var(--nv-ink);
  border-radius: var(--nv-radius-pill);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--nv-shadow-3);
}

.nv-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--nv-font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--nv-ink);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nv-nav__brand-mark {
  color: var(--nv-red);
}

.nv-nav__menu {
  display: flex;
  gap: 28px;
  font-size: 13px;
  font-weight: 500;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nv-nav__menu a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

.nv-nav__menu a:hover {
  color: var(--nv-red);
}

.nv-nav__cta {
  padding: 10px 22px;
  background: var(--nv-red);
  color: var(--nv-cream);
  border: 1.5px solid var(--nv-ink);
  border-radius: var(--nv-radius-pill);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  box-shadow: var(--nv-shadow-2);
  transition: transform .15s, box-shadow .15s;
}

.nv-nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--nv-shadow-3);
}

.nv-nav__toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--nv-ink);
  border-radius: var(--nv-radius-pill);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
}

/* ---------- Hero ---------- */
.nv-hero {
  padding: 40px 48px 100px;
  position: relative;
  overflow: hidden;
}

.nv-hero__sun {
  position: absolute;
  top: 80px;
  right: 80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--nv-red) 0%, var(--nv-red) 60%, transparent 100%);
  opacity: 0.85;
  filter: blur(2px);
  animation: nvSunPulse 6s ease-in-out infinite;
  pointer-events: none;
  will-change: transform;
}

.nv-fuji {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  opacity: 0.12;
  pointer-events: none;
}

.nv-hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 80px;
}

.nv-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--nv-cream);
  border: 1.5px solid var(--nv-ink);
  border-radius: var(--nv-radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--nv-ink);
  box-shadow: var(--nv-shadow-1);
}

.nv-hero__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nv-green);
  animation: nvBlink 1.4s ease-in-out infinite;
}

.nv-hero__title {
  font-family: var(--nv-font-display);
  font-size: clamp(64px, 10vw, 156px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--nv-ink);
  margin: 32px 0 0;
  font-weight: 600;
  max-width: 1100px;
}

.nv-hero__lede {
  margin-top: 40px;
  max-width: 560px;
  font-size: 19px;
  line-height: 1.5;
  margin-bottom: 0;
}

.nv-hero__cta-row {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.nv-btn-primary {
  padding: 18px 30px;
  background: var(--nv-ink);
  color: var(--nv-cream);
  border: 1.5px solid var(--nv-ink);
  border-radius: var(--nv-radius-pill);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  box-shadow: var(--nv-shadow-red);
  transition: transform .15s, box-shadow .15s;
}

.nv-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--nv-red); }
.nv-btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--nv-red); }

.nv-btn-link {
  padding: 18px 24px;
  background: transparent;
  color: var(--nv-ink);
  border: none;
  font-size: 16px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-style: wavy;
  text-underline-offset: 6px;
  text-decoration-color: var(--nv-red);
}

.nv-hero__stats {
  margin-top: 96px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 800px;
}

.nv-stat {
  border-top: 2px solid var(--nv-ink);
  padding-top: 16px;
}

.nv-stat__num {
  font-family: var(--nv-font-display);
  font-size: 56px;
  font-weight: 700;
  color: var(--nv-ink);
  letter-spacing: -0.04em;
  line-height: 1;
}

.nv-stat__label {
  font-size: 13px;
  color: var(--nv-mute-2);
  margin-top: 8px;
  font-weight: 500;
}

/* ---------- Trust bar (marquee) ---------- */
.nv-trust {
  padding: 24px 0;
  background: var(--nv-bg-dark);
  color: var(--nv-cream);
  overflow: hidden;
  border-top: 1.5px solid var(--nv-ink);
}

.nv-trust__track {
  display: flex;
  gap: 64px;
  animation: nvMarquee 30s linear infinite;
  white-space: nowrap;
  font-family: var(--nv-font-display);
  font-size: 28px;
  font-weight: 500;
  font-style: italic;
  width: max-content;
}

.nv-trust__item {
  display: flex;
  align-items: center;
  gap: 64px;
}

.nv-trust__item span {
  font-size: 18px;
  color: var(--nv-red);
}

/* ---------- Process ---------- */
.nv-process__grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.nv-process__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nv-process__btn {
  width: 100%;
  text-align: left;
  padding: 28px 32px;
  background: var(--nv-cream);
  color: var(--nv-ink);
  border: 2px solid var(--nv-ink);
  border-radius: var(--nv-radius-card);
  font-family: inherit;
  cursor: pointer;
  box-shadow: var(--nv-shadow-2);
  transition: all .25s;
}

.nv-process__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 0 var(--nv-ink);
}

.nv-process__btn[aria-selected="true"] {
  background: var(--nv-red);
  color: var(--nv-cream);
  box-shadow: var(--nv-shadow-4);
  transform: translateY(-2px);
}

.nv-process__btn-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.nv-process__btn-kanji {
  font-family: var(--nv-font-jp);
  font-size: 18px;
}

.nv-process__btn-title {
  font-family: var(--nv-font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nv-process__panel {
  position: sticky;
  top: 120px;
  background: var(--nv-bg-dark);
  color: var(--nv-cream);
  border-radius: var(--nv-radius-card-lg);
  padding: 48px;
  border: 2px solid var(--nv-ink);
  box-shadow: 0 6px 0 var(--nv-red);
}

.nv-process__panel-kanji {
  font-family: var(--nv-font-jp);
  font-size: 80px;
  color: var(--nv-red);
  line-height: 1;
  margin-bottom: 24px;
}

.nv-process__panel-title {
  font-family: var(--nv-font-display);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.nv-process__panel-duration {
  font-size: 13px;
  color: var(--nv-red);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.nv-process__panel-desc {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 248, 236, 0.85);
  margin: 0;
}

/* ---------- Services ---------- */
.nv-services__grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.nv-service-card {
  background: var(--nv-cream);
  border: 2px solid var(--nv-ink);
  border-radius: var(--nv-radius-card);
  padding: 32px;
  height: 100%;
  box-shadow: var(--nv-shadow-3);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}

.nv-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 0 var(--nv-ink);
}

.nv-service-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.nv-service-card__num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--nv-mute-2);
}

.nv-service-card__kanji {
  font-family: var(--nv-font-jp);
  font-size: 32px;
  color: var(--nv-red);
}

.nv-service-card__title {
  font-family: var(--nv-font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.nv-service-card__desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--nv-mute);
  margin: 0;
}

/* ---------- Requirements ---------- */
.nv-req__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 80px;
}

.nv-req__lede {
  font-size: 17px;
  line-height: 1.5;
  color: var(--nv-mute);
  margin-top: 32px;
}

.nv-torii-draw {
  margin-top: 24px;
}

.nv-torii-draw g {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 1800ms cubic-bezier(.5, .05, .2, 1);
}

.nv-reveal.is-shown .nv-torii-draw g {
  stroke-dashoffset: 0;
}

.nv-req__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nv-req-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 28px;
  background: var(--nv-cream);
  border: 2px solid var(--nv-ink);
  border-radius: var(--nv-radius-pill);
  box-shadow: var(--nv-shadow-2);
}

.nv-req-row__num {
  font-family: var(--nv-font-display);
  font-size: 22px;
  font-style: italic;
  color: var(--nv-red);
  font-weight: 600;
}

.nv-req-row__label {
  font-family: var(--nv-font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.nv-req-row__desc {
  font-size: 13px;
  color: var(--nv-mute-2);
  margin-top: 2px;
}

.nv-req-row__value {
  padding: 6px 14px;
  background: var(--nv-ink);
  color: var(--nv-cream);
  border-radius: var(--nv-radius-pill);
  font-size: 12px;
  font-weight: 600;
}

/* ---------- Quiz ---------- */
.nv-quiz {
  margin-top: 56px;
  max-width: 760px;
}

.nv-quiz__card {
  background: var(--nv-cream);
  color: var(--nv-ink);
  border: 2px solid var(--nv-cream);
  border-radius: var(--nv-radius-card-lg);
  padding: 48px;
  box-shadow: 0 6px 0 var(--nv-red);
  min-height: 380px;
}

.nv-quiz__progress {
  display: flex;
  gap: 6px;
  margin-bottom: 32px;
}

.nv-quiz__progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(43, 33, 24, 0.15);
  border-radius: var(--nv-radius-pill);
  transition: background .4s;
}

.nv-quiz__progress-bar.is-active {
  background: var(--nv-red);
}

.nv-quiz__step {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--nv-mute-2);
  margin-bottom: 12px;
}

.nv-quiz__q {
  font-family: var(--nv-font-display);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}

.nv-quiz__opts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.nv-quiz__opt {
  padding: 18px 20px;
  background: var(--nv-cream);
  color: var(--nv-ink);
  border: 2px solid var(--nv-ink);
  border-radius: var(--nv-radius-pill);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  box-shadow: var(--nv-shadow-2);
  transition: all .15s;
}

.nv-quiz__opt:hover {
  background: var(--nv-red);
  color: var(--nv-cream);
}

.nv-quiz__result-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--nv-red);
  margin-bottom: 12px;
}

.nv-quiz__verdict {
  font-family: var(--nv-font-display);
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  font-style: italic;
}

.nv-quiz__advice {
  font-size: 17px;
  line-height: 1.5;
  color: var(--nv-mute);
  margin-bottom: 32px;
}

.nv-quiz__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.nv-btn-red {
  padding: 14px 24px;
  background: var(--nv-red);
  color: var(--nv-cream);
  border: 2px solid var(--nv-ink);
  border-radius: var(--nv-radius-pill);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  box-shadow: var(--nv-shadow-2);
}

.nv-btn-ghost {
  padding: 14px 20px;
  background: transparent;
  color: var(--nv-ink);
  border: 2px solid var(--nv-ink);
  border-radius: var(--nv-radius-pill);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
}

/* ---------- Compare ---------- */
.nv-compare__toggle {
  margin-top: 48px;
  display: inline-flex;
  background: var(--nv-cream);
  border: 2px solid var(--nv-ink);
  border-radius: var(--nv-radius-pill);
  padding: 4px;
  box-shadow: var(--nv-shadow-2);
}

.nv-compare__toggle-btn {
  padding: 12px 24px;
  background: transparent;
  color: var(--nv-ink);
  border: none;
  border-radius: var(--nv-radius-pill);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  transition: all .2s;
}

.nv-compare__toggle-btn[aria-pressed="true"] {
  background: var(--nv-ink);
  color: var(--nv-cream);
}

.nv-compare__rows {
  margin-top: 48px;
  display: grid;
  gap: 8px;
}

.nv-compare__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: center;
  padding: 20px 28px;
  background: var(--nv-cream);
  border: 2px solid var(--nv-ink);
  border-radius: 16px;
  box-shadow: var(--nv-shadow-1);
}

.nv-compare__row-label {
  font-size: 13px;
  color: var(--nv-mute-2);
  font-weight: 600;
}

.nv-compare__row-cell {
  font-family: var(--nv-font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--nv-mute-2);
  transition: color .25s;
}

.nv-compare[data-active="kk"] .nv-compare__row-cell--kk,
.nv-compare[data-active="gk"] .nv-compare__row-cell--gk {
  color: var(--nv-red);
}

/* ---------- FAQ ---------- */
.nv-faq__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 64px;
}

.nv-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nv-faq-item {
  background: var(--nv-cream);
  border: 2px solid var(--nv-ink);
  border-radius: var(--nv-radius-card);
  overflow: hidden;
  box-shadow: var(--nv-shadow-2);
}

.nv-faq-item__btn {
  width: 100%;
  padding: 24px 28px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.nv-faq-item__q {
  font-family: var(--nv-font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.nv-faq-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--nv-red);
  color: var(--nv-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform .3s;
  flex-shrink: 0;
}

.nv-faq-item.is-open .nv-faq-item__icon {
  transform: rotate(45deg);
}

.nv-faq-item__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.nv-faq-item.is-open .nv-faq-item__panel {
  max-height: 400px;
}

.nv-faq-item__a {
  margin: 0;
  padding: 0 28px 24px;
  color: var(--nv-mute);
  line-height: 1.55;
  font-size: 15px;
}

/* ---------- Contact ---------- */
.nv-contact__lede {
  margin-top: 32px;
  font-size: 19px;
  line-height: 1.5;
  max-width: 540px;
}

.nv-contact__form {
  margin-top: 56px;
  max-width: 800px;
}

/* ---------- Fluent Forms theming for the red contact section ----------
   Fluent Forms outputs its own classes (.fluentform, .ff-el-form-control, etc).
   We override just enough to make the form sit comfortably on the red background
   without touching the form's structure or behavior. */
.nv-contact__form--ff .fluentform,
.nv-contact__form--ff .frm-fluent-form {
  color: var(--nv-cream);
}

.nv-contact__form--ff .ff-el-input--label label,
.nv-contact__form--ff label {
  color: var(--nv-cream);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.nv-contact__form--ff .ff-el-form-control,
.nv-contact__form--ff input[type="text"],
.nv-contact__form--ff input[type="email"],
.nv-contact__form--ff input[type="tel"],
.nv-contact__form--ff input[type="number"],
.nv-contact__form--ff input[type="url"],
.nv-contact__form--ff select,
.nv-contact__form--ff textarea {
  width: 100%;
  padding: 18px 22px;
  background: var(--nv-cream);
  color: var(--nv-ink);
  border: 2px solid var(--nv-ink);
  border-radius: var(--nv-radius-pill);
  font-family: inherit;
  font-size: 16px;
  outline: none;
  box-shadow: var(--nv-shadow-2);
  box-sizing: border-box;
  height: auto;
  line-height: 1.4;
}

.nv-contact__form--ff textarea {
  border-radius: var(--nv-radius-card);
  resize: vertical;
  min-height: 120px;
}

.nv-contact__form--ff .ff-el-form-control:focus,
.nv-contact__form--ff input:focus,
.nv-contact__form--ff select:focus,
.nv-contact__form--ff textarea:focus {
  border-color: var(--nv-ink);
  box-shadow: 0 0 0 3px rgba(43, 33, 24, 0.15), var(--nv-shadow-2);
}

.nv-contact__form--ff button[type="submit"],
.nv-contact__form--ff .ff-btn-submit,
.nv-contact__form--ff .ff_btn_style {
  margin-top: 8px;
  padding: 18px 36px;
  background: var(--nv-ink);
  color: var(--nv-cream);
  border: 2px solid var(--nv-ink);
  border-radius: var(--nv-radius-pill);
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  box-shadow: var(--nv-shadow-cream);
  transition: transform .15s, box-shadow .15s;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  line-height: 1;
}

.nv-contact__form--ff button[type="submit"]:hover,
.nv-contact__form--ff .ff-btn-submit:hover,
.nv-contact__form--ff .ff_btn_style:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--nv-cream);
  background: var(--nv-ink);
  color: var(--nv-cream);
}

/* Fluent Forms validation / error messages */
.nv-contact__form--ff .error,
.nv-contact__form--ff .text-danger,
.nv-contact__form--ff .ff-el-is-error .text-danger {
  color: var(--nv-cream);
  background: rgba(43, 33, 24, 0.25);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-top: 6px;
  display: inline-block;
}

.nv-contact__form--ff .ff-el-is-error .ff-el-form-control {
  border-color: var(--nv-ink);
  box-shadow: 0 0 0 2px var(--nv-ink), var(--nv-shadow-2);
}

/* Fluent Forms success message after submit */
.nv-contact__form--ff .ff-message-success,
.nv-contact__form--ff .ff_submit_success {
  background: var(--nv-cream);
  color: var(--nv-ink);
  border: 2px solid var(--nv-ink);
  border-radius: var(--nv-radius-card);
  padding: 24px 28px;
  font-size: 16px;
  font-weight: 500;
  box-shadow: var(--nv-shadow-3);
}

/* ---------- Footer ---------- */
.nv-footer {
  padding: 40px 48px;
  background: var(--nv-bg-dark);
  color: var(--nv-cream);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.nv-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--nv-font-display);
  font-size: 18px;
  font-weight: 700;
}

.nv-footer__copy {
  font-size: 12px;
  color: rgba(255, 248, 236, 0.5);
  font-weight: 400;
  margin-left: 12px;
}

.nv-footer__links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  font-weight: 500;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nv-footer__links a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

.nv-footer__links a:hover {
  color: var(--nv-red);
}

/* ---------- Animations ---------- */
@keyframes nvSunPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.05); opacity: 0.95; }
}

@keyframes nvBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes nvMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

@keyframes nvFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root {
    --nv-section-pad-y: 80px;
    --nv-section-pad-x: 32px;
  }

  .nv-process__grid,
  .nv-req__grid,
  .nv-faq__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nv-process__panel { position: static; }

  .nv-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  :root {
    --nv-section-pad-y: 64px;
    --nv-section-pad-x: 20px;
  }

  .nv-nav {
    margin: 12px 16px;
    padding: 10px 14px 10px 18px;
  }

  .nv-nav__menu { display: none; }
  .nv-nav__toggle { display: inline-block; }

  .nv-nav.is-open .nv-nav__menu {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 12px;
    background: var(--nv-cream);
    border: 1.5px solid var(--nv-ink);
    border-radius: 24px;
    padding: 20px;
    margin-top: 8px;
    box-shadow: var(--nv-shadow-3);
  }

  .nv-hero {
    padding: 24px 20px 64px;
  }

  .nv-hero__inner { padding-top: 32px; }
  .nv-hero__sun { width: 160px; height: 160px; top: 40px; right: 20px; }
  .nv-hero__stats { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
  .nv-stat__num { font-size: 40px; }

  .nv-services__grid {
    grid-template-columns: 1fr;
  }

  .nv-quiz__opts {
    grid-template-columns: 1fr;
  }

  .nv-compare__row {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: left;
  }

  .nv-process__btn { padding: 20px 24px; }
  .nv-process__btn-title { font-size: 24px; }
  .nv-process__panel { padding: 32px; }
  .nv-process__panel-kanji { font-size: 60px; }
  .nv-process__panel-title { font-size: 36px; }

  .nv-trust__track { font-size: 20px; gap: 32px; }
  .nv-trust__item { gap: 32px; }

  .nv-footer {
    padding: 32px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
}
