:root {
  --green-950: #09291b;
  --green-900: #0c3d27;
  --green-800: #105735;
  --green-100: #e8f3ec;
  --gold-500: #d8ad4f;
  --gold-200: #f6dda1;
  --paper: #fffdf7;
  --cream: #f5f0e4;
  --ink: #111815;
  --muted: #52625a;
  --line: rgba(9, 41, 27, .14);
  --shadow: 0 24px 70px rgba(9, 41, 27, .14);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { width: 100%; max-width: 100%; overflow-x: clip; }
body { width: 100%; max-width: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.site-header {
  position: fixed;
  top: 0;
  z-index: 80;
  display: flex;
  width: 100%;
  box-sizing: border-box;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  min-height: 191px;
  padding: 0 28px;
  background: #fff;
  border-bottom: 0;
  box-shadow: 0 1px 10px rgba(9, 41, 27, .08);
  backdrop-filter: blur(18px);
}
main {
  padding-top: 191px;
}
.site-brand {
  display: flex;
  align-items: center;
  width: 430px;
  height: 191px;
  overflow: visible;
  line-height: 0;
  min-width: 0;
  flex: 0 1 auto;
  text-decoration: none;
}
.site-logo {
  display: block;
  width: 430px;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: left center;
  transform: none;
  flex-shrink: 0;
  border: 0;
  clip-path: none;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--green-950);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-nav a { padding: 14px 0; }
.header-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.language-control {
  position: relative;
}
.menu-toggle { display: none; }
.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(0, 87, 55, .18);
  border-radius: var(--radius);
  background: #fff;
  color: var(--green-900);
  font-size: 12px;
  font-weight: 950;
}
.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 120;
  display: grid;
  min-width: 170px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 42px rgba(9, 41, 27, .16);
}
.language-menu[hidden] {
  display: none;
}
.language-menu button {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--green-900);
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}
.language-menu button:hover,
.language-menu button:focus-visible {
  background: var(--green-100);
  outline: 0;
}

.hero {
  display: grid;
  align-items: center;
  min-height: calc(100vh - 92px);
  height: auto;
  padding: clamp(48px, 6vw, 78px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 82% 16%, rgba(246, 221, 161, .42), transparent 25%),
    radial-gradient(circle at 14% 88%, rgba(255, 255, 255, .08), transparent 30%),
    linear-gradient(135deg, #0f5d39 0%, #0d6a3e 48%, #0b3d29 100%);
  color: var(--paper);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .82fr);
  gap: clamp(34px, 3.5vw, 48px);
  align-items: center;
  width: min(100%, 1180px);
  margin: 0 auto;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-200);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 950;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.hero-title {
  margin: 0;
  max-width: none;
  font-size: clamp(2.55rem, 3.2vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -.055em;
  text-wrap: balance;
  white-space: nowrap;
}
.hero-copy > p:not(.eyebrow):not(.hero-trust) {
  white-space: nowrap;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(255, 253, 247, .88);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.5;
  font-weight: 620;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 950;
  cursor: pointer;
}
.button.primary {
  background: linear-gradient(135deg, var(--gold-200), var(--gold-500));
  color: #07150f;
}
.button.secondary {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .5);
  color: var(--paper);
}
.hero-trust {
  margin: 18px 0 0;
  color: rgba(255, 253, 247, .74);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 850;
}
.hero-rate-card {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(3, 24, 15, .22);
}
.hero-rate-subtitle {
  width: fit-content;
  margin: 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-900);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.hero-rate-card h2 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.hero-rate-list {
  display: grid;
  gap: 10px;
}
.hero-rate-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.hero-rate-row span {
  color: var(--green-900);
  font-size: 16px;
  font-weight: 950;
}
.hero-rate-row b {
  color: var(--green-950);
  font-size: 15px;
  font-weight: 950;
  text-align: right;
}
.hero-rate-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  width: fit-content;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--green-900);
  color: var(--paper);
  font-size: 14px;
  font-weight: 950;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.quick-strip article {
  display: grid;
  gap: 8px;
  padding: 24px clamp(18px, 4vw, 48px);
  background: var(--paper);
}
.quick-strip i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(9,41,27,.16);
  border-radius: 999px;
  background: #fff;
  color: var(--green-900);
  font-style: normal;
  font-weight: 950;
}
.quick-strip b {
  color: var(--green-900);
  font-size: 20px;
}
.quick-strip span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.45;
}

