/*
Theme Name: CA16 Boabet Banner (ACF) — Canada
Theme URI: https://example.com/
Author: Your Team
Description: Banner-led landing with green hero + checklist + CTA, optional tiles grid, SEO block. All URLs from ACF Options. Canada locale.
Version: 1.0.0
Text Domain: ca16-boabet-ca
Requires at least: 6.0
Requires PHP: 8.0
License: GPLv2 or later
*/

:root{
  --bg0:#071316;
  --bg1:#050b10;

  --panel:#0b1820;
  --card:#0d1c24;
  --line: rgba(255,255,255,.10);

  --text:#ecf7ff;
  --muted: rgba(236,247,255,.72);

  --green:#16c07f;
  --green2:#09a56a;
  --yellow:#ffd15a;
  --cyan:#2eefff;

  --radius: 16px;
  --radius2: 22px;

  --shadow: 0 18px 55px rgba(0,0,0,.55);
  --shadow2: 0 12px 28px rgba(22,192,127,.14);

  --wrap: 1180px;

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  --display: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1100px 520px at 70% 10%, rgba(22,192,127,.16), transparent 60%),
    radial-gradient(900px 520px at 20% 20%, rgba(46,239,255,.08), transparent 56%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible{
  outline: 3px solid rgba(46,239,255,.75);
  outline-offset: 2px;
  border-radius: 12px;
}

.wrap{
  max-width: var(--wrap);
  margin:0 auto;
  padding: 0 16px;
}

.sr-only{
  position:absolute!important;
  width:1px;height:1px;
  padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;
}

.flag{ display:block; border-radius:2px; box-shadow: 0 4px 10px rgba(0,0,0,.35); }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 950;
  letter-spacing:.2px;
  border: 1px solid transparent;
  background: transparent;
  cursor:pointer;
  transition: transform .12s ease, filter .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active{ transform: translateY(1px) scale(.99); }

.btn--ghost{
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.10);
  color: rgba(236,247,255,.92);
}
.btn--ghost:hover{ background: rgba(255,255,255,.07); border-color: rgba(22,192,127,.22); }

.btn--green{
  background: linear-gradient(180deg, rgba(46,239,255,.35), rgba(22,192,127,.92));
  border-color: rgba(255,255,255,.12);
  color: #061014;
  box-shadow: var(--shadow2);
}
.btn--green:hover{ filter: brightness(1.05); }

.link{
  color: rgba(236,247,255,.92);
  text-decoration: underline;
  text-decoration-color: rgba(22,192,127,.42);
  text-underline-offset: 3px;
}
.link:hover{ text-decoration-color: rgba(22,192,127,.90); }

/* Topbar */
.topbar{
  position: sticky;
  top:0;
  z-index: 60;
  backdrop-filter: blur(10px);
  background: rgba(5,11,16,.76);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.trow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 160px;
}
.brand__logo{ height: 30px; width:auto; }
.brand__text{
  font-family: var(--display);
  font-weight: 1000;
  letter-spacing:.6px;
  text-transform: uppercase;
}

.nav{
  display:flex;
  align-items:center;
  gap: 10px;
  overflow:auto;
  scrollbar-width:none;
}
.nav::-webkit-scrollbar{ display:none; }
.nav__a{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  font-weight: 950;
  white-space: nowrap;
}
.nav__a:hover{ background: rgba(22,192,127,.10); border-color: rgba(22,192,127,.20); }

.tright{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: 10px;
  min-width: 280px;
}
.locale{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  font-weight: 950;
  color: rgba(236,247,255,.90);
  font-size: 13px;
}
@media (max-width: 980px){
  .nav{ display:none; }
  .tright{ min-width: 0; }
}

/* Hero */
.hero{
  margin-top: 14px;
  border-radius: var(--radius2);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  box-shadow: var(--shadow);
  position:relative;
}
.hero__bg{
  position:absolute; inset:0;
  background-size: cover;
  background-position:center;
  opacity:.95;
  filter: saturate(1.1) contrast(1.06);
}
.hero__overlay{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 520px at 55% 40%, rgba(22,192,127,.42), transparent 60%),
    linear-gradient(90deg, rgba(0,0,0,.60), rgba(0,0,0,.14));
}
.hero__inner{
  position:relative;
  padding: 18px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
  min-height: 260px;
  align-items:center;
}
@media (min-width: 980px){
  .hero__inner{ grid-template-columns: 1.1fr .9fr; padding: 26px; min-height: 320px; }
}

