/* ==========================================================================
   VenueBook NM-AIST — public site (landing, venues catalogue for guests)
   Colours: NM-AIST Kilimanjaro navy + institutional maroon (from the logo)
   ========================================================================== */

.container { max-width: 1220px; margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------------- top strip */
.topstrip { background: var(--maroon-800); color: #f3d9df; font-size: .78rem; font-weight: 600; }
.topstrip .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 36px; }
.topstrip span { display: inline-flex; align-items: center; gap: 6px; }
.topstrip .right { display: flex; gap: 20px; }
.topstrip a { color: #fff; }

/* ---------------------------------------------------------------- nav */
.site-nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg-elev) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.site-nav .inner { max-width: 1220px; margin: 0 auto; padding: 0 24px; height: 76px; display: flex; align-items: center; gap: 30px; }
.site-brand { display: flex; align-items: center; gap: 12px; color: var(--text) !important; }
.site-brand:hover { text-decoration: none; }
.site-brand .logo-disc { width: 54px; height: 54px; box-shadow: 0 0 0 1px var(--border), 0 4px 12px rgba(6,26,56,.12); }
.site-brand b { display: block; font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--brand-800); }
[data-theme="dark"] .site-brand b { color: #fff; }
.site-brand small { display: block; font-size: .7rem; color: var(--maroon-600); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
[data-theme="dark"] .site-brand small { color: #e48aa0; }
.site-links { display: flex; gap: 4px; }
.site-links a { color: var(--text-2); font-weight: 650; font-size: .9rem; padding: 8px 12px; border-radius: 9px; }
.site-links a:hover { color: var(--brand-700); background: var(--brand-50); text-decoration: none; }
[data-theme="dark"] .site-links a:hover { color: #fff; }
.site-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* ---------------------------------------------------------------- hero */
.lp-hero {
  position: relative; overflow: hidden; color: #fff; padding: 78px 0 230px;
  background:
    radial-gradient(55% 70% at 88% 18%, rgba(155, 27, 58, .55) 0%, transparent 60%),
    radial-gradient(50% 60% at 8% 10%, rgba(29, 95, 179, .55) 0%, transparent 60%),
    linear-gradient(180deg, #0a2a57 0%, #061a38 100%);
}
.lp-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000 0%, transparent 75%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%); }
.lp-hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: .82rem; font-weight: 650; color: #d7e3f5; }
.eyebrow-pill span { background: var(--maroon-600); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; }
.lp-hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.75rem); line-height: 1.04; letter-spacing: -.035em; margin: 22px 0 18px; color: #fff; font-weight: 800; }
.lp-hero h1 .hl { position: relative; white-space: nowrap; background: linear-gradient(transparent 64%, rgba(200, 52, 84, .75) 64%, rgba(200, 52, 84, .75) 92%, transparent 92%); }
.lp-hero .lead { font-size: 1.14rem; color: #c6d4ea; max-width: 560px; line-height: 1.65; }
.lp-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btn-white-ghost { background: rgba(255,255,255,.06); color: #fff !important; border-color: rgba(255,255,255,.28); }
.btn-white-ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; color: #b9c9e2; font-size: .86rem; font-weight: 600; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust .icon { color: #7fd1a0; }

/* hero showcase */
.showcase { position: relative; height: 440px; }
.showcase .orbit { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; border: 1px dashed rgba(255,255,255,.22); }
.showcase .orbit.o1 { width: 300px; height: 300px; }
.showcase .orbit.o2 { width: 420px; height: 420px; border-style: solid; border-color: rgba(255,255,255,.07); }
.showcase .logo-disc.big { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 196px; height: 196px; box-shadow: 0 0 0 10px rgba(255,255,255,.08), 0 0 0 22px rgba(255,255,255,.04), 0 30px 60px rgba(0,0,0,.35); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 11px; padding: 12px 15px; border-radius: 16px; min-width: 230px;
  background: rgba(255,255,255,.96); color: var(--text); box-shadow: 0 18px 40px rgba(0,0,0,.28); animation: bob 6s ease-in-out infinite;
}
[data-theme="dark"] .float-card { background: rgba(15,26,46,.95); border: 1px solid var(--border); }
.float-card .fc-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.float-card b { display: block; font-size: .84rem; line-height: 1.25; }
.float-card small { color: var(--text-3); font-size: .74rem; }
.float-card.c1 { left: -10px; top: 8px; }
.float-card.c2 { right: -24px; bottom: 64px; animation-delay: -2s; }
.float-card.c3 { left: -4px; bottom: -6px; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Kilimanjaro skyline */
.skyline { position: absolute; left: 0; right: 0; bottom: -1px; height: 220px; z-index: 1; pointer-events: none; }
.skyline svg { width: 100%; height: 100%; display: block; }

/* ---------------------------------------------------------------- search dock */
.search-dock { position: relative; z-index: 5; margin-top: -120px; }
.search-dock form {
  display: grid; grid-template-columns: 1.2fr 1fr 1.2fr auto; gap: 0; align-items: stretch;
  background: var(--bg-elev); border-radius: 22px; box-shadow: 0 24px 60px rgba(6,26,56,.18); border: 1px solid var(--border); padding: 10px;
}
.sd-field { padding: 10px 18px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sd-field:nth-child(3) { border-right: 0; }
.sd-field label { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--maroon-700); display: flex; align-items: center; gap: 6px; }
[data-theme="dark"] .sd-field label { color: #e48aa0; }
.sd-field .input, .sd-field .select { border: 0; height: 34px; padding-left: 0; background-color: transparent; font-weight: 600; box-shadow: none !important; }
.search-dock .btn { height: auto; min-height: 58px; border-radius: 16px; padding: 0 28px; font-size: 1rem; }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.stat-tile { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; background: var(--bg-elev); border: 1px solid var(--border); }
.stat-tile .st-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.stat-tile b { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; color: var(--brand-800); }
[data-theme="dark"] .stat-tile b { color: #fff; }
.stat-tile span { font-size: .82rem; color: var(--text-2); font-weight: 600; }
.ic-navy { background: var(--brand-50); color: var(--brand-600); }
.ic-maroon { background: var(--maroon-50); color: var(--maroon-700); }
[data-theme="dark"] .ic-maroon { color: #e48aa0; }
.ic-teal { background: #e3f3f6; color: #1f7085; }
[data-theme="dark"] .ic-teal { background: #0f2a31; color: #6cc3d6; }
.ic-green { background: var(--green-bg); color: var(--green); }

/* ---------------------------------------------------------------- sections */
.lp-section { padding: 96px 0; }
.lp-section.tint { background: var(--bg-elev); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-section.rose { background: linear-gradient(180deg, var(--maroon-50), var(--bg)); border-top: 1px solid var(--border); }
.lp-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.lp-head.left { margin-left: 0; text-align: left; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--maroon-700); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
[data-theme="dark"] .kicker { color: #e48aa0; }
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: currentColor; }
.lp-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.55rem); margin: 12px 0; letter-spacing: -.03em; color: var(--brand-800); }
[data-theme="dark"] .lp-head h2, [data-theme="dark"] .split h2 { color: #fff; }
.lp-head p { color: var(--text-2); font-size: 1.06rem; line-height: 1.65; }

/* categories */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card { position: relative; overflow: hidden; border-radius: 22px; padding: 24px; min-height: 230px; color: #fff !important; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .2s, box-shadow .2s; }
.cat-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(6,26,56,.25); text-decoration: none; }
.cat-card .cat-ic { position: absolute; right: -14px; top: -14px; opacity: .16; }
.cat-card .cat-badge { position: absolute; left: 22px; top: 22px; background: rgba(0,0,0,.24); border: 1px solid rgba(255,255,255,.2); padding: 5px 11px; border-radius: 999px; font-size: .74rem; font-weight: 750; }
.cat-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 4px; }
.cat-card p { margin: 0; color: rgba(255,255,255,.82); font-size: .86rem; }
.cat-card .go { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .84rem; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.steps::before { content: ""; position: absolute; top: 31px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--border-2) 0 8px, transparent 8px 14px); }
.step-card { position: relative; text-align: center; padding: 0 6px; }
.step-num { width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; position: relative; background: var(--bg-elev); border: 2px solid var(--brand-100); color: var(--brand-600); box-shadow: 0 6px 18px rgba(6,26,56,.08); }
.step-num i { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--maroon-700); color: #fff; font-size: .72rem; font-weight: 800; font-style: normal; display: grid; place-items: center; border: 2px solid var(--bg); }
.step-card h3 { font-size: 1rem; color: var(--text); }
.step-card p { color: var(--text-2); font-size: .87rem; margin: 0; }

/* split / teaching first */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.03em; color: var(--brand-800); margin: 12px 0 14px; }
.split .lead2 { color: var(--text-2); font-size: 1.05rem; line-height: 1.7; }
.opt-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.opt { padding: 18px; border-radius: 16px; background: var(--bg-elev); border: 1px solid var(--border); }
.opt .o-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 12px; }
.opt b { display: block; margin-bottom: 3px; }
.opt p { margin: 0; color: var(--text-2); font-size: .86rem; }
.device { border-radius: 24px; background: var(--bg-elev); border: 1px solid var(--border); box-shadow: 0 30px 70px rgba(6,26,56,.16); overflow: hidden; }
.device-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--bg-sunken); border-bottom: 1px solid var(--border); }
.device-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-2); }
.device-bar span { margin-left: 10px; font-size: .76rem; color: var(--text-3); font-weight: 600; }
.device-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }

/* roles */
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.role-card { padding: 26px 22px; border-radius: 20px; background: var(--bg-elev); border: 1px solid var(--border); transition: border-color .2s, transform .2s; border-top: 4px solid var(--brand-600); }
.role-card:nth-child(2n) { border-top-color: var(--maroon-700); }
.role-card:hover { transform: translateY(-3px); }
.role-card .r-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.role-card h3 { font-size: 1.05rem; }
.role-card ul { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.role-card li { display: flex; gap: 8px; font-size: .86rem; color: var(--text-2); }
.role-card li .icon { color: var(--green); margin-top: 3px; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 16px; padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: 0 10px 30px rgba(6,26,56,.08); border-color: var(--brand-100); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 750; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--maroon-700); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { margin: 0 0 18px; color: var(--text-2); line-height: 1.7; }

/* cta */
.lp-cta-band {
  position: relative; overflow: hidden; border-radius: 30px; padding: 56px; color: #fff; display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center;
  background: radial-gradient(60% 120% at 100% 0%, rgba(155,27,58,.8), transparent 60%), linear-gradient(135deg, #0a2a57, #061a38);
}
.lp-cta-band h2 { color: #fff; font-size: 1.9rem; margin-bottom: 6px; }
.lp-cta-band p { color: #c6d4ea; margin: 0; }
.lp-cta-band .logo-disc { width: 104px; height: 104px; }

/* footer */
.lp-footer { background: #061a38; color: #a9bad5; padding: 64px 0 0; margin-top: 0; font-size: .88rem; }
.lp-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.lp-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.lp-footer a { color: #c9d6ea; }
.lp-footer a:hover { color: #fff; }
.lp-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lp-footer li { display: flex; gap: 8px; align-items: flex-start; }
.lp-footer .f-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.lp-footer .f-brand .logo-disc { width: 62px; height: 62px; }
.lp-footer .f-brand b { color: #fff; font-size: 1.1rem; display: block; }
.lp-footer .motto { font-style: italic; color: #e7b9c4; font-weight: 600; }
.lp-footer .bottom { margin-top: 48px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .8rem; }
.tricolor { height: 5px; background: linear-gradient(90deg, #1d5fb3 0 33%, #ffffff 33% 34%, #7a0c2e 34% 67%, #ffffff 67% 68%, #0a2a57 68%); }

/* guest inner pages */
.guest-main { padding-top: 34px; padding-bottom: 70px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .lp-hero .container, .split { grid-template-columns: 1fr; }
  .showcase { height: 400px; max-width: 520px; margin: 0 auto; width: 100%; }
  .cat-grid, .roles { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .steps::before { display: none; }
  .lp-footer .cols { grid-template-columns: 1fr 1fr; }
  .lp-cta-band { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 900px) {
  .site-links { display: none; }
  .topstrip .right { display: none; }
  .search-dock form { grid-template-columns: 1fr; }
  .sd-field { border-right: 0; border-bottom: 1px solid var(--border); }
  .search-dock .btn { min-height: 52px; margin-top: 8px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .lp-hero { padding: 48px 0 190px; }
  .lp-hero h1 .hl { white-space: normal; }
  .showcase { height: 330px; }
  .showcase .logo-disc.big { width: 140px; height: 140px; }
  .showcase .orbit.o1 { width: 220px; height: 220px; } .showcase .orbit.o2 { width: 310px; height: 310px; }
  .float-card { min-width: 0; max-width: 220px; padding: 9px 11px; }
  .float-card.c2 { right: 0; bottom: 56px; }
  .cat-grid, .roles, .opt-list, .steps { grid-template-columns: 1fr; }
  .lp-section { padding: 64px 0; }
  .lp-footer .cols { grid-template-columns: 1fr; }
  .lp-cta-band { padding: 34px 22px; }
  .site-brand small { display: none; }
  .site-actions .btn-ghost { display: none; }
  .topstrip { display: none; }
}
@media (max-width: 640px) {
  .site-nav .inner { gap: 10px; padding: 0 14px; height: 66px; }
  .site-brand { gap: 9px; min-width: 0; }
  .site-brand .logo-disc { width: 42px; height: 42px; flex-shrink: 0; }
  .site-brand b { font-size: .95rem; }
  .site-actions { gap: 6px; }
  .site-actions .btn { height: 38px; padding: 0 12px; font-size: .82rem; }
  .site-actions .icon-btn { width: 38px; height: 38px; }
  .container { padding: 0 16px; }
}
@media (max-width: 400px) { .site-actions [data-toggle-theme] { display: none; } }