.section {
  padding: clamp(58px, 7vw, 96px) clamp(18px, 6vw, 92px);
}
.section-head {
  width: min(100%, 1000px);
  margin: 0 auto 34px;
  text-align: center;
}
.section-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 5.6vw, 72px);
  line-height: 1;
  letter-spacing: -.035em;
}
.section-head p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.58;
}
.section-head p {
  margin-left: auto;
  margin-right: auto;
}

.rates-section,
.access-section {
  background: var(--cream);
}
.rates-section {
  padding-top: clamp(54px, 5vw, 72px);
  padding-bottom: clamp(54px, 5vw, 72px);
}
.rates-section .section-head {
  margin-bottom: 24px;
}
.rates-section .section-head h2 {
  font-size: clamp(36px, 4.8vw, 60px);
}
.about-section {
  background: var(--paper);
  padding-top: clamp(48px, 5vw, 68px);
  padding-bottom: clamp(48px, 5vw, 68px);
}
.about-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 3.8vw, 52px);
  align-items: stretch;
  width: min(100%, 1160px);
  margin: 0 auto;
}
.about-intro {
  display: flex;
  align-items: center;
  max-width: 590px;
}
.about-layout h2 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(30px, 2.65vw, 38px);
  line-height: 1.13;
  letter-spacing: -.03em;
}
.about-copy {
  display: grid;
  gap: 14px;
  min-height: 218px;
  padding: clamp(28px, 3.2vw, 40px);
  align-content: center;
  border: 1px solid rgba(255, 253, 247, .16);
  border-radius: var(--radius);
  background: var(--green-900);
  box-shadow: 0 18px 42px rgba(9, 41, 27, .14);
}
.about-copy h3 {
  max-width: 420px;
  margin: 0;
  color: var(--paper);
  font-size: clamp(25px, 2.5vw, 34px);
  line-height: 1.12;
  letter-spacing: -.02em;
}
.about-copy p {
  max-width: 470px;
  margin: 0;
  color: rgba(255, 253, 247, .82);
  font-size: 18px;
  line-height: 1.55;
}
.rate-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "currency reference"
    "calculator trend";
  gap: 20px;
  align-items: stretch;
  width: min(100%, 1240px);
  margin: 0 auto;
}
.currency-grid {
  grid-area: currency;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(9, 41, 27, .07);
}
.currency-card {
  display: grid;
  gap: 6px;
  justify-items: center;
  align-content: center;
  min-height: 118px;
  padding: 13px 10px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fffdf7;
  text-align: center;
  cursor: pointer;
}
.currency-card:nth-child(4n) { border-right: 0; }
.currency-card:nth-last-child(-n + 4) { border-bottom: 0; }
.currency-card.active {
  background: linear-gradient(180deg, #fffdf7, #f6efd8);
  box-shadow: inset 0 -7px 0 var(--gold-500);
}
.currency-card.base-currency {
  cursor: default;
}
.currency-flag {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(9, 41, 27, .12);
  font-size: 27px;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(9, 41, 27, .07);
}
.currency-card b {
  display: block;
  color: var(--green-900);
  font-family: inherit;
  font-size: 30px;
  line-height: 1;
  letter-spacing: .035em;
  font-weight: 900;
  font-variant-numeric: lining-nums;
}
.currency-card small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.rate-panel {
  grid-area: reference;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--green-900);
  color: var(--paper);
  box-shadow: var(--shadow);
}
.calculator-panel {
  grid-area: calculator;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--green-900);
  color: var(--paper);
  box-shadow: var(--shadow);
}
.trend-panel {
  grid-area: trend;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--green-900);
  color: var(--paper);
  box-shadow: var(--shadow);
}
.trend-panel .trend-wrap {
  height: 100%;
  margin: 0;
  padding: 14px;
}
.trend-panel #trend-chart {
  height: 220px;
  margin-top: 12px;
}
.calculator-panel .exchange-calculator {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.sample-label {
  width: fit-content;
  margin: 0 0 9px;
  padding: 5px 9px;
  border: 1px solid rgba(246,221,161,.38);
  border-radius: 999px;
  color: var(--gold-200);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.rate-panel h3 {
  margin: 0 0 12px;
  font-size: 29px;
}
.rate-meta {
  display: grid;
  gap: 3px;
  margin: 0 0 10px;
  padding: 9px 10px;
  border: 1px solid rgba(246,221,161,.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
}
.rate-meta p {
  margin: 0;
  color: rgba(255,253,247,.76);
  font-size: 12px;
  line-height: 1.35;
}
.rate-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.rate-values > div {
  padding: 13px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  background: rgba(255,255,255,.07);
}
.rate-values span {
  color: rgba(255,253,247,.75);
  font-weight: 850;
}
.rate-values b {
  display: block;
  margin-top: 7px;
  color: var(--gold-200);
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1;
}
.rate-values p {
  margin: 8px 0 0;
  color: rgba(255,253,247,.78);
  font-size: 10.5px;
  line-height: 1.35;
}
.trend-wrap {
  margin-top: 12px;
  padding: 10px;
  border: 1px solid rgba(246,221,161,.25);
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
}
.trend-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--gold-200);
  font-size: 13px;
  font-weight: 900;
}
.trend-head b { font-size: 15px; }
#trend-chart {
  width: 100%;
  height: 92px;
  margin-top: 8px;
}
.trend-grid { stroke: rgba(255,255,255,.14); }
.trend-line { fill: none; stroke: var(--gold-200); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.trend-area { fill: rgba(246,221,161,.14); }
.trend-dot { fill: var(--gold-500); stroke: var(--green-900); stroke-width: 2; }
.trend-point { cursor: help; outline: none; }
.trend-point:hover .trend-dot,
.trend-point:focus .trend-dot { fill: var(--paper); stroke: var(--gold-500); stroke-width: 3; }
.trend-axis-label { fill: rgba(255,253,247,.8); font: 700 10px/1 var(--sans); }
.trend-axis-title { fill: var(--gold-200); font: 800 10px/1 var(--sans); letter-spacing: .025em; }
.trend-empty { fill: rgba(255,255,255,.72); font: 600 12px/1 var(--sans); letter-spacing: .04em; }
.trend-wrap p {
  margin: 5px 0 0;
  color: rgba(255,253,247,.7);
  font-size: 11px;
  line-height: 1.35;
}
.exchange-calculator {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid rgba(246,221,161,.25);
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
}
.exchange-calculator h4 {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--gold-200);
  font-size: 18px;
}
.exchange-calculator label {
  display: block;
  margin-bottom: 4px;
  color: rgba(255,253,247,.85);
  font-size: 13px;
  font-weight: 850;
}
.calculator-field {
  min-width: 0;
}
.calculator-mode-field,
.calculator-amount-field,
.calculator-hint,
.calculator-result {
  grid-column: 1 / -1;
}
.calculator-field select,
.calculator-field .amount-row {
  width: 100%;
}
.calculator-hint {
  margin: -2px 0 4px;
  color: rgba(255,253,247,.7);
  font-size: 12px;
  line-height: 1.35;
}
.exchange-calculator select,
.exchange-calculator input {
  min-height: 38px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,.95);
  color: var(--ink);
  padding: 8px 10px;
}
.amount-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,.95);
}
.amount-row input {
  min-height: 38px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.amount-row span {
  padding: 0 14px;
  color: var(--green-900);
  font-weight: 950;
}
.calculator-result {
  display: grid;
  place-items: center;
  min-height: 72px;
  margin: 4px 0 0;
  padding: 13px;
  border: 1px solid rgba(246,221,161,.38);
  border-radius: var(--radius);
  background: rgba(9,41,27,.42);
  color: var(--paper);
  font-size: 22px;
  font-weight: 950;
  line-height: 1.25;
  text-align: center;
}
.calculator-result small {
  display: block;
  margin-top: 8px;
  color: rgba(255,253,247,.68);
  font-size: 12px;
  font-weight: 700;
}

.services-section,
.contact-section {
  background: #fff;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(100%, 980px);
  margin: 0 auto;
}
.service-card {
  display: grid;
  grid-template-rows: 148px 72px 76px 1fr 20px;
  gap: 10px;
  justify-items: center;
  align-content: start;
  min-height: 470px;
  padding: 20px 18px 22px;
  border: 4px solid var(--green-900);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 32px rgba(9, 41, 27, .08);
  text-align: center;
  cursor: pointer;
}
.service-card:hover,
.service-card:focus-visible {
  border-color: var(--green-800);
  outline: 3px solid rgba(16,87,53,.14);
}
.service-reference-art {
  display: block;
  width: 148px;
  aspect-ratio: 1;
  border-radius: 50%;
  background-image: url("assets/brand/official-panda-exchange-service-reference-20260809.jpg");
  background-repeat: no-repeat;
  background-size: 500% 500%;
}
.service-reference-transfer { background-position: 81.25% 7.25%; }
.service-reference-luggage { background-position: 81.25% 66.625%; }
.service-reference-tickets { background-position: 19.375% 66.625%; }
.service-reference-experience {
  background-image: url("assets/brand/official-panda-exchange-experience-services-20260809.jpg");
  background-position: 50% 14%;
  background-size: 250% 250%;
}
.service-card h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 420px;
  margin: 0;
  color: var(--green-900);
  font-size: clamp(24px, 2.35vw, 30px);
  line-height: 1.06;
  font-weight: 950;
  letter-spacing: -.02em;
  text-transform: uppercase;
  text-wrap: balance;
}
.service-card[data-service="transfer"] h3 {
  max-width: 440px;
  font-size: clamp(25px, 2.1vw, 27px);
  line-height: 1.02;
  letter-spacing: -.03em;
}
.service-language-lines {
  display: grid;
  align-content: start;
  gap: 3px;
  width: 100%;
  margin: 0;
  color: #111;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.16;
  font-weight: 720;
}
.service-card p {
  align-self: start;
  max-width: 360px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
  text-wrap: pretty;
}
.service-detail-link {
  align-self: end;
  margin: 8px 0 0;
  color: var(--gold-500);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.service-detail {
  width: min(100%, 900px);
  margin: 22px auto 0;
  padding: 28px;
  border: 1px solid rgba(216,173,79,.5);
  border-radius: var(--radius);
  background: var(--green-100);
}
.service-detail h3 {
  margin: 0 0 14px;
  color: var(--green-900);
  font-size: 30px;
}
.service-detail ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.6;
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.detail-button {
  border: 1px solid var(--green-900);
  border-radius: var(--radius);
  padding: 11px 14px;
  background: var(--green-900);
  color: var(--paper);
  font-weight: 900;
  cursor: pointer;
}
.detail-button.secondary {
  background: transparent;
  color: var(--green-900);
}

.guide-section {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  background: var(--green-100);
}
.brand-seal-panel {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
}
.bamboo-wall {
  inset: 6% auto 6% 12%;
  width: 58%;
}
.brand-seal-panel img {
  position: relative;
  width: min(92%, 520px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 16px 24px rgba(9,41,27,.14));
}
.guide-copy h2 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: -.035em;
}
.guide-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.62;
}

