/* Imperion Group — responsive landing (mobile-first) */
:root{
  --bg:#f6f6fb;
  --bg2:#f1f0fb;
  --card:#ffffff;
  --text:#111827;
  --muted:#5b6474;
  --line:#e7e7f3;
  --primary:#3b2b86;
  --primary2:#6a5cff;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --radius: 18px;
  --radius2: 26px;
  --max: 1160px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.5;
}

img{max-width:100%; height:auto; display:block}
a{color:inherit; text-decoration:none}
strong{font-weight:650}

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

.skip-link{
  position:absolute; left:-999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{left:16px; top:16px; width:auto; height:auto; padding:10px 12px; background:var(--card); border-radius:12px; box-shadow:var(--shadow); z-index:999}

.header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(246, 246, 251, .82);
  border-bottom:1px solid rgba(231,231,243,.7);
}

.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 230px;
}
.brand__mark{
  width:42px; height:42px;
  border-radius:14px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color:white;
  font-weight:800;
  letter-spacing:.5px;
}
.brand__name{font-weight:800}
.brand__tag{display:block; font-size:12px; color:var(--muted); margin-top:2px}

.nav{
  display:none;
  align-items:center;
  gap:18px;
}
.nav__link{
  font-size:14px;
  color:var(--muted);
  padding:10px 10px;
  border-radius:12px;
}
.nav__link:hover{background:rgba(59,43,134,.06); color:var(--text)}
.nav__link--cta{
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color:white;
  font-weight:650;
}
.nav__link--cta:hover{background: linear-gradient(135deg, var(--primary), var(--primary2)); color:white; opacity:.95}

.nav-toggle{
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid var(--line);
  background:var(--card);
  box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
  display:grid;
  place-items:center;
  cursor:pointer;
}
.nav-toggle__bar{
  display:block;
  width:18px; height:2px;
  background: var(--text);
  margin:2px 0;
  border-radius:2px;
}
.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0}

.nav.is-open{
  position:fixed;
  inset:70px 16px auto 16px;
  display:grid;
  gap:10px;
  padding:14px;
  background:rgba(255,255,255,.92);
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow: var(--shadow);
}
.nav.is-open .nav__link{display:block}

.hero{
  position:relative;
  padding:54px 0 26px;
  overflow:hidden;
}
.hero__bg{
  position:absolute;
  inset:0;
  background-image:
    radial-gradient(1200px 600px at 0% 0%, rgba(106,92,255,.18), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(59,43,134,.16), transparent 60%),
    linear-gradient(180deg, rgba(246,246,251,.95), rgba(246,246,251,1)),
    url("assets/hero.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.02);
  opacity: 1;
}
.hero__inner{
  position:relative;
  display:grid;
  gap:18px;
}
.hero__content{
  padding:22px 0;
}
.kicker{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:7px 12px;
  background: rgba(59,43,134,.08);
  border:1px solid rgba(59,43,134,.12);
  border-radius:999px;
  color: var(--primary);
  font-size:12px;
  font-weight:650;
}
.hero h1{
  margin:14px 0 10px;
  font-size: clamp(28px, 4.4vw, 54px);
  line-height:1.06;
  letter-spacing: -0.02em;
}
.lead{
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
  max-width: 60ch;
}
.hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 16px 0 18px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 14px;
  border:1px solid transparent;
  font-weight:650;
  font-size: 14px;
  cursor:pointer;
}
.btn--primary{
  color:white;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow: 0 16px 30px rgba(59,43,134,.18);
}
.btn--primary:hover{opacity:.95}
.btn--ghost{
  background: rgba(255,255,255,.82);
  border-color: rgba(231,231,243,.9);
}
.btn--ghost:hover{background: rgba(255,255,255,.95)}
.btn--block{width:100%}

.hero__metrics{
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
  margin-top: 14px;
  max-width: 720px;
}
.metric{
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(231,231,243,.9);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 10px 30px rgba(15,23,42,.05);
}
.metric__num{font-weight:800; color:var(--primary); font-size:14px}
.metric__txt{color:var(--muted); font-size:13px; margin-top:4px}

.hero__card{
  background: rgba(255,255,255,.88);
  border:1px solid rgba(231,231,243,.92);
  border-radius: var(--radius2);
  padding: 18px;
  box-shadow: var(--shadow);
}
.hero__card-title{font-weight:800; margin-bottom:10px}

