* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: linear-gradient(180deg, #f8fbfb, #eef6f7 58%, #f8fbfb);
  color: #213436;
  line-height: 1.62;
}
a { color: #286f78; text-decoration: none; }
a:hover { text-decoration: underline; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(50,90,94,.14);
}
.header-inner {
  max-width: 1180px;
  margin: auto;
  padding: 13px 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
}
.brand {
  justify-self: center;
  font-size: 18px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #213436;
  font-weight: 650;
}
.nav-left, .nav-right { display: flex; gap: 18px; align-items: center; font-size: 14px; }
.nav-left { justify-content: flex-start; }
.nav-right { justify-content: flex-end; }
.nav-left a, .nav-right a { color: #4d6669; }
main { max-width: 1180px; margin: auto; padding: 0 22px; }
.hero, .page-hero {
  padding: 86px 0 58px;
  text-align: center;
}
.hero h1, .page-hero h1 { margin: 0 auto 16px; max-width: 900px; font-size: clamp(34px, 6vw, 72px); line-height: 1.03; letter-spacing: -.04em; }
.hero p, .page-hero p { max-width: 700px; margin: 0 auto; color: #52696c; font-size: 18px; }
.kicker { margin: 0 0 10px; text-transform: uppercase; letter-spacing: .18em; font-size: 12px; color: #6b8588; font-weight: 700; }
.section { padding: 44px 0; border-top: 1px solid rgba(50,90,94,.12); }
.narrow { max-width: 680px; margin: auto; }
.wide { max-width: 960px; margin: auto; }
.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .7fr); gap: 26px; align-items: start; }
.grid { display: grid; gap: 22px; }
.cards { grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); }
.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card, .softbox, .content-block, .table-wrap {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(50,90,94,.13);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(33,52,54,.06);
}
.card { overflow: hidden; }
.card img { width: 100%; height: 210px; object-fit: cover; display: block; }
.card-body, .softbox, .content-block { padding: 24px; }
.card h3, .softbox h2 { margin-top: 0; }
.meta, .muted { color: #667b7e; font-size: 14px; }
.textlink { font-weight: 700; }
.section-head { display: flex; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 20px; }
.button, button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(40,111,120,.25);
  border-radius: 999px;
  background: #286f78;
  color: white;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
  font: inherit;
}
.button:hover { text-decoration: none; filter: brightness(.95); }
.button.secondary { background: transparent; color: #286f78; }
.button.danger { background: #7d3c35; border-color: rgba(125,60,53,.35); }
.badge, .notice, .error {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(40,111,120,.1);
  color: #286f78;
  font-size: 14px;
}
.error { background: rgba(125,60,53,.12); color: #7d3c35; }
.notice { background: rgba(201,169,98,.18); color: #6e5b26; }
.owner-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.owner-actions form { margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.gallery figure { margin: 0; background: rgba(255,255,255,.7); border-radius: 24px; overflow: hidden; border: 1px solid rgba(50,90,94,.13); }
.gallery img { width: 100%; height: 310px; object-fit: cover; display: block; }
.gallery figcaption { padding: 12px 16px; color: #52696c; font-size: 14px; }
.map-wrap iframe { width: 100%; height: min(56vw, 420px); border: 0; border-radius: 24px; box-shadow: 0 18px 40px rgba(33,52,54,.08); }
.link-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.link-pills a { padding: 8px 14px; border-radius: 999px; background: rgba(40,111,120,.09); color: #286f78; font-weight: 700; }
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 7px; font-weight: 700; color: #40595c; }
.form input, .form textarea, .form select {
  width: 100%;
  border: 1px solid rgba(50,90,94,.18);
  background: rgba(255,255,255,.86);
  border-radius: 16px;
  padding: 12px 14px;
  font: inherit;
  color: #213436;
}
.form textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.upload-block { padding: 22px; border: 1px dashed rgba(50,90,94,.24); border-radius: 22px; }
.image-edit-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid rgba(50,90,94,.1); }
.image-edit-row img { width: 120px; height: 82px; object-fit: cover; border-radius: 12px; }
.check { display: flex !important; grid-template-columns: auto auto !important; align-items: center; gap: 8px !important; white-space: nowrap; }
.check input { width: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px; text-align: left; border-bottom: 1px solid rgba(50,90,94,.1); }
.site-footer { text-align: center; color: #6b8588; padding: 44px 20px; font-size: 13px; }
@media (max-width: 820px) {
  .header-inner { grid-template-columns: 1fr; gap: 8px; }
  .brand { order: -1; }
  .nav-left, .nav-right { justify-content: center; flex-wrap: wrap; gap: 12px; }
  .split { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
  .image-edit-row { grid-template-columns: 1fr; }
  .image-edit-row img { width: 100%; height: 170px; }
}