.access-layout {
  width: min(100%, 900px);
  margin: 0 auto 28px;
}
.map-card,
.direction-card,
.contact-form,
.connected-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(9, 41, 27, .07);
}
.map-card {
  overflow: hidden;
  text-align: center;
}
.map-card > b {
  display: block;
  padding: 22px 20px 16px;
  color: var(--green-900);
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.map-card iframe {
  width: 100%;
  height: 450px;
  border: 0;
}
.map-card p {
  margin: 0;
  padding: 18px 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}
.map-card a {
  display: block;
  padding: 17px 20px;
  background: var(--green-900);
  color: var(--paper);
  font-weight: 950;
  text-align: center;
}
.nearby-stations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 1180px);
  margin: 0 auto 20px;
}
.nearby-head {
  grid-column: 1 / -1;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.nearby-head h3 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.1;
}
.station-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(9, 41, 27, .06);
}
.station-card summary {
  display: grid;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}
.station-card summary::-webkit-details-marker {
  display: none;
}
.station-line {
  margin: 0 0 12px;
  color: var(--gold-500);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.station-main {
  display: grid;
  gap: 7px;
}
.station-main b {
  color: var(--green-900);
  font-size: 22px;
  line-height: 1.1;
}
.station-main span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-900);
  font-weight: 900;
}
.station-route {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.5;
}
.station-route a {
  width: fit-content;
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--green-900);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
.access-diagram {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(92px, auto));
  gap: 18px;
  width: min(100%, 1180px);
  margin: 0 auto 20px;
  padding: clamp(22px, 4vw, 42px);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(9,41,27,.96), rgba(16,87,53,.9)),
    repeating-linear-gradient(90deg, transparent 0 70px, rgba(246,221,161,.08) 70px 72px);
  overflow: hidden;
}
.route-line {
  position: absolute;
  z-index: 1;
  background: rgba(216,173,79,.75);
}
.route-line.main {
  left: 12%;
  right: 12%;
  top: 50%;
  height: 4px;
}
.route-line.cross {
  top: 16%;
  bottom: 16%;
  left: 50%;
  width: 4px;
}
.map-pin {
  position: relative;
  z-index: 2;
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(246,221,161,.32);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--green-900);
  font-weight: 950;
  line-height: 1.2;
}
.map-pin span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
}
.map-pin.shop {
  grid-column: 2;
  grid-row: 2;
  background: linear-gradient(135deg, var(--gold-200), var(--gold-500));
}
.map-pin.keisei { grid-column: 1; grid-row: 1; }
.map-pin.ueno { grid-column: 2; grid-row: 1; }
.map-pin.naka { grid-column: 3; grid-row: 2; }
.map-pin.oka { grid-column: 1; grid-row: 2; }
.map-pin.shin { grid-column: 2; grid-row: 3; }
.map-pin.inaricho { grid-column: 3; grid-row: 3; }
.direction-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 1180px);
  margin: 0 auto;
}
.direction-card {
  min-width: 0;
}
.direction-card summary {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 20px 22px;
  color: var(--green-900);
  font-weight: 950;
  cursor: pointer;
}
.direction-card summary::-webkit-details-marker { display: none; }
.direction-card summary::after {
  content: "+";
  color: var(--gold-500);
  font-size: 22px;
  line-height: 1;
}
.direction-card[open] summary::after { content: "−"; }
.direction-body {
  display: grid;
  gap: 10px;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.55;
}
.direction-body b { color: var(--ink); }
.direction-body ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}
.direction-body li {
  color: var(--green-900);
  font-weight: 850;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 720px);
  margin: 0 auto 24px;
}
.contact-card {
  display: grid;
  gap: 14px;
  justify-items: center;
  min-height: 342px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(9, 41, 27, .07);
  text-align: center;
}
.contact-card-link {
  align-content: center;
  color: inherit;
  text-decoration: none;
}
.contact-card-link:hover {
  transform: translateY(-4px);
  border-color: rgba(12, 61, 39, .32);
  box-shadow: 0 22px 50px rgba(9, 41, 27, .12);
}
.contact-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--green-900);
  color: var(--paper) !important;
  font-size: 14px !important;
  font-weight: 950 !important;
}
.contact-card b {
  display: block;
  color: var(--green-900);
  font-size: 24px;
  line-height: 1.1;
}
.contact-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
}
.contact-card img {
  width: clamp(160px, 13vw, 180px);
  height: clamp(160px, 13vw, 180px);
  padding: 10px;
  border: 1px solid rgba(9,41,27,.12);
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
}
.contact-card span {
  color: var(--green-900);
  font-size: 13px;
  font-weight: 850;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: min(100%, 780px);
  margin: 0 auto;
  padding: 20px;
}
.hidden-field {
  display: none;
}
.field {
  display: grid;
  gap: 7px;
}
.field label {
  color: var(--green-900);
  font-weight: 900;
}
.field label span {
  display: inline-flex;
  margin-left: 6px;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-900);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.field[hidden] {
  display: none;
}
input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(9,41,27,.22);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px 13px;
  color: var(--ink);
  font-size: 16px;
}
textarea {
  min-height: 126px;
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(216,173,79,.3);
  outline-offset: 2px;
}
.full { grid-column: 1 / -1; }
.error,
.form-status {
  min-height: 18px;
  margin: 0;
  color: #9a342f;
  font-size: 13px;
  font-weight: 750;
}
.form-status.success {
  color: var(--green-900);
}
.brand-success {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(216,173,79,.5);
  border-radius: var(--radius);
  background: var(--green-100);
}
.brand-success[hidden] {
  display: none !important;
}
.brand-success img {
  width: 98px;
  height: 98px;
  object-fit: contain;
  padding: 8px;
  border-radius: 50%;
  background: var(--paper);
}
.brand-success b {
  color: var(--green-900);
  font-size: 18px;
}
.brand-success p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.45;
}
.submit-button {
  width: 100%;
}

