/* Inner page styles: extends the existing homepage design without changing header/footer styling. */
.inner-hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #dfe8f2;
  isolation: isolate;
}

.inner-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(4, 23, 47, .84) 0%, rgba(8, 42, 85, .58) 48%, rgba(8, 42, 85, .10) 100%);
  pointer-events: none;
}

.inner-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: innerHeroZoom 9s ease-out both;
}

.inner-hero-content {
  position: relative;
  z-index: 2;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: 72px;
  color: #fff;
}

.inner-hero .section-kicker {
  color: #d8e9ff;
}

.inner-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 4.75rem);
  line-height: 1.03;
  letter-spacing: -.045em;
}

.inner-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: #f4f7fb;
  font-size: 1.05rem;
}

.inner-content {
  padding: 92px 0 100px;
}

.inner-content.alt {
  background: var(--cream);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
  gap: 64px;
  align-items: start;
}

.content-copy h2,
.feature-section h2,
.map-section h2,
.gallery-page h2,
.sitemap-section h2,
.contact-page h2,
.faq-page h2 {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.content-copy h3,
.feature-section h3,
.contact-card h3,
.attraction-card h3 {
  color: var(--navy);
}

.content-copy p,
.feature-section p,
.map-section p,
.sitemap-section p,
.contact-page p,
.faq-page p {
  color: #4c5968;
}

.content-copy p:first-of-type {
  margin-top: 0;
}

.content-copy p + p {
  margin-top: 16px;
}

.inner-aside-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.inner-aside-card h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.45rem;
}

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

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

.quick-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: start;
  color: #3d4a59;
}

.quick-list .quick-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  font-size: .76rem;
}

.feature-section {
  padding: 92px 0;
  background: var(--cream);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.feature-card {
  min-height: 185px;
  padding: 26px;
  border: 1px solid #ded9cf;
  border-radius: 16px;
  background: rgba(255,255,255,.74);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.feature-card:hover,
.feature-card:focus-within {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: 0 16px 34px rgba(8, 42, 85, .10);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  font-size: .92rem;
}

.attraction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.attraction-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(8, 42, 85, .08);
}

.attraction-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--gold);
}

.attraction-card h3 {
  margin: 0 0 10px;
}

.attraction-card p {
  margin: 0 0 15px;
}

.attraction-card a {
  color: var(--blue);
  font-weight: 800;
}

.map-section {
  padding: 92px 0 100px;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 42px;
  align-items: stretch;
}

.static-map {
  overflow: hidden;
  min-height: 470px;
  border-radius: 20px;
  background: #eef2f6;
  box-shadow: var(--shadow);
}

.static-map iframe {
  width: 100%;
  height: 100%;
  min-height: 470px;
  display: block;
  border: 0;
}

.directions-card {
  padding: 34px;
  border-radius: 20px;
  background: #071f40;
  color: #fff;
  box-shadow: var(--shadow);
}

.directions-card h2 {
  color: #fff;
}

.directions-card p,
.directions-card address {
  color: #dfe8f3;
}

.directions-card address {
  font-style: normal;
  margin-bottom: 18px;
}

.directions-form {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.directions-input {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 2px solid transparent;
  border-radius: 11px;
  background: #fff;
  color: #152235;
}

.directions-input:focus-visible {
  border-color: #ffbf47;
}

.directions-button {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: #172033;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.directions-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0,0,0,.18);
}

.coord-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.coord-list div {
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
}

.coord-list span {
  display: block;
  color: #afc4de;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.coord-list strong {
  color: #fff;
}

.gallery-page {
  padding: 92px 0 100px;
  background: #071f40;
  color: #fff;
}

.gallery-page h2,
.gallery-page .section-kicker {
  color: #fff;
}

.gallery-page .section-intro {
  max-width: 760px;
  color: #dce6f2;
}

.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.gallery-card {
  position: relative;
  display: block;
  width: 100%;
  min-height: 280px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #0b3264;
  cursor: zoom-in;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform .45s ease;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.045);
}

.gallery-card span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 9px 12px;
  border-radius: 9px;
  background: rgba(4, 23, 47, .86);
  color: #fff;
  font-size: .86rem;
  font-weight: 800;
  text-align: left;
}

.gallery-dialog {
  width: min(1000px, calc(100% - 28px));
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #071f40;
  color: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
}

.gallery-dialog::backdrop {
  background: rgba(0, 10, 24, .82);
}

.gallery-dialog figure {
  margin: 0;
}

.gallery-dialog img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #020e1d;
}

.gallery-dialog figcaption {
  padding: 18px 70px 22px;
  text-align: center;
  color: #fff;
}

.dialog-close,
.dialog-prev,
.dialog-next {
  position: absolute;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: rgba(8,42,85,.9);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.dialog-close {
  top: 14px;
  right: 14px;
}

.dialog-prev,
.dialog-next {
  top: 50%;
  transform: translateY(-50%);
}

.dialog-prev { left: 14px; }
.dialog-next { right: 14px; }

.sitemap-section,
.contact-page,
.faq-page {
  padding: 92px 0 100px;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.sitemap-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  background: #fff;
  box-shadow: 0 10px 28px rgba(8,42,85,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.sitemap-link:hover,
.sitemap-link:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(8,42,85,.12);
}

.sitemap-link strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.sitemap-link span {
  color: var(--muted);
  font-size: .9rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 46px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 16px;
}

.contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(8,42,85,.07);
}

.contact-card h3 {
  margin: 0 0 8px;
}

.contact-card p {
  margin: 0;
}

.contact-card a {
  color: var(--blue);
  font-weight: 800;
}

.faq-page-wrap {
  max-width: 980px;
}

.faq-block {
  margin-top: 18px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 9px 25px rgba(8,42,85,.06);
}

.faq-question {
  margin: 0;
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1.4;
}

.faq-answer {
  margin-top: 12px;
  color: #4c5968;
}

.faq-answer p {
  margin: 0 0 10px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer a {
  color: #0f4d91;
  font-weight: 800;
}

.page-cta {
  background: linear-gradient(125deg, #0b3264, #15559b);
  color: #fff;
  padding: 58px 0;
}

.page-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.page-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.12;
}

.page-cta p {
  margin: 8px 0 0;
  color: #dfe8f3;
}

.page-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.page-cta .contact-phone,
.page-cta .contact-book {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

@keyframes innerHeroZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1); }
}

@media (max-width: 1100px) {
  .content-grid,
  .map-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .inner-aside-card {
    position: static;
  }

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

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

@media (max-width: 760px) {
  .inner-hero,
  .inner-hero-content {
    min-height: 360px;
  }

  .inner-hero-content {
    padding-block: 54px;
  }

  .inner-content,
  .feature-section,
  .map-section,
  .gallery-page,
  .sitemap-section,
  .contact-page,
  .faq-page {
    padding: 70px 0;
  }

  .feature-grid,
  .attraction-grid,
  .sitemap-grid,
  .gallery-page-grid {
    grid-template-columns: 1fr;
  }

  .static-map,
  .static-map iframe {
    min-height: 360px;
  }

  .directions-card {
    padding: 26px 20px;
  }

  .page-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-dialog figcaption {
    padding-inline: 56px;
  }
}

@media (max-width: 480px) {
  .inner-hero h1 {
    font-size: 2.35rem;
  }

  .inner-hero p {
    font-size: .96rem;
  }

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

  .faq-block {
    padding: 22px 20px;
  }

  .gallery-card,
  .gallery-card img {
    min-height: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .inner-hero img {
    animation: none;
  }
}
