/* ============================================================
   Edocate — site styles. Design tokens (colors, fonts, spacing)
   taken from the brand mockups (Mockup 1/2/3 in Documents\Claude\
   Edocate website\) — the established Edocate visual language this
   rebuild is based on. Fluid, mobile-first, clamp()-based — not the
   old site's pattern of duplicating whole sections per breakpoint.
   ============================================================ */
:root{
  --blue:#123487; --blue-dk:#0E285F; --sky:#86D4EC; --sky-2:#6EC1E4; --sky-soft:rgba(134,212,236,.15);
  --magenta:#CC3366; --ink:#121923; --grey:#333333; --page:#EFF2F8; --white:#FFFFFF; --line:#DFE4EE; --muted:#6C7891;
  --link:var(--blue);
  --shadow:0 8px 26px rgba(18,52,135,.10),0 2px 8px rgba(18,52,135,.06);
  --shadow-lg:0 26px 60px rgba(10,26,70,.30);
  --f-head:"itc-avant-garde-gothic-pro","Century Gothic","Futura","Twentieth Century",system-ui,sans-serif;
  --f-body:"sofia-pro","Segoe UI",-apple-system,system-ui,Roboto,"Helvetica Neue",Arial,sans-serif;
  --maxw:1180px;
  --edge:clamp(20px,4vw,30px);
  --gap:clamp(16px,2.2vw,32px);
}
/* --link: on light/adaptive surfaces (--white, --page), plain --blue reads fine in light
   mode but is near-invisible against the dark-navy --white/--page used in dark mode — so
   --link switches to a light sky blue there. --blue itself stays fixed everywhere it's used
   as a solid brand background (buttons, header, hero, footer), which never adapts by theme. */
@media (prefers-color-scheme:dark){
  :root{ --page:#0C1730; --white:#132247; --ink:#EAF0FB; --grey:#C4CFE4; --line:#243559; --muted:#8A98B8;
    --link:var(--sky-2); --shadow:0 8px 26px rgba(0,0,0,.4); --shadow-lg:0 26px 60px rgba(0,0,0,.6); }
}
:root[data-theme="dark"]{ --page:#0C1730; --white:#132247; --ink:#EAF0FB; --grey:#C4CFE4; --line:#243559; --muted:#8A98B8;
  --link:var(--sky-2); --shadow:0 8px 26px rgba(0,0,0,.4); --shadow-lg:0 26px 60px rgba(0,0,0,.6); }
:root[data-theme="light"]{ --page:#EFF2F8; --white:#FFFFFF; --ink:#121923; --grey:#333333; --line:#DFE4EE; --muted:#6C7891;
  --link:var(--blue); --shadow:0 8px 26px rgba(18,52,135,.10),0 2px 8px rgba(18,52,135,.06); --shadow-lg:0 26px 60px rgba(10,26,70,.30); }

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--page); color:var(--grey); font-family:var(--f-body);
  font-size:clamp(15.5px,1vw,17px); line-height:1.6; -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{ font-family:var(--f-head); margin:0; line-height:1.16; font-weight:700; color:var(--ink); letter-spacing:.005em; }
h1{ font-size:clamp(30px,4.6vw,50px); }
h2{ font-size:clamp(24px,3.2vw,36px); }
h3{ font-size:clamp(18px,1.7vw,22px); }
p{ margin:0 0 1em; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }

.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 var(--edge); }
.section{ padding:clamp(40px,6vw,84px) 0; }
.eyebrow{ font-family:var(--f-head); font-size:13px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--sky-2); margin-bottom:14px; }
.kicker{ font-family:var(--f-body); font-size:15px; color:var(--muted); margin-bottom:8px; }
.lead{ font-size:clamp(16px,1.3vw,19px); color:var(--grey); line-height:1.65; }
.footnote{ font-size:13.5px; color:var(--muted); margin-top:18px; }

/* ---------- buttons ---------- */
.btn{ display:inline-flex; align-items:center; gap:9px; font-family:var(--f-body); font-weight:800;
  font-size:15px; border-radius:50px; padding:13px 30px; cursor:pointer; border:2px solid transparent;
  transition:transform .12s ease,background .15s,border-color .15s; letter-spacing:.02em; }