.connected-section {
  background:
    linear-gradient(135deg, rgba(9, 41, 27, .96), rgba(16, 87, 53, .92));
  color: var(--paper);
  scroll-margin-top: 210px;
}
.connected-section .section-head h2 { color: var(--paper); }
.connected-section .section-head p { color: rgba(255,253,247,.82); }
.connected-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: min(100%, 1180px);
  margin: 0 auto;
}
.connected-card {
  display: grid;
  min-height: 205px;
  align-content: start;
  padding: 28px;
  background: rgba(255,253,247,.08);
  border-color: rgba(246,221,161,.28);
  color: var(--paper);
}
a.connected-card:hover,
a.connected-card:focus-visible {
  border-color: rgba(246,221,161,.85);
}
.connected-card b {
  color: var(--paper);
  font-size: 22px;
  line-height: 1.2;
  white-space: nowrap;
}
.connected-card p {
  color: rgba(255,253,247,.78);
  line-height: 1.5;
}
.connected-card span {
  width: fit-content;
  margin-top: auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(246,221,161,.18);
  color: var(--gold-200);
  font-size: 12px;
  font-weight: 950;
}

.floating-actions {
  position: fixed;
  left: auto;
  right: 22px;
  top: auto;
  bottom: calc(18px + env(safe-area-inset-bottom));
  transform: none;
  z-index: 70;
  display: none;
  grid-template-columns: repeat(3, minmax(104px, 1fr));
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(9,41,27,.12);
  border-radius: 999px;
  background: rgba(255,253,247,.94);
  box-shadow: 0 16px 40px rgba(9, 41, 27, .18);
  backdrop-filter: blur(18px);
}
.floating-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 0;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--green-900);
  color: var(--paper);
  font-size: 14px;
  font-weight: 950;
  box-shadow: none;
  transition: transform .18s ease, background .18s ease;
}
.floating-actions a:hover {
  transform: translateY(-2px);
  background: var(--green-800);
}
.floating-actions a:first-child {
  background: linear-gradient(135deg, var(--gold-200), var(--gold-500));
  color: #07150f;
}

