/* ==========================================================================
   ハンガリーCS留学支援 — Design tokens & base
   ========================================================================== */

.source-link {
  color: #4A73C9;
  text-decoration: underline;
}

:root {
  --paper: #F7F3EA;
  --paper-2: #EFE9DB;
  --ink: #1B1E23;
  --ink-2: #3B4048;
  --muted: #7A7368;
  --rule: #D8D1C1;
  --danube: #22496B;
  --danube-dark: #0F2438;
  --paprika: #C1462F;
  --paprika-dark: #9E3624;
  --brass: #B08A3E;

  --f-display: 'Fraunces', 'Zen Old Mincho', serif;
  --f-jp-display: 'Zen Old Mincho', serif;
  --f-body: 'Inter', 'Noto Sans JP', system-ui, sans-serif;
  --f-jp-body: 'Noto Sans JP', system-ui, sans-serif;
  --f-hand: 'Yomogi', 'Caveat', cursive;

  --measure: 62ch;
  --wrap: 1200px;
  --wrap-narrow: 860px;

  --pad-section: clamp(64px, 10vw, 128px);
  --pad-x: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-jp-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt";
}

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

a { color: inherit; text-decoration: none; }

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

.wrap-narrow {
  width: 100%;
  max-width: var(--wrap-narrow);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* Section rhythm */
.section {
  padding-top: var(--pad-section);
  padding-bottom: var(--pad-section);
  position: relative;
}

.section + .section {
  border-top: 1px solid var(--rule);
}

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

/* Section headers */
.eyebrow {
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--danube);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.eyebrow .num {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 500;
  font-style: italic;
  color: var(--paprika);
  font-variation-settings: "opsz" 14, "SOFT" 100;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--danube);
  display: inline-block;
}

.section-title {
  font-family: var(--f-jp-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0 0 18px;
  color: var(--ink);
}

.section-lede {
  font-size: 17px;
  color: var(--ink-2);
  max-width: var(--measure);
  margin: 0 0 48px;
}

/* Hand-written margin notes (signature element) */
.margin-note {
  font-family: var(--f-hand);
  color: var(--paprika);
  font-size: 20px;
  line-height: 1.4;
  transform: rotate(-2deg);
  display: inline-block;
}

.margin-note::before {
  content: "→ ";
  color: var(--paprika);
  font-family: var(--f-body);
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--f-jp-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 0;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  color: var(--ink);
}

.btn:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--paprika);
}

.btn-primary {
  background: var(--paprika);
  color: var(--paper);
  border-color: var(--paprika);
}

.btn-primary:hover {
  background: var(--paprika-dark);
  border-color: var(--paprika-dark);
  color: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--danube);
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1.5px solid var(--danube);
  padding-bottom: 3px;
  transition: all 0.2s ease;
}

.btn-arrow:hover {
  color: var(--paprika);
  border-color: var(--paprika);
  gap: 12px;
}

.btn-arrow::after {
  content: "→";
  font-family: var(--f-body);
}

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 234, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.brand {
  font-family: var(--f-jp-display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 26px;
  height: 26px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a {
  color: var(--ink-2);
  transition: color 0.15s ease;
  position: relative;
}

.nav-links a:hover { color: var(--paprika); }

.nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 8px 18px;
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: background 0.15s ease;
}

.nav-cta:hover { background: var(--paprika) !important; }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta { display: inline-block; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: clamp(80px, 14vw, 160px) 0 clamp(64px, 10vw, 120px);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

.hero-kicker {
  font-family: var(--f-body);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--danube);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
}

.hero-kicker::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--danube);
}

.hero-title {
  font-family: var(--f-jp-display);
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0 0 32px;
  color: var(--ink);
}

.hero-title .accent {
  color: var(--paprika);
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  padding-right: 4px;
}

.hero-tagline {
  font-family: var(--f-display);
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.4;
  font-style: italic;
  color: var(--ink-2);
  margin: 0 0 40px;
  font-weight: 400;
  font-variation-settings: "opsz" 24, "SOFT" 70;
  max-width: 30ch;
}

