:root {
  --primary-navy: #102a43;
  --primary-navy-dark: #0b1a2c;
  --steppe-blue: #2176ae;
  --steppe-blue-light: #e8f3fb;
  --accent-gold: #c99137;
  --accent-gold-hover: #b5802a;
  --bg-sand: #f7f5f0;
  --bg-white: #ffffff;
  --text-main: #21303c;
  --text-muted: #576574;
  --border-light: #e2e8f0;
  --border-gold: rgba(201, 145, 55, 0.35);
  --shadow-sm: 0 2px 4px rgba(16, 42, 67, 0.05);
  --shadow-md: 0 6px 18px rgba(16, 42, 67, 0.08);
  --shadow-lg: 0 14px 30px rgba(16, 42, 67, 0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-base: "Noto Sans", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Noto Sans", "Noto Sans JP", serif;
  --font-serif: "Noto Serif JP", Georgia, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-base);
  color: var(--text-main);
  background-color: var(--bg-sand);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--steppe-blue);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-navy);
}

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

/* Header & Navigation */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-top {
  background: var(--primary-navy-dark);
  color: #cdd9e5;
  font-size: 13px;
  padding: 6px 20px;
}

.header-top-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.header-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-emblem {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary-navy);
  object-fit: cover;
  flex-shrink: 0;
}

.brand-titles h1,
.brand-titles .brand-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.3;
  margin: 0;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
  flex-wrap: nowrap;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-navy);
  background: var(--steppe-blue-light);
}

.btn-header-contact {
  background: var(--accent-gold);
  color: #fff !important;
  font-weight: 700 !important;
  padding: 8px 16px !important;
  border-radius: var(--radius-md) !important;
}

.btn-header-contact:hover {
  background: var(--accent-gold-hover) !important;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-navy);
  padding: 4px;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.4;
}

.section-lead {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 760px;
  margin: 12px auto 0;
}

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--primary-navy);
  color: #fff;
  overflow: hidden;
  padding: 80px 0 90px;
  border-bottom: 3px solid var(--accent-gold);
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  mix-blend-mode: luminosity;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(16, 42, 67, 0.96) 0%, rgba(16, 42, 67, 0.85) 55%, rgba(16, 42, 67, 0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  background: rgba(201, 145, 55, 0.2);
  color: #ffd88b;
  border: 1px solid rgba(201, 145, 55, 0.4);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-desc {
  font-size: 17px;
  color: #e2e8f0;
  margin-bottom: 30px;
  line-height: 1.8;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent-gold);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-gold-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--steppe-blue);
  border: 1px solid var(--steppe-blue);
}

.btn-outline:hover {
  background: var(--steppe-blue);
  color: #fff;
}

/* Grid & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

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

.card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--steppe-blue);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: #cbd5e1;
}

.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 12px;
  line-height: 1.4;
}

.card-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.card-footer {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
}

/* Page Banner */
.page-banner {
  background: var(--primary-navy);
  color: #fff;
  padding: 50px 0 45px;
  border-bottom: 3px solid var(--accent-gold);
  position: relative;
}

.page-banner h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-banner p {
  color: #cbd5e1;
  font-size: 16px;
}

.breadcrumbs {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 12px;
}

.breadcrumbs a {
  color: #cbd5e1;
}

.breadcrumbs a:hover {
  color: #fff;
}

/* Feature Box */
.feature-box {
  background: var(--bg-white);
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.feature-box h2,
.feature-box h3 {
  color: var(--primary-navy);
  margin-bottom: 14px;
}

/* Data Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.data-table th,
.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
}

.data-table th {
  background: var(--primary-navy);
  color: #fff;
  font-weight: 700;
  width: 25%;
}

.data-table tr:last-child td,
.data-table tr:last-child th {
  border-bottom: none;
}

/* Step list */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 24px 0;
}

.step-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 20px;
}

.step-num {
  background: var(--primary-navy);
  color: #ffd88b;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 18px;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

/* Notice Box */
.notice-box {
  background: #fffbeb;
  border-left: 4px solid var(--accent-gold);
  padding: 18px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
  font-size: 14px;
  color: #78350f;
  line-height: 1.7;
}

.notice-box strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
  color: #92400e;
}

/* CTA Band */
.cta-band {
  background: var(--primary-navy);
  color: #fff;
  padding: 60px 0;
  text-align: center;
  border-top: 2px solid var(--border-gold);
}

