/* Visayas Energy Summit — shared styles (event.html, booth.html) */
:root {
  --ink: #0B2A33; --ink-2: #3A5560; --ink-3: #6A8189;
  --teal: #0E93A6; --teal-d: #0A6F80; --green: #3FB76E; --lime: #7ED957;
  --orange: #F47A12; --orange-d: #D9600A; --amber: #F9A21B;
  --deep: #06303A; --deep-2: #083A45;
  --paper: #FFFFFF; --mist: #F2F8F6; --line: rgba(11,42,51,0.1);
  --grad-brand: linear-gradient(100deg,#0B8DB3 0%,#1FA79A 45%,#5CC860 78%,#86DB55 100%);
  --grad-cta: linear-gradient(135deg,#F9A21B,#F26A0F);
  --hd: 'Hanken Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--paper); overflow-x: hidden; }
* { box-sizing: border-box; }
a { color: var(--orange-d); text-decoration: none; }
a:hover { color: var(--orange); }
::selection { background: var(--orange); color: #fff; }
@keyframes ves-marquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@keyframes ves-drift { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(22px,-28px,0) scale(1.06); } 100% { transform: translate3d(0,0,0) scale(1); } }
@keyframes ves-rise { from { opacity: 0; transform: translate3d(0,24px,0); } to { opacity: 1; transform: translate3d(0,0,0); } }
@keyframes ves-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; } }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.hd { font-family: var(--hd); }
.wrap { max-width: 1240px; margin: 0 auto; position: relative; }
.eyebrow { font-family: var(--hd); font-size: 11px; font-weight: 800; letter-spacing: 0.22em; color: var(--orange-d); }
.h2 { font-family: var(--hd); font-weight: 800; font-size: clamp(32px,4.4vw,56px); line-height: 1.02; letter-spacing:-0.03em; margin: 16px 0 0; color: var(--ink); text-wrap: balance; }
.grad-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 17px; line-height: 1.75; color: var(--ink-2); text-wrap: pretty; }
.blob { position: absolute; border-radius: 50%; pointer-events: none; will-change: transform; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-family: var(--hd); font-weight: 800; letter-spacing: 0.12em; border-radius: 999px; cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s, color .25s; }
.btn-cta { background: var(--grad-cta); color: #fff; border: 0; box-shadow: 0 14px 36px rgba(244,122,18,0.36); }
.btn-cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 20px 46px rgba(244,122,18,0.5); }
.btn-ghost { background: rgba(255,255,255,0.7); border: 1px solid rgba(11,42,51,0.16); color: var(--ink); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.btn-ghost:hover { color: var(--teal-d); border-color: var(--teal); background: #fff; }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.78); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); border-bottom: 1px solid var(--line); }
.nav-in { max-width: 1320px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-link { font-family: var(--hd); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; color: var(--ink-2); white-space: nowrap; }
.nav-link:hover { color: var(--teal-d); }
.mnav-link { font-family: var(--hd); font-weight: 800; font-size: 24px; color: var(--ink); padding: 12px 0; display: block; }

/* glass cards */
.glass { background: rgba(255,255,255,0.72); backdrop-filter: blur(26px) saturate(150%); -webkit-backdrop-filter: blur(26px) saturate(150%); border: 1px solid rgba(255,255,255,0.9); border-radius: 24px; box-shadow: 0 24px 60px rgba(11,42,51,0.12), inset 0 1px 0 #fff; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: 0 1px 0 rgba(11,42,51,0.03); transition: transform .35s cubic-bezier(.2,.8,.3,1), box-shadow .35s, border-color .35s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 54px rgba(14,147,166,0.16); border-color: rgba(14,147,166,0.4); }

/* dark (deep teal) bands */
.dark { background: var(--deep); color: #fff; }
.dark .h2 { color: #fff; }
.dark .eyebrow { color: var(--amber); }
.dglass { background: rgba(255,255,255,0.07); backdrop-filter: blur(30px) saturate(150%); -webkit-backdrop-filter: blur(30px) saturate(150%); border: 1px solid rgba(255,255,255,0.16); border-radius: 26px; box-shadow: 0 34px 90px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.2); }

/* form */
.f-sec { font-family: var(--hd); font-weight: 800; font-size: 13px; letter-spacing: 0.16em; color: var(--amber); margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.f-lbl { display: flex; flex-direction: column; gap: 7px; }
.f-cap { font-family: var(--hd); font-size: 10.5px; font-weight: 800; letter-spacing: 0.16em; color: rgba(255,255,255,0.66); line-height: 1.5; }
.f-in { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); color: #fff; font-family: 'Poppins', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; font-size: 15px; padding: 13px 14px; border-radius: 12px; width: 100%; }
.f-in::placeholder { color: rgba(255,255,255,0.4); }
.f-in option { background: #0B3640; color: #fff; }
.f-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 16px; margin-top: 16px; }

/* light-surface form fields (booth "Ask PERPI") */
.l-cap { font-family: var(--hd); font-size: 10.5px; font-weight: 800; letter-spacing: 0.16em; color: var(--ink-3); }
.l-in { background: #fff; border: 1px solid rgba(11,42,51,0.18); color: var(--ink); font-family: 'Poppins', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; font-size: 15px; padding: 13px 14px; border-radius: 12px; width: 100%; }
.l-in::placeholder { color: #9AAEB4; }

.chip { font-family: var(--hd); font-size: 12px; font-weight: 700; color: var(--teal-d); background: rgba(14,147,166,0.08); border: 1px solid rgba(14,147,166,0.26); border-radius: 999px; padding: 7px 14px; }
.dot { width: 8px; height: 8px; border-radius: 2px; background: var(--grad-cta); margin-top: 9px; flex: none; }
.modal-bg { position: fixed; inset: 0; z-index: 200; background: rgba(4,26,32,0.62); backdrop-filter: blur(8px) saturate(140%); -webkit-backdrop-filter: blur(8px) saturate(140%); display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal { width: 100%; background: #fff; color: var(--ink); border-radius: 26px; padding: 36px 32px; box-shadow: 0 40px 100px rgba(0,0,0,0.35); position: relative; max-height: 86vh; overflow-y: auto; }
.x-btn { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--mist); border: 1px solid var(--line); color: var(--ink); font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.x-btn:hover { border-color: var(--orange); color: var(--orange-d); }

/* news carousel (dark band) */
.news-viewport { position: relative; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.news-track { display: flex; gap: 20px; overflow-x: auto; padding: 8px max(24px, calc((100vw - 1240px) / 2)) 14px; scrollbar-width: none; overscroll-behavior-x: contain; }
.news-track::-webkit-scrollbar { display: none; }
.news-card { flex: none; width: 340px; min-height: 300px; display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 22px; text-decoration: none; color: #fff; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.14); transition: transform .3s cubic-bezier(.2,.8,.3,1), background .3s, border-color .3s, box-shadow .3s; }
.news-card:hover, .news-card:focus-visible { color: #fff; transform: translateY(-6px); background: rgba(255,255,255,0.1); border-color: rgba(249,162,27,0.55); box-shadow: 0 24px 54px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.2); }
.news-more { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; color: var(--amber); margin-top: 4px; }
.news-card:hover .news-more { color: #FFC76B; }
.car-btn { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.22); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: border-color .2s, color .2s, background .2s; }
.car-btn:hover { border-color: var(--amber); color: var(--amber); background: rgba(255,255,255,0.12); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #FF5A4E; box-shadow: 0 0 0 0 rgba(255,90,78,0.6); animation: ves-pulse 1.8s ease-out infinite; }
@keyframes ves-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,90,78,0.6); } 100% { box-shadow: 0 0 0 10px rgba(255,90,78,0); } }
@media (max-width: 640px) { .news-card { width: 82vw; min-height: 0; } }
.logo-tile { background: #fff; border: 1px solid var(--line); border-radius: 18px; height: 108px; display: flex; align-items: center; justify-content: center; padding: 14px 22px; }
.logo-tile img { max-height: 100%; max-width: 100%; width: auto; display: block; }

@media (max-width: 640px) {
  .card { padding: 22px; }
  .pad-form { padding: 26px 20px !important; }
  .sched-row { grid-template-columns: 1fr !important; gap: 10px !important; }
}
