/*
Theme Name: NETsatori UK Phase 1 Clean v5.4
Theme URI: https://www.netsatori.co.uk/
Author: NETsatori
Description: UK market-entry microsite aligned to NETsatori's Canadian brand, with UK terminology and Critical National Infrastructure positioning.
Version: 5.4.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: netsatori-uk-phase1-clean-v5
*/

:root {
  --brand-blue: #215faa;
  --brand-blue-dark: #123f76;
  --brand-yellow: #ffd752;
  --brand-yellow-soft: #fff8db;
  --ink: #1f2b38;
  --muted: #5b6876;
  --line: #dfe6ee;
  --soft: #f6f8fb;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrapper { width: min(1160px, calc(100% - 44px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--line);
}
.brand-rule { height: 4px; background: linear-gradient(90deg, var(--brand-yellow) 0 18%, var(--brand-blue) 18% 100%); }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 15px; text-decoration: none; min-width: 0; }
.brand-logo { display: block; width: 275px; max-width: 52vw; height: auto; }
.uk-site-label {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 66px; height: 32px; padding: 0 10px 0 12px;
  border-left: 2px solid var(--brand-yellow);
  color: var(--brand-blue-dark); font-weight: 800; letter-spacing: .08em; font-size: .88rem;
}
.uk-flag {
  display: block; width: 18px; height: 12px; border: 1px solid #c7d3df; box-shadow: 0 1px 1px rgba(0,0,0,.06);
}
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; font-size: .94rem; font-weight: 600; }
.nav a { color: #263747; text-decoration: none; padding: 9px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--brand-blue); border-bottom-color: var(--brand-yellow); }
.nav .nav-contact { padding: 10px 18px; border: 1px solid var(--brand-blue); color: var(--brand-blue); border-radius: 3px; }
.nav .nav-contact:hover { background: var(--brand-blue); color: #fff; border-bottom-color: var(--brand-blue); }

.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 92px 0 84px;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; right: -150px; top: -250px;
  width: 500px; height: 500px; background: var(--brand-blue-dark); transform: rotate(45deg); opacity: .98;
}
.hero::after {
  content: ""; position: absolute; right: 155px; top: 60px;
  width: 92px; height: 92px; background: var(--brand-yellow); transform: rotate(45deg);
}
.hero .wrapper { position: relative; z-index: 2; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .78rem; color: var(--brand-blue); margin: 0 0 15px; }
.uk-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-yellow-soft); border-left: 4px solid var(--brand-yellow);
  color: #4c4322; padding: 8px 12px; font-weight: 700; font-size: .9rem; margin: 0 0 20px;
}
.uk-badge span { display: none; }
.hero h1 { color: var(--brand-blue-dark); font-size: clamp(2.35rem, 5vw, 4.45rem); line-height: 1.02; max-width: 860px; margin: 0 0 24px; letter-spacing: -.025em; }
.hero p { font-size: clamp(1.06rem, 1.65vw, 1.25rem); max-width: 820px; color: #465767; margin: 0 0 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 3px; font-weight: 700; text-decoration: none; border: 1px solid transparent; }
.btn-primary { background: var(--brand-blue); color: #fff; }
.btn-primary:hover { background: var(--brand-blue-dark); }
.btn-secondary { background: #fff; color: var(--brand-blue); border-color: var(--brand-blue); }
.btn-secondary:hover { border-color: var(--brand-yellow); box-shadow: inset 0 -3px 0 var(--brand-yellow); }

.note-band { background: var(--soft); border-bottom: 1px solid var(--line); padding: 15px 0; color: #415263; font-size: .94rem; }
.section { padding: 72px 0; }
.section.alt { background: var(--soft); }
.section h2 { color: var(--brand-blue-dark); font-size: clamp(1.8rem, 3vw, 2.55rem); line-height: 1.14; margin: 0 0 18px; }
.section h2::after { content: ""; display: block; width: 62px; height: 5px; background: var(--brand-yellow); margin-top: 15px; }
.lead { max-width: 860px; font-size: 1.1rem; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: 25px; box-shadow: 0 6px 18px rgba(18,63,118,.05); }
.card h3 { color: var(--brand-blue-dark); margin: 0 0 10px; font-size: 1.12rem; }
.card p { margin: 0; color: var(--muted); }
.card.emphasis { border-top: 5px solid var(--brand-yellow); }
.two-col { display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: start; }
ul.clean { margin: 18px 0 0; padding-left: 21px; color: var(--muted); }
ul.clean li { margin: 7px 0; }
.tech-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pill { background: #fff; border: 1px solid #cfd9e4; color: var(--brand-blue-dark); border-radius: 3px; padding: 9px 13px; font-weight: 700; font-size: .93rem; }
.sector-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.sector-pill { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--brand-yellow); border-radius: 4px; padding: 15px 16px; font-weight: 700; color: #2d4154; }
.cta { position: relative; overflow: hidden; background: var(--brand-blue-dark); color: #fff; border-radius: 4px; padding: 38px; }
.cta::after { content: ""; position: absolute; right: -34px; top: -34px; width: 104px; height: 104px; background: var(--brand-yellow); transform: rotate(45deg); }
.cta h2 { color: #fff; position: relative; z-index: 2; }
.cta h2::after { background: var(--brand-yellow); }
.cta p { color: #e5eef8; position: relative; z-index: 2; }
.cta a { color: #fff; }

.site-footer { background: #fff; color: var(--ink); border-top: 5px solid var(--brand-blue); padding: 42px 0 34px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 30px; align-items: start; }
.footer-logo { width: 225px; max-width: 80%; height: auto; margin-bottom: 12px; }
.footer-brand p { margin: 6px 0; max-width: 760px; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: var(--brand-blue-dark); text-decoration: none; font-weight: 600; }
.footer-links a:hover { text-decoration: underline; text-decoration-color: var(--brand-yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.small { color: #667585; font-size: .88rem; }
.legal-disclosure { color: #778594; }
.legal-page { max-width: 900px; padding: 58px 0; }
.legal-page h1 { color: var(--brand-blue-dark); font-size: 2.45rem; line-height: 1.1; }
.legal-page h2 { color: var(--brand-blue-dark); margin-top: 34px; }

@media (max-width: 1120px) {
  .sector-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .header-inner { min-height: 82px; }
  .brand-logo { width: 235px; }
  .nav { gap: 14px; font-size: .9rem; }
  .hero::before { right: -260px; }
  .hero::after { right: 82px; }
}
@media (max-width: 820px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 15px 0 14px; gap: 12px; }
  .brand-logo { width: 245px; max-width: 70vw; }
  .nav { gap: 12px 18px; }
  .nav .nav-contact { padding: 7px 12px; }
  .grid, .two-col, .footer-grid, .sector-list { grid-template-columns: 1fr; }
  .hero { padding: 66px 0 62px; }
  .hero::before, .hero::after { display: none; }
  .section { padding: 54px 0; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .wrapper { width: min(100% - 30px, 1160px); }
  .logo { gap: 10px; }
  .uk-site-label { min-width: 58px; padding: 0 7px 0 9px; gap: 6px; }
  .uk-flag { width: 16px; height: 11px; }
  .hero h1 { font-size: 2.45rem; }
}
