:root{
  --bg:#0b0f14;
  --bg2:#0f1a25;
  --card:#0f1720;
  --text:#e7eef8;
  --muted:#a9b6c7;
  --line:rgba(255,255,255,.10);
  --accent:#3b82f6;
  --accent-dark:#2563eb;
  --shadow:0 14px 36px rgba(0,0,0,.30);
}

*{box-sizing:border-box}

html,body{
  margin:0;
  padding:0;
}

html{
  scroll-behavior:smooth;
  scroll-padding-top:96px;
}

body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.5;
}

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

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

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

/* Global transitions */
a,
button,
.service,
.btn,
.card,
.detail-card,
.contact-card{
  transition:
    transform .18s ease,
    background-color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    color .18s ease,
    opacity .18s ease;
}

/* Header */
.site-header{
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(59,130,246,.18), transparent 55%),
    radial-gradient(900px 500px at 90% 20%, rgba(34,197,94,.12), transparent 55%),
    linear-gradient(to right, #070c14 0%, #0b1420 60%, #0f1a25 100%);
}

.sticky-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  background:rgba(11,15,20,.58);
  border-bottom:1px solid var(--line);
}

.sticky-header .container{
  padding-top:10px;
  padding-bottom:10px;
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  max-width:1100px;
  margin:0 auto;
  padding:0 24px;
}

.brand{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding-left:4px;
}

.logo{
  display:inline-flex;
  align-items:center;
}

.logo img{
  height:72px;
  width:auto;
  filter:drop-shadow(0 4px 14px rgba(0,0,0,.65));
}

.brand-sub{
  color:var(--muted);
  font-size:13px;
  letter-spacing:.2px;
  line-height:1.3;
}

/* Nav */
.nav{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  padding-top:10px;
}

.nav a{
  position:relative;
  color:rgba(231,238,248,.85);
  font-size:14px;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid transparent;
}

.nav a::after{
  content:"";
  position:absolute;
  left:10px;
  right:10px;
  bottom:4px;
  height:2px;
  background:rgba(59,130,246,.8);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .2s ease;
}

.nav a:hover{
  transform:translateY(-1px);
  color:var(--text);
  background:rgba(255,255,255,.05);
  border-color:var(--line);
}

.nav a:hover::after{
  transform:scaleX(1);
}

.nav .nav-cta{
  background:rgba(255,255,255,.06);
  border-color:var(--line);
}

/* Hero */
.hero{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:40px;
  padding:70px 0 80px;
}

.hero-copy,
.hero-card,
.section{
  animation:fadeUp .6s ease-out both;
}

@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(10px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

h1{
  font-size:44px;
  line-height:1.15;
  margin:18px 0 22px;
  letter-spacing:-.5px;
}

h2{
  font-size:28px;
  line-height:1.2;
  margin:0 0 8px;
}

h3{
  margin:0 0 8px;
}

.lead{
  color:var(--muted);
  font-size:18px;
  line-height:1.6;
  max-width:60ch;
}

.cta-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:16px 0 8px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid var(--line);
  font-weight:700;
  position:relative;
  isolation:isolate;
  box-shadow:0 10px 22px rgba(0,0,0,.22);
}

.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(0,0,0,.32);
}

.btn:active{
  transform:translateY(0) scale(.99);
}

