:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f8f9fc;
  --text: #0b1f52;
  --muted: #636f8a;
  --primary: #e3ba25;
  --primary-dark: #c8a019;
  --line: #e8ebf3;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

body::before {
  content: none;
}

a {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 2.6rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(6px);
  background: rgba(7, 24, 70, 0.98);
  border-top: 3px solid #e3ba25;
  border-bottom: 1px solid rgba(227, 186, 37, 0.2);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #e3ba25;
}

.brand-logo-image {
  width: 170px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
  border-radius: 0;
  border: 0;
}

.brand-logo-text {
  font-size: 0.82rem;
  color: #d9e5ff;
  font-weight: 700;
  letter-spacing: 0.2px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

nav a {
  text-decoration: none;
  color: #d2dcfb;
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

nav a:hover,
nav a.active {
  color: #f3c734;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #d2dcfb;
  font-size: 0.88rem;
}

.lang-switch label {
  margin: 0;
  font-weight: 500;
}

.lang-switch select {
  border: 1px solid #364d83;
  background: #07246b;
  color: #f7fbff;
  border-radius: 9px;
  padding: 0.25rem 0.45rem;
  font: inherit;
}

.hero,
.page-hero {
  padding: 5rem 0 4rem;
  background: #fff;
}

.market-hero {
  position: relative;
  overflow: hidden;
  padding: 5.2rem 0 4rem;
  background: #0a2467;
}

.market-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(5, 18, 58, 0.74), rgba(5, 18, 58, 0.66)),
    url("https://images.unsplash.com/photo-1512453979798-5ea266f8880c?auto=format&fit=crop&w=2200&q=80");
  background-size: cover;
  background-position: center;
  opacity: 0.92;
}

.market-hero .market-hero-inner {
  position: relative;
  z-index: 1;
}

.market-hero h1,
.market-hero .subtitle {
  color: #f7f9ff;
}

.market-hero h1 {
  max-width: 860px;
}

.market-hero .subtitle {
  max-width: 760px;
}

.market-hero .kicker {
  color: #f3c734;
}

.market-hero-inner {
  max-width: 960px;
}

.hero-grid,
.split-grid,
.article-layout,
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.1rem;
  align-items: center;
}

.kicker {
  margin: 0;
  color: #cfa420;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  font-family: "Times New Roman", Georgia, serif;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

h1 {
  margin: 0.45rem 0 1.15rem;
  font-size: clamp(2.25rem, 5.2vw, 4rem);
  line-height: 1.08;
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
}

.subtitle,
.section-intro,
.muted {
  color: var(--muted);
}

.hero-actions,
.cta-actions,
.result-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 1.2rem;
}

.hero-visual img,
.cover-image,
.stack-image,
.card img,
.booking-banner img,
.article-cover {
  width: 100%;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--line);
}

.hero-visual img {
  height: 520px;
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.32);
}

.cover-image {
  height: 360px;
}

.stack-image {
  height: 210px;
  margin-bottom: 0.8rem;
}

.section {
  padding: 4.2rem 0;
}

.section-alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f2f4fa;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.section-head h2 {
  position: relative;
  padding-bottom: 0.45rem;
}

.section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 2px;
  background: #d8ad12;
}

.text-link {
  color: #9e7800;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-size: 0.78rem;
}

.cards,
.stats-grid,
.list-grid,
.article-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.card,
.stat-card,
.process-card,
.panel,
.booking-form,
.message-result,
.article-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.search-card {
  margin-top: 1rem;
  background: #fff;
  border: 1px solid rgba(227, 186, 37, 0.35);
  border-radius: 2px;
  padding: 1rem;
  box-shadow: 0 20px 36px rgba(2, 18, 59, 0.2);
}

.search-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.search-tab {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 2px;
  padding: 0.35rem 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.search-tab.active {
  color: #10234f;
  background: var(--primary);
  border-color: var(--primary);
}

.search-row,
.filter-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 0.6rem;
  align-items: center;
}

.filter-bar {
  margin-top: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.75rem;
}

.listing-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.listing-card {
  position: relative;
}

.price-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(3, 26, 83, 0.92);
  color: #f5c835;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.26rem 0.6rem;
}

.card {
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.card:hover,
.article-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(14, 34, 82, 0.08);
  border-color: #d9b642;
}

.card-link {
  text-decoration: none;
  display: block;
}

.card img {
  height: 220px;
  display: block;
}

.card h3,
.card p,
.article-card h3,
.article-card p {
  padding: 0 1rem;
}

.card h3,
.article-card h3 {
  margin: 0.95rem 0 0.35rem;
}

.card p,
.article-card p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.stat-card,
.process-card,
.panel,
.article-card {
  padding: 1rem;
}

.stat-card strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.process-card span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #cdd8ff;
  background: rgba(79, 124, 255, 0.18);
}

.page-hero .hero-actions {
  margin-top: 0.8rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 0.7rem 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  font-size: 0.8rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: none;
}

.btn-primary {
  background: #e3ba25;
  border-color: #e3ba25;
  color: #0f2352;
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-light {
  background: #fff;
  color: #10234f;
  border: 1px solid #cfd5e4;
}

.btn-light:hover {
  background: #f7f8fb;
}

.bullet-list {
  margin: 1rem 0;
  padding-left: 1.1rem;
}

.bullet-list li {
  margin-bottom: 0.55rem;
}

.list-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.list-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.95rem;
}

.booking-wrap {
  display: grid;
  gap: 1rem;
}

.booking-banner img {
  max-height: 320px;
}

.booking-form {
  padding: 1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cdd7eb;
  background: #fff;
  color: #1b2c50;
  border-radius: 2px;
  padding: 0.64rem;
  font: inherit;
}

.message-result {
  padding: 1rem;
}

pre {
  background: #f8faff;
  border: 1px solid #cdd7eb;
  border-radius: 2px;
  padding: 0.8rem;
  white-space: pre-wrap;
}

.hint {
  color: var(--muted);
}

.hidden {
  display: none;
}

.cta-section {
  padding-top: 1.2rem;
}

.cta-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 2px;
  border: 1px solid rgba(227, 186, 37, 0.5);
  background: linear-gradient(130deg, #052165, #0a2e86);
}

.cta-box p {
  color: #d3defd;
}

.cta-box h2 {
  color: #f3c734;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: var(--muted);
}

.footer-grid a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 0.7rem;
}

.article-layout {
  align-items: start;
}

.article-content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1rem;
}

.article-content h2,
.article-content h3 {
  margin-top: 1.2rem;
}

.article-content p,
.article-content li {
  color: var(--muted);
}

.article-cover {
  height: 420px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .article-layout,
  .contact-grid,
  .cta-box,
  .process-grid,
  .cards,
  .stats-grid,
  .article-cards,
  .grid-2,
  .list-grid {
    grid-template-columns: 1fr;
  }

  .search-row,
  .filter-bar {
    grid-template-columns: 1fr;
  }

  .hero-visual img {
    height: 360px;
  }

  .article-cover {
    height: 300px;
  }
}

@media (max-width: 780px) {
  nav {
    display: none;
  }

  .brand-logo-image {
    width: 124px;
    height: 38px;
  }

  .brand-logo-text {
    display: none;
  }

  .lang-switch label {
    display: none;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
