/* ============================================================
   JADE JAPAN TOURS — DESIGN SYSTEM
   A quiet, editorial system built around one idea: a jade-green
   line drawn against paper, the way a single brushstroke sits on
   washi. Warmth comes from brass, not from cliché red-and-white.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,500&family=Public+Sans:wght@400;500;600;700&display=swap');

:root {
  /* ---- Color tokens ---- */
  --jade-900: #14261d;
  --jade-800: #1c3327;
  --jade-700: #22402f;
  --jade-500: #3e6b52;
  --jade-300: #8fae9c;
  --jade-100: #dce7dd;
  --gold: #c7a24a;
  --gold-deep: #a9862f;
  --paper: #eff2ec;
  --paper-deep: #e3e9e0;
  --white: #ffffff;
  --ink: #172119;
  --ink-soft: #48564d;
  --ink-faint: #75847a;
  --line: rgba(23, 33, 25, .14);
  --line-on-dark: rgba(255, 255, 255, .16);

  /* ---- Type ---- */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ---- Layout ---- */
  --container: 1180px;
  --pad: 18px;
  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 28px;

  /* ---- Motion ---- */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (min-width:480px) {
  :root {
    --pad: 24px;
  }
}

@media (min-width:900px) {
  :root {
    --pad: 64px;
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.14;
  margin: 0 0 .4em;
  letter-spacing: -.01em;
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
  max-width: 62ch;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
}

:focus-visible {
  outline: 2.5px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---- Layout primitives ---- */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  width: 100%;
}

.section {
  padding: 48px 0;
}

@media (min-width:760px) {
  .section {
    padding: 72px 0;
  }
}

@media (min-width:900px) {
  .section {
    padding: 112px 0;
  }
}

.section--tight {
  padding: 32px 0;
}

@media (min-width:760px) {
  .section--tight {
    padding: 48px 0;
  }
}

.section--dark {
  background: var(--jade-900);
  color: var(--paper);
}

.section--dark p {
  color: rgba(239, 242, 236, .78);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section--deep {
  background: var(--paper-deep);
}

.section--brand {
  background: var(--jade-700);
  color: var(--white);
}

.section--brand p {
  color: rgba(255, 255, 255, .82);
}

.section--brand h1,
.section--brand h2,
.section--brand h3 {
  color: var(--white);
}

.grid {
  display: grid;
  gap: 32px;
}

@media (min-width:760px) {
  .grid {
    gap: 40px;
  }
}

@media (min-width:860px) {
  .grid--2 {
    grid-template-columns: 1fr 1fr;
  }

  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.eyebrow {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin: 0 0 .75em;
}

.section--dark .eyebrow,
.section--brand .eyebrow {
  color: var(--gold);
}

h1 {
  font-size: clamp(1.85rem, 4.4vw, 3.8rem);
}

h2 {
  font-size: clamp(1.48rem, 3vw, 2.6rem);
}

h3 {
  font-size: clamp(1.18rem, 2vw, 1.6rem);
}

.lede {
  font-size: clamp(1.02rem, 2.2vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.55;
}

.section--dark .lede,
.section--brand .lede {
  color: rgba(255, 255, 255, .82);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: 13px 24px;
  min-height: 44px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--jade-700);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--jade-800);
}

.btn--gold {
  background: var(--gold);
  color: var(--jade-900);
}

.btn--gold:hover {
  background: var(--gold-deep);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.section--dark .btn--ghost,
.section--brand .btn--ghost {
  color: var(--white);
}

.section--dark .btn--ghost:hover,
.section--brand .btn--ghost:hover {
  background: var(--white);
  color: var(--jade-900);
}

.btn--sm {
  padding: 11px 18px;
  font-size: .88rem;
  min-height: 44px;
}

.btn[disabled] {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

.link {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--jade-300);
  font-weight: 600;
}

.link:hover {
  text-decoration-color: currentColor;
}

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(239, 242, 236, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--pad);
  max-width: var(--container);
  margin: 0 auto;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.wordmark img,
.wordmark svg {
  height: 46px;
  width: auto;
  flex-shrink: 0;
}

.wordmark-text {
  font-family: var(--font-display);
  font-size: 1.36rem;
  font-weight: 600;
  letter-spacing: -.01em;
}

.wordmark-text span {
  color: var(--jade-500);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink-soft);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--jade-700);
}

@media (min-width:960px) {
  .nav-links {
    display: flex;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  display: none;
}

@media (min-width:960px) {
  .nav-cta {
    display: inline-flex;
  }
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: transparent;
  cursor: pointer;
}

@media (min-width:960px) {
  .menu-btn {
    display: none;
  }
}

.menu-btn svg {
  width: 20px;
  height: 20px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 8px var(--pad) 20px;
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu a {
  padding: 14px 4px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.mobile-menu .btn {
  margin-top: 14px;
  justify-content: center;
}

@media (min-width:960px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ---- Hero ---- */
.hero {
  padding: 28px 0 36px;
}

@media (min-width:760px) {
  .hero {
    padding: 52px 0 76px;
  }
}

@media (min-width:900px) {
  .hero {
    padding: 76px 0 108px;
  }
}

.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width:940px) {
  .hero-grid {
    grid-template-columns: 1.05fr .95fr;
    gap: 60px;
  }
}

.hero-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-copy .eyebrow::before {
  content: '';
  width: 26px;
  height: 1.5px;
  background: var(--gold-deep);
  display: inline-block;
}

.hero-copy h1 {
  margin-bottom: .28em;
}

.hero-copy .lede {
  margin-bottom: 1.35em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--jade-700), var(--jade-900) 70%);
  clip-path: inset(0 100% 0 0);
  animation: shoji-reveal .9s var(--ease) .25s forwards;
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual {
    clip-path: none;
    animation: none;
  }
}

@keyframes shoji-reveal {
  to {
    clip-path: inset(0 0 0 0);
  }
}

.hero-visual-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 26px;
}

.placeholder-tag {
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  padding: 10px 16px;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
}

.hero-motif {
  position: absolute;
  inset: 0;
  opacity: .5;
}

/* ---- Fuji motif (original simple SVG line art, used as placeholder art) ---- */
.motif-svg {
  width: 100%;
  height: 100%;
}

/* ---- Glass panel ---- */
.glass {
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: var(--radius-m);
  box-shadow: 0 12px 34px rgba(20, 38, 29, .1);
}

.section--dark .glass,
.section--brand .glass,
.glass--on-dark {
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: none;
}

@media (min-width:860px) {
  .sticky-panel {
    position: sticky;
    top: 88px;
    z-index: 10;
  }
}

/* ---- Quick fact strip (not cards — a divided strip) ---- */
.fact-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

@media (min-width:760px) {
  .fact-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.fact {
  padding: 16px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact:nth-child(2n) {
  border-right: none;
}

@media (min-width:480px) {
  .fact {
    padding: 20px 18px;
  }
}

@media (min-width:760px) {
  .fact {
    padding: 22px 20px;
    border-bottom: none;
  }

  .fact:nth-child(2n) {
    border-right: 1px solid var(--line);
  }

  .fact:nth-child(4n) {
    border-right: none;
  }
}

.fact-label {
  font-size: .78rem;
  color: var(--ink-faint);
  font-weight: 600;
  margin-bottom: .35em;
}

.fact-value {
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 2.6vw, 1.28rem);
  line-height: 1.2;
}

/* ---- Cards ---- */
.tour-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--white);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(20, 38, 29, .12);
}

