:root{
  --bg:#0b1220; --card:#111a2e; --muted:#a8b3cf; --text:#e9eeff;
  --accent:#5eead4; --accent2:#60a5fa; --border:rgba(255,255,255,.10);
  --shadow:0 10px 30px rgba(0,0,0,.35); --radius:18px; --max:1100px;
  --font: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, -apple-system;
}
*{box-sizing:border-box}
body{
  margin:0; font-family:var(--font); color:var(--text); line-height:1.55;
  background:
    radial-gradient(1200px 800px at 20% -10%, rgba(96,165,250,.18), transparent 55%),
    radial-gradient(1000px 700px at 90% 0%, rgba(94,234,212,.14), transparent 55%),
    var(--bg);
}
a{color:inherit}
.container{max-width:var(--max); margin:0 auto; padding:0 18px;}
header{
  position:sticky; top:0; z-index:20; backdrop-filter: blur(10px);
  background: rgba(11,18,32,.72); border-bottom:1px solid var(--border);
}
.nav{display:flex; align-items:center; justify-content:space-between; padding:14px 0;}
.brand{display:flex; gap:12px; align-items:center; text-decoration:none;}
.logo{
  width:42px; height:42px; border-radius:12px;
  background: linear-gradient(135deg, rgba(94,234,212,.9), rgba(96,165,250,.9));
  box-shadow: var(--shadow);
}
.brand .name{font-weight:750}
.brand .tag{font-size:12px; color:var(--muted); margin-top:2px}
.menu{display:flex; gap:18px; align-items:center}
.menu a{padding:8px 10px; border-radius:12px; text-decoration:none; color:rgba(233,238,255,.92);}
.menu a:hover{background:rgba(255,255,255,.06)}
.cta{
  display:inline-flex; padding:10px 14px; border-radius:14px; text-decoration:none;
  background: linear-gradient(135deg, rgba(94,234,212,.18), rgba(96,165,250,.18));
  border:1px solid rgba(94,234,212,.35);
}
.cta:hover{border-color:rgba(96,165,250,.55)}
.hero{padding:54px 0 18px;}
.kicker{color:var(--accent); font-weight:700; font-size:12px; letter-spacing:.14em; text-transform:uppercase}
h1{margin:10px 0; font-size:44px; line-height:1.05; letter-spacing:-0.02em}
.lead{max-width:75ch; color:rgba(233,238,255,.85); font-size:18px}
.section{padding:26px 0}
.grid{display:grid; gap:16px}
.grid.cols-2{grid-template-columns: repeat(2, minmax(0, 1fr));}
.grid.cols-3{grid-template-columns: repeat(3, minmax(0, 1fr));}
@media (max-width: 980px){
  .grid.cols-2,.grid.cols-3{grid-template-columns:1fr;}
  h1{font-size:36px}
  .menu{display:none}
}
.card{
  background: rgba(17,26,46,.72);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}
.muted{color:var(--muted)}
.pill{
  display:inline-flex; padding:6px 10px; border-radius:999px; font-size:12px;
  background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.10);
}
.btnrow{display:flex; gap:12px; flex-wrap:wrap; margin-top:16px}
.btn{
  display:inline-flex; padding:10px 14px; border-radius:14px; text-decoration:none;
  border:1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06);
}
.btn.primary{
  border-color: rgba(94,234,212,.45);
  background: linear-gradient(135deg, rgba(94,234,212,.22), rgba(96,165,250,.18));
}
.btn:hover{border-color: rgba(96,165,250,.55)}
.kv{display:grid; grid-template-columns:160px 1fr; gap:8px 14px; margin-top:12px}
.kv div{padding:6px 0; border-bottom:1px dashed rgba(255,255,255,.10)}
.kv div:nth-child(odd){color:rgba(233,238,255,.78)}
.callout{
  padding:16px; border-radius: var(--radius);
  border:1px solid rgba(94,234,212,.25); background: rgba(94,234,212,.08);
}
.footer{margin-top:40px; padding:28px 0; border-top:1px solid var(--border); color:rgba(233,238,255,.74);}
.small{font-size:12px}
ul{padding-left:18px}


/* --- Home refresh --- */
.center{text-align:center}
.btnrow.center{justify-content:center}
.section-head{margin:0 0 14px}
.section-head h2{margin:0}
.section-head p{margin:8px 0 0}