.cta-band h2 {
  font-size: 28px;
  margin-bottom: 14px;
  color: #fff;
}

.cta-band p {
  color: #cbd5e1;
  max-width: 640px;
  margin: 0 auto 28px;
  font-size: 16px;
}

/* Footer */
.site-footer {
  background: var(--primary-navy-dark);
  color: #94a3b8;
  font-size: 14px;
  padding: 60px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 700;
  border-bottom: 2px solid var(--accent-gold);
  display: inline-block;
  padding-bottom: 4px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #cbd5e1;
}

.footer-col ul li a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--primary-navy);
  font-size: 14px;
}

.form-label .required {
  color: #dc2626;
  margin-left: 4px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: inherit;
  background: var(--bg-white);
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--steppe-blue);
  box-shadow: 0 0 0 3px rgba(33, 118, 174, 0.15);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* Responsive */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 10px 14px;
  }

  .mobile-toggle {
    display: block;
  }

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

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .hero-bg {
    width: 100%;
    opacity: 0.25;
  }
}

@media (max-width: 640px) {
  .header-top-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-title {
    font-size: 28px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .step-item {
    flex-direction: column;
  }

  .data-table th,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table th {
    background: #e2e8f0;
    color: var(--primary-navy);
  }
}

/* Mongolia visual gallery */
.photo-banner {
  margin: 0 0 32px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.photo-banner img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.photo-banner figcaption {
  padding: 11px 16px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
  background: #fff;
}
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 34px;
}
.photo-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.photo-gallery img {
  display: block;
  width: 100%;
  height: 235px;
  object-fit: cover;
}
.photo-gallery figcaption {
  padding: 11px 16px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 640px) {
  .photo-gallery { grid-template-columns: 1fr; }
  .photo-banner img { height: 230px; }
  .photo-gallery img { height: 210px; }
}

/* Premium Luxury Banner Styling */
.luxury-banner {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #17324d 0%, #0c1b2a 70%);
  color: #fff;
  border-top: 1px solid rgba(197, 160, 89, 0.4);
  border-bottom: 1px solid rgba(197, 160, 89, 0.4);
  padding: 64px 0;
  box-shadow: 0 20px 40px rgba(11, 26, 44, 0.25);
}

.luxury-card {
  border: 1px solid rgba(197, 160, 89, 0.35);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  border-radius: 4px;
  padding: 44px 48px;
  position: relative;
}

.luxury-card::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 1px solid rgba(197, 160, 89, 0.15);
  pointer-events: none;
  border-radius: 2px;
}

.luxury-tag {
  display: inline-block;
  font-family: var(--font-base);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d6b26d;
  border-bottom: 1px solid #d6b26d;
  padding-bottom: 2px;
  margin-bottom: 18px;
}

.luxury-title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.45;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.luxury-desc {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.9;
  letter-spacing: 0.02em;
  max-width: 680px;
  margin-bottom: 28px;
}

.luxury-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #c5a059;
  color: #0c1b2a !important;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  padding: 14px 30px;
  border-radius: 2px;
  border: 1px solid #d8b776;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(197, 160, 89, 0.25);
}

.luxury-btn-gold:hover {
  background: #d4b26e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.35);
}

.luxury-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: #e2e8f0 !important;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  padding: 14px 26px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.25s ease;
}

.luxury-btn-outline:hover {
  border-color: #d6b26d;
  color: #d6b26d !important;
  background: rgba(197, 160, 89, 0.08);
}

.luxury-light-banner {
  background: #fbf9f5;
  border-top: 1px solid #e7ded0;
  border-bottom: 1px solid #e7ded0;
  padding: 60px 0;
}

.luxury-light-card {
  border: 1px solid #dfd3be;
  background: #ffffff;
  border-radius: 4px;
  padding: 40px 44px;
  box-shadow: 0 8px 30px rgba(16, 42, 67, 0.04);
}