.tour-card-media {
  aspect-ratio: 5/4;
  background: linear-gradient(150deg, var(--jade-500), var(--jade-800));
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 18px;
}

.tour-card-tag {
  background: rgba(255, 255, 255, .9);
  color: var(--jade-900);
  font-size: .76rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
}

.tour-card-body {
  padding: 22px;
}

.tour-card-body h3 {
  margin-bottom: .3em;
}

.tour-card-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: var(--ink-faint);
  margin-top: 14px;
}

/* ---- Itinerary (a true sequence, so numbering is earned) ---- */
.itinerary {
  position: relative;
  margin-top: 20px;
}

.itin-step {
  position: relative;
  padding: 0 0 32px 48px;
}

@media (min-width:480px) {
  .itin-step {
    padding: 0 0 40px 56px;
  }
}

.itin-step::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: -4px;
  width: 1.5px;
  background: var(--line);
}

@media (min-width:480px) {
  .itin-step::before {
    left: 17px;
    top: 36px;
  }
}

.itin-step:last-child::before {
  display: none;
}

.itin-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--jade-700);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: .92rem;
  flex-shrink: 0;
}

@media (min-width:480px) {
  .itin-num {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

.itin-step h3,
.itin-step h4 {
  margin-bottom: .3em;
  font-size: 1.08rem;
}

.itin-step p {
  margin-bottom: 0;
}

/* ---- Accordion (FAQ) ---- */
.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-item:first-child {
  border-top: 1px solid var(--line);
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--ink);
}

.accordion-trigger .plus {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}

.accordion-trigger .plus::before,
.accordion-trigger .plus::after {
  content: '';
  position: absolute;
  background: var(--jade-700);
  border-radius: 2px;
}

.accordion-trigger .plus::before {
  left: 0;
  top: 9px;
  width: 22px;
  height: 2px;
}

.accordion-trigger .plus::after {
  left: 9px;
  top: 0;
  width: 2px;
  height: 22px;
  transition: transform .25s var(--ease);
}

.accordion-trigger[aria-expanded="true"] .plus::after {
  transform: rotate(90deg);
}

.accordion-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s var(--ease);
}

