/* ── Variables ── */
:root {
  --bg: #0d1117;
  --bg-card: #161b22;
  --border: #30363d;
  --text: #e6edf3;
  --text-secondary: #c9d1d9;
  --text-muted: #8b949e;
  --green: #7ee787;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --container-max: 72rem;
  --px: 1.5rem;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
address { font-style: normal; }
table { border-collapse: collapse; }

/* ── Container ── */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--px); }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 50; width: 100%;
  background: rgba(13,17,23,0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.header-inner {
  max-width: var(--container-max); margin: 0 auto; padding: 0 var(--px);
  display: flex; align-items: center; justify-content: space-between; height: 4rem;
}
.site-logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-serif); font-weight: 600; font-size: 1.1rem;
  color: var(--text); letter-spacing: -0.01em;
}
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a { color: var(--text-muted); font-size: 0.875rem; font-weight: 500; transition: color 0.2s; }
.main-nav a:hover { color: var(--text); }
.hamburger { display: none; background: none; border: none; color: var(--text-muted); padding: 4px; }
.mobile-nav { display: none; border-top: 1px solid var(--border); background: var(--bg); padding: 1rem var(--px); flex-direction: column; gap: 1rem; }
.mobile-nav.is-open { display: flex; }
.mobile-nav a { color: var(--text-secondary); font-size: 0.9rem; }
@media (max-width: 767px) { .main-nav { display: none; } .hamburger { display: block; } }

/* ── Section labels ── */
.section-label { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.section-label.centered { justify-content: center; }
.label-line { width: 32px; height: 2px; background: var(--green); flex-shrink: 0; }
.label-text { color: var(--green); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.5vw, 2.4rem);
  font-weight: 700; color: var(--text);
}

/* ── Hero ── */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,17,23,0.97) 0%, rgba(13,17,23,0.7) 40%, rgba(13,17,23,0.35) 100%); }
.hero-content { position: relative; width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--px) 4rem; }
@media (min-width: 768px) { .hero-content { padding-bottom: 6rem; } }
.hero-inner { max-width: 760px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1.5rem; padding: 0.35rem 0.9rem;
  border: 1px solid var(--border); border-radius: 2px;
  background: rgba(22,27,34,0.7);
}
.hero-tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.hero-tag-text { color: var(--green); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.hero-h1 { font-family: var(--font-serif); font-size: clamp(2.4rem,6vw,4.5rem); font-weight: 700; color: var(--text); line-height: 1.12; margin-bottom: 1.25rem; }
.hero-sub { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.1rem,2.2vw,1.4rem); color: var(--green); margin-bottom: 1.25rem; line-height: 1.45; }
.hero-desc { color: var(--text-muted); font-size: clamp(0.9rem,1.6vw,1.05rem); line-height: 1.75; max-width: 560px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.stat-val { color: var(--text); font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700; }
.stat-unit { font-size: 0.875rem; color: var(--green); font-family: var(--font-sans); font-weight: 500; }
.stat-label { color: var(--text-muted); font-size: 0.8rem; margin-top: 2px; }

/* ── About ── */
.about-section { background: var(--bg); padding: 5rem 0; border-bottom: 1px solid var(--border); }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3.5rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-text p { color: var(--text-muted); line-height: 1.8; font-size: 0.9375rem; margin-bottom: 1rem; }
.about-img-wrap { position: relative; }
.about-img { width: 100%; height: 420px; object-fit: cover; border-radius: 3px; border: 1px solid var(--border); }
.about-img-fade { position: absolute; bottom: -1px; left: 0; right: 0; height: 60px; background: linear-gradient(to bottom, transparent, var(--bg)); border-radius: 0 0 3px 3px; pointer-events: none; }
.about-caption { position: absolute; top: 1rem; right: 1rem; background: rgba(13,17,23,0.85); border: 1px solid var(--border); padding: 0.5rem 0.75rem; border-radius: 2px; }
.about-caption p { color: var(--text-muted); font-size: 0.75rem; }

/* ── Facilities ── */
.facilities-section { background: var(--bg); padding: 5rem 0; border-bottom: 1px solid var(--border); }
.section-center { text-align: center; margin-bottom: 3rem; }
.facilities-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .facilities-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .facilities-grid { grid-template-columns: 1fr 1fr 1fr; } }
.facility-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 3px; padding: 1.75rem; transition: border-color 0.2s; }
.facility-card:hover { border-color: var(--green); }
.facility-icon { margin-bottom: 1rem; }
.facility-title { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 600; color: var(--text); margin-bottom: 0.6rem; }
.facility-desc { color: var(--text-muted); font-size: 0.875rem; line-height: 1.75; }