.hero-note {
  font-family: var(--f-hand);
  color: var(--paprika);
  font-size: 22px;
  line-height: 1.4;
  margin: 24px 0 40px;
  transform: rotate(-1.5deg);
  display: inline-block;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--danube);
  overflow: hidden;
}

.hero-visual svg,
.hero-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(15, 36, 56, 0.75) 100%);
  pointer-events: none;
}

.hero-visual-meta {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
  z-index: 2;
}

.hero-visual-meta strong {
  color: var(--paper);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-family: var(--f-display);
  text-transform: none;
  font-size: 14px;
  font-style: italic;
  display: block;
  margin-top: 4px;
  opacity: 1;
}

/* ==========================================================================
   Section 2 — Value cards
   ========================================================================== */

.value-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.value-header .section-lede { margin-bottom: 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
}

.card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--paper);
  border: 1px solid var(--rule);
  transition: all 0.25s ease;
  min-height: 320px;
  position: relative;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--paprika);
  box-shadow: 0 12px 32px -12px rgba(27, 30, 35, 0.15);
}

.card-num {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 500;
  font-style: italic;
  color: var(--paprika);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  font-variation-settings: "opsz" 14, "SOFT" 100;
}

.card-title {
  font-family: var(--f-jp-display);
  font-size: 21px;
  line-height: 1.4;
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.card-body {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
  margin: 0 0 28px;
  flex-grow: 1;
}

.card-arrow {
  align-self: flex-start;
  color: var(--danube);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.card:hover .card-arrow {
  color: var(--paprika);
  gap: 10px;
}

.card-arrow::after {
  content: "→";
  transition: transform 0.2s ease;
}

/* ==========================================================================
   Section 3 — Target audience layers
   ========================================================================== */

.audience-intro {
  text-align: left;
  margin-bottom: 64px;
}

.layers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-bottom: 64px;
}

@media (max-width: 900px) {
  .layers { grid-template-columns: repeat(2, 1fr); }
}

.layer {
  background: var(--paper);
  padding: 32px 24px;
  text-align: center;
  transition: background 0.2s ease;
}

.layer:hover {
  background: var(--paper-2);
}

.layer-num {
  font-family: var(--f-display);
  font-size: 12px;
  font-style: italic;
  color: var(--paprika);
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  font-variation-settings: "opsz" 14, "SOFT" 100;
}

.layer-name {
  font-family: var(--f-jp-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  letter-spacing: 0.02em;
}

.pains {
  max-width: var(--wrap-narrow);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.pain {
  padding: 24px 12px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: flex-start;
  gap: 24px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  transition: padding-left 0.2s ease;
}

.pain:hover { padding-left: 20px; }

.pain-mark {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  color: var(--paprika);
  font-size: 15px;
  min-width: 28px;
  padding-top: 4px;
  font-variation-settings: "opsz" 14, "SOFT" 100;
}

.closing-block {
  margin-top: 72px;
  padding: 56px 40px;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  position: relative;
}

.closing-block::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 40px;
  right: 40px;
  height: 1px;
  background: var(--paprika);
}

.closing-lede {
  font-family: var(--f-body);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 20px;
}

.closing-msg {
  font-family: var(--f-jp-display);
  font-size: clamp(24px, 3.5vw, 36px);
  line-height: 1.5;
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.02em;
}

.closing-msg .highlight {
  color: var(--paprika);
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 48, "SOFT" 100;
  padding: 0 2px;
}

/* ==========================================================================
   Section 4 — About operator (preview)
   ========================================================================== */

.about-preview {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 800px) {
  .about-preview { grid-template-columns: 1fr; gap: 40px; }
}

.about-portrait {
  aspect-ratio: 4 / 5;
  background: var(--danube);
  position: relative;
  overflow: hidden;
}

.about-portrait svg,
.about-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.about-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(15, 36, 56, 0.7) 100%);
  pointer-events: none;
}

.about-portrait-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
  display: flex;
  justify-content: space-between;
  z-index: 2;
}

