:root{
  --primary:#0e3a67;
  --primary-dark:#081f39;
  --accent:#d99522;
  --text:#1f2e3d;
  --muted:#65788c;
  --line:#d9e4ef;
  --soft:#f6f9fc;
  --white:#ffffff;
  --container:1200px;
  --shadow:0 18px 45px rgba(9,35,62,.12);
  --shadow-soft:0 10px 24px rgba(9,35,62,.08);
  --radius:22px;
  --radius-sm:14px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.6;
}

a{
  text-decoration:none;
  color:inherit;
}

img{
  max-width:100%;
  display:block;
}

.container{
  width:min(var(--container),calc(100% - 32px));
  margin:0 auto;
}

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(14,58,103,.08);
}

.header-inner{
  min-height:84px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}

.brand-logo{
  width:58px;
  height:58px;
  object-fit:contain;
  border-radius:14px;
  background:#fff;
}

.brand strong{
  display:block;
  color:var(--primary);
  font-size:18px;
  line-height:1.1;
}

.brand span{
  display:block;
  color:var(--muted);
  font-size:13px;
  margin-top:4px;
}

.nav{
  display:flex;
  align-items:center;
  gap:8px;
}

.nav > a,
.nav-item > a{
  padding:12px 14px;
  border-radius:12px;
  color:var(--text);
  font-weight:600;
  transition:.22s ease;
}

.nav > a:hover,
.nav-item > a:hover,
.nav > a.active{
  color:var(--primary);
  background:rgba(14,58,103,.06);
}

.nav-link-with-arrow{
  display:flex;
  align-items:center;
  gap:6px;
}

.nav-admin{
  margin-left:8px;
}

.menu-toggle{
  display:none;
  border:none;
  background:var(--soft);
  color:var(--primary);
  width:46px;
  height:46px;
  border-radius:12px;
  font-size:22px;
  cursor:pointer;
}

/* Mega menu */
.mega-wrap{
  position:relative;
}

.mega-menu{
  position:absolute;
  top:100%;
  left:50%;
  transform:translateX(-50%) translateY(12px);
  width:min(950px,88vw);
  background:#fff;
  border:1px solid rgba(14,58,103,.08);
  border-radius:26px;
  box-shadow:var(--shadow);
  padding:24px;
  display:grid;
  grid-template-columns:1fr 1fr 1.2fr;
  gap:18px;
  opacity:0;
  visibility:hidden;
  transition:.25s ease;
}

.mega-wrap:hover .mega-menu{
  opacity:1;
  visibility:visible;
  transform:translateX(-50%) translateY(0);
}

.mega-col{
  background:var(--soft);
  border-radius:20px;
  padding:18px;
}

.mega-col a{
  display:block;
  padding:10px 0;
  color:var(--text);
  border-bottom:1px solid rgba(14,58,103,.07);
  transition:.2s ease;
}

.mega-col a:last-child{
  border-bottom:none;
}

.mega-col a:hover{
  color:var(--primary);
  transform:translateX(3px);
}

.mega-title{
  font-size:14px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:8px;
  font-weight:700;
}

.mega-highlight{
  background:linear-gradient(145deg,#0d355d,#143f6e);
  color:#fff;
}

.mega-highlight h4{
  margin:10px 0 8px;
  font-size:24px;
  line-height:1.2;
}

.mega-highlight p{
  margin:0;
  color:rgba(255,255,255,.82);
}

.mega-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.12);
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 22px;
  border-radius:14px;
  font-weight:700;
  transition:.22s ease;
  border:1px solid transparent;
}

.btn-primary{
  background:linear-gradient(135deg,var(--primary),#1a5a94);
  color:#fff;
  box-shadow:0 14px 30px rgba(14,58,103,.2);
}

.btn-primary:hover{
  transform:translateY(-2px);
}

.btn-secondary{
  background:rgba(255,255,255,.12);
  color:#fff;
  border-color:rgba(255,255,255,.22);
}

.btn-secondary:hover{
  background:rgba(255,255,255,.18);
}

.text-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:var(--primary);
  font-weight:700;
}