.footer {
  display: grid;
  gap: 24px;
  padding: 42px clamp(18px, 6vw, 92px) 32px;
  background: var(--paper);
  color: var(--green-950);
  border-top: 1px solid var(--line);
}
.footer-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 8vw, 120px);
  align-items: center;
  width: min(100%, 1180px);
  margin: 0 auto;
}
.footer-brand {
  display: grid;
  justify-items: start;
  gap: 10px;
}
.footer-brand img {
  width: min(100%, 340px);
  height: auto;
  object-fit: contain;
}
.footer-brand b {
  display: block;
  color: var(--green-950);
  font-size: 20px;
}
.footer-brand span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}
.footer p {
  margin: 0;
  line-height: 1.5;
}
.footer-info {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
}
.footer-connect {
  display: grid;
  gap: 16px;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding-top: 26px;
  border-top: 1px solid rgba(255,253,247,.16);
}
.footer-connect > b {
  color: var(--gold-200);
  font-size: 18px;
}
.footer-qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.footer-qr-grid article {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  min-height: 164px;
  padding: 16px;
  border: 1px solid rgba(255,253,247,.16);
  border-radius: var(--radius);
  background: rgba(255,253,247,.06);
}
.footer-qr-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--gold-200);
  color: var(--green-950);
  font-size: 14px;
  font-weight: 950;
}
.email-qr {
  display: block;
  width: clamp(148px, 14vw, 184px);
  height: auto;
  aspect-ratio: 1;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
}
.footer-email-link,
.footer-email-address {
  color: inherit;
  overflow-wrap: anywhere;
}
.footer-email-address {
  min-height: auto !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--green-950) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-email-qr-link {
  min-height: auto !important;
  padding: 0 !important;
  background: transparent !important;
}
.footer-email-qr-link .email-qr {
  width: 172px;
}
.footer-qr-grid span {
  color: var(--paper);
  font-size: 13px;
  font-weight: 900;
}
.footer-qr-grid img {
  width: 116px;
  height: 116px;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
}
.footer-qr-grid .footer-email-qr-link .email-qr {
  width: 172px;
  height: 172px;
  padding: 12px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1120px) {
  .rate-layout,
  .guide-section,
  .access-layout {
    grid-template-columns: 1fr;
  }
  .rate-layout {
    grid-template-areas:
      "currency"
      "reference"
      "calculator"
      "trend";
    gap: 16px;
  }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .68fr);
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1121px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(580px, 1.08fr);
    gap: 34px;
    width: min(100%, 1240px);
  }
}