/* Mongolia Flag Premium Membership Banner */
.flag-membership {
  position: relative;
  overflow: hidden;
  background: linear-gradient(112deg, #061d3a 0%, #003c78 52%, #06284e 100%);
  color: #fff;
  padding: 72px 0;
}
.flag-membership::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 9px;
  background: #c92032;
}
.flag-membership::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #c92032;
}
.flag-membership-frame {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 20, 53, 0.18);
  box-shadow: 0 18px 40px rgba(0, 8, 24, 0.28);
}
.flag-membership-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #f2c94c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.flag-membership-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: center;
  padding: 38px 42px 30px;
}
.flag-membership-kicker {
  color: #f2c94c;
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 700;
  margin-bottom: 12px;
}
.flag-membership-title {
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.045em;
  margin: 0 0 14px;
}
.flag-membership-title em {
  color: #f2c94c;
  font-style: normal;
}
.flag-membership-desc {
  color: #dbe8f6;
  font-size: 14px;
  line-height: 1.9;
  max-width: 680px;
  margin: 0;
}
.flag-membership-benefit {
  display: inline-block;
  margin-top: 22px;
  padding: 8px 14px;
  border-left: 3px solid #c92032;
  color: #ffffff;
  background: rgba(201, 32, 50, 0.14);
  font-size: 14px;
  font-weight: 700;
}
.flag-membership-action {
  background: #ffffff;
  border-top: 5px solid #c92032;
  padding: 28px 26px;
  color: #102a43;
  box-shadow: 0 10px 25px rgba(0, 9, 28, 0.22);
}
.flag-membership-action-label {
  color: #c92032;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 7px;
}
.flag-membership-action h3 {
  color: #0c2e58;
  font-family: var(--font-serif);
  font-size: 22px;
  margin: 0 0 6px;
}
.flag-membership-action p {
  color: #64748b;
  font-size: 12px;
  line-height: 1.7;
  margin: 0 0 20px;
}
.flag-membership-apply {
  display: block;
  padding: 13px 15px;
  background: #c92032;
  border: 1px solid #c92032;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  transition: all 0.2s ease;
}
.flag-membership-apply:hover {
  background: #a81728;
  border-color: #a81728;
  transform: translateY(-1px);
}
.flag-membership-detail {
  display: block;
  padding: 12px 0 0;
  color: #0c4f91 !important;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.flag-membership-fees {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.flag-membership-fee {
  min-height: 82px;
  padding: 18px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}