.btn:hover{ transform:translateY(-1px); }
.btn-primary{ background:var(--blue); color:#fff; }
.btn-primary:hover{ background:var(--blue-dk); }
.btn-secondary{ background:transparent; border-color:var(--link); color:var(--link); }
.btn-secondary:hover{ background:var(--sky-soft); }
.btn-ghost{ background:transparent; border-color:var(--line); color:var(--ink); padding:10px 20px; font-size:14px; }
.btn-ghost:hover{ border-color:var(--muted); }

/* ---------- header / nav ---------- */
.site-header{ position:sticky; top:0; z-index:100; background:var(--blue); display:flex; align-items:center;
  gap:clamp(14px,2vw,28px); padding:0 var(--edge); height:72px; }
.brand{ display:flex; align-items:center; }
.brand img{ filter:brightness(0) invert(1); }
.nav-desktop{ display:flex; align-items:center; gap:clamp(10px,1.6vw,22px); margin-left:12px; }
.nav-link{ font-size:14.5px; font-weight:700; letter-spacing:.03em; text-transform:uppercase; color:#cdd8f0; padding:8px 0; }
.nav-link:hover{ color:var(--sky); }
.nav-item{ position:relative; }
.nav-item>button{ display:flex; align-items:center; gap:6px; background:none; border:0; cursor:pointer;
  font-family:var(--f-body); font-size:14.5px; font-weight:700; letter-spacing:.03em; text-transform:uppercase; color:#cdd8f0; padding:8px 0; }
.nav-item>button:hover{ color:var(--sky); }
.nav-item .chev{ font-size:11px; transition:transform .25s ease; }
.nav-item[data-open="true"] .chev{ transform:rotate(180deg); }
.nav-dropdown{ position:absolute; top:calc(100% + 14px); left:0; min-width:220px; background:var(--white);
  border-radius:10px; box-shadow:var(--shadow-lg); padding:8px; opacity:0; visibility:hidden;
  transform:translateY(-6px); transition:opacity .18s ease,transform .18s ease,visibility .18s; }
.nav-dropdown::before{ content:""; position:absolute; left:0; right:0; top:-14px; height:16px; }
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown, .nav-item[data-open="true"] .nav-dropdown{
  opacity:1; visibility:visible; transform:none; }
.nav-dropdown a{ display:block; padding:10px 14px; border-radius:6px; font-size:15px; color:var(--ink); white-space:nowrap; }
.nav-dropdown a:hover{ background:var(--page); }
.nav-book-demo{ margin-left:auto; padding:9px 22px; font-size:14px; background:#fff; color:var(--blue); }
.nav-book-demo:hover{ background:var(--sky-soft); }
.hamburger{ display:none; background:none; border:0; cursor:pointer; padding:8px; margin-left:auto; }
.hamburger span{ display:block; width:24px; height:2px; background:#fff; margin:5px 0; transition:.3s; }

@media (max-width:960px){
  .nav-desktop{ display:none; }
  .nav-book-demo{ display:none; }
  .hamburger{ display:block; }
}

/* ---------- hero ---------- */
.hero{
  background:
    radial-gradient(900px 500px at 85% 0,rgba(134,212,236,.18),transparent 60%),
    linear-gradient(100deg,rgba(14,30,80,.82) 0%,rgba(14,30,80,.55) 42%,rgba(14,30,80,.15) 68%),
    var(--hero-bg) center/cover no-repeat,
    linear-gradient(160deg,var(--blue),var(--blue-dk));
  color:#EAF1FF; padding:clamp(56px,8vw,100px) 0; }
.hero .eyebrow{ color:var(--sky); }
.hero .kicker{ color:var(--sky); }
.hero h1{ color:#fff; max-width:900px; }
.hero .lead{ color:#dbe6fc; max-width:640px; margin-top:14px; }
@media (max-width:820px){
  .hero{ background:
    linear-gradient(180deg,rgba(14,30,80,.85) 0%,rgba(14,30,80,.6) 55%,rgba(14,30,80,.35) 100%),
    var(--hero-bg-mobile) center/cover no-repeat,
    linear-gradient(160deg,var(--blue),var(--blue-dk)); }
}

/* ---------- image-backed decorative sections ---------- */
/* Rounded, image-backed section with a theme-aware light/dark overlay so foreground text
   stays legible regardless of the photo underneath — used for the benefits/cross-promo/
   booth/lets-talk backgrounds found via the hidden-Elementor-CSS background sweep. */
.section-bg{
  position:relative; margin:clamp(20px,3vw,32px) 0; border-radius:20px;
  padding:clamp(36px,5vw,64px) var(--edge);
  background:linear-gradient(rgba(255,255,255,.92),rgba(255,255,255,.92)), var(--section-bg) center/cover no-repeat;
  background:linear-gradient(color-mix(in srgb,var(--white) 92%,transparent),color-mix(in srgb,var(--white) 92%,transparent)), var(--section-bg) center/cover no-repeat;
}
.section-bg .wrap{ padding:0; }
.lead-side-img{ width:100%; border-radius:14px; box-shadow:var(--shadow); }

/* ---------- split / grid layouts ---------- */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,4vw,60px); align-items:start; }
.split-section .split{ align-items:center; }
@media (max-width:820px){ .split{ grid-template-columns:1fr; } }

.cards{ display:grid; gap:var(--gap); margin-top:24px; }
.cards-3{ grid-template-columns:repeat(3,1fr); }
.cards-4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:960px){ .cards-3,.cards-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .cards-3,.cards-4{ grid-template-columns:1fr; } }

.card{ background:var(--white); border:1px solid var(--line); border-radius:14px; padding:26px; box-shadow:var(--shadow); }
.card h3{ margin-bottom:8px; }
.card p{ margin-bottom:0; color:var(--grey); }
.card-link{ display:inline-block; margin-top:10px; font-weight:700; color:var(--link); }
.icon-card .icon{ width:40px; height:40px; margin-bottom:12px; }

.steps{ display:grid; gap:var(--gap); }
.steps-3{ grid-template-columns:repeat(3,1fr); }
@media (max-width:820px){ .steps-3{ grid-template-columns:1fr; } }
.step{ padding:22px; border-left:3px solid var(--sky-2); background:var(--white); border-radius:0 12px 12px 0; box-shadow:var(--shadow); }

.bullets li{ position:relative; padding-left:26px; margin-bottom:12px; color:var(--grey); }
.bullets li::before{ content:"✓"; position:absolute; left:0; color:var(--link); font-weight:700; }

.areas-list{ display:grid; grid-template-columns:repeat(2,1fr); gap:10px 24px; margin-top:18px; }
@media (max-width:700px){ .areas-list{ grid-template-columns:1fr; } }
.areas-list li{ padding:10px 0; border-bottom:1px solid var(--line); }

.venues-list{ display:grid; grid-template-columns:repeat(2,1fr); gap:10px 24px; margin-top:14px; }
.venues-list li{ padding:8px 0; border-bottom:1px solid var(--line); }
@media (max-width:600px){ .venues-list{ grid-template-columns:1fr; } }

.video-caption{ margin-bottom:12px; }
.video-embed{ position:relative; border-radius:14px; overflow:hidden; box-shadow:var(--shadow); background:#000; }
.video-embed iframe{ width:100%; aspect-ratio:16/9; border:0; }
.video-embed video{ width:100%; display:block; }

.recognitions .badges{ display:flex; flex-wrap:wrap; gap:28px; justify-content:center; align-items:center; margin-top:24px; }
.badge img{ width:72px; height:72px; opacity:.85; }

.icon-lg{ width:80px; height:80px; margin-bottom:16px; }
.chart-img{ width:100%; border-radius:10px; box-shadow:var(--shadow); margin:14px 0; }
.chart-caption{ font-size:13.5px; color:var(--muted); }
.exhibition-photo{ width:100%; border-radius:14px; box-shadow:var(--shadow); }

.testimonial{ margin:clamp(24px,3vw,40px) 0; padding:28px clamp(20px,3vw,40px); background:var(--white); border-radius:14px; box-shadow:var(--shadow); border-left:4px solid var(--sky-2); }
.testimonial p{ font-size:17px; font-style:italic; color:var(--ink); }
.testimonial cite{ font-style:normal; font-weight:700; color:var(--link); }

.logo-strip{ display:flex; flex-wrap:wrap; gap:24px; align-items:center; margin-top:18px; }
.logo-strip img{ height:44px; width:auto; max-width:130px; object-fit:contain; opacity:.85; }

.people-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:var(--gap); margin-top:24px; }
.people-grid-bio{ grid-template-columns:repeat(2,1fr); }
@media (max-width:820px){ .people-grid,.people-grid-bio{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .people-grid,.people-grid-bio{ grid-template-columns:1fr; } }
.person img{ border-radius:50%; width:120px; height:120px; object-fit:cover; margin-bottom:12px; }
.person .role{ color:var(--muted); font-size:14px; }
.person .bio{ color:var(--grey); font-size:14.5px; }

.cta-band{ background:linear-gradient(160deg,var(--blue),var(--blue-dk)); color:#fff; border-radius:20px; margin:0 var(--edge); text-align:center; }
.cta-band .wrap{ padding:clamp(40px,6vw,70px) var(--edge); max-width:700px; }
.cta-band h2{ color:#fff; }
.cta-band p{ color:#C3D0EC; margin:12px 0 22px; }
.cta-band-secondary{ text-align:center; padding-bottom:0; }

.page-head{ padding:clamp(40px,6vw,70px) 0 clamp(16px,2vw,24px); }
.page-head .lead{ margin-top:14px; max-width:70ch; }

/* ---------- forms ---------- */
.lead-form{ display:grid; gap:16px; max-width:520px; }
.field label{ display:block; font-weight:700; font-size:14px; margin-bottom:6px; color:var(--ink); }
.field input, .field textarea{ width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:8px;
  background:var(--white); color:var(--ink); font:inherit; font-size:15px; }
.field input:focus, .field textarea:focus{ outline:none; border-color:var(--link); box-shadow:0 0 0 3px var(--sky-soft); }
.field textarea{ resize:vertical; min-height:100px; }
.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form-status{ font-size:14px; min-height:1.4em; }
.form-status[data-state="success"]{ color:#1a7f4f; }
.form-status[data-state="error"]{ color:var(--magenta); }
.contact-info p{ margin-bottom:14px; }

/* ---------- footer ---------- */
.site-footer{ background:var(--blue-dk); color:#cdd8f0; margin-top:60px; }
.footer-top{ display:flex; flex-wrap:wrap; gap:clamp(24px,4vw,60px); padding:clamp(40px,6vw,64px) var(--edge) 30px; }
.footer-brand img{ filter:brightness(0) invert(1); margin-bottom:10px; }
.footer-col h3{ color:#fff; font-size:15px; margin-bottom:12px; }
.footer-col nav{ display:flex; flex-direction:column; gap:8px; }
.footer-col a{ color:#a9b8dd; font-size:14.5px; }
.footer-col a:hover{ color:var(--sky); }
.footer-bottom, .footer-legal{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; padding:16px var(--edge); border-top:1px solid rgba(255,255,255,.12); }
.quick-links, .legal-links{ display:flex; flex-wrap:wrap; gap:6px 18px; }
.quick-links a, .legal-links a, .socials a{ color:#a9b8dd; font-size:13.5px; }
.quick-links a:hover, .legal-links a:hover, .socials a:hover{ color:var(--sky); }
.copyright{ color:#8194bd; font-size:13px; }

/* ---------- legal pages ---------- */
.legal-body{ max-width:74ch; padding-bottom:clamp(40px,6vw,80px); }
.legal-body h2{ font-size:clamp(18px,1.8vw,22px); margin:30px 0 10px; }
.legal-body p{ color:var(--grey); margin:0 0 12px; line-height:1.6; }
.legal-body ul{ margin:0 0 12px; padding-left:22px; list-style:disc; }
.legal-body li{ color:var(--grey); margin-bottom:8px; line-height:1.6; }
.legal-body a{ text-decoration:underline; text-underline-offset:2px; color:var(--link); }
.legal-updated{ margin-top:26px; font-size:13px; color:var(--muted); }

/* ---------- reveal animation ---------- */
@media (prefers-reduced-motion:no-preference){
  .reveal{ opacity:0; transform:translateY(24px); transition:opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1); }
  .reveal.in{ opacity:1; transform:none; }
}

/* ---------- mobile menu: right-side panel + scrim + accordion ---------- */
#mnav{ position:fixed; inset:0; z-index:999; visibility:hidden; transition:visibility 0s linear .35s; }
#mnav.open{ visibility:visible; transition:visibility 0s; }
.mnav-scrim{ position:absolute; inset:0; background:rgba(10,16,40,.55); opacity:0; transition:opacity .3s ease; }
#mnav.open .mnav-scrim{ opacity:1; }
.mnav-panel{ position:absolute; top:0; right:0; height:100%; width:min(86%,380px); background:var(--white);
  overflow-y:auto; padding:80px 24px 40px; box-shadow:-14px 0 40px rgba(0,0,0,.18);
  transform:translateX(100%); transition:transform .35s cubic-bezier(.4,0,.2,1); }
#mnav.open .mnav-panel{ transform:none; }
.mnav-links{ display:flex; flex-direction:column; gap:4px; }
.mnav-link{ display:block; padding:14px 4px; font-size:18px; font-weight:700; color:var(--ink); border-bottom:1px solid var(--line); }
.mnav-book-demo{ margin-top:18px; text-align:center; background:var(--blue); color:#fff; border-radius:10px; border-bottom:none; }
.macc-item{ border-bottom:1px solid var(--line); }
.macc-toggle{ width:100%; display:flex; justify-content:space-between; align-items:center; background:none; border:0;
  cursor:pointer; padding:14px 4px; font:inherit; font-size:18px; font-weight:700; color:var(--ink); text-align:left; }
.macc-toggle .chev{ font-size:13px; transition:transform .25s ease; }
.macc-toggle[aria-expanded="true"] .chev{ transform:rotate(180deg); }
.macc-panel{ display:flex; flex-direction:column; padding:0 0 12px 12px; }
.macc-panel a{ padding:10px 4px; font-size:15.5px; color:var(--grey); }
#mnav .close{ position:absolute; top:24px; right:20px; width:34px; height:34px; background:none; border:0; cursor:pointer; }
#mnav .close::before,#mnav .close::after{ content:""; position:absolute; left:16px; top:4px; width:2px; height:26px; background:var(--ink); }
#mnav .close::before{ transform:rotate(45deg); } #mnav .close::after{ transform:rotate(-45deg); }
@media (min-width:961px){ #mnav{ display:none !important; } }

/* ---------- cookie consent banner ---------- */
.cookie-banner{ position:fixed; left:16px; right:16px; bottom:16px; z-index:998; max-width:640px; margin:0 auto;
  background:var(--white); border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow-lg); padding:20px 22px; }
.cookie-banner[hidden]{ display:none; }
.cookie-banner-inner p{ margin:0 0 14px; font-size:14px; color:var(--grey); }
.cookie-banner-inner a{ text-decoration:underline; color:var(--link); }
.cookie-banner-actions{ display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end; }
.cookie-banner-panel{ margin-top:16px; border-top:1px solid var(--line); padding-top:16px; }
.cookie-banner-panel[hidden]{ display:none; }
.cookie-category{ padding:10px 0; border-bottom:1px solid var(--line); }
.cookie-category-head{ display:flex; justify-content:space-between; align-items:center; font-weight:700; font-size:14px; color:var(--ink); }
.cookie-category p{ margin:6px 0 0; font-size:13px; color:var(--muted); }

/* ---------- accessibility ---------- */
.skip-link{ position:absolute; left:12px; top:-60px; z-index:1000; background:var(--blue); color:#fff;
  padding:10px 16px; font-size:15px; border-radius:6px; transition:top .2s ease; }
.skip-link:focus{ top:12px; }
:focus-visible{ outline:3px solid var(--sky-2); outline-offset:2px; border-radius:2px; }
.site-header :focus-visible, .site-footer :focus-visible{ outline-color:var(--sky); }
