/* ==========================================================================
   HALA — style.css
   1 Tokens · 2 Base · 3 Header/Nav · 4 Buttons · 5 Layout · 6 Hero · 7 Cards
   8 Video library · 9 Forms · 10 Footer · 11 Floating UI · 12 Misc · 13 Print
   ========================================================================== */

/* ---- 1. DESIGN TOKENS (edit these to rebrand) --------------------------- */
:root {
  --c-primary: #4338ca;        /* deep indigo */
  --c-primary-dark: #312e81;
  --c-accent: #0f766e;         /* teal (AA on light) */
  --c-accent-bright: #2dd4bf;  /* bright teal for gradients / dark mode */
  --c-amber: #f59e0b;

  --bg: #ffffff; --bg-alt: #f4f6ff; --surface: #ffffff;
  --text: #0f172a; --muted: #475569; --border: #e2e8f0;
  --link: #4338ca; --accent-text: #0f766e;
  --btn-bg: #4338ca; --btn-text: #ffffff; --danger: #b91c1c;

  --grad-hero: linear-gradient(135deg, #1e1b4b 0%, #312e81 48%, #0f766e 125%);
  --grad-soft: linear-gradient(135deg, rgba(67,56,202,.09), rgba(15,118,110,.09));

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Sora', 'Inter', system-ui, sans-serif;

  --radius: 16px; --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(15, 23, 42, .08); --shadow-lg: 0 16px 44px rgba(15, 23, 42, .16);
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 5rem;
  --container: 1140px; --header-h: 68px; --ease: cubic-bezier(.2, .7, .2, 1);
}
[data-theme="dark"] {
  --bg: #0a0f1f; --bg-alt: #0f1730; --surface: #141c38;
  --text: #e8ecff; --muted: #a9b4d8; --border: #27315c;
  --link: #a5b4fc; --accent-text: #5eead4; --danger: #f87171;
  --grad-soft: linear-gradient(135deg, rgba(99,102,241,.16), rgba(45,212,191,.10));
  --shadow: 0 6px 24px rgba(0, 0, 0, .35); --shadow-lg: 0 16px 44px rgba(0, 0, 0, .5);
}

/* ---- 2. BASE ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1rem/1.65 var(--font-body); color: var(--text); background: var(--bg); transition: background .25s, color .25s; }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 var(--s3); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); } h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); } h3 { font-size: 1.15rem; }
p { margin: 0 0 var(--s4); } a { color: var(--link); } a:hover { text-decoration-thickness: 2px; }
ul { padding-left: 1.2rem; } small, .small { font-size: .875rem; }
:focus-visible { outline: 3px solid var(--c-accent-bright); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--c-primary-dark); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.muted { color: var(--muted); } .center { text-align: center; }
.clamp {
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.eyebrow { font: 600 .8rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: var(--s2); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.center .lead { margin-inline: auto; }

/* ---- 3. HEADER / NAV ----------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--border); }
.bar { display: flex; align-items: center; gap: var(--s4); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; font: 800 1.35rem var(--font-display); color: var(--text); text-decoration: none; }
.nav { margin-left: auto; } .nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: .5rem .85rem; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 500; }
.nav a:hover { background: var(--bg-alt); } .nav a[aria-current="page"] { background: var(--grad-soft); color: var(--link); font-weight: 600; }
.actions { display: flex; align-items: center; gap: var(--s2); }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; text-decoration: none; font-size: 1rem; }
.icon-btn:hover { background: var(--bg-alt); } .icon-btn.sm { width: 34px; height: 34px; font-size: .9rem; }
.nav-toggle { display: none; }
@media (max-width: 860px) {

  .bar {
    min-height: 60px;
    gap: .35rem;
  }

  .brand img {
    width: 70px;
    height: auto;
  }

  .actions {
    margin-left: auto;
    gap: .3rem;
  }

  .actions .icon-btn {
    width: 34px;
    height: 34px;
  }

  .actions .icon-btn svg {
    width: 17px;
    height: 17px;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .hide-sm {
    display: none;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    display: none;
    padding: .5rem 1rem .75rem;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: block;
  }

  .nav ul {
    flex-direction: column;
  }

  .nav a {
    padding: .7rem .8rem;
  }

}

/* ---- 4. BUTTONS ---------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid transparent; font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--btn-bg); color: var(--btn-text); }
.btn-accent { background: var(--c-accent-bright); color: #06302b; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-light { background: #fff; color: var(--c-primary-dark); }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-danger { background: transparent; border-color: var(--danger); color: var(--danger); }
.btn-sm { padding: .45rem .9rem; font-size: .875rem; } .btn-block { width: 100%; }

/* ---- 5. LAYOUT ----------------------------------------------------------- */
.section { padding: var(--s8) 0; } .section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto var(--s6); text-align: center; }
.grid { display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.split { display: grid; gap: var(--s6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: start; }
.updated { font-size: .85rem; color: var(--muted); }
.breadcrumb { font-size: .875rem; margin-bottom: var(--s3); } .breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .6; } .breadcrumb a { color: inherit; }

/* ---- 6. HERO ------------------------------------------------------------- */
.hero { background: var(--grad-hero); color: #fff; padding: var(--s8) 0 calc(var(--s8) + 1rem); position: relative; overflow: hidden; }
.hero .lead { color: #dbe2ff; } .hero .eyebrow { color: var(--c-accent-bright); }
.hero-grid { display: grid; gap: var(--s6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.hero-art { justify-self: center; width: min(100%, 420px); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.page-hero { background: var(--grad-hero); color: #fff; padding: var(--s7) 0; } .page-hero .lead { color: #dbe2ff; } .page-hero .breadcrumb a { color: #c7d2fe; }
.stats { margin-top: calc(-1 * var(--s7)); position: relative; z-index: 2; }
.stats .grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); text-align: center; padding: var(--s5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.stat b, .stats-grid b { display: block; font: 800 2rem var(--font-display); color: var(--link); } .stat span { color: var(--muted); font-size: .9rem; }

/* ---- 7. CARDS / CHIPS / BADGES ------------------------------------------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s5); box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); color: var(--link); margin-bottom: var(--s3); }
.card .icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.step-tag { display: inline-block; font: 700 .75rem var(--font-body); padding: .2rem .6rem; border-radius: 999px; background: var(--c-accent-bright); color: #06302b; margin-bottom: var(--s2); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip { padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: 500 .9rem var(--font-body); cursor: pointer; text-decoration: none; }
.chip:hover { border-color: var(--link); } .chip[aria-pressed="true"] { background: var(--btn-bg); border-color: var(--btn-bg); color: #fff; }
.badge { display: inline-block; font: 600 .75rem var(--font-body); padding: .2rem .65rem; border-radius: 999px; background: var(--grad-soft); color: var(--link); text-decoration: none; margin: 0 .25rem .5rem 0; }
.badge-dark { background: #1e1b4b; color: #fff; } .badge-warn { background: #fef3c7; color: #78350f; }
.quote { font-style: italic; } .quote footer { font-style: normal; font-weight: 600; margin-top: var(--s3); }
.avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--grad-hero); color: #fff; display: grid; place-items: center; font: 700 1.4rem var(--font-display); margin-bottom: var(--s3); }
.timeline { list-style: none; padding: 0; border-left: 3px solid var(--c-accent-bright); margin-left: .5rem; } .timeline li { padding: 0 0 var(--s5) var(--s5); position: relative; }
.timeline li::before { content: ""; position: absolute; left: -10px; top: .3rem; width: 17px; height: 17px; border-radius: 50%; background: var(--c-primary); border: 3px solid var(--bg); }
.cta-band { background: var(--grad-hero); color: #fff; border-radius: calc(var(--radius) * 1.5); padding: var(--s7) var(--s5); text-align: center; }
.cta-band .lead { color: #dbe2ff; margin-inline: auto; } .cta-band .hero-cta { justify-content: center; }
.faq-item { padding: var(--s5); } .faq-item h3 { font-size: 1.1rem; }

/* ---- 8. VIDEO LIBRARY ---------------------------------------------------- */
.video-grid { display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.video-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.video-thumb { position: relative; display: block; aspect-ratio: 4 / 3; background: #0f172a; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); } .video-card:hover .video-thumb img { transform: scale(1.05); }
.video-thumb .play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(15, 23, 42, .72); color: #fff; }
.video-thumb .badge { position: absolute; top: 8px; left: 8px; margin: 0; }
.video-body { padding: var(--s4) var(--s5) var(--s4); display: flex; flex-direction: column; flex: 1; } .video-body h3 { font-size: 1.05rem; } .video-body h3 a { color: var(--text); text-decoration: none; }
.video-body h3 a:hover { color: var(--link); }
.video-meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--muted); } .share { display: flex; gap: .35rem; }
.toolbar { display: grid; gap: var(--s3); grid-template-columns: 1fr auto; align-items: end; margin-bottom: var(--s4); } @media (max-width: 560px) { .toolbar { grid-template-columns: 1fr; } }
.skeleton { background: linear-gradient(90deg, var(--border) 25%, var(--bg-alt) 50%, var(--border) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.skeleton-card { padding: var(--s4); } .sk-img { aspect-ratio: 4/3; margin-bottom: var(--s3); } .sk-line { height: 14px; margin-bottom: var(--s2); } .sk-line.short { width: 55%; }
.notice { padding: var(--s5); border: 1px dashed var(--border); border-radius: var(--radius); background: var(--bg-alt); color: var(--muted); text-align: center; grid-column: 1 / -1; }
.state h3 { color: var(--text); }

/* ---- 9. FORMS ------------------------------------------------------------ */
.field { display: block; margin-bottom: var(--s4); } .field > span { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
input, select, textarea { width: 100%; padding: .7rem .9rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font: inherit; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--c-accent-bright); outline-offset: 1px; border-color: var(--c-accent); }
input[type="checkbox"] { width: auto; } .check { display: flex; align-items: center; gap: .5rem; margin-bottom: var(--s3); }
.hp { position: absolute; left: -9999px; }
.form-error { color: var(--danger); min-height: 1.4em; font-size: .9rem; }

/* ---- 10. FOOTER ---------------------------------------------------------- */
.site-footer { background: #0b1020; color: #cbd5f5; padding: var(--s7) 0 0; } .site-footer a { color: #cbd5f5; } .site-footer h2 { font-size: 1rem; color: #fff; }
.footer-grid { display: grid; gap: var(--s6); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } .footer-grid ul { list-style: none; padding: 0; margin: 0; } .footer-grid li { margin-bottom: .4rem; }
.footer-bottom { border-top: 1px solid #26305a; margin-top: var(--s6); padding: var(--s4) 0 calc(5rem + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: space-between; font-size: .875rem; }
address { font-style: normal; }

/* ---- 11. FLOATING UI ----------------------------------------------------- */
.wa-btn { position: fixed; z-index: 90; right: calc(1rem + env(safe-area-inset-right)); bottom: calc(1rem + env(safe-area-inset-bottom)); width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37, 211, 102, .45); animation: pulse 2.6s infinite; }
.wa-btn svg { width: 32px; height: 32px; fill: currentColor; }
.wa-tip { position: absolute; right: 70px; white-space: nowrap; background: #0f172a; color: #fff; font-size: .8rem; padding: .35rem .7rem; border-radius: 8px; opacity: 0; pointer-events: none; transform: translateX(6px); transition: .2s; }
.wa-btn:hover .wa-tip, .wa-btn:focus-visible .wa-tip { opacity: 1; transform: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.to-top { position: fixed; z-index: 89; right: calc(1.1rem + env(safe-area-inset-right)); bottom: calc(5.4rem + env(safe-area-inset-bottom)); opacity: 0; pointer-events: none; transform: translateY(8px); transition: .25s; box-shadow: var(--shadow); }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.toast-wrap { position: fixed; z-index: 300; left: 50%; transform: translateX(-50%); bottom: calc(1rem + env(safe-area-inset-bottom)); display: grid; gap: .5rem; width: min(92vw, 420px); }
.toast { background: #0f172a; color: #fff; padding: .75rem 1rem; border-radius: 10px; box-shadow: var(--shadow-lg); border-left: 4px solid var(--c-accent-bright); } .toast-error { border-left-color: #f87171; }
.dlg { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); padding: var(--s5); width: min(92vw, 460px); } .dlg::backdrop { background: rgba(2, 6, 23, .6); }
.dlg-actions { display: flex; justify-content: flex-end; gap: var(--s2); margin-top: var(--s4); }

/* ---- 12. MISC / MOTION --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); } .reveal.in { opacity: 1; transform: none; }
.map-frame { width: 100%; height: 320px; border: 0; border-radius: var(--radius); background: var(--bg-alt); }
.legal h2 { margin-top: var(--s6); font-size: 1.3rem; } .legal { max-width: 780px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
noscript .notice { display: block; }

/* ---- 13. PRINT ----------------------------------------------------------- */
@media print {
  .site-header, .wa-btn, .to-top, .hero-art, .toolbar, .cta-band, .toast-wrap, .site-footer .footer-grid { display: none !important; }
  body { background: #fff; color: #000; } .hero, .page-hero { background: none; color: #000; padding: 1rem 0; } .hero .lead, .page-hero .lead { color: #333; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; } .reveal { opacity: 1; transform: none; } .card { box-shadow: none; break-inside: avoid; }
}/* ========================================================================== */
/* TEAM SECTION                                                               */
/* ========================================================================== */

.team-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.team-card {
  width: 360px;
  max-width: 100%;
  text-align: center;
}

.team-card .avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--s4);
  border-radius: 50%;
  overflow: hidden;
  background: var(--grad-hero);
  display: grid;
  place-items: center;
}

.team-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}