/* ==========================================================================
   4net — OT Netwerk Security Readiness Scan
   Recreated stylesheet (colors/variables/class names based on the live site)
   ========================================================================== */

:root{
  /* Kleuren bijgewerkt op basis van het aangeleverde referentiebeeld van de
     echte 4net-knop ("LAAT U ADVISEREN"): navy en accent zijn gesampled uit
     dat screenshot (#28265B / #E40C7E). navy-light, navy-pale, accent-dark
     en accent-pale zijn daarvan afgeleide tinten (zelfde tint, aangepaste
     helderheid/verzadiging) zodat de rest van de site in dezelfde
     kleurfamilie blijft. */
  --navy:#28265B;
  --navy-light:#423EA9;
  --accent:#E40C7E;
  --accent-dark:#B40963;
  --line:#CAD9D9;
  --navy-pale:#EEEEF1;   /* lichte, neutrale tint voor paneel-achtergronden */
  --accent-pale:#F6DFEB; /* lichte tint van accent, voor geselecteerde opties */
  --on-accent:#FFFFFF;   /* witte tekst op de accentkleur, zoals in het voorbeeld */
  --grey-bg:#f5f6fa;
  --grey-text:#5b5c72;
  --green:#1f9d55;
  --amber:#e0a415;
  --red:#d64545;
  --white:#ffffff;
  /* NOTE on the typeface: the supplied logo files have the "4net" wordmark
     converted to outlines (no live text/font metadata), so the exact brand
     font name could not be read from them. Poppins is used here as a close
     geometric-sans match — swap the @import above and this stack for the
     real brand font name if you have it. */
  font-family:"Poppins","Segoe UI",Arial,Helvetica,sans-serif;
}

*{box-sizing:border-box;}
html,body{margin:0;padding:0;background:var(--grey-bg);color:var(--navy);}

.container{max-width:1120px;margin:0 auto;padding:0 24px;}