/* ── Visiting Info ── */
.visiting-section { background: var(--bg-card); padding: 5rem 0; border-bottom: 1px solid var(--border); }
.visiting-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .visiting-grid { grid-template-columns: 1fr 1fr 1fr; } }
.col-title { color: var(--text-secondary); font-weight: 600; font-size: 0.9rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.06em; }
.hours-table { width: 100%; }
.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table td { padding: 0.7rem 0; font-size: 0.875rem; }
.hours-table td:first-child { color: var(--text-muted); }
.hours-table td:last-child { color: var(--text-secondary); font-weight: 500; text-align: right; }
.hours-note { color: var(--text-muted); font-size: 0.8rem; margin-top: 0.75rem; line-height: 1.6; }
.rules-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.rules-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.rules-list li span { color: var(--text-muted); font-size: 0.875rem; line-height: 1.65; }
.rules-list li svg { flex-shrink: 0; margin-top: 3px; }
.dir-mode { color: var(--green); font-size: 0.8rem; font-weight: 600; margin-bottom: 0.3rem; }
.dir-text { color: var(--text-muted); font-size: 0.875rem; line-height: 1.65; margin-bottom: 1rem; }

/* ── Gallery ── */
.gallery-section { background: var(--bg); padding: 5rem 0; border-bottom: 1px solid var(--border); }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: 1fr 1fr 1fr; } }
.gallery-figure { margin: 0; overflow: hidden; border-radius: 3px; border: 1px solid var(--border); aspect-ratio: 4/3; }
.gallery-figure img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.4s; }
.gallery-figure:hover img { transform: scale(1.03); }

/* ── FAQ ── */
.faq-section { background: var(--bg-card); padding: 5rem 0; border-bottom: 1px solid var(--border); }
.faq-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: 1fr 2fr; } }
.faq-intro p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.75; margin-top: 1rem; }
.faq-link { color: var(--green); font-size: 0.875rem; text-decoration: underline; text-underline-offset: 3px; margin-top: 1.5rem; display: inline-block; }
details.faq-item { border-bottom: 1px solid var(--border); }
details.faq-item summary {
  padding: 1.25rem 0; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
  color: var(--text); font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; line-height: 1.4;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::marker { content: none; }
.faq-icon { flex-shrink: 0; margin-top: 2px; transition: transform 0.2s; }
details.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.75; padding-bottom: 1.25rem; }

/* ── News ── */
.news-section { background: var(--bg); padding: 5rem 0; }
.news-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .news-grid { grid-template-columns: 1fr 1fr 1fr; } }
.news-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 3px; overflow: hidden; }
.news-img-wrap { overflow: hidden; height: 200px; }
.news-img-wrap img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.4s; }
.news-card:hover .news-img-wrap img { transform: scale(1.04); }
.news-body { padding: 1.5rem; }
.news-meta { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.75rem; }
.news-cat { background: rgba(126,231,135,0.1); color: var(--green); font-size: 0.7rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 2px; border: 1px solid rgba(126,231,135,0.25); }
.news-date { color: var(--text-muted); font-size: 0.75rem; }
.news-title { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 0.75rem; }
.news-excerpt { color: var(--text-muted); font-size: 0.875rem; line-height: 1.7; }

/* ── Footer ── */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); }
.footer-inner { max-width: var(--container-max); margin: 0 auto; padding: 3rem var(--px); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; font-family: var(--font-serif); font-weight: 600; color: var(--text); }
.footer-desc { color: var(--text-muted); font-size: 0.875rem; line-height: 1.75; }
.footer-col-title { font-weight: 600; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-bottom: 1rem; }
.footer-addr { color: var(--text-muted); font-size: 0.875rem; line-height: 1.75; }
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a { color: var(--text-muted); font-size: 0.875rem; transition: color 0.2s; }
.footer-nav a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.footer-copy { color: var(--text-muted); font-size: 0.8rem; }