.section{
  padding: 54px 0;
}
.section--alt{background: var(--bg2)}
.section--cta{background: linear-gradient(180deg, var(--bg2), var(--bg))}
.section__head{
  display:grid;
  gap:10px;
  margin-bottom: 22px;
}
.section__head h2{
  margin:0;
  font-size: clamp(22px, 3.1vw, 34px);
  letter-spacing:-0.02em;
}
.muted{color:var(--muted)}
.small{font-size:12px}
.subhead{margin-top: 24px; margin-bottom: 14px}
.subhead h3{margin:0 0 4px; font-size:18px}
.section__divider{height:1px; background:var(--line); margin: 26px 0}

.grid{
  display:grid;
  gap:14px;
}
.grid--2{grid-template-columns:1fr}
.grid--3{grid-template-columns:1fr}
.grid--4{grid-template-columns:1fr}
.grid--5{grid-template-columns:1fr}

.card{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
}
.card h3{margin:0 0 6px; font-size:16px}
.card h4{margin:0 0 6px; font-size:15px}
.card p{margin:0}
.card--soft{
  background: rgba(255,255,255,.78);
}
.card--mini{padding:14px}
.card--image{
  padding:0;
  overflow:hidden;
}
.card--image img{
  width:100%;
  height:100%;
  object-fit:cover;
  min-height: 220px;
}
.card__icon{
  width:44px; height:44px;
  border-radius: 16px;
  display:grid; place-items:center;
  background: rgba(59,43,134,.08);
  color: var(--primary);
  border:1px solid rgba(59,43,134,.12);
  margin-bottom: 10px;
}
.card__icon svg{width:22px; height:22px}