.accordion-panel-inner {
  padding: 0 4px 24px;
}

/* ---- Forms ---- */
.field {
  margin-bottom: 22px;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 8px;
}

.field-hint {
  font-size: .82rem;
  color: var(--ink-faint);
  margin-top: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-s);
  border: 1.5px solid var(--line);
  background: var(--white);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2.5px solid var(--jade-500);
  outline-offset: 1px;
  border-color: var(--jade-500);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #b3432f;
}

.field-error {
  color: #b3432f;
  font-size: .84rem;
  margin-top: 6px;
  display: none;
}

.field.has-error .field-error {
  display: block;
}

.form-row {
  display: grid;
  gap: 22px;
}

@media (min-width:640px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-status {
  padding: 16px 18px;
  border-radius: var(--radius-s);
  margin-top: 20px;
  font-size: .94rem;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status--success {
  background: var(--jade-100);
  color: var(--jade-800);
}

.form-status--error {
  background: #f4e2de;
  color: #7c2c1c;
}

/* ---- Badges / lists ---- */
.tick-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.tick-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-soft);
}

.tick-list svg {
  flex-shrink: 0;
  margin-top: 3px;
  width: 18px;
  height: 18px;
}

.tick-list--no svg {
  color: #b3432f;
}

.tick-list--yes svg {
  color: var(--jade-500);
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--line);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ---- Breadcrumbs ---- */
.breadcrumbs {
  font-size: .86rem;
  color: var(--ink-faint);
  margin-bottom: 20px;
}

.breadcrumbs a {
  text-decoration: none;
  color: var(--ink-faint);
}

.breadcrumbs a:hover {
  color: var(--jade-700);
}

.breadcrumbs .sep {
  margin: 0 8px;
}

/* ---- CTA banner ---- */
.cta-banner {
  border-radius: var(--radius-l);
  padding: 36px 20px;
  text-align: left;
  background: var(--jade-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}

@media (min-width:600px) {
  .cta-banner {
    padding: 52px 40px;
  }
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: .3em;
}

.cta-banner .lede {
  color: rgba(255, 255, 255, .8);
  margin-bottom: 1.4em;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--jade-900);
  color: rgba(239, 242, 236, .82);
  padding: 64px 0 30px;
}

.footer-grid {
  display: grid;
  gap: 40px;
  margin-bottom: 48px;
}

@media (min-width:760px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-grid h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-grid ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-grid a {
  text-decoration: none;
  color: rgba(239, 242, 236, .72);
  font-size: .92rem;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--line-on-dark);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(239, 242, 236, .55);
}

.footer-bottom a {
  color: rgba(239, 242, 236, .55);
  text-decoration: none;
}

.footer-wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-wordmark img,
.footer-wordmark svg {
  height: 46px;
  width: auto;
  flex-shrink: 0;
}

/* ---- WhatsApp floating action ---- */
.whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--jade-700);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(20, 38, 29, .28);
  text-decoration: none;
  transition: transform .2s var(--ease);
}

.whatsapp-fab:hover {
  transform: scale(1.06);
  background: var(--jade-800);
}

.whatsapp-fab svg {
  width: 26px;
  height: 26px;
}

/* ---- Utility ---- */
.mt-0 {
  margin-top: 0;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.stack {
  display: grid;
  gap: 16px;
}

.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;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  background: var(--jade-900);
  color: #fff;
  padding: 14px 20px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
  top: 0;
}

.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

.notice-box {
  border: 1.5px dashed var(--jade-300);
  background: var(--jade-100);
  border-radius: var(--radius-s);
  padding: 16px 18px;
  font-size: .9rem;
  color: var(--jade-800);
}

.two-col-text {
  display: grid;
  gap: 20px;
}

@media (min-width:760px) {
  .two-col-text {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}