.about-name {
  font-family: var(--f-jp-display);
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.3;
  font-weight: 500;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}

.about-role {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 32px;
  font-variation-settings: "opsz" 18, "SOFT" 70;
}

.story-arrows {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 32px;
  font-family: var(--f-jp-body);
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
  line-height: 1.8;
}

.story-arrows .step {
  padding: 4px 10px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  white-space: nowrap;
  color: var(--ink-2);
}

.story-arrows .arrow {
  color: var(--muted);
  font-weight: 500;
}

.about-body {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.85;
  max-width: var(--measure);
  margin: 0 0 32px;
}

.kansai-quote {
  font-family: var(--f-hand);
  font-size: 28px;
  line-height: 1.4;
  color: var(--paprika);
  margin: 32px 0 40px;
  padding: 20px 24px;
  border-left: 3px solid var(--paprika);
  transform: rotate(-0.5deg);
  display: inline-block;
}

/* ==========================================================================
   Section 5 — Services preview
   ========================================================================== */

.services-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

@media (max-width: 900px) {
  .services-preview { grid-template-columns: 1fr; }
}

.svc {
  padding: 36px 32px;
  border: 1px solid var(--rule);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  min-height: 340px;
}

.svc-num {
  font-family: var(--f-display);
  font-size: 12px;
  font-style: italic;
  color: var(--paprika);
  letter-spacing: 0.14em;
  margin-bottom: 20px;
  font-variation-settings: "opsz" 14, "SOFT" 100;
}

.svc-name {
  font-family: var(--f-jp-display);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}

.svc-meta {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 24px;
  letter-spacing: 0.04em;
}

.svc-desc {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.7;
  margin: 0 0 24px;
}

.svc-prices {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex-grow: 1;
  border-top: 1px solid var(--rule);
}

.svc-prices li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  color: var(--ink-2);
}

.svc-prices li strong {
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-size: 16px;
}

.svc-cta {
  align-self: flex-start;
}

.svc-fixed {
  padding: 12px 0;
  font-size: 14px;
  color: var(--ink-2);
  border-top: 1px solid var(--rule);
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.svc-fixed strong {
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-size: 20px;
}

.svc-detail-cta {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

/* ==========================================================================
   Section 6 — Articles (note preview)
   ========================================================================== */

.articles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

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

@media (max-width: 1000px) {
  .articles,
  .articles-3col { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .articles,
  .articles-3col { grid-template-columns: 1fr; }
}

.article-desc {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 0;
  line-height: 1.6;
}

.article-travel {
  background: linear-gradient(135deg, var(--paper) 0%, var(--paper-2) 100%);
  border-color: var(--brass);
}

.article-travel:hover {
  border-color: var(--paprika);
  box-shadow: 0 8px 24px -12px rgba(193, 70, 47, 0.25);
}

.article-travel .article-tag {
  color: var(--paprika);
}

.article {
  padding: 24px 22px 28px;
  border: 1px solid var(--rule);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  min-height: 220px;
}

.article:hover {
  transform: translateY(-3px);
  border-color: var(--danube);
  box-shadow: 0 8px 24px -12px rgba(34, 73, 107, 0.2);
}

.article-tag {
  font-family: var(--f-display);
  font-size: 11px;
  font-style: italic;
  letter-spacing: 0.14em;
  color: var(--brass);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-variation-settings: "opsz" 14, "SOFT" 100;
}

.article-title {
  font-family: var(--f-jp-display);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  letter-spacing: 0.01em;
  flex-grow: 1;
}

.article-more {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--danube);
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-more::after { content: "→"; }

.articles-cta {
  text-align: center;
  padding-top: 20px;
}

/* ==========================================================================
   Section 7 — Contact form
   ========================================================================== */

.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 900px) {
  .form-wrap { grid-template-columns: 1fr; gap: 40px; }
}

.form-side p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.75;
  max-width: 36ch;
}

.form-side .margin-note {
  margin-top: 24px;
}

.form-side .side-note {
  margin-top: 32px;
  padding: 16px 20px;
  border-left: 3px solid var(--paprika);
  background: var(--paper);
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
}

.form {
  display: grid;
  gap: 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.field label .req {
  color: var(--paprika);
  margin-left: 4px;
}

.field label .opt {
  color: var(--muted);
  font-size: 11px;
  margin-left: 8px;
  letter-spacing: 0.08em;
}

.field input,
.field select,
.field textarea {
  font-family: var(--f-jp-body);
  font-size: 15px;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.15s ease;
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--paprika);
}

.field textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}