.btn.primary{
  background:linear-gradient(to right, #3b82f6, #2563eb);
  border-color:#2563eb;
  box-shadow:0 10px 25px rgba(59,130,246,.25);
}

.btn.primary:hover{
  background:linear-gradient(to right, #2563eb, #1d4ed8);
}

.btn.secondary{
  background:rgba(255,255,255,.05);
}

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

.btn.full{
  width:100%;
}

/* Text helpers */
.micro{
  color:var(--muted);
  font-size:13px;
}

.micro.center{
  text-align:center;
}

.micro a{
  color:#60a5fa;
  font-weight:500;
}

.micro a:hover{
  text-decoration:underline;
}

/* Cards */
.card,
.detail-card{
  background:rgba(15,23,32,.90);
  border:1px solid var(--line);
  border-radius:16px;
  padding:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.card-sub{
  color:var(--muted);
  margin:0 0 12px;
}

.checklist,
.bullets{
  margin:12px 0 0;
  padding-left:18px;
  color:var(--muted);
}

.checklist li,
.bullets li{
  margin-bottom:8px;
}

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

.section.alt{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:rgba(255,255,255,.02);
}

.section-head{
  margin-bottom:18px;
}

.section-head p{
  margin:0;
  color:var(--muted);
}

/* Grids */
.grid{
  display:grid;
  gap:14px;
}

.grid.cards-3{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

/* Service cards */
.service{
  display:block;
  background:rgba(255,255,255,.03);
  border:1px solid var(--line);
  border-radius:16px;
  padding:18px;
  box-shadow:0 0 0 rgba(0,0,0,0);
}

.service:hover{
  transform:translateY(-5px);
  background:rgba(255,255,255,.06);
  border-color:rgba(59,130,246,.22);
  box-shadow:0 18px 40px rgba(0,0,0,.35);
}

.service h3{
  margin:0 0 8px;
}

.service:hover h3{
  color:#60a5fa;
}

.service p{
  margin:0 0 12px;
  color:var(--muted);
}

.service .link{
  display:inline-block;
  color:rgba(59,130,246,.95);
  font-weight:700;
  font-size:14px;
}

/* Areas */
.area-pills{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:14px;
}

.area-pills span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 16px;
  border-radius:999px;
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  color:var(--text);
  font-weight:600;
  box-shadow:0 8px 20px rgba(0,0,0,.18);
}

/* Details */
.details-stack{
  display:grid;
  gap:14px;
  max-width:900px;
  margin:0 auto;
}

.detail-card{
  scroll-margin-top:110px;
}

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

/* Layout helpers */
.two-col{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:16px;
  align-items:start;
}

.contact-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:14px 0;
}

.contact-split .card{
  height:100%;
}

/* Footer */
.footer{
  padding:22px 0;
}

.footer-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  border-top:1px solid var(--line);
  padding-top:18px;
}

.brand-name.small{
  font-size:16px;
}

/* Floating actions */
.floating-actions{
  position:fixed;
  bottom:20px;
  right:20px;
  display:flex;
  flex-direction:column;
  gap:12px;
  z-index:200;
}

.float-btn{
  width:58px;
  height:58px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  text-decoration:none;
  color:white;
  box-shadow:0 10px 25px rgba(0,0,0,.35);
}

.float-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 30px rgba(0,0,0,.45);
}

.float-btn.call{
  background:rgba(255,255,255,.1);
}

.float-btn.text{
  background:linear-gradient(to right, #22c55e, #16a34a);
  box-shadow:0 10px 25px rgba(34,197,94,.35);
}

/* Tablet */
@media (max-width: 900px){
  .hero,
  .grid.cards-3,
  .two-col{
    grid-template-columns:1fr;
  }

  h1{
    font-size:34px;
  }
}

/* Mobile */
@media (max-width: 768px){
  .container{
    padding:20px 16px;
  }

  .sticky-header .container{
    padding:6px 16px;
  }

  .topbar{
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:6px 0;
    text-align:center;
  }

  .brand{
    align-items:center;
    gap:6px;
    padding-left:0;
  }

  .logo img{
    height:56px;
  }

  .brand-sub{
    font-size:12px;
    line-height:1.25;
    max-width:260px;
  }

  .nav{
    width:100%;
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:8px;
    padding-top:6px;
  }

  .nav a{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    padding:10px 8px;
    font-size:14px;
    border-radius:12px;
    text-align:center;
    background:rgba(255,255,255,.04);
    border:1px solid var(--line);
  }

  .nav a::after{
    display:none;
  }

  .nav .nav-cta{
    background:rgba(255,255,255,.08);
  }

  .hero{
    gap:24px;
    padding:36px 0 48px;
  }

  h1{
    font-size:28px;
    line-height:1.25;
  }

  .lead{
    font-size:16px;
    max-width:100%;
  }

  .cta-row,
  .contact-actions{
    flex-direction:column;
    gap:14px;
  }

  .btn{
    width:100%;
    padding:14px 16px;
    font-size:16px;
  }

  .service,
  .card,
  .detail-card{
    padding:20px;
  }

  .area-pills{
    gap:10px;
  }

  .area-pills span{
    width:100%;
    min-height:44px;
  }
}

/* Desktop only */
@media (min-width: 769px){
  .floating-actions{
    display:none;
  }
}