/* Hero */
.hero{
  padding:110px 0 88px;
  background-size:cover;
  background-position:center;
  color:#fff;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:34px;
  align-items:center;
}

.hero-copy{
  max-width:760px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
  font-size:13px;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
  margin-bottom:16px;
}

.hero h1{
  margin:0 0 16px;
  font-size:clamp(34px,5vw,62px);
  line-height:1.08;
  max-width:900px;
}

.hero p{
  margin:0;
  color:rgba(255,255,255,.86);
  font-size:18px;
  max-width:720px;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:28px;
}

.hero-panel{
  background:#fff;
  color:var(--text);
  border-radius:28px;
  padding:28px;
  box-shadow:var(--shadow);
  align-self:center;
}

.hero-panel-top{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin-bottom:16px;
  color:var(--muted);
  font-size:14px;
  font-weight:700;
}

.panel-badge{
  display:inline-flex;
  align-items:center;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(217,149,34,.12);
  color:#8d5e09;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.hero-panel h3{
  margin:0 0 12px;
  color:var(--primary);
  font-size:30px;
  line-height:1.15;
}

.hero-panel p{
  color:var(--muted);
  font-size:15px;
}

.bullet-list{
  margin:16px 0 0;
  padding-left:18px;
}

.bullet-list li{
  color:var(--muted);
  margin-bottom:8px;
}

/* Stats */
.stats-wrap{
  margin-top:-34px;
  position:relative;
  z-index:2;
}

.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.stat-card{
  background:#fff;
  border-radius:20px;
  box-shadow:var(--shadow-soft);
  padding:24px 20px;
  border:1px solid rgba(14,58,103,.08);
  text-align:center;
}

.stat-card strong{
  display:block;
  color:var(--primary);
  font-size:34px;
  line-height:1;
  margin-bottom:8px;
}

.stat-card span{
  color:var(--muted);
  font-weight:600;
}

/* Sections */
.section{
  padding:86px 0;
}

.section-alt{
  background:var(--soft);
}

.section-head{
  display:flex;
  flex-direction:column;
  gap:6px;
  max-width:760px;
  margin:0 auto 34px;
  text-align:center;
}

.compact-head{
  margin:0;
  text-align:left;
}

.section-kicker{
  color:var(--accent);
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.section-kicker.inverse{
  color:#9ec7f6;
}

.section h2{
  margin:0;
  color:var(--primary);
  font-size:clamp(28px,4vw,44px);
  line-height:1.15;
}

.section-head p,
.contact-text{
  color:var(--muted);
  margin:0;
  font-size:17px;
}

/* About */
.split-section{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:34px;
  align-items:start;
}

.feature-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}

.feature-card{
  background:#fff;
  border:1px solid rgba(14,58,103,.08);
  border-radius:22px;
  padding:24px;
  box-shadow:var(--shadow-soft);
  transition:transform .25s ease, box-shadow .25s ease;
}

.feature-card:hover{
  transform:translateY(-4px);
}

.feature-card h3{
  margin:0 0 10px;
  color:var(--primary);
  font-size:22px;
}

.feature-card p{
  margin:0;
  color:var(--muted);
}

/* Cards */
.card-grid{
  display:grid;
  gap:22px;
}

.three-col{
  grid-template-columns:repeat(3,1fr);
}

.content-card{
  background:#fff;
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow-soft);
  border:1px solid rgba(14,58,103,.08);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.content-card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 50px rgba(9,35,62,.16);
  border-color:rgba(14,58,103,.16);
}

.content-card img{
  width:100%;
  height:240px;
  object-fit:cover;
}

.content-body{
  padding:22px;
}

.content-body h3{
  margin:0 0 10px;
  color:var(--primary);
  font-size:24px;
  line-height:1.2;
}

