:root {
  --ink: #122b3d;
  --muted: #607486;
  --navy: #0b3148;
  --ocean: #0f7f98;
  --sea: #19a0a7;
  --coral: #e86f51;
  --gold: #dca74d;
  --mint: #e9f8f4;
  --sky: #edf8fb;
  --paper: #fbf8f1;
  --white: #ffffff;
  --line: rgba(21, 73, 96, 0.14);
  --shadow: 0 24px 70px rgba(12, 54, 78, 0.14);
  --soft-shadow: 0 14px 34px rgba(12, 54, 78, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f4fbfc 0%, #fffaf1 48%, #f6fbfb 100%);
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell,
.admin-shell {
  width: min(1120px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.page-shell {
  overflow: hidden;
}

.top-hero {
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(135deg, rgba(11, 49, 72, 0.96), rgba(15, 127, 152, 0.86)),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.18), transparent 34%);
  color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: stretch;
}

.hero-left {
  display: grid;
  align-content: start;
  gap: 16px;
}

.title-wrap {
  display: grid;
  gap: 0;
}

.brand-pill {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-height: 54px;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.title-wrap .brand-pill {
  display: flex;
  gap: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.brand-name {
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.title-wrap .brand-name {
  width: fit-content;
  padding: 10px 13px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
}

.title-wrap .brand-name:empty {
  display: none;
}

.divider {
  opacity: 0.55;
}

.title-wrap .divider {
  display: none;
}

#propertyName {
  display: block;
  position: absolute;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 24px);
  transform: translateX(-50%);
  color: var(--white);
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.75rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.mini-label {
  display: none;
}

.quick-grid.quick-times {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.arrival-note {
  display: none;
}

.quick-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 96px;
  padding: 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.quick-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  font-size: 1.55rem;
}

.quick-card strong {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-card p {
  margin: 3px 0 0;
  color: var(--white);
  font-size: 1.18rem;
  font-weight: 900;
}

.quick-note {
  display: block;
  max-width: 34rem;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.intro-card {
  padding: 16px;
  color: #203a49;
  background: #fff8e8;
  border: 1px solid rgba(220, 167, 77, 0.42);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.08);
}

.intro-badge,
.overline {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro-card p {
  margin: 0;
  color: #425765;
  font-size: 1rem;
}

.hero-right {
  display: flex;
  justify-content: center;
}

.listing-image-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.listing-image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 430px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(9, 40, 57, 0.05), rgba(9, 40, 57, 0.22)),
    linear-gradient(135deg, #d8f2f4 0%, #5ab8c3 54%, #fff0d8 100%);
  background-position: center;
  background-size: cover;
  border: 6px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.image-overlay-note {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 9px 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  font-size: 0.82rem;
  font-weight: 900;
}

main {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 30px);
}

.guide-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 16px;
  align-items: stretch;
  padding: clamp(18px, 3vw, 26px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.guide-overview h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Palatino Linotype", Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.05;
}

.guide-overview p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.support-card {
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--ocean));
  border-radius: 8px;
}

.support-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.support-card strong {
  font-size: 1.15rem;
}

.support-card a {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.section-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px;
  background: rgba(251, 248, 241, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.section-nav a {
  flex: 0 0 auto;
  padding: 8px 11px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(15, 127, 152, 0.16);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.section-nav a:hover {
  color: var(--white);
  background: var(--ocean);
}

.section-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.info-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 10px;
  min-width: 0;
  padding: 18px 20px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--ocean);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  scroll-margin-top: 86px;
}

.card-head {
  display: contents;
}

.card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  flex: 0 0 auto;
  color: var(--navy);
  background: var(--sky);
  border-radius: 8px;
  font-size: 1.45rem;
}

.card-title {
  align-self: center;
  color: var(--navy);
  font-family: "Palatino Linotype", Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.12;
}

.card-content {
  grid-column: 2;
  margin: 0;
}

.section-photo {
  display: flex;
  justify-content: center;
  margin: 0 0 14px;
}

.section-photo img {
  display: block;
  width: min(520px, 100%);
  height: auto;
  max-height: 360px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(12, 54, 78, 0.12);
}

.card-lead {
  margin: 0 0 10px;
  color: #2c4354;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.65;
}

.info-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  position: relative;
  padding-left: 18px;
  color: #354f62;
  font-size: 0.98rem;
  line-height: 1.62;
}

.info-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--sea);
  border-radius: 999px;
}

.info-list li.line-callout {
  width: fit-content;
  max-width: 100%;
  margin: 2px 0;
  padding: 10px 14px;
  color: #11324a;
  background: #fff1c9;
  border: 1px solid rgba(220, 167, 77, 0.55);
  border-radius: 999px;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(153, 112, 35, 0.12);
}

.info-list li.line-callout::before {
  display: none;
}

.nowrap {
  white-space: nowrap;
}

.red {
  border-left-color: #c94f44;
  background: #fff8f6;
}

.teal,
.aqua {
  border-left-color: var(--sea);
  background: #f5fcfc;
}

.purple,
.violet {
  border-left-color: #8463b8;
  background: #fbf8ff;
}

