/* ==========================================================================
   TOPBAR
   ========================================================================== */
.topbar {
  color: var(--navy);
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
  top: 0;
  z-index: 10;
  background: transparent;
  box-shadow: none;
  transform-origin: top center;
}

.brand { 
  justify-self: start; 
  display: flex; 
  align-items: baseline; 
  gap: 8px; 
}

.topbar-center { 
  justify-self: center; 
}

.topbar-right { 
  justify-self: end; 
  display: flex; 
  align-items: center; 
  gap: 10px; 
}

/* ==========================================================================
   HERO & COLLAPSIBLE HEADER
   ========================================================================== */
.hero-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  overflow: visible;
  background-color: var(--sand);
}

.hero-spacer { 
  width: 100%; 
}

.hero-header.is-collapsed { 
  pointer-events: none; 
}

.hero-header.menu-open,
.hero-header:has(.lang-dropdown-wrapper.open) {
  z-index: 1000 !important;
  overflow: visible !important;
}

.hero-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url('../assets/sun.svg');
  background-repeat: no-repeat;
  background-position: right top; 
  background-size: min(40%, 260px) auto; 
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--navy);
  padding: 20px 20px 28px; 
  z-index: 1;
  text-align: center;
}

.hero-content { 
  transform-origin: top center; 
}

.hero > * { 
  position: relative; 
  z-index: 2; 
}

.hero .eyebrow {
  font-size: 0.72rem;
  color: var(--coral);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.hero h1 {
  font-size: 1.75rem;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 8px;
}

.hero .apt-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--sand);
  border: 1px solid var(--line);
  padding: 4px 14px;
  border-radius: 20px;
  margin-top: 0;
}

.hero .addr {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .hero-header { position: relative; }
  .hero-spacer { display: none; }
  .topbar, .hero { transition: none !important; transform: none !important; }
}

/* ==========================================================================
   PAGE CARDS & SECTIONS
   ========================================================================== */
.route, 
.section, 
.contact {
  position: relative;
  z-index: 2;
  background: var(--paper);
  max-width: 640px;
  margin: 0 20px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
}

.route { 
  margin-top: 16px; 
  z-index: 2; 
}

.section h2 { 
  font-size: 1.3rem; 
  margin-bottom: 20px; 
}

@media (min-width: 680px) {
  .route, .section, .contact { 
    margin-left: auto; 
    margin-right: auto; 
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  padding: 48px 20px 24px;
  border-top: 1px solid var(--line);
  z-index: 2;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url('../assets/footer-bg.svg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 0.12;
}

.footer-inner { 
  position: relative; 
  z-index: 2; 
}

.footer-info { 
  display: flex; 
  flex-direction: column; 
  gap: 24px; 
  align-items: center; 
  text-align: center;  
  padding-top: 15px;
}

.footer-info img { 
  height: 32px; 
  width: auto; 
  object-fit: contain; 
  align-self: center;  
  margin-bottom: 8px; 
}

.footer-block h4 { 
  font-size: 1.05rem; 
  color: var(--navy); 
  margin: 0 0 8px; 
}

.footer-block p { 
  font-size: 0.95rem; 
  color: rgba(44, 62, 80, 0.8); 
  margin: 0; 
  line-height: 1.6; 
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: rgba(30, 76, 97, 0.6);
  font-weight: 600;
}