/* ── Legal/Content Pages ── */
.page-header { border-bottom: 1px solid var(--border); background: var(--bg-card); padding: 3rem 0; }
.page-header-inner { max-width: 56rem; margin: 0 auto; padding: 0 var(--px); }
.page-header h1 { font-family: var(--font-serif); font-size: clamp(2rem,4vw,2.8rem); font-weight: 700; color: var(--text); margin-bottom: 0.75rem; }
.page-header .page-meta { color: var(--text-muted); font-size: 0.875rem; }
.prose-wrap { max-width: 56rem; margin: 0 auto; padding: 3rem var(--px); }
.prose-wrap p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.75; }
.prose-wrap h2 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: var(--text); margin-top: 2.5rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.prose-wrap h3 { font-size: 1.1rem; font-weight: 600; color: var(--text-secondary); margin-top: 1.75rem; margin-bottom: 0.75rem; }
.prose-wrap ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose-wrap li { color: var(--text-muted); margin-bottom: 0.4rem; line-height: 1.65; }
.prose-wrap strong { color: var(--text-secondary); font-weight: 600; }

/* ── Contact Page ── */
.contact-wrap { max-width: 62rem; margin: 0 auto; padding: 3rem var(--px); }
.contact-cards { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem; }
@media (min-width: 1024px) { .contact-cards { grid-template-columns: 1fr 1fr 1fr; } }
.contact-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 3px; padding: 2rem; }
.contact-card-icon { margin-bottom: 1.25rem; }
.contact-card h2 { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; color: var(--text); margin-bottom: 1rem; }
.contact-label { color: var(--green); font-size: 0.75rem; font-weight: 600; margin-bottom: 0.25rem; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-value { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.65; margin-bottom: 0.75rem; }
.contact-hours-table { width: 100%; }
.contact-hours-table tr { border-bottom: 1px solid var(--border); }
.contact-hours-table td { padding: 0.65rem 0; font-size: 0.8rem; }
.contact-hours-table td:first-child { color: var(--text-muted); padding-right: 1rem; }
.contact-hours-table td:last-child { color: var(--text-secondary); font-weight: 500; text-align: right; }
.dept-list { display: flex; flex-direction: column; gap: 0.9rem; }
.dept-item { border-bottom: 1px solid var(--border); padding-bottom: 0.75rem; }
.dept-name { color: var(--text-secondary); font-size: 0.8rem; font-weight: 500; margin-bottom: 0.15rem; }
.dept-email { color: var(--text-muted); font-size: 0.8rem; }
.map-dir-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem; }
@media (min-width: 1024px) { .map-dir-grid { grid-template-columns: 1fr 1fr; } }
.map-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 3px; overflow: hidden; position: relative; min-height: 340px; }
.map-card img { width: 100%; height: 340px; object-fit: cover; opacity: 0.45; }
.map-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; }
.map-addr { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 600; color: var(--text); text-align: center; }
.map-city { color: var(--text-muted); font-size: 0.875rem; text-align: center; }
.directions-col h2 { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; color: var(--text); margin-bottom: 1.5rem; }
.dir-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.dir-icon { flex-shrink: 0; width: 38px; height: 38px; background: rgba(126,231,135,0.08); border: 1px solid rgba(126,231,135,0.2); border-radius: 3px; display: flex; align-items: center; justify-content: center; }
.dir-title { color: var(--text-secondary); font-weight: 600; font-size: 0.875rem; margin-bottom: 0.35rem; }
.dir-body { color: var(--text-muted); font-size: 0.875rem; line-height: 1.7; }
.emergency-box { background: rgba(126,231,135,0.06); border: 1px solid rgba(126,231,135,0.2); border-radius: 3px; padding: 1.5rem 2rem; display: flex; gap: 1rem; align-items: flex-start; }
.emergency-icon { flex-shrink: 0; margin-top: 2px; }
.emergency-title { color: var(--text-secondary); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem; }
.emergency-text { color: var(--text-muted); font-size: 0.875rem; line-height: 1.7; }
.emergency-text strong { color: var(--text-secondary); }