.kicker{
  display:inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.16);
  font-weight: 950;
  font-size: 12px;
  letter-spacing:.2px;
}

.h1{
  margin: 10px 0 10px;
  font-family: var(--display);
  font-weight: 1000;
  letter-spacing:.2px;
  font-size: clamp(24px, 3.4vw, 52px);
  line-height: 1.03;
}
.h1 strong{
  color: rgba(22,192,127,.98);
  text-shadow: 0 18px 50px rgba(22,192,127,.18);
}
.sub{
  margin:0 0 14px;
  color: rgba(236,247,255,.78);
  font-weight: 850;
  line-height: 1.55;
  max-width: 720px;
}
.actions{ display:flex; flex-wrap:wrap; gap: 10px; }

.check{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  padding: 14px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.check__title{
  margin:0;
  font-weight: 1000;
  letter-spacing:.2px;
  text-transform: uppercase;
  color: rgba(236,247,255,.90);
  font-size: 12px;
}
.check__list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.check__item{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 950;
}
.tick{
  width: 26px; height:26px;
  border-radius: 999px;
  background: rgba(22,192,127,.16);
  border: 1px solid rgba(22,192,127,.28);
  display:grid;
  place-items:center;
}
.tick svg{ width:16px; height:16px; fill: rgba(22,192,127,.95); }

/* Sections */
.section{ padding: 14px 0 0; }
.section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 0 10px;
}
.section-head__title{
  margin:0;
  font-family: var(--display);
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing:.25px;
  font-size: 14px;
}
.section-head__more{
  color: rgba(236,247,255,.72);
  font-weight: 900;
  font-size: 13px;
  border-bottom: 1px solid rgba(22,192,127,.25);
}
.section-head__more:hover{ color:#fff; border-bottom-color: rgba(22,192,127,.65); }

/* Tiles grid */
.tiles{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.tiles__inner{ padding: 12px; }

.grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
@media (min-width: 720px){
  .grid{ grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (min-width: 1100px){
  .grid{ grid-template-columns: repeat(6, minmax(0,1fr)); }
}
.tcard{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  overflow:hidden;
  box-shadow: 0 14px 30px rgba(0,0,0,.30);
  transition: transform .12s ease, border-color .18s ease, background .18s ease;
}
.tcard:hover{ transform: translateY(-1px); border-color: rgba(22,192,127,.18); background: rgba(255,255,255,.04); }
.tmedia{
  aspect-ratio: 4 / 3;
  background: rgba(0,0,0,.25);
}
.tmedia img{ width:100%; height:100%; object-fit: cover; }
.tbody{ padding: 10px 12px 12px; }
.ttitle{ margin:0; font-weight: 1000; font-size: 12px; line-height: 1.25; }

/* SEO + Footer */
.seo{
  margin-top: 14px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  box-shadow: var(--shadow);
  padding: 16px;
}
@media (min-width: 980px){ .seo{ padding: 22px; } }
.seo__title{
  margin:0 0 10px;
  font-family: var(--display);
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing:.25px;
}

.prose{ max-width: 980px; color: rgba(236,247,255,.86); }
.prose p{ margin: 0 0 12px; line-height: 1.7; color: rgba(236,247,255,.80); }
.prose a{ color:#fff; text-decoration: underline; text-decoration-color: rgba(22,192,127,.42); text-underline-offset: 3px; }
.prose a:hover{ text-decoration-color: rgba(22,192,127,.86); }

.site-footer{
  margin-top: 18px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  padding: 22px 0 30px;
}
.footer-note{
  color: rgba(236,247,255,.62);
  font-size: 12px;
  line-height: 1.6;
}
.footer-note__copy{ color: rgba(236,247,255,.52); font-weight: 850; margin-top: 6px; }

a {
    color: #0e9373;
}