/* HEADER */
.site-header{background:#fff;border-bottom:1px solid var(--line);}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 24px;}
.logo{display:flex;align-items:center;gap:8px;}
.logo-img{height:34px;width:auto;display:block;}

.lang-switch{display:flex;gap:6px;}
.lang-switch button{background:transparent;border:1px solid var(--line);color:var(--navy);padding:5px 10px;border-radius:5px;font-size:13px;font-weight:600;cursor:pointer;}
.lang-switch button.active{background:var(--accent);border-color:var(--accent);color:var(--on-accent);}

/* HERO */
.hero{background:var(--navy);color:#fff;padding:48px 0 56px;}
.hero h1{font-size:30px;line-height:1.25;margin:0 0 14px;max-width:680px;}
.hero p.sub{font-size:16px;color:#d9d9ec;max-width:620px;margin:0 0 22px;}
.hero-bullets{list-style:none;padding:0;margin:0 0 28px;display:flex;flex-wrap:wrap;gap:14px;}
.hero-bullets li{background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.18);padding:8px 14px;border-radius:20px;font-size:13.5px;}
.btn-primary{background:var(--accent);color:var(--on-accent);border:none;padding:14px 26px;border-radius:999px;font-size:16px;font-weight:700;transition:background .15s;cursor:pointer;display:inline-block;text-decoration:none;}
.btn-primary:hover{background:var(--accent-dark);color:#fff;}
.btn-secondary{background:transparent;color:var(--navy);border:1.5px solid var(--line);padding:12px 22px;border-radius:6px;font-size:15px;font-weight:700;cursor:pointer;}
.btn-secondary:hover{border-color:var(--navy-light);}
.btn-secondary:disabled{opacity:.35;cursor:not-allowed;}

/* PARTNER STRIP
   Vendor names are styled in each brand's own color for a bit of vibrancy,
   with a matching color dot standing in for a logo mark. Exact hex values:
   Cisco, Splunk and Claroty are confirmed against public brand references;
   Fortinet, Belden and Hirschmann are close best-effort approximations
   (their official brand-guideline PDFs weren't accessible to verify exactly)
   — nudge the --pc value on the relevant <span> in index.html if you have
   the precise swatch. */
.partner-strip{background:#fff;border-bottom:1px solid var(--line);padding:22px 0;}
.partner-strip .container{display:flex;flex-wrap:wrap;gap:16px 36px;align-items:center;justify-content:center;}
.partner{position:relative;display:inline-flex;align-items:center;gap:9px;padding-left:15px;font-size:15px;font-weight:700;letter-spacing:.2px;color:var(--pc);text-decoration:none;transition:transform .15s ease,opacity .15s ease;}
.partner:visited{color:var(--pc);}
.partner::before{content:"";position:absolute;left:0;top:50%;width:8px;height:8px;border-radius:50%;background:var(--pc);transform:translateY(-50%);}
.partner:hover{transform:translateY(-2px);opacity:.85;}

/* CARD / SECTION */
main{padding:40px 0 60px;}
.card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:32px;box-shadow:0 1px 2px rgba(20,20,50,0.04);max-width:900px;margin:0 auto 24px;}
.hidden{display:none !important;}

/* PROGRESS */
.progress-wrap{margin-bottom:26px;}
.progress-labels{display:flex;justify-content:space-between;font-size:13px;color:var(--grey-text);margin-bottom:6px;font-weight:600;}
.progress-bar-track{background:var(--navy-pale);border-radius:20px;height:8px;overflow:hidden;}
.progress-bar-fill{background:var(--accent);height:100%;width:0%;transition:width .3s ease;}

.category-tag{display:inline-block;background:var(--navy-pale);color:var(--navy);font-size:12.5px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;padding:5px 12px;border-radius:20px;margin-bottom:16px;}

/* QUESTIONS */
.question-block{margin-bottom:30px;}
.question-block h4{font-size:16px;margin:0 0 12px;color:var(--navy);}

/* INFO BUBBLE (hover/focus tooltip explaining a question) */
.info-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;margin-left:7px;border-radius:50%;background:var(--navy-pale);color:var(--navy);font-size:11.5px;font-weight:700;font-style:italic;font-family:Georgia,"Times New Roman",serif;cursor:help;vertical-align:middle;user-select:none;}
.info-icon:hover,.info-icon:focus{background:var(--accent);color:var(--on-accent);outline:none;}
.info-icon .tooltip-text{position:absolute;left:50%;bottom:calc(100% + 9px);transform:translate(-50%,4px);width:250px;max-width:70vw;background:var(--navy);color:#fff;font-size:12.5px;font-style:normal;font-weight:400;line-height:1.45;padding:9px 11px;border-radius:7px;text-align:left;box-shadow:0 6px 16px rgba(20,20,50,0.18);opacity:0;visibility:hidden;transition:opacity .15s ease,transform .15s ease;z-index:30;}
.info-icon .tooltip-text::after{content:"";position:absolute;top:100%;left:50%;transform:translateX(-50%);border:6px solid transparent;border-top-color:var(--navy);}
.info-icon:hover .tooltip-text,.info-icon:focus .tooltip-text{opacity:1;visibility:visible;transform:translate(-50%,0);}
@media (max-width:520px){.info-icon .tooltip-text{left:auto;right:-10px;transform:translateY(4px);}
  .info-icon:hover .tooltip-text,.info-icon:focus .tooltip-text{transform:translateY(0);}}
.option-label{display:flex;align-items:flex-start;gap:10px;border:1.5px solid var(--line);border-radius:8px;padding:13px 16px;margin-bottom:10px;cursor:pointer;transition:border-color .15s,background .15s;font-size:14.5px;color:var(--navy);}
.option-label:hover{border-color:var(--navy-light);}
.option-label.selected{border-color:var(--accent);background:var(--accent-pale);}
.option-label input{margin-top:3px;accent-color:var(--accent);flex-shrink:0;}
.error-msg{color:var(--red);font-size:13px;margin-top:6px;display:none;}
.error-msg.show{display:block;}

.nav-buttons{display:flex;justify-content:space-between;align-items:center;margin-top:28px;padding-top:22px;border-top:1px solid var(--line);}

/* FORM (contact + qualifiers) */
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.form-grid .full{grid-column:1 / -1;}
@media (max-width:560px){.form-grid{grid-template-columns:1fr;}}
label.field-label{display:block;font-size:13.5px;font-weight:700;color:var(--navy);margin-bottom:6px;}
select,input[type=text],input[type=email],input[type=tel],textarea{width:100%;border:1.5px solid var(--line);border-radius:7px;padding:11px 12px;font-size:14.5px;font-family:inherit;color:var(--navy);background:#fff;}
select:focus,input:focus,textarea:focus{outline:none;border-color:var(--navy-light);}
textarea{resize:vertical;min-height:80px;}
.consent-row{display:flex;gap:10px;align-items:flex-start;margin-top:6px;}
.consent-row input{margin-top:4px;accent-color:var(--accent);}
.consent-row label{font-size:13.5px;color:var(--grey-text);}
.privacy-link{color:var(--navy-light);white-space:nowrap;}
.field{margin-bottom:16px;}

/* RESULT */
.result-header{text-align:center;margin-bottom:8px;}
.gauge-wrap{position:relative;display:flex;justify-content:center;margin:18px 0 8px;}
.gauge-pct-overlay{position:absolute;top:58px;left:0;right:0;text-align:center;font-size:40px;font-weight:800;color:var(--navy);}
.result-level{text-align:center;font-size:20px;font-weight:800;margin:6px 0 4px;}
.result-text{text-align:center;color:var(--grey-text);max-width:600px;margin:0 auto 30px;font-size:15px;}

.cat-bars{display:flex;flex-direction:column;gap:14px;margin-bottom:30px;}
.cat-bar-row .cat-bar-top{display:flex;justify-content:space-between;font-size:13.5px;font-weight:600;margin-bottom:5px;}
.cat-bar-track{background:var(--navy-pale);border-radius:20px;height:10px;overflow:hidden;}
.cat-bar-fill{background:var(--navy-light);height:100%;width:0%;border-radius:20px;transition:width .6s ease;}

.cta-box{background:var(--navy-pale);border-radius:10px;padding:24px;text-align:center;margin-bottom:20px;}
.cta-box h3{margin:0 0 8px;font-size:19px;}
.cta-box p{margin:0 0 16px;color:var(--grey-text);font-size:14.5px;}
.cta-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;}
.mail-line{margin:14px 0 0;font-size:14px;color:var(--grey-text);}
.mail-line a{color:var(--navy);}

.fallback-note{text-align:center;font-size:13px;color:var(--grey-text);margin-top:6px;}
.fallback-note a{color:var(--grey-text);}

/* FOOTER */
.site-footer{background:var(--navy);color:#c7c9e6;padding:26px 0;}
.site-footer .container{text-align:center;font-size:13px;line-height:1.9;}
.site-footer a{color:#fff;}

/* EMBED MODE — script.js adds class "embed" on <html> when the URL has a
   ?lang=nl|fr|en or ?language=NL|FR|EN parameter (or ?embed=1). Header and footer are hidden and
   the disclaimer is shown at the bottom of the page itself. */
.inline-disclaimer{display:none;text-align:center;font-size:13px;color:var(--grey-text);max-width:900px;margin:0 auto;padding:0 8px;}
html.embed .site-header,
html.embed .site-footer{display:none !important;}
html.embed .inline-disclaimer{display:block;}
html.embed main{padding-bottom:28px;}

/* level colors, applied via JS by adding a class */
.result-level.level-red{color:var(--red);}
.result-level.level-amber{color:var(--amber);}
.result-level.level-green{color:var(--green);}

/* FULL-HEIGHT LAYOUT — the page always fills the whole screen (also in
   embed mode, where header and footer are hidden), so there is never an
   empty grey band below the content.
   - Landing view: the navy hero stretches to fill the free space, with its
     content vertically centred; the partner strip sits directly below it.
   - Scan/result view: the main area grows, so the footer (or, in embed
     mode, the inline disclaimer) stays at the bottom of the screen. */
body{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh;}
body > *{flex-shrink:0;}
main{flex:1 0 auto;width:100%;display:flex;flex-direction:column;}
.card{width:100%;}
.inline-disclaimer{margin-top:auto;}
.hero{display:flex;align-items:center;}
.hero > .container{width:100%;}
body:has(#heroSection:not(.hidden)) .hero{flex:1 0 auto;}
body:has(#heroSection:not(.hidden)) main{flex:0 0 auto;padding:0;}
html.embed body:has(#heroSection:not(.hidden)) main{padding:16px 0;}