.form-submit {
  display: flex;
  justify-content: flex-start;
  margin-top: 8px;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.check-chip {
  padding: 10px 16px;
  border: 1px solid var(--rule);
  font-size: 14px;
  cursor: pointer;
  background: var(--paper);
  transition: all 0.15s ease;
  user-select: none;
  color: var(--ink-2);
}

.check-chip:hover { border-color: var(--danube); }

.check-chip input {
  display: none;
}

.check-chip.selected {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 72px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(216, 209, 193, 0.15);
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

.footer-brand {
  font-family: var(--f-jp-display);
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

.footer-tagline {
  color: rgba(247, 243, 234, 0.65);
  font-family: var(--f-display);
  font-style: italic;
  font-size: 15px;
  max-width: 34ch;
  line-height: 1.5;
  margin: 0 0 24px;
}

.footer-col h4 {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 16px;
}

.footer-col a {
  display: block;
  color: rgba(247, 243, 234, 0.7);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.15s ease;
}

.footer-col a:hover { color: var(--paprika); }

.footer-dm {
  font-family: var(--f-hand);
  color: var(--paprika);
  font-size: 22px;
  transform: rotate(-1deg);
  display: inline-block;
  margin-top: 8px;
}

.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  color: rgba(247, 243, 234, 0.5);
  font-size: 12px;
  letter-spacing: 0.06em;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Sub-page (about / services) shared styles
   ========================================================================== */

.page-hero {
  padding: clamp(56px, 8vw, 100px) 0 clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--rule);
}

.back-link {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.15s ease;
}

.back-link:hover { color: var(--paprika); }

.back-link::before { content: "←"; }

.page-title {
  font-family: var(--f-jp-display);
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.2;
  font-weight: 500;
  margin: 0 0 24px;
  letter-spacing: 0.02em;
}

.page-lede {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 24px);
  color: var(--ink-2);
  max-width: 40ch;
  line-height: 1.5;
  font-variation-settings: "opsz" 24, "SOFT" 70;
}

@media (min-width: 640px) {
  .page-lede .nobreak-wide {
    white-space: nowrap;
  }
}

.prose {
  max-width: var(--measure);
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink-2);
}

.prose-centered {
  margin: 0 auto;
}