.flag-membership-fee:last-child { border-right: none; }
.flag-membership-fee-label {
  display: block;
  color: #9fc4e7;
  font-size: 12px;
  margin-bottom: 3px;
}
.flag-membership-fee strong {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
}
.flag-membership-fee small {
  display: block;
  color: #f2c94c;
  font-size: 10px;
  margin-top: 3px;
}
@media (max-width: 760px) {
  .flag-membership { padding: 42px 0; }
  .flag-membership-topline { padding: 12px 18px; flex-direction: column; gap: 4px; }
  .flag-membership-main { grid-template-columns: 1fr; gap: 24px; padding: 28px 22px; }
  .flag-membership-title { font-size: 25px; }
  .flag-membership-fees { grid-template-columns: 1fr; }
  .flag-membership-fee { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
  .flag-membership-fee:last-child { border-bottom: none; }
}

/* Refined editorial treatment — Mongolian blue, red and Soyombo yellow */
.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hero .hero-badge {
  margin: 0;
  padding: 0 0 7px;
  border: 0;
  border-bottom: 2px solid #c92032;
  border-radius: 0;
  background: transparent;
  color: #f2c94c;
  font-size: 11px;
  letter-spacing: 0.16em;
}
.hero-location {
  color: #c9d8e8;
  font-size: 11px;
  letter-spacing: 0.1em;
}
.hero .hero-title {
  font-family: var(--font-serif);
  font-size: clamp(35px, 4vw, 47px);
  font-weight: 600;
  line-height: 1.36;
  letter-spacing: 0.045em;
  margin-bottom: 18px;
}
.hero .hero-desc {
  max-width: 620px;
  font-size: 15px;
  line-height: 1.95;
  color: #e0eaf4;
  margin-bottom: 28px;
}
.hero .hero-actions {
  align-items: center;
  gap: 20px;
}
.hero-flag-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 21px;
  background: #c92032;
  color: #ffffff !important;
  border: 1px solid #c92032;
  border-radius: 1px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero-flag-primary:hover { background: #a81728; transform: translateY(-1px); }
.hero-flag-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  color: #eef5fb !important;
  border-bottom: 1px solid rgba(242, 201, 76, 0.72);
  border-radius: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
}
.hero-flag-link:hover { color: #f2c94c !important; }

.flag-membership {
  padding: 74px 0 66px;
  background: linear-gradient(112deg, #05172e 0%, #00386e 53%, #071f3e 100%);
}
.flag-membership::before { width: 5px; }
.flag-membership-frame {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.flag-membership-topline {
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(201, 32, 50, 0.85);
  color: #f2c94c;
}
.flag-membership-main {
  gap: 54px;
  padding: 40px 0 32px;
}
.flag-membership-kicker { color: #f2c94c; }
.flag-membership-title { font-size: 34px; }
.flag-membership-action {
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.32);
  padding: 3px 0 3px 32px;
  color: #ffffff;
  box-shadow: none;
}
.flag-membership-action-label { color: #f2c94c; }
.flag-membership-action h3 { color: #ffffff; }
.flag-membership-action p { color: #d6e2ee; }
.flag-membership-apply {
  background: #c92032;
  border-color: #c92032;
  border-radius: 1px;
}
.flag-membership-detail { color: #f2c94c !important; }
.flag-membership-fees {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(201, 32, 50, 0.72);
}
.flag-membership-fee {
  padding: 18px 0 18px 24px;
  min-height: 78px;
}
.flag-membership-fee:first-child { padding-left: 0; }
.flag-membership-fee-label { color: #c3d8ec; }
.flag-membership-fee small { color: #f2c94c; }
@media (max-width: 760px) {
  .hero-meta { gap: 10px; margin-bottom: 16px; }
  .hero-location { width: 100%; }
  .hero .hero-title { font-size: 34px; }
  .hero .hero-desc { font-size: 14px; line-height: 1.85; }
  .hero .hero-actions { gap: 14px 18px; }
  .flag-membership { padding: 46px 0 42px; }
  .flag-membership-topline { padding-bottom: 12px; }
  .flag-membership-main { padding: 30px 0 24px; }
  .flag-membership-action { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.3); padding: 24px 0 0; }
  .flag-membership-fee, .flag-membership-fee:first-child { padding: 15px 0; }
}

/* MNCCI-Nagoya identity: concise local brand mark and responsive nameplate */
.brand-emblem {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
}
.brand-titles { min-width: 0; }
.brand-titles .brand-title {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
}
.brand-domain {
  color: #082544;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.035em;
}
.brand-jp {
  color: #4c6276;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand-subtitle {
  color: #c92032;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-top: 3px;
}
.header-top-brand {
  color: #f2c94c;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.site-footer img[src$="mncci-nagoya-mark.svg"] {
  background: transparent !important;
  border-radius: 0 !important;
}
@media (max-width: 760px) {
  .header-top { padding: 7px 16px; }
  .header-top-inner { gap: 3px; font-size: 11px; }
  .header-main { padding: 10px 20px; }
  .brand-wrap { gap: 10px; }
  .brand-emblem { width: 42px; height: 42px; }
  .brand-domain { font-size: 18px; }
  .brand-jp { font-size: 10px; letter-spacing: 0.02em; }
  .brand-subtitle { font-size: 9px; margin-top: 2px; }
}

/* Member Companies Banners Section */
.member-banners-section {
  padding: 60px 0 70px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
}

.member-banners-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}

.member-banners-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #c92032;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.member-banners-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-navy);
  font-family: var(--font-serif);
  margin-bottom: 12px;
}

.member-banners-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

.member-banners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.member-banner-item {
  background: #fdfdfd;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 110px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.member-banner-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 42, 67, 0.08);
  border-color: #2176ae;
}

.member-banner-item img {
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.2s ease;
}

.member-banner-item:hover img {
  filter: grayscale(0%);
}

.member-banner-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
}

.member-banner-company {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-navy);
  letter-spacing: 0.02em;
}

.member-banner-category {
  font-size: 11px;
  color: var(--text-muted);
}

.member-banner-slot {
  border: 2px dashed #cbd5e1;
  background: #f8fafc;
  color: #64748b;
  cursor: pointer;
}

.member-banner-slot:hover {
  border-color: #c92032;
  background: #fff8f8;
  color: #c92032;
}

.member-banner-slot .slot-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.member-banner-slot .slot-note {
  font-size: 11px;
  opacity: 0.85;
}

.member-banners-cta {
  margin-top: 30px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.member-banners-cta a {
  color: #c92032;
  font-weight: 700;
  text-decoration: underline;
  margin-left: 6px;
}

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

@media (max-width: 500px) {
  .member-banners-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .member-banners-title {
    font-size: 22px;
  }
}

/* Live member-company banner artwork */
.member-banner-item.member-banner-live {
  padding: 8px;
  background: #ffffff;
}
.member-banner-item.member-banner-live img {
  width: 100%;
  max-width: none;
  max-height: none;
  height: auto;
  filter: none;
}

/* Official website address for linked member-company banners */
.member-banner-item.member-banner-external {
  justify-content: center;
  text-decoration: none;
}

.member-banner-item.member-banner-external .member-banner-url {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  color: var(--primary-navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.member-banner-item.member-banner-external .member-banner-url span {
  color: var(--steppe-blue);
  font-size: 14px;
  transition: transform 0.2s ease;
}

.member-banner-item.member-banner-external:hover .member-banner-url {
  color: var(--steppe-blue);
}

.member-banner-item.member-banner-external:hover .member-banner-url span {
  transform: translate(2px, -2px);
}

/* Extracted official M Real Estate logo artwork */
.member-banner-item.member-banner-external img {
  border-radius: 2px;
}

/* Japanese / Mongolian language selector */
.language-switch {
  flex: 0 0 auto;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid #c4d3df;
  border-radius: 3px;
  color: var(--primary-navy);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.language-switch a:hover {
  border-color: var(--steppe-blue);
  background: var(--steppe-blue-light);
  color: var(--primary-navy);
}

@media (max-width: 760px) {
  .header-main {
    gap: 10px;
  }

  .language-switch a {
    min-height: 29px;
    padding: 5px 8px;
    font-size: 10px;
  }
}

/* Clear bilingual segmented language control */
.language-switch {
  margin-left: auto;
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  border: 1px solid #9eb3c5;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(16, 42, 67, 0.12);
}

.language-switch-label {
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  background: #e8f3fb;
  border-right: 1px solid #c4d3df;
  color: var(--primary-navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.language-switch-option {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 0 !important;
  border-right: 1px solid #d6e0e7 !important;
  border-radius: 0 !important;
  color: var(--primary-navy) !important;
  background: #fff !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.language-switch-option:last-child { border-right: 0 !important; }
.language-switch-option:hover { background: #fff3f3 !important; color: #b3132d !important; }
.language-switch-option.language-switch-current {
  color: #fff !important;
  background: var(--primary-navy) !important;
  cursor: default;
}

@media (max-width: 760px) {
  .language-switch { border-radius: 5px; }
  .language-switch-label { display: none; }
  .language-switch-option { min-height: 31px; padding: 6px 7px; font-size: 10px; }
}


/* Prominent link banner for the Mongolia fire relief donation site */
.fire-donation-banner-section {
  padding: 30px 0 34px;
  background: #f8fafc;
  border-top: 3px solid #c92032;
  border-bottom: 1px solid #e2e8f0;
}
.fire-donation-banner-heading {
  display: flex;
  align-items: baseline;
  gap: 12px 18px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}
.fire-donation-banner-kicker {
  color: #c92032;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.fire-donation-banner-heading h2 {
  margin: 0;
  color: var(--primary-navy);
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}
.fire-donation-banner-heading p {
  margin: 0;
  color: #526678;
  font-size: 13px;
  line-height: 1.6;
}
.fire-donation-banner-figure {
  margin: 0;
}
.fire-donation-banner-link {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(11, 37, 64, 0.16);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.fire-donation-banner-link:hover,
.fire-donation-banner-link:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 17px 30px rgba(11, 37, 64, 0.23);
}
.fire-donation-banner-link:focus-visible {
  outline: 3px solid #e2b44e;
  outline-offset: 4px;
}
.fire-donation-banner-link img {
  width: 100%;
  height: auto;
  display: block;
}
.fire-donation-banner-figure figcaption {
  margin-top: 9px;
  color: #607487;
  font-size: 12px;
  line-height: 1.55;
  text-align: right;
}
@media (max-width: 640px) {
  .fire-donation-banner-section { padding: 22px 0 26px; }
  .fire-donation-banner-heading { display: block; margin-bottom: 11px; }
  .fire-donation-banner-kicker { display: block; margin-bottom: 5px; font-size: 10px; }
  .fire-donation-banner-heading h2 { font-size: 21px; }
  .fire-donation-banner-heading p { margin-top: 5px; font-size: 12px; }
  .fire-donation-banner-link { border-radius: 7px; }
  .fire-donation-banner-figure figcaption { font-size: 10px; text-align: left; }
}