.header .brand{gap:14px}
.brand-logo{
  width:90px;
  height:auto;
  display:block;
  margin:0;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.25));
}
.brand-text .name{font-weight:800; letter-spacing:.2px}
.hero--image{
  position:relative;
  padding:70px 0 46px;
  background-image: var(--hero-bg);
  background-size:cover;
  background-position:center;
}
.hero--image:before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(11,18,32,.78) 0%, rgba(11,18,32,.74) 45%, rgba(11,18,32,.92) 100%);
}
.hero--image .container{position:relative}
.hero-inner{max-width:980px; margin:0 auto; text-align:center}
.trustbar{
  display:flex; gap:10px; flex-wrap:wrap; justify-content:center;
  margin-top:18px;
}
.card-link{display:block; text-decoration:none}
.card-link:hover{transform: translateY(-2px)}
.card-link{transition: transform .15s ease, border-color .15s ease}
.card-media{
  width:100%;
  height:150px;
  border-radius: calc(var(--radius) - 6px);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  margin-bottom:12px;
}
.card-media img{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
  transform: scale(1.02);
}
.card-cta{
  margin-top:10px;
  color: rgba(94,234,212,.95);
  font-weight:700;
  font-size:13px;
}
@media (max-width: 980px){
  .brand-logo{width:96px}
  .card-media{height:180px}
}


/* --- About page timeline --- */
.hero--subtle{
  position:relative;
  padding:62px 0 40px;
}
.hero--subtle:before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(1000px 600px at 50% 0%, rgba(96,165,250,.12), transparent 55%),
              radial-gradient(900px 600px at 40% 20%, rgba(94,234,212,.10), transparent 60%);
}
.hero--subtle .container{position:relative}

.timeline{
  position:relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 6px 0 0;
}
.timeline:before{
  content:"";
  position:absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,.10);
}
.t-item{
  position:relative;
  display:flex;
  gap:16px;
  align-items:flex-start;
  margin: 0 0 16px;
}
.t-dot{
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(94,234,212,.18);
  border: 1px solid rgba(94,234,212,.35);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  flex: 0 0 auto;
  margin-left: -1px;
}
.t-card{flex:1}

/* ensure hero content centered */
.hero .container{text-align:center}
.hero .lead{margin-left:auto;margin-right:auto}
.hero .btnrow{justify-content:center}


/* --- Global image sizing (smaller and consistent) --- */
img{max-width:100%; height:auto;}
main img{
  max-width:680px;
  width:100%;
  display:block;
  margin:14px auto;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
}
/* Keep logo unaffected by main img rules */
.brand-logo{max-width:none; border:0; margin:0; border-radius:0;}

/* Reduce homepage/product card image height */
.card-media{height:120px;}
@media (max-width: 980px){ .card-media{height:160px;} }

/* --- Contact form styling --- */
.contact-panel{max-width: 980px; margin: 0 auto;}
.form-note{
  border: 1px solid rgba(94,234,212,.25);
  background: rgba(94,234,212,.08);
  border-radius: 14px;
  padding: 12px 14px;
}
.hp-field{
  position:absolute;
  left:-5000px;
  width:1px;
  height:1px;
  overflow:hidden;
}
.contact-form{margin-top: 10px; position:relative}
.form-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.form-span-2{grid-column: 1 / -1;}
@media (max-width: 980px){ .form-grid{grid-template-columns:1fr;} }
.contact-form label{display:block; font-weight:700; font-size:13px; color:rgba(233,238,255,.9); margin-bottom:6px;}
.contact-form input,
.contact-form select,
.contact-form textarea{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.05);
  color:var(--text);
  outline:none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{ border-color: rgba(96,165,250,.55); }
.helptext{ margin-top:6px; font-size:12px; color: rgba(233,238,255,.65); }
.checkrow{ display:flex; gap:10px; align-items:flex-start; margin-top:14px; }
.checkrow input{ margin-top:3px; width:auto; }
.btn.btn-primary{
  margin-top:14px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(94,234,212,.45);
  background: linear-gradient(135deg, rgba(94,234,212,.22), rgba(96,165,250,.18));
  color: var(--text);
  cursor:pointer;
}
.btn.btn-primary:hover{border-color: rgba(96,165,250,.55);}

/* --- Legacy pages (about-us.html etc.) header/nav compatibility --- */
.header-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}
header nav ul{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
header nav ul li{margin:0}
header nav ul li a{
  text-decoration:none;
  padding:8px 10px;
  border-radius:12px;
  color:rgba(233,238,255,.92);
  display:inline-block;
}
header nav ul li a:hover{background:rgba(255,255,255,.06);}

main{display:block;}

/* --- Journey image on homepage --- */
.journey-img{
  width:100%;
  height:auto;
  display:block;
  margin:0 auto;
  border-radius:14px;
}
main img.journey-img{max-width:1100px;}