.content-body p{
  margin:0 0 14px;
  color:var(--muted);
}

.tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:16px;
}

.tags span{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:var(--soft);
  color:var(--primary);
  font-size:12px;
  font-weight:700;
}

.project-sector{
  color:var(--accent);
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:8px;
}

/* CTA */
.cta-band{
  background:linear-gradient(135deg,#0b2744,#154673);
  color:#fff;
  padding:34px;
  border-radius:30px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  box-shadow:var(--shadow);
}

.cta-band h2{
  color:#fff;
  margin:6px 0 0;
  font-size:clamp(26px,4vw,40px);
  line-height:1.15;
}

/* Contact */
.contact-section{
  background:linear-gradient(135deg,#081f39,#0f3257);
  color:#fff;
}

.contact-grid{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:28px;
  align-items:start;
}

.contact-section h2{
  color:#fff;
}

.contact-text{
  color:rgba(255,255,255,.8);
  margin:0 0 24px;
}

.contact-box{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.1);
  border-radius:18px;
  padding:18px;
  margin-bottom:14px;
}

.contact-box strong{
  display:block;
  margin-bottom:6px;
  color:#fff;
}

.contact-box span{
  color:rgba(255,255,255,.78);
}

.form-panel{
  background:#fff;
  color:var(--text);
  border-radius:28px;
  padding:28px;
  box-shadow:var(--shadow);
}

.form-panel h3{
  margin:0 0 18px;
  color:var(--primary);
  font-size:28px;
}

.contact-form{
  display:grid;
  gap:16px;
}

.contact-form .grid-2{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}

.contact-form input,
.contact-form textarea{
  width:100%;
  padding:15px 16px;
  border:1px solid var(--line);
  border-radius:14px;
  font:inherit;
  color:var(--text);
  background:#fff;
  outline:none;
  transition:.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus{
  border-color:rgba(14,58,103,.4);
  box-shadow:0 0 0 4px rgba(14,58,103,.08);
}

.contact-form textarea{
  resize:vertical;
  min-height:140px;
}

.contact-form button{
  border:none;
  cursor:pointer;
}

/* Notices */
.notice{
  padding:14px 16px;
  border-radius:14px;
  font-weight:700;
}

.notice.success{
  background:#eaf8ef;
  color:#256c3c;
}

.notice.error{
  background:#fdebec;
  color:#a33131;
}

/* Inner pages */
.page-hero{
  padding:92px 0 54px;
  background:linear-gradient(135deg,#0b2744,#154673);
  color:#fff;
}

.page-hero h1{
  margin:0 0 10px;
  font-size:clamp(34px,5vw,56px);
  line-height:1.1;
}

.page-hero p{
  margin:0;
  color:rgba(255,255,255,.82);
  font-size:18px;
  max-width:760px;
}

.page-content{
  padding:70px 0;
}

.content-layout{
  display:grid;
  grid-template-columns:1fr 320px;
  gap:28px;
  align-items:start;
}

.article-card,
.sidebar-card{
  background:#fff;
  border:1px solid rgba(14,58,103,.08);
  border-radius:24px;
  box-shadow:var(--shadow-soft);
}

.article-card{
  overflow:hidden;
}

.article-card img{
  width:100%;
  max-height:430px;
  object-fit:cover;
}

.article-inner{
  padding:28px;
}

.article-inner h2,
.article-inner h3,
.article-inner h4{
  color:var(--primary);
}

.article-inner p,
.article-inner li{
  color:var(--muted);
}

.sidebar-card{
  padding:22px;
  position:sticky;
  top:108px;
}

.sidebar-card h3{
  margin:0 0 14px;
  color:var(--primary);
}

.sidebar-list{
  display:grid;
  gap:10px;
}

.sidebar-list a{
  display:block;
  padding:12px 14px;
  border-radius:12px;
  background:var(--soft);
  color:var(--text);
  font-weight:600;
  transition:.2s ease;
}

.sidebar-list a:hover{
  background:rgba(14,58,103,.08);
  color:var(--primary);
}

.info-list{
  display:grid;
  gap:12px;
}

.info-item{
  padding:14px;
  border-radius:14px;
  background:var(--soft);
}

.info-item strong{
  display:block;
  color:var(--primary);
  margin-bottom:4px;
}

/* Footer */
.footer{
  background:#071a2d;
  color:#fff;
  padding-top:68px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.1fr .8fr 1.1fr;
  gap:28px;
  padding-bottom:34px;
}

.footer strong{
  display:block;
  margin-bottom:12px;
  font-size:18px;
}

.footer p{
  margin:0;
  color:rgba(255,255,255,.72);
}

.footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:18px 0 24px;
  border-top:1px solid rgba(255,255,255,.08);
  color:rgba(255,255,255,.66);
  font-size:14px;
}

/* Utilities */
.hidden{
  display:none !important;
}

/* Responsive */
@media (max-width:1200px){
  .three-col{
    grid-template-columns:repeat(2,1fr);
  }

  .mega-menu{
    width:min(860px,92vw);
  }
}

@media (max-width:980px){
  .menu-toggle{
    display:block;
  }

  .nav{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#fff;
    border-top:1px solid rgba(14,58,103,.08);
    box-shadow:0 18px 40px rgba(9,35,62,.08);
    padding:14px 16px 18px;
    flex-direction:column;
    align-items:stretch;
    gap:6px;
    display:none;
  }

  .nav.open{
    display:flex;
  }

  .nav > a,
  .nav-item > a{
    width:100%;
  }

  .nav-admin{
    margin-left:0;
  }

  .mega-wrap{
    position:static;
  }

  .mega-menu{
    position:static;
    width:100%;
    transform:none;
    opacity:1;
    visibility:visible;
    box-shadow:none;
    border:1px solid rgba(14,58,103,.08);
    border-radius:20px;
    padding:14px;
    margin-top:8px;
    display:none;
    grid-template-columns:1fr;
  }

  .mega-wrap:hover .mega-menu{
    transform:none;
  }

  .mega-wrap.active .mega-menu{
    display:grid;
  }

  .hero-grid,
  .split-section,
  .contact-grid,
  .content-layout,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .hero-panel{
    order:2;
  }

  .hero-copy{
    order:1;
  }

  .sidebar-card{
    position:static;
  }
}

@media (max-width:820px){
  .stats-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .feature-grid{
    grid-template-columns:1fr;
  }

  .contact-form .grid-2{
    grid-template-columns:1fr;
  }

  .cta-band{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width:640px){
  .container{
    width:min(var(--container),calc(100% - 22px));
  }

  .header-inner{
    min-height:76px;
  }

  .brand-logo{
    width:48px;
    height:48px;
  }

  .hero{
    padding:84px 0 72px;
  }

  .hero h1{
    font-size:36px;
  }

  .hero p,
  .page-hero p{
    font-size:16px;
  }

  .section{
    padding:70px 0;
  }

  .stats-grid,
  .three-col{
    grid-template-columns:1fr;
  }

  .stat-card{
    padding:20px 16px;
  }

  .content-body,
  .article-inner,
  .form-panel,
  .hero-panel{
    padding:22px;
  }

  .footer-bottom{
    flex-direction:column;
  }
}
.brand-text{
  min-width:0;
}

.brand{
  flex-shrink:0;
}

.nav{
  margin-left:auto;
}

.nav > a.active,
.nav-link-with-arrow.active{
  color:var(--primary);
  background:rgba(14,58,103,.06);
}

@media (max-width:980px){
  .brand-text strong{
    font-size:16px;
  }

  .brand-text span{
    font-size:12px;
  }

  .nav{
    max-height:calc(100vh - 90px);
    overflow:auto;
  }
}