/* Bright theme + small utilities */
:root{
  --bg:#f7fafc; --surface:#ffffff; --text:#0f172a; --muted:#475569; --line:#e2e8f0;
  --brand:#0ea5a5; --brand-2:#6d28d9; --accent:#0891b2; --radius:16px; --shadow:0 8px 28px rgba(2,6,23,.08);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,Inter,Helvetica,Arial,sans-serif;line-height:1.55}
a{color:var(--accent);text-decoration:none} a:hover{text-decoration:underline}
img{max-width:100%;height:auto;display:block;border-radius:12px}
.container{max-width:1200px;margin:0 auto;padding:24px}
.header{position:sticky;top:0;z-index:50;background:#ffffffcc;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:flex;align-items:center;gap:12px;font-weight:800;letter-spacing:.2px}
.brand .logo{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:linear-gradient(135deg,var(--brand),var(--brand-2));box-shadow:var(--shadow);color:#fff;font-weight:900}
.menu{display:flex;gap:18px;flex-wrap:wrap}
.menu a{padding:8px 12px;border-radius:999px;color:var(--text)}
.menu a.active,.menu a:hover{background:#edf2f7}
.cta{display:inline-flex;align-items:center;gap:10px;background:linear-gradient(135deg,var(--brand),var(--brand-2));color:white;border:none;padding:12px 18px;border-radius:999px;box-shadow:var(--shadow);font-weight:700}
.hero{padding:32px 0 18px}
.hero-inner{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;align-items:center}
.badge{display:inline-block;background:#e6f6f6;border:1px solid #c8f1f1;color:#065f5b;padding:6px 10px;border-radius:999px;font-size:.9rem;margin-bottom:8px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow)}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.section{padding:12px 0}
.section h2{font-size:1.6rem;margin:4px 0 8px}
.kpis{display:flex;gap:12px;flex-wrap:wrap}
.kpi{flex:1;min-width:160px;background:#f1f5f9;border:1px solid var(--line);border-radius:12px;padding:12px;text-align:center}
.table{width:100%;border-collapse:separate;border-spacing:0 10px}
.table th{text-align:left;color:#334155;font-weight:700}
.table td,.table th{padding:10px;border-bottom:1px solid var(--line)}
.footer{margin-top:28px;border-top:1px solid var(--line);color:var(--muted);background:#ffffffc7}
.footer .cols{display:grid;grid-template-columns:2fr 1fr 1fr;gap:18px}
#menu-btn{display:none}
@media (max-width:900px){
  #menu-btn{display:inline-flex}
  .menu{display:none;flex-direction:column;gap:12px;width:100%}
  .menu.open{display:flex}
  .hero-inner{grid-template-columns:1fr}
  .grid-3,.grid-2{grid-template-columns:1fr}
}
/* Utils */
.flex{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.small{font-size:.9rem;color:var(--muted)}
input,select{background:#fff;border:1px solid var(--line);border-radius:10px;color:var(--text);padding:10px}

/* Hero: stacked layout (text on top, big image below) */
.hero-stack { padding: 28px 0 0; }
.hero-stack .hero-content { max-width: 900px; margin: 0 auto; }
.hero-stack .badge { margin-bottom: 10px; }
.hero-stack .kpis { margin-top: 14px; }

/* The big image below the text */
.hero-media { margin-top: 14px; }
.hero-img {
  width: 100%;
  display: block;
  height: auto;
  border-radius: 16px;
  /* If you want a consistent banner height, uncomment below: */
  /* aspect-ratio: 16/9; object-fit: cover; */
}

/* Edge-to-edge hero with overlayed text & buttons */
.hero-edge { padding: 0; }

.hero-bleed {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}

.hero-img--edge {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0;
}

/* Readability overlay */
.hero-bleed::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.35),
    rgba(0,0,0,.25) 40%,
    rgba(0,0,0,.35)
  );
  pointer-events: none;
}

.hero-overlay {
  position: absolute; inset: 0;
  display: grid; place-items: center; padding: 24px;
}
.hero-copy { max-width: 960px; text-align: center; color: #fff; }
.hero-copy .badge { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); color: #fff; }
.hero-copy .small { color: #e8eef6; }
.hero-actions { margin-top: 12px; display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

@media (max-width: 700px) {
  .hero-img--edge { aspect-ratio: 16 / 10; }/* Ensure header stays above hero overlay */
.header { position: sticky; top: 0; z-index: 1000; }

/* Desktop: show menu, hide button */
#menu-btn { display: none; }

/* Mobile behavior */
@media (max-width: 900px) {
  /* Show the toggle button */
  #menu-btn { display: inline-flex; }

  /* Hide menu by default; reveal when .open is added by JS */
  .menu {
    display: none;
    position: absolute;
    top: 100%;              /* drop below the header */
    left: 0; right: 0;
    background: #fff;       /* bright theme background */
    border-bottom: 1px solid var(--line);
    padding: 12px 24px;
    gap: 12px;
    flex-direction: column;
    box-shadow: 0 10px 24px rgba(2,6,23,.08);
    z-index: 1001;          /* above hero image overlay */
  }
  .menu.open { display: flex; }

  /* Make the header a positioning context for the absolute menu */
  .nav { position: relative; }
}

/* If you’re using the edge-to-edge hero with overlay, keep it behind header */
.hero-bleed { z-index: 1; }

}

/* Accessible screen-reader text */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 1px, 1px); white-space: nowrap; border: 0;
}

/* Keep header above hero overlay */
.header { position: sticky; top: 0; z-index: 1000; }

/* Desktop: show menu, hide hamburger */
.hamburger-btn { display: none; }

@media (max-width: 900px) {
  /* Show hamburger on mobile */
  .hamburger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
    cursor: pointer;
  }

  /* The three bars */
  .hamburger,
  .hamburger::before,
  .hamburger::after {
    display: block;
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    position: relative;
    transition: transform .25s ease, opacity .2s ease, top .25s ease, bottom .25s ease;
    content: "";
  }
  .hamburger {
    background: var(--text);
  }
  .hamburger::before { position: absolute; top: -7px; }
  .hamburger::after  { position: absolute; bottom: -7px; }

  /* When open: morph into an X */
  #menu-btn[aria-expanded="true"] .hamburger {
    transform: rotate(45deg);
  }
  #menu-btn[aria-expanded="true"] .hamburger::before {
    top: 0; transform: rotate(90deg);
  }
  #menu-btn[aria-expanded="true"] .hamburger::after {
    bottom: 0; opacity: 0;
  }

  /* Mobile menu panel (drops under header) */
  .nav { position: relative; }
  .menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 24px;
    gap: 12px;
    flex-direction: column;
    box-shadow: 0 10px 24px rgba(2,6,23,.08);
    z-index: 1001;
  }
  .menu.open { display: flex; }
}