.note{
  margin-top: 16px;
  background: rgba(59,43,134,.06);
  border:1px solid rgba(59,43,134,.12);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.note__title{font-weight:800; color:var(--primary); margin-bottom:6px}
.note--wide{margin-top: 18px}

.pill{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  background: rgba(106,92,255,.12);
  color: var(--primary);
  border:1px solid rgba(106,92,255,.18);
  margin-bottom: 10px;
}
.pill--dark{
  background: rgba(59,43,134,.10);
  border-color: rgba(59,43,134,.14);
}

.checklist, .bullets{
  margin:10px 0 0;
  padding:0;
  list-style:none;
}
.checklist li, .bullets li{
  position:relative;
  padding-left: 26px;
  margin: 10px 0;
  color: var(--muted);
}
.checklist li::before{
  content:"";
  position:absolute;
  left:0; top:4px;
  width:16px; height:16px;
  border-radius:6px;
  background: rgba(106,92,255,.16);
  border:1px solid rgba(106,92,255,.26);
}
.checklist li::after{
  content:"";
  position:absolute;
  left:5px; top:8px;
  width:7px; height:4px;
  border-left: 2px solid var(--primary2);
  border-bottom: 2px solid var(--primary2);
  transform: rotate(-45deg);
}
.bullets li::before{
  content:"";
  position:absolute;
  left:8px; top:11px;
  width:6px; height:6px;
  border-radius: 50%;
  background: rgba(59,43,134,.55);
}
.numbers{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.numbers li{margin:8px 0}

.price-table{
  margin-top:12px;
  border:1px solid var(--line);
  border-radius: 14px;
  overflow:hidden;
}
.price-row{
  display:grid;
  grid-template-columns: 1fr auto;
  gap:10px;
  align-items:center;
  padding: 12px 12px;
  background: rgba(255,255,255,.75);
  border-bottom:1px solid var(--line);
}
.price-row:last-child{border-bottom:none}
.price-cell{font-size:13px; color:var(--muted); min-width:0}
.price-cell--right{font-weight:750; color:var(--text); white-space:nowrap}

.timeline{
  display:grid;
  gap:12px;
  margin-top: 14px;
}
.timeline__item{
  display:grid;
  grid-template-columns: 40px 1fr;
  gap:12px;
  align-items:start;
}
.timeline__dot{
  width:36px; height:36px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(59,43,134,.14), rgba(106,92,255,.16));
  border:1px solid rgba(59,43,134,.18);
  color: var(--primary);
  display:grid;
  place-items:center;
  font-weight:800;
}
.timeline__body h3{margin:0 0 3px}
.timeline__body p{margin:0}

.stat{padding:10px 0}
.stat__kpi{font-weight:800; color:var(--primary)}
.stat__txt{color:var(--muted); font-size:13px; margin-top:4px}

.stepper{
  position:relative;
  display:grid;
  gap:16px;
  margin-top: 18px;
}
.stepper__line{
  display:none;
  position:absolute;
  left:50%;
  top:18px;
  bottom:18px;
  width:2px;
  background: rgba(59,43,134,.18);
  transform: translateX(-50%);
  border-radius: 2px;
}
.stepper__col{display:grid; gap:12px}
.stepper__step{
  display:grid;
  grid-template-columns: 44px 1fr;
  gap:12px;
  background: rgba(255,255,255,.82);
  border:1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
}
.stepper__num{
  width:44px; height:44px;
  border-radius: 16px;
  background: rgba(106,92,255,.13);
  border: 1px solid rgba(106,92,255,.22);
  color: var(--primary);
  font-weight:800;
  display:grid; place-items:center;
}
.stepper__content h3{margin:0 0 6px}

.accordion{display:grid; gap:10px; margin-top: 14px}
.acc{
  border:1px solid var(--line);
  background: rgba(255,255,255,.82);
  border-radius: var(--radius);
  overflow:hidden;
}
.acc summary{
  cursor:pointer;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:3px;
  padding: 14px 16px;
}
.acc summary::-webkit-details-marker{display:none}
.acc__title{font-weight:800}
.acc__meta{font-size:12px; color:var(--muted)}
.acc[open] summary{background: rgba(59,43,134,.06)}
.acc__body{padding: 0 16px 16px}

.acc__grid{
  display:grid;
  gap:14px;
}
.acc__img{
  border-radius: 18px;
  border:1px solid rgba(231,231,243,.9);
  overflow:hidden;
  object-fit:cover;
  width:100%;
  height: 260px;
}
.acc__body p{margin: 0 0 10px; color:var(--muted)}
.acc__body-text{padding-top: 12px}

.callout{
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(106,92,255,.10);
  border:1px solid rgba(106,92,255,.18);
}
.callout__title{font-weight:800; color:var(--primary); margin-bottom:4px}
.callout p{margin:0; color: var(--text)}

.card--listing{
  padding:0;
  overflow:hidden;
}
.card--listing img{
  height: 160px;
  width:100%;
  object-fit:cover;
}
.card--listing .card__body{
  padding: 12px 14px 14px;
}
.meta{font-size:12px; color:var(--muted); margin-top:4px}

.card--case{
  padding:0;
  overflow:hidden;
}
.card--case img{
  height: 200px;
  width:100%;
  object-fit:cover;
}
.case__content{padding: 14px 16px 18px}
.case__content h3{margin:0 0 4px}
.case__content ul{margin-top: 10px}

.contact-card{
  display:grid;
  gap:10px;
  padding: 16px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.contact-card__label{font-size:12px; color:var(--muted); font-weight:650}
.contact-card__name{font-size:20px; font-weight:800; letter-spacing:-0.01em}
.contact-card__phone{
  font-size:18px;
  font-weight:800;
  text-decoration:none;
  color:var(--text);
}
.contact-card__phone:hover{color:var(--primary)}
.contact-card__actions{display:grid; gap:10px}

.cta{
  display:grid;
  gap:16px;
  padding: 18px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}
.form{
  display:grid;
  gap:12px;
}
.field{display:grid; gap:6px}
.field span{font-size:12px; color:var(--muted); font-weight:650}
input, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border:1px solid rgba(231,231,243,1);
  background: rgba(255,255,255,.92);
  font: inherit;
}
input:focus, textarea:focus{outline: none; border-color: rgba(106,92,255,.55); box-shadow: 0 0 0 4px rgba(106,92,255,.14)}

.footer{
  padding: 22px 0 34px;
}
.footer__inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  border-top: 1px solid rgba(231,231,243,.7);
  padding-top: 18px;
}
.footer__brand{font-weight:800}
.footer__right{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-end;
}

@media (min-width: 720px){
  .nav{display:flex}
  .nav-toggle{display:none}
  .hero{padding:72px 0 32px}
  .hero__inner{grid-template-columns: 1.5fr .9fr; align-items:start; gap:20px}
  .hero__metrics{grid-template-columns: repeat(3, 1fr)}
  .grid--2{grid-template-columns: repeat(2, 1fr)}
  .grid--3{grid-template-columns: repeat(3, 1fr)}
  .grid--4{grid-template-columns: repeat(2, 1fr)}
  .grid--5{grid-template-columns: repeat(5, 1fr)}
  .acc__grid{grid-template-columns: 1fr 1.2fr; align-items:start}
  .acc__img{height: 320px}
  .stepper{grid-template-columns: 1fr 1fr; gap:22px}
  .stepper__line{display:block}
  .cta{grid-template-columns: 1.1fr .9fr; padding: 22px}
}

@media (min-width: 1020px){
  .grid--4{grid-template-columns: repeat(4, 1fr)}
  .card--listing img{height: 175px}
  .card--case img{height: 220px}
}
