:root {
  --bg: #f3f8f8;
  --surface: #ffffff;
  --surface-soft: #f6fbfb;
  --ink: #123134;
  --ink-strong: #0c2326;
  --muted: #4b696d;
  --line: #c5d9db;
  --accent: #e6673b;
  --accent-ink: #9e3a1d;
  --accent-cool: #2e5c61;
  --shadow: 0 16px 36px rgba(21, 53, 57, 0.1);
  --radius: 20px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(243, 248, 248, 0.98), rgba(240, 247, 247, 0.98)),
    url('/images/guide-pattern.svg') center top / cover no-repeat fixed;
  line-height: 1.62;
}

a {
  color: var(--accent-ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(230, 103, 59, 0.42);
}

a:hover {
  color: #69260f;
  border-bottom-color: currentColor;
}

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

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(240, 247, 247, 0.9);
  backdrop-filter: blur(11px);
  border-bottom: 1px solid rgba(138, 174, 177, 0.4);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.82rem 0;
}

.brand {
  border-bottom: 0;
  color: var(--ink-strong);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.42rem;
}

.nav-links a {
  border-bottom: 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.36rem 0.58rem;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink-strong);
}

main {
  min-height: 72vh;
}

h1,
h2,
h3 {
  margin: 0 0 0.72rem;
  line-height: 1.14;
}

h1,
h2 {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.1rem);
}

h2 {
  font-size: clamp(1.42rem, 3vw, 2.22rem);
}

h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.38rem);
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 0.95rem;
  color: #204146;
}

.kicker {
  margin: 0 0 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.71rem;
  font-weight: 700;
  color: #58797d;
}

.hero {
  width: min(var(--container), calc(100% - 2rem));
  margin: 1rem auto 0;
  border: 1px solid rgba(145, 176, 179, 0.56);
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(120deg, rgba(26, 68, 74, 0.9), rgba(50, 94, 98, 0.82));
  min-height: 420px;
}

.hero.with-image {
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay, linear-gradient(120deg, rgba(18, 49, 53, 0.82), rgba(19, 52, 56, 0.36)));
}

.hero::after {
  content: "";
  position: absolute;
  width: min(520px, 42vw);
  aspect-ratio: 1;
  right: -8%;
  bottom: -28%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(246, 132, 92, 0.5), rgba(232, 98, 58, 0.12));
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: clamp(2rem, 5vw, 3.5rem);
  color: #ecf8f9;
}

.hero h1,
.hero h2,
.hero p,
.hero .kicker {
  color: #ecf8f9;
}

.hero p {
  max-width: 62ch;
}

.hero-actions,
.cta-row {
  display: flex;
  gap: 0.62rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.64rem 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.71rem;
  font-weight: 700;
  border-bottom: 1px solid transparent;
  transition: transform 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
}

.page {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0;
}

.section {
  margin-top: 1.15rem;
}

.panel {
  background: linear-gradient(160deg, var(--surface), var(--surface-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem;
}

.panel-map {
  background: #f2f9f9;
  border: 1px dashed #99bec1;
}

.grid-2,
.grid-3,
.split-layout,
.footer-grid,
.metric-grid,
.flow-grid {
  display: grid;
  gap: 0.9rem;
}

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

.grid-3,
.metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split-layout {
  grid-template-columns: 1.14fr 0.86fr;
  align-items: stretch;
}

.flow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.media-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 290px;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.list-clean,
.steps,
.chip-list,
.city-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-clean li,
.steps li,
.city-list li {
  padding: 0.48rem 0;
  border-bottom: 1px solid rgba(165, 193, 196, 0.45);
}

.list-clean li:last-child,
.steps li:last-child,
.city-list li:last-child {
  border-bottom: 0;
}

.steps {
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2rem;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.46rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent-cool);
}

.chip-list {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.chip-list li {
  border: 1px solid #b8d1d3;
  border-radius: 999px;
  padding: 0.28rem 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.69rem;
  color: #3b5b5f;
  background: #f2f8f8;
}

.metric {
  border: 1px solid #b8d1d3;
  border-radius: 16px;
  padding: 0.9rem;
  background: #f8fcfc;
}

.metric h3 {
  margin-bottom: 0.35rem;
}

.metric p {
  margin: 0;
  color: #436166;
  font-size: 0.93rem;
}

.inline-note {
  font-size: 0.92rem;
  color: #55767b;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid #b8d1d3;
  border-radius: 16px;
  background: #fafdfe;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 660px;
}

th,
td {
  text-align: left;
  padding: 0.68rem 0.8rem;
  border-bottom: 1px solid #c6dcde;
  font-size: 0.92rem;
}

th {
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.66rem;
  background: #eaf4f5;
}

tr:last-child td {
  border-bottom: 0;
}

.location-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.72rem;
}

.location-card {
  background: #f8fcfc;
  border: 1px solid #c4d9db;
  border-radius: 16px;
  padding: 0.95rem;
}

.faq-list,
.post-list {
  display: grid;
  gap: 0.74rem;
}

details,
.post-item {
  background: #f9fdfd;
  border: 1px solid #c3d7da;
  border-radius: 16px;
  padding: 0.9rem;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
}

details[open] summary::after {
  content: "−";
}

.quote-block {
  border: 1px solid rgba(223, 120, 80, 0.38);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  background: linear-gradient(140deg, rgba(230, 103, 59, 0.1), rgba(46, 92, 97, 0.09));
}

.quote-block p {
  margin: 0;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1.05rem;
  color: #18393d;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(138, 174, 177, 0.45);
  background: linear-gradient(180deg, #ebf4f4 0%, #e5f0f0 100%);
  padding: 1.55rem 0;
}

.footer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-grid h3 {
  margin-bottom: 0.32rem;
  font-size: 1rem;
}

.footer-grid p {
  margin: 0;
  font-size: 0.92rem;
  color: #355459;
}

@media (max-width: 1060px) {
  .split-layout,
  .footer-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-start;
  }

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

  .hero {
    min-height: 360px;
    border-radius: 20px;
  }
}
