/* Light Blue theme for BEC Ventures — pale blue background, white cards */
:root{
  --bg:#f5faff;        /* pale light blue background */
  --surface:#ffffff;   /* cards = pure white */
  --surface-2:#f9fbff; /* alternate light surface */
  --text:#222222;
  --muted:#555555;
  --brand:#2AA3FF;
  --brand-2:#60A5FA;
  --accent:#10b981;
  --shadow:0 2px 8px rgba(0,0,0,.08);
  --grid: rgba(0,0,0,.1);
}

*{box-sizing:border-box}
html,body{
  margin:0;
  padding:0;
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Inter,Ubuntu,'Helvetica Neue',Arial,sans-serif;
  line-height:1.55;
}

.container{max-width:1100px;margin:0 auto;padding:0 20px}

/* Header */
.site-header{
  position:sticky;top:0;
  background:rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  border-bottom:1px solid var(--grid);
  z-index:100;
  color:var(--text);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0}

.brand{display:flex;gap:12px;align-items:center}
.logo{width:42px;height:42px;display:grid;place-items:center;background:linear-gradient(135deg,var(--brand),var(--brand-2));color:#08111c;font-weight:800;border-radius:10px;box-shadow:var(--shadow)}
.brand-name{font-weight:700}
.brand-tag{font-size:12px;color:var(--muted)}

.nav a{color:var(--text);text-decoration:none;margin-left:18px}
.nav a:hover{opacity:.85}
.nav .cta{padding:8px 12px;border:1px solid var(--grid);border-radius:10px}

/* Hero */
.hero{
  background:
    radial-gradient(1200px 500px at 20% -10%, rgba(46,123,255,0.10), transparent 60%),
    radial-gradient(900px 400px at 90% 10%, rgba(16,185,129,0.08), transparent 60%);
  border-bottom:1px solid var(--grid);
  color:var(--text);
}
.hero-inner{padding:64px 0 36px}
.hero h1{font-size:40px;margin:0 0 12px}
.hero p{max-width:800px;color:var(--muted);margin:0 0 24px}
.hero .btn{
  display:inline-block;margin-right:10px;padding:10px 14px;border-radius:10px;
  text-decoration:none;color:#ffffff;background:var(--brand);box-shadow:var(--shadow)
}
.hero .btn-secondary{
  background:transparent;color:var(--brand);border:1px solid var(--brand);
}

/* Sections */
.section{padding:40px 0}
.section h2{margin:0 0 10px}
.section p{color:var(--text)}

/* Card-like alt sections */
.section.alt{
  background:var(--surface);
  border:1px solid #e1e8f0;
  border-radius:12px;
  box-shadow:var(--shadow);
  padding:32px 0;
}

/* Lists */
.list{margin:8px 0 0 0;padding-left:16px}
.list li{margin:10px 0}

/* Map frame acts like a card */
.map-frame{
  position:relative;padding-top:56.25%;
  border-radius:12px;overflow:hidden;
  border:1px solid #e1e8f0;
  box-shadow:var(--shadow);
  background:var(--surface);
}
.map-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.map-note { color: var(--muted); font-size: 0.95rem; margin-top: 8px; }

/* Links in downloads */
.downloads a{color:#0456b3}
.downloads a:hover{opacity:.9}

/* Contact spacing */
.contact p{margin:8px 0}

/* Footer */
.site-footer{
  padding:20px 0;
  color:var(--muted);
  border-top:1px solid var(--grid);
  background:#fff;
}
.foot-small{font-size:12px;color:var(--muted)}

@media (max-width:760px){
  .nav{display:none}
  .hero h1{font-size:28px}
}

.dba-note{font-size:.85rem;opacity:.75;margin-top:.5rem}

/* --- Dropdown base --- */
.nav { display:flex; align-items:center; gap:14px; position:relative; }
.nav-dropdown { position:relative; }

.nav-trigger {
  display:flex; align-items:center; gap:6px;
  padding:8px 12px; border-radius:10px;
  border:1px solid var(--grid);
  background:transparent; color:inherit; cursor:pointer;
}

.dropdown-menu {
  list-style:none; margin:8px 0 0; padding:8px;
  position:absolute; right:0; top:100%;
  min-width:220px; z-index:1000;
  background: var(--surface-2);
  border:1px solid var(--grid);
  border-radius:12px; box-shadow: 0 8px 24px rgba(0,0,0,.12);
  display:none;
  pointer-events:auto;
}

.dropdown-menu a {
  display:block; padding:10px; border-radius:8px;
  text-decoration:none; color:inherit;
}
.dropdown-menu a:hover { background: rgba(0,0,0,.04); }

/* Open the menu while focus is inside the dropdown */
.nav-dropdown:focus-within .dropdown-menu { display:block; }

/* Optional: rotate chevron when open */
.nav-dropdown:focus-within .nav-trigger .chev { transform: rotate(180deg); }

/* Small screens */
@media (max-width: 720px){
  .dropdown-menu { right:auto; left:0; width:max(220px, 60vw); }
}

/* ——— External-referrer disclaimer modal ——— */
#bec-disclaimer.backdrop {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.35);
  z-index: 2000;
  opacity: 0; visibility: hidden; transition: opacity .18s ease, visibility .18s ease;
}
#bec-disclaimer.backdrop.open { opacity: 1; visibility: visible; }

#bec-disclaimer .modal {
  width: min(680px, 92vw);
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--grid);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0,0,0,.12);
  padding: 20px 22px;
}
#bec-disclaimer h2 {
  margin: 0 0 8px 0; font-size: 1.25rem; font-weight: 700;
}
#bec-disclaimer p { margin: 0 0 16px 0; line-height: 1.5; }
#bec-disclaimer .actions { display: flex; justify-content: flex-end; gap: 10px; }
#bec-disclaimer .btn {
  padding: 10px 14px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--grid);
  background: transparent; color: inherit;
}
#bec-disclaimer .btn.primary {
  background: var(--accent, #3BA0FF); color: #0b1220; border-color: transparent;
}

button.cta {
  all: unset;
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  background: var(--accent, #3BA0FF);
  color: #fff;
  font-weight: 600;
  text-align: center;
}
button.cta:hover { filter: brightness(1.05); }

/* Utility: logo image */
.logo-img { display:block; border-radius: 8px; }

/* Full-width hero image (below header) */
.hero.hero-image{padding:0;margin:0}
.hero.hero-image .hero-wide{
  width:100%;
  height:clamp(220px, 40vw, 480px);
  object-fit:cover;
  display:block;
}