@media (max-width: 1024px) {
  main {
    padding-top: 160px;
  }
  .site-header {
    flex-wrap: nowrap;
    min-height: 160px;
    padding: 0 18px;
  }
  .site-brand {
    width: 360px;
    height: 160px;
  }
  .site-logo {
    width: 360px;
    height: auto;
    max-height: none;
    transform: none;
    clip-path: none;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--green-900);
    font-weight: 900;
  }
  .site-nav {
    display: none;
    order: 3;
    width: 100%;
  }
  .site-header.menu-open .site-nav {
    display: grid;
    gap: 3px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    padding: 10px 14px 14px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 16px 30px rgba(9, 41, 27, .12);
  }
  .site-nav a {
    padding: 12px;
    border-radius: var(--radius);
    background: var(--green-100);
  }
}

@media (max-width: 900px) and (min-width: 769px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-copy,
  .hero-rate-card {
    width: min(100%, 680px);
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }
  main {
    padding-top: 140px;
  }
  .site-header {
    flex-wrap: nowrap;
    min-height: 140px;
    padding: 0 10px;
    gap: 6px;
  }
  .site-brand {
    flex: 0 1 auto;
    width: min(300px, calc(100vw - 92px));
    height: 140px;
  }
  .site-logo {
    width: min(300px, calc(100vw - 92px));
    height: auto;
    max-height: none;
    transform: none;
    clip-path: none;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--green-900);
    font-weight: 900;
  }
  .hero {
    display: block;
    min-height: 0;
    padding: 42px 14px calc(48px + env(safe-area-inset-bottom));
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-title {
    max-width: none;
    font-size: clamp(1.3rem, 7vw, 2.2rem);
    line-height: 1.05;
  }
  .hero-copy > p:not(.eyebrow) {
    max-width: 24rem;
    margin-top: 22px;
    font-size: clamp(12px, 3.6vw, 15px);
    line-height: 1.48;
  }
  .hero-copy > p:not(.eyebrow):not(.hero-trust) {
    white-space: nowrap;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 30px;
  }
  .button {
    width: 100%;
  }
  .hero-trust {
    font-size: 13px;
  }
  .hero-rate-card {
    gap: 12px;
    padding: 18px 12px;
  }
  .hero-rate-card h2 {
    font-size: clamp(25px, 7.7vw, 30px);
  }
  .hero-rate-row {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    padding: 11px 0;
  }
  .hero-rate-row span,
  .hero-rate-row b {
    font-size: 14px;
  }
  .hero-rate-row b {
    text-align: right;
  }
  .hero-rate-link {
    width: 100%;
  }
  .quick-strip,
  .rate-values,
  .service-grid,
  .nearby-stations,
  .contact-card-grid,
  .contact-form,
  .connected-grid,
  .footer-main,
  .footer-qr-grid {
    grid-template-columns: 1fr;
  }
  .direction-panels {
    grid-template-columns: 1fr;
  }
  .direction-card summary {
    min-height: 0;
  }
  .connected-card b {
    white-space: normal;
  }
  .trend-panel #trend-chart {
    height: 180px;
  }
  .section {
    padding: 54px 18px;
  }
  .section-head h2 {
    font-size: clamp(33px, 10.8vw, 48px);
  }
  .section-head p {
    font-size: 16px;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .about-intro {
    display: block;
    max-width: 520px;
  }
  .about-layout h2 {
    font-size: clamp(27px, 7.2vw, 29px);
    line-height: 1.14;
  }
  .about-copy {
    min-height: 0;
    padding: 28px 24px;
  }
  .about-copy h3 {
    font-size: clamp(25px, 7.5vw, 31px);
  }
  .about-copy p {
    font-size: 16px;
  }
  .connected-section {
    scroll-margin-top: 158px;
  }
  .currency-card {
    min-height: 108px;
  }
  .currency-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .currency-card:nth-child(4n) { border-right: 1px solid var(--line); }
  .currency-card:nth-child(2n) { border-right: 0; }
  .currency-card:nth-last-child(-n + 4) { border-bottom: 1px solid var(--line); }
  .currency-card:nth-last-child(-n + 2) { border-bottom: 0; }
  .currency-flag {
    width: 42px;
    height: 42px;
    font-size: 25px;
  }
  .currency-card b {
    font-size: 27px;
  }
  .exchange-calculator {
    grid-template-columns: 1fr;
  }
  .calculator-mode-field,
  .calculator-amount-field,
  .calculator-hint,
  .calculator-result {
    grid-column: 1;
  }
  .service-card {
    grid-template-rows: 124px auto auto 1fr auto;
    gap: 10px;
    min-height: 450px;
    padding: 18px 14px 20px;
    border-width: 3px;
  }
  .service-reference-art {
    width: 124px;
  }
  .service-card h3 {
    min-height: 58px;
    margin: 0;
    font-size: clamp(22px, 6.5vw, 28px);
  }
  .service-card[data-service="transfer"] h3 {
    font-size: clamp(22px, 6.1vw, 25px);
  }
  .service-language-lines { margin-bottom: 8px; }
  .service-card p { margin-top: 8px; }
  .service-detail-link { margin-top: 12px; }
  .rate-panel,
  .service-detail,
  .contact-form {
    padding: 20px;
  }
  .map-card iframe {
    height: 320px;
  }
  .access-diagram {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .map-pin.shop,
  .map-pin.keisei,
  .map-pin.ueno,
  .map-pin.naka,
  .map-pin.oka,
  .map-pin.shin,
  .map-pin.inaricho {
    grid-column: auto;
    grid-row: auto;
  }
  .route-line.main,
  .route-line.cross {
    display: none;
  }
  .full {
    grid-column: 1;
  }
  .floating-actions {
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    left: 12px;
    right: 12px;
    top: auto;
    bottom: calc(12px + env(safe-area-inset-bottom));
    transform: none;
    gap: 8px;
    padding: 8px;
  }
  body.show-mobile-actions .floating-actions {
    display: grid;
  }
  .floating-actions a {
    min-width: 0;
    min-height: 42px;
    padding: 0 8px;
    justify-content: center;
    font-size: 12px;
  }
  .footer {
    text-align: center;
    padding-bottom: calc(110px + env(safe-area-inset-bottom));
  }
  .footer-brand {
    justify-content: center;
    display: grid;
    justify-items: center;
  }
  .footer-brand img {
    width: min(86vw, 360px);
  }
  .footer-info {
    justify-items: center;
    text-align: center;
  }
  .footer-bottom {
    display: grid;
    justify-content: center;
    text-align: center;
  }
  .brand-success {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .brand-success img {
    margin: 0 auto;
  }
}
