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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background: #fff;
  padding: 1rem 2rem;
  border-bottom: 1px solid #e0e0e0;
}

nav {
  display: flex;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1rem;
  align-items: center;
}

.nav-icon {
  display: none;
  color: #969696;
  font-size: 1.5em;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.nav-icon small {
  font-size: 0.55rem;
  display: block;
}

nav a {
  color: #555;
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

nav a:hover {
  color: #1a73e8;
  background: #f0f0f0;
}

nav a.active {
  color: #1a73e8;
  background: #f0f0f0;
}

main {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  width: 100%;
}

main h2 {
  margin-bottom: 1rem;
}

main h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

main p {
  margin-bottom: 0.75rem;
}

.title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.title-row h2 {
  margin-bottom: 0;
}

.btn.btn-icon {
  flex: 0 0 2.4rem;
  width: 2.4rem;
  height: 2.4rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

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

iframe {
  width: 100%;
  height: 600px;
  border: 0;
  display: block;
}

.map-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.btn-share {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: #1a73e8;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
}

.btn {
  flex: 1;
  text-align: center;
  padding: 0.6rem 1rem;
  background: #fff;
  color: #555;
  text-decoration: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-weight: 700;
}

@media (max-width: 600px) {
  header {
    order: 2;
    border-bottom: none;
    border-top: 1px solid #e0e0e0;
    position: sticky;
    bottom: 0;
    padding: 20px 0;
  }

  main {
    order: 1;
  }

  nav ul {
    justify-content: space-around;
    gap: 0;
    width: 100%;
  }

  nav ul li {
    flex: 1;
    text-align: center;
  }

  nav a {
    padding: 0;
  }

  .nav-text {
    display: none;
  }

  .nav-icon {
    display: flex;
  }

  nav a.active .nav-icon {
    color: #1a73e8;
  }

  iframe {
    height: 300px;
  }
}
