:root {
  --ink: #14232b;
  --muted: #607278;
  --paper: #f7f5f0;
  --white: #fffefa;
  --sea: #0d7980;
  --sea-dark: #07555c;
  --coral: #e67155;
  --line: rgba(20, 35, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  line-height: 1.55;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.page-width {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}

.hero {
  position: relative;
  min-height: 720px;
  color: #fff;
  overflow: hidden;
  background: #0a4b55 url("../images/hero-coast.jpg") center / cover no-repeat;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(8, 31, 37, 0.76) 0%, rgba(8, 31, 37, 0.4) 48%, rgba(8, 31, 37, 0.08) 100%);
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 200px;
  content: "";
  background: linear-gradient(transparent, rgba(7, 45, 52, 0.5));
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
}

.brand-mark img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

.nav-links a {
  opacity: 0.88;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-cta,
.button-primary,
.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s, background 0.2s;
}

.nav-cta {
  color: var(--ink);
  background: #fff;
}

.nav-cta:hover,
.button-primary:hover {
  transform: translateY(-2px);
}

.nav-cta img,
.button-primary img,
.button-outline img {
  width: 17px;
  height: 17px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 548px;
  padding: 78px 0 105px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 13px;
  font-family: ui-monospace, "Cascadia Mono", monospace;
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-family: "Songti SC", "SimSun", serif;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 600;
  line-height: 1.08;
}

h2 {
  margin-bottom: 0;
  font-family: "Songti SC", "SimSun", serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.25;
}

.hero-copy {
  max-width: 450px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
}

.button-primary {
  color: #fff;
  background: var(--coral);
}

.button-primary img {
  filter: brightness(0) invert(1);
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
}

.hero-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: ui-monospace, "Cascadia Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.8px;
}

.scroll-hint img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.intro {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: end;
  gap: clamp(36px, 8vw, 120px);
  padding: 108px 0;
}

.section-kicker {
  color: var(--sea);
}

.intro-copy {
  max-width: 540px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.intro-copy strong {
  color: var(--ink);
  font-weight: 700;
}

.routes {
  padding: 0 0 106px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-heading h2 {
  font-size: clamp(28px, 3.6vw, 42px);
}

.route-controls {
  display: flex;
  gap: 8px;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  color: var(--ink);
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  transition: color 0.2s, background 0.2s;
}

.icon-button img {
  width: 18px;
  height: 18px;
}

.icon-button:hover:not(:disabled) {
  background: var(--ink);
}

.icon-button:hover:not(:disabled) img {
  filter: brightness(0) invert(1);
}

.icon-button:disabled {
  cursor: default;
}

.route-viewport {
  overflow: hidden;
}

.route-track {
  display: flex;
  gap: 18px;
  transition: transform 0.45s ease;
}

.route-card {
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.route-image {
  height: 258px;
  overflow: hidden;
}

.route-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.route-card:hover .route-image img {
  transform: scale(1.06);
}

.route-copy {
  padding: 20px 20px 22px;
}

.route-meta {
  display: flex;
  justify-content: space-between;
  color: var(--sea);
  font-family: ui-monospace, "Cascadia Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.4px;
}

.route-copy h3 {
  margin: 11px 0 9px;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 22px;
  line-height: 1.35;
}

.route-copy p {
  min-height: 50px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
}

.route-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.route-price strong {
  color: var(--coral);
  font-size: 17px;
}

.guide {
  padding: 92px 0;
  color: var(--white);
  background: var(--ink);
}

.guide-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 70px;
}

.guide .section-kicker {
  color: #80d4d2;
}

.guide-copy {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.guide-item {
  padding: 22px 18px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.guide-item + .guide-item {
  padding-left: 18px;
}

.guide-item:last-child {
  border-right: 0;
}

.guide-item img {
  width: 22px;
  height: 22px;
  margin-bottom: 24px;
  filter: invert(80%) sepia(18%) saturate(976%) hue-rotate(129deg) brightness(95%);
}

.guide-item h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.guide-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.consult {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 70px;
  padding: 110px 0;
}

.consult-copy p:not(.section-kicker) {
  max-width: 400px;
  margin: 20px 0 0;
  color: var(--muted);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  color: var(--sea-dark);
  font-weight: 700;
}

.contact-row img {
  width: 20px;
  height: 20px;
}

.consult-form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select {
  width: 100%;
  height: 49px;
  padding: 0 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  outline-color: var(--sea);
  background: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-message {
  min-height: 22px;
  margin: -5px 0 0;
  color: var(--sea-dark);
  font-size: 13px;
}

.button-outline {
  justify-self: start;
  color: var(--sea-dark);
  border: 1px solid var(--sea);
  background: transparent;
}

.button-outline:hover {
  color: #fff;
  background: var(--sea);
}

.button-outline:hover img {
  filter: brightness(0) invert(1);
}

footer {
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.7);
  background: #102027;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}

@media (max-width: 780px) {
  .page-width {
    width: min(100% - 32px, 600px);
  }

  .hero {
    min-height: 700px;
  }

  .nav {
    min-height: 70px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 12px;
  }

  .hero-content {
    min-height: 535px;
    padding: 72px 0;
  }

  .intro,
  .guide-grid,
  .consult {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .intro {
    padding: 74px 0;
  }

  .routes {
    padding-bottom: 74px;
  }

  .route-card {
    flex-basis: 100%;
  }

  .route-image {
    height: 240px;
  }

  .guide {
    padding: 70px 0;
  }

  .guide-list {
    grid-template-columns: 1fr;
  }

  .guide-item,
  .guide-item + .guide-item {
    padding: 17px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .guide-item img {
    margin: 0 0 8px;
  }

  .consult {
    padding: 75px 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 5px;
  }
}