.orange,
.yellow {
  border-left-color: var(--gold);
  background: #fffaf0;
}

.green {
  border-left-color: #62a65f;
  background: #f8fdf5;
}

.gray,
.navy,
.blue {
  border-left-color: var(--navy);
  background: #f8fbfd;
}

footer {
  padding: 24px;
  color: var(--muted);
  background: #f8fbfd;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.9rem;
}

/* Admin / index helpers */
.admin-shell {
  padding: 18px;
}

.admin-login {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, rgba(11, 49, 72, 0.96), rgba(15, 127, 152, 0.88));
}

.admin-login-card {
  width: min(460px, 100%);
  padding: clamp(22px, 4vw, 34px);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-login-card .brand-pill {
  position: static;
  min-height: 0;
  color: var(--navy);
}

.admin-login-card .brand-name {
  color: var(--navy);
  background: var(--sky);
  border-color: var(--line);
}

.admin-login-card h1 {
  margin: 18px 0 6px;
  color: var(--navy);
  font-family: "Palatino Linotype", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
}

.admin-login-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.admin-login-card label {
  display: block;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-login-card input {
  width: 100%;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-login-card .admin-btn {
  width: 100%;
  border-radius: 8px;
}

.admin-login-error {
  min-height: 1.4em;
  margin-top: 10px;
  color: #9c2b2b;
  font-weight: 900;
}

.admin-head {
  margin-bottom: 16px;
  padding: clamp(20px, 3vw, 34px);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--ocean));
  border-radius: 8px;
}

.admin-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-title h1,
.admin-head h1 {
  margin: 12px 0 6px;
  font-family: "Palatino Linotype", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.admin-head .small-muted {
  color: rgba(255, 255, 255, 0.76);
}

.admin-note {
  margin-top: 14px;
  padding: 14px;
  color: #47370c;
  background: #fff6db;
  border: 1px solid rgba(220, 167, 77, 0.44);
  border-radius: 8px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(280px, 350px) minmax(0, 1fr);
  gap: 16px;
}

.admin-card {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.admin-card h2 {
  margin-top: 0;
  color: var(--navy);
  font-family: "Palatino Linotype", Georgia, "Times New Roman", serif;
}

.property-buttons {
  display: grid;
  gap: 8px;
  max-height: 72vh;
  overflow: auto;
}

.property-buttons button {
  padding: 12px;
  color: var(--ink);
  background: #f7fbfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
}

.property-buttons button.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--ocean));
}

.property-buttons small {
  display: block;
  margin-top: 4px;
  color: inherit;
  opacity: 0.76;
}

.local-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.local-links a,
.admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 12px;
  color: var(--white);
  background: var(--ocean);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.admin-btn.secondary,
.local-links a {
  color: var(--navy);
  background: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}

.admin-card .local-links a {
  background: #eef8fb;
  border-color: var(--line);
}

.admin-btn.danger {
  color: #9c2b2b;
  background: #fff0f0;
  border-color: #ffd1d1;
}

.admin-form label {
  display: block;
  margin: 13px 0 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-form input,
.admin-form textarea {
  width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfdfe;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-form textarea {
  min-height: 128px;
  resize: vertical;
}

.edit-section {
  margin: 12px 0;
  padding: 12px;
  background: #fbfdfe;
  border: 1px dashed rgba(15, 127, 152, 0.32);
  border-radius: 8px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}

.index-card {
  display: grid;
  gap: 5px;
  min-height: 140px;
  padding: 18px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--sea);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  text-decoration: none;
}

.index-card strong {
  color: var(--navy);
  font-family: "Palatino Linotype", Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
}

.index-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.small-muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 12px;
  color: var(--navy);
  background: var(--sky);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}

.check-row input {
  width: 18px;
  height: 18px;
}

@media (max-width: 950px) {
  .page-shell,
  .admin-shell {
    width: 100%;
  }

  .hero-grid,
  .guide-overview,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .listing-image-link {
    max-width: 520px;
    height: auto;
  }

  .listing-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 640px) {
  body {
    background: var(--white);
  }

  .top-hero,
  main,
  .admin-shell {
    padding: 14px;
  }

  .brand-pill {
    display: grid;
    gap: 10px;
    min-height: 0;
    justify-items: start;
  }

  #propertyName {
    position: static;
    width: 100%;
    max-width: 100%;
    transform: none;
    font-size: clamp(1.15rem, 5.5vw, 1.45rem);
    text-align: left;
    white-space: nowrap;
  }

  .quick-grid.quick-times {
    grid-template-columns: 1fr;
  }

  .quick-card {
    min-height: 70px;
  }

  .listing-image {
    border-width: 5px;
    aspect-ratio: 4 / 3;
  }

  .guide-overview,
  .info-card,
  .admin-card {
    padding: 16px;
  }

  .info-card {
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 11px;
  }

  .card-icon {
    width: 42px;
    height: 42px;
    font-size: 1.25rem;
  }

  .card-head {
    align-items: flex-start;
  }

  .card-title {
    font-size: 1.35rem;
  }

  .info-list li {
    font-size: 0.95rem;
  }
}