.prose h2 {
  font-family: var(--f-jp-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  margin: 56px 0 20px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.prose h3 {
  font-family: var(--f-jp-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  margin: 40px 0 12px;
  letter-spacing: 0.02em;
}

.prose p { margin: 0 0 20px; }

.prose strong { color: var(--ink); font-weight: 600; }

.timeline {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  border-left: 1px solid var(--rule);
}

.timeline li {
  padding: 20px 0 20px 32px;
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 32px;
  width: 9px;
  height: 9px;
  background: var(--paprika);
  border-radius: 50%;
}

.timeline .year {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 13px;
  color: var(--paprika);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  font-variation-settings: "opsz" 14, "SOFT" 100;
}

.timeline .event {
  font-family: var(--f-jp-display);
  font-size: 17px;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 4px;
}

.timeline .note {
  font-size: 14px;
  color: var(--muted);
}

/* Services detail */
.svc-detail {
  padding: 48px 0;
  border-bottom: 1px solid var(--rule);
}

.svc-detail:last-of-type { border-bottom: 0; }

.svc-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.svc-detail-title {
  font-family: var(--f-jp-display);
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 500;
  margin: 8px 0 0;
  letter-spacing: 0.02em;
}

.svc-detail-num {
  font-family: var(--f-display);
  font-size: 13px;
  font-style: italic;
  color: var(--paprika);
  letter-spacing: 0.14em;
  font-variation-settings: "opsz" 14, "SOFT" 100;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.pricing-table th,
.pricing-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
}

.pricing-table th {
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
}

.pricing-table td.price {
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--ink);
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: 17px;
}

.svc-flow {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  counter-reset: step;
}

.svc-flow li {
  padding: 16px 0 16px 44px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  counter-increment: step;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
}

.svc-flow li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 18px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 13px;
  color: var(--paprika);
  letter-spacing: 0.1em;
  font-variation-settings: "opsz" 14, "SOFT" 100;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Why Budapest page — reasons list
   ========================================================================== */

.reasons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.reason {
  border-bottom: 1px solid var(--rule);
  padding: 48px 0;
}

.reason:first-child {
  border-top: 1px solid var(--rule);
}

.reason-num {
  font-family: var(--f-display);
  font-size: 12px;
  font-style: italic;
  letter-spacing: 0.16em;
  color: var(--paprika);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-variation-settings: "opsz" 14, "SOFT" 100;
}

.reason-title {
  font-family: var(--f-jp-display);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.4;
  font-weight: 500;
  margin: 0 0 24px;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.reason-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-2);
  margin: 0 0 18px;
}

.reason-body strong {
  color: var(--ink);
  font-weight: 600;
}

.reason-sublist {
  list-style: none;
  padding: 0;
  margin: 24px 0 24px;
}

.reason-sublist li {
  padding: 12px 0 12px 24px;
  border-bottom: 1px dashed var(--rule);
  position: relative;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
}

.reason-sublist li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--paprika);
  font-weight: 600;
}

.reason-sublist li:last-child {
  border-bottom: 0;
}

.reason-sublist strong {
  color: var(--ink);
  font-weight: 600;
}

.reasons-closing {
  margin-top: 64px;
  padding: 40px 32px;
  background: var(--paper-2);
  text-align: center;
  border-left: 3px solid var(--paprika);
}

.reasons-closing p {
  font-family: var(--f-jp-display);
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.7;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   BME vs ELTE — comparison table
   ========================================================================== */

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 0 0 16px;
}

.compare-table thead th {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
}

.compare-table thead th:nth-child(2),
.compare-table thead th:nth-child(3) {
  color: var(--ink);
  font-family: var(--f-display);
  font-style: italic;
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0.02em;
  font-variation-settings: "opsz" 24, "SOFT" 100;
}

.compare-table tbody td {
  padding: 16px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
  line-height: 1.6;
}

.compare-table tbody td:first-child {
  font-family: var(--f-jp-display);
  color: var(--ink);
  font-weight: 500;
  width: 34%;
}

.compare-table tbody td:nth-child(2) {
  background: rgba(34, 73, 107, 0.03);
}

.compare-table tbody tr:last-child td {
  border-bottom: 1px solid var(--rule-strong);
}

/* ==========================================================================
   Travel page — trip list
   ========================================================================== */

.trip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.trip {
  border-bottom: 1px solid var(--rule);
}

.trip:first-child {
  border-top: 1px solid var(--rule);
}

.trip a {
  display: block;
  padding: 40px 0;
  transition: padding-left 0.25s ease;
  position: relative;
}

.trip a:hover {
  padding-left: 20px;
}

.trip-tag {
  font-family: var(--f-display);
  font-size: 12px;
  font-style: italic;
  letter-spacing: 0.16em;
  color: var(--paprika);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-variation-settings: "opsz" 14, "SOFT" 100;
}

.trip-title {
  font-family: var(--f-jp-display);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.4;
  font-weight: 500;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
  color: var(--ink);
  transition: color 0.2s ease;
}

.trip a:hover .trip-title {
  color: var(--paprika);
}

.trip-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
  margin: 0 0 20px;
  max-width: 60ch;
}

.trip-more {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--danube);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s ease;
}

.trip-more::after {
  content: "→";
}

.trip a:hover .trip-more {
  gap: 12px;
  color: var(--paprika);
}
