:root{
  --bg:#0b0f14;
  --card:#0f1720;
  --text:#e7eef8;
  --muted:#a9b6c7;
  --line:rgba(255,255,255,.10);
  --accent:#3b82f6;
  --accent2:#22c55e;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
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}
.container{
  max-width:1100px;
  margin:0 auto;
  padding:24px 32px; /* increased side padding */
}
/* Smooth motion defaults */
a, button, .service, .btn{
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn.primary:hover{
  background: #2563eb; /* slightly darker blue */
  border-color: #2563eb;
}

.btn.secondary:hover{
  background: rgba(255,255,255,.08);
}
/* Service cards */
.service:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,.35);
}

/* Nav hover (slightly snappier) */
.nav a:hover{
  transform: translateY(-1px);
}
.nav a{
  position: relative;
}

.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::after{
  transform: scaleX(1);
}
.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,.14), transparent 55%),
  linear-gradient(to right, #070c14 0%, #0b1420 60%, #0f1a25 100%);
}
/* Sticky glass header */
.sticky-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(11,15,20,0.55);
  border-bottom: 1px solid var(--line);
}

.sticky-header .container{
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Prevent anchor jumps hiding under sticky header */
html{
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

/* Avoid double padding since sticky header now has padding */

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:0; /* IMPORTANT: remove the big 14px 0 26px */
}

.brand{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.logo{
  display:inline-flex;
  align-items:center;
}

.logo img{
  height: 90px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.65));
}

.brand-sub{
  color:var(--muted);
  font-size:13px;
  letter-spacing:.2px;
}

.nav{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  padding-top:10px; /* lines nav up with logo better */
}

.nav a{
  color:rgba(231,238,248,.85);
  font-size:14px;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid transparent;
}

.nav a:hover{
  color:var(--text);
  background:rgba(255,255,255,.05);
  border-color:var(--line);
}

.nav .nav-cta{
  background:rgba(255,255,255,.06);
  border-color:var(--line);
}
.hero{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:40px;
  padding:70px 0 80px;
}
.hero-copy{
  animation: fadeUp .6s ease-out both;
}

@keyframes fadeUp{
  from{
    opacity:0;
    transform: translateY(10px);
  }
  to{
    opacity:1;
    transform: translateY(0);
  }
}
h1{
  font-size:44px;          /* slightly bigger = stronger presence */
  line-height:1.15;        /* more breathing room */
  margin:18px 0 22px;      /* space above + below */
  letter-spacing:-0.5px;   /* subtle modern tightening */
}

.lead{
  color:var(--muted);
  font-size:18px;          /* easier to read */
  line-height:1.6;
  max-width:60ch;
}
.cta-row{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0 8px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 14px;border-radius:12px;
  border:1px solid var(--line);
  font-weight:700;
}
.btn.primary{background:rgba(59,130,246,.95);border-color:rgba(59,130,246,.75)}
.btn.secondary{background:rgba(255,255,255,.05)}
.btn.full{width:100%}
/* Enhanced button interaction */
.btn{
  position: relative;
  isolation: isolate;
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,0,0,.32);
}

.btn:active{
  transform: translateY(0px) scale(0.99);
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
}

.btn::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,.14), rgba(255,255,255,0));
  opacity:0;
  z-index:-1;
  transition: opacity .15s ease;
}

.btn:hover::after{
  opacity:1;
}
.micro{color:var(--muted);font-size:13px}
.micro.center{text-align:center}
.card{
  background:rgba(15,23,32,.9);
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.card h2,.card h3{margin:0 0 8px}
.card-sub{color:var(--muted);margin:0 0 12px}

.checklist{margin:12px 0 0;padding-left:18px;color:var(--muted)}
.section{padding:34px 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:14px}
.section-head h2{margin:0 0 6px;font-size:28px}
.section-head p{margin:0;color:var(--muted)}
.section{
  animation: fadeUp .6s ease both;
}
.grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
}
.service{
  background:rgba(255,255,255,.03);
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
  transition: transform .12s ease, background .12s ease;
}
.service:hover{transform: translateY(-2px); background:rgba(255,255,255,.05)}
.service h3{margin:0 0 8px}
.service p{margin:0 0 10px;color:var(--muted)}
.service .link{color:rgba(59,130,246,.95);font-weight:700;font-size:14px}
.service.muted{opacity:.85}
.service.muted:hover{transform:none}
.service h3{
  transition: color .15s ease;
}

.service:hover h3{
  color: #60a5fa;
}

.two-col{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:16px;
  align-items:start;
}
.bullets{margin:12px 0 0;padding-left:18px;color:var(--muted)}
.contact-actions{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0}
#contact .micro{
  margin-bottom: 8px;
}

.form label{display:block;margin:10px 0;color:var(--muted);font-size:13px}
input,textarea{
  width:100%;
  margin-top:6px;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.25);
  color:var(--text);
  outline:none;
}
input:focus,textarea:focus{border-color:rgba(59,130,246,.65)}

.footer{padding:22px 0}
.footer-row{
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  border-top:1px solid var(--line);
  padding-top:18px;
}
.brand-name.small{font-size:16px}

@media (max-width: 900px){
  .hero{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr}
  .two-col{grid-template-columns:1fr}
  h1{font-size:34px}
}

.brand{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
html{
  scroll-behavior: smooth;
  scroll-padding-top: 92px; /* adjust if your header is taller/shorter */
}

/* ========================= */
/* MOBILE POLISH */
/* ========================= */
@media (max-width: 768px){

  /* Compact mobile header */
  .sticky-header .container{
    padding: 6px 16px;
  }

  .topbar{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0;
  }

  .brand{
    gap: 4px;
  }

  .logo img{
    height: 56px;
    width: auto;
  }

  .brand-sub{
    font-size: 11px;
    line-height: 1.2;
  }

  .nav{
    width: auto;
    gap: 8px;
    padding-top: 0;
  }

  .nav a{
    padding: 6px 8px;
    font-size: 13px;
  }

  /* HERO SPACING */
  .hero{
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 0 48px;
  }

  .hero-copy .micro{
    font-size: 14px;
    line-height: 1.5;
  }

  h1{
    font-size: 28px;
    line-height: 1.25;
  }

  .lead{
    font-size: 16px;
    max-width: 100%;
  }

  /* Buttons full width on mobile */
  .cta-row{
    flex-direction: column;
    gap: 14px;
  }

  .btn{
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
  }

  /* Service cards more breathable */
  .grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service{
    padding: 20px;
  }

  /* Contact section cleaner stacking */
  .contact-actions{
    flex-direction: column;
    gap: 12px;
  }
}

/* ========================= */
/* Floating Call/Text Bubble */
/* ========================= */

.floating-actions{
  position: fixed;
  bottom: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 200;
  animation: floatIn .5s ease-out both;
}

@keyframes floatIn{
  from{ opacity: 0; transform: translateY(20px); }
  to{ opacity: 1; transform: translateY(0); }
}

.float-btn{
  width: 52px;
  height: 52px;
  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);
  transition: transform .15s ease, box-shadow .15s ease;
}

.float-btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,.45);
}

.float-btn.call{
  background: linear-gradient(to right, #2563eb, #1d4ed8);
  animation: pulse 3s infinite;
}

.float-btn.text{
  background: linear-gradient(to right, #16a34a, #15803d);
}

@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(37,99,235,.35); }
  70%{ box-shadow: 0 0 0 8px rgba(37,99,235,0); }
  100%{ box-shadow: 0 0 0 0 rgba(37,99,235,0); }
}

/* Hide floating buttons on desktop */
@media (min-width: 769px){
  .floating-actions{ display: none; }
}
