:root{
  --blue:#0b2a4d;
  --accent:#1a4f8b;
  --text:#f7fafc;
  --shadow:0 10px 24px rgba(0,0,0,.25);
  --header-h: 120px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:'Inter',system-ui,-apple-system,Segoe UI,Arial,sans-serif}
a{color:#e6f2ff}
html, body { max-width:100%; overflow-x:hidden; }
img, video { max-width:100%; height:auto; display:block; }

.container{max-width:1160px;margin:0 auto;padding:0 22px}

body{ color:var(--text); background:#0b2a4d; transition: background .2s ease; }

/* Fixed, translucent, blurred header */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:100;
  border-bottom:1px solid rgba(255,255,255,.09);
  background:rgba(0,0,0,.32);
  backdrop-filter:saturate(160%) blur(10px);
  -webkit-backdrop-filter:saturate(160%) blur(10px);
  transition: background .2s ease, border-color .2s ease;
}
.scrolled .site-header{ background:rgba(0,0,0,.64); border-color: rgba(255,255,255,.12); }
body{ padding-top: var(--header-h); }

.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:18px; padding:10px 0; }
.brand{display:flex; align-items:center; gap:14px; text-decoration:none}
.logo{height:120px; width:auto; display:block}
.brand-text{display:flex; flex-direction:column; line-height:1.05}
.brand-strong{font-weight:700; color:#fff; font-size:1.08rem}
.brand-sub{font-weight:600; color:#c8d3e0; font-size:.94rem}

/* Hide hamburger by default (desktop) */
.hamburger { display:none; }

.nav{display:flex; gap:44px; align-items:center}
.nav a{text-decoration:none; font-weight:600; position:relative; outline:none;}
/* Hover/Focus underline animation */
.nav a::after{
  content:''; position:absolute; left:0; bottom:-6px; height:2px; width:0;
  background:currentColor; transition:width .18s ease;
}
.nav a:hover::after, .nav a:focus-visible::after{ width:100%; }
.nav .cta{background:var(--blue); padding:8px 12px; border-radius:10px}

/* Hero centered, stronger visual */
.hero{
  position:relative;
  min-height: clamp(320px, 48vh, 560px);
  padding:0;
  display:flex; align-items:center; justify-content:center;
  background-image:
    image-set(url('assets/background.webp') type('image/webp') 1x,
              url('assets/background.jpg') type('image/jpeg') 1x);
  background-position: center 40%;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero::before{
  content:''; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.78));
  z-index:0;
}
.hero .container{position:relative; z-index:1; text-align:center;}
.hero h1{font-size:3.4rem; margin:0 0 18px; letter-spacing:.2px; text-shadow:0 10px 28px rgba(0,0,0,.45)}
.button.cta-hero{
  display:inline-block; text-decoration:none; color:#fff; background:var(--blue);
  padding:12px 18px; border-radius:12px; font-weight:700; border:1px solid rgba(255,255,255,.08);
  transition:transform .1s ease, filter .15s ease;
}
.button.cta-hero:hover{ filter:brightness(1.06) }
.button.cta-hero:active{ transform: translateY(1px) }

/* Section accent */
.section h2{ position:relative; margin-top:0; }
.section h2::after{ content:''; position:absolute; left:0; bottom:-8px; width:72px; height:3px;
  background:linear-gradient(90deg, var(--accent), rgba(255,255,255,.0)); border-radius:3px; }

.section, .hero { scroll-margin-top: calc(var(--header-h) + 12px); }

.section{position:relative; padding:44px 0}
.section::before{ content:''; position:absolute; inset:0;
  background:linear-gradient(to bottom, rgba(0,0,0,.28), rgba(0,0,0,.60)); z-index:0; }
.section .container{position:relative; z-index:1}
.glass .container{ background:rgba(0,0,0,.24); border:1px solid rgba(255,255,255,.10);
  border-radius:14px; box-shadow:var(--shadow); padding:22px; }

.cards{display:grid; grid-template-columns:repeat(3,1fr); gap:18px}
.card{background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.10); border-radius:14px; padding:18px;
  box-shadow:var(--shadow); transition:transform .15s ease, border-color .15s ease, background .15s ease}
.card:hover{ transform:translateY(-3px); border-color:rgba(255,255,255,.16); background:rgba(255,255,255,.08) }
.card h3{margin:0}

.bullets{margin:0; padding-left:20px; line-height:1.95}
.lead{line-height:1.95}

/* Form */
.contact-form{margin-top:10px}
.hp{display:none}
.form-grid{display:grid; grid-template-columns:1fr 1fr; gap:14px; align-items:start}
.form-grid label{display:flex; flex-direction:column; font-weight:600; margin:0}
input,textarea{ margin-top:6px; border:1px solid rgba(255,255,255,.28); background:rgba(0,0,0,.40); color:#fff;
  border-radius:10px; padding:12px; font:inherit }
input[type="text"], input[type="email"]{ height:48px; line-height:24px; }
.form-grid label:last-child{ grid-column: 1 / -1; }
textarea{ resize:none; min-height:160px; }
input:focus,textarea:focus{outline:2px solid var(--accent); border-color:var(--accent)}
.button.submit{margin-top:26px; background:var(--blue); color:#fff; padding:12px 16px; border-radius:12px;
  font-weight:700; border:0; cursor:pointer; transition:filter .15s ease, transform .1s ease}
.button.submit:hover{ filter:brightness(1.05) }
.button.submit:active{ transform: translateY(1px) }

/* Footer */
.site-footer{ border-top:1px solid rgba(255,255,255,.08); background:rgba(0,0,0,.65); }
.footer-inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0}

/* Responsive */
@media (max-width:980px){
  .logo{height:96px}
  .cards{grid-template-columns:1fr}
  .form-grid{grid-template-columns:1fr}
  .form-grid label:last-child{ grid-column: auto; }
  .hero h1{font-size:2rem;}
}

/* Mobile nav & header */
@media (max-width: 840px){
  .hamburger{ display:block; position:relative; width:42px; height:36px; border:0; background:transparent; cursor:pointer; }
  .hamburger .bar{ position:absolute; left:6px; right:6px; height:3px; border-radius:2px;
    background:#fff; transition:transform .25s ease, opacity .2s ease, top .25s ease; }
  .hamburger .bar:nth-child(1){ top:8px; }
  .hamburger .bar:nth-child(2){ top:16px; }
  .hamburger .bar:nth-child(3){ top:24px; }

  .nav{ position:absolute; left:0; right:0; top:100%;
    display:none; flex-direction:column; gap:18px; padding:18px 22px 22px; background:rgba(0,0,0,.98);
    border-bottom:1px solid rgba(255,255,255,.08); }
  .nav a{ padding:8px 0; }
  .nav.active{ display:flex; }
  body.nav-open{ overflow:hidden; }
  body.nav-open .hamburger .bar:nth-child(1){ transform:translateY(8px) rotate(45deg); }
  body.nav-open .hamburger .bar:nth-child(2){ opacity:0; }
  body.nav-open .hamburger .bar:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

  .hero{ min-height: 56vh; padding:0; background-position:center 32%;
    background-size: 120% auto; background-color:#0b2a4d; }
}
