:root{
  --bg:#f6f7fb;
  --card:#fff;
  --text:#171a21;
  --muted:#5a6270;
  --line:#e6eaf0;
  --accent:#1f66ff;
  --accent-soft:#eef4ff;
  --shadow:0 10px 24px rgba(16,24,40,.06);
}

*{
  box-sizing:border-box;
}

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

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

a{
  color:var(--accent);
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
}

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

/* HEADER */

.header{
  position:sticky;
  top:0;
  z-index:999;
  padding:0;
  background:#ffffff;
  border-bottom:1px solid var(--line);
  box-shadow:0 4px 16px rgba(16,24,40,.06);
  transition:transform 0.25s ease, opacity 0.25s ease;
}

.header.header-hidden{
  transform:translateY(-100%);
  opacity:0;
}

.header .container{
  padding-top:0;
  padding-bottom:0;
}

.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:0;
  min-height:112px;
}

.brand{
  display:flex;
  align-items:center;
  gap:16px;
  margin:0;
  line-height:0;
  flex:0 0 auto;
}

.logo-text{
  display:flex;
  align-items:center;
  margin:0;
  padding:0;
  line-height:0;
  flex-shrink:0;
}

.logo-full{
  height:100px;
  width:auto;
  display:block;
  margin:0;
}

.brand h1{
  margin:0;
  font-size:20px;
  line-height:1.05;
}

.brand p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.3;
}

.nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
}

.nav a{
  padding:5px 10px;
  border:1px solid transparent;
  border-radius:8px;
  background:transparent;
  color:#202733;
  font-weight:700;
  font-size:14px;
  line-height:1.2;
}

.nav a:hover{
  background:#eef4ff;
  border-color:#cfe0ff;
  text-decoration:none;
}

.nav a:last-child{
  background:var(--accent);
  color:#fff;
  border-color:var(--accent);
}

/* HERO */

.hero{
  padding:40px 0 20px;
  background:linear-gradient(180deg,#eef4ff 0%, #f6f7fb 100%);
  border-radius:22px;
}

.hero-grid,
.grid-2,
.grid-3,
.grid-4,
.stats,
.footer-grid{
  display:grid;
  gap:18px;
}

.hero-grid{
  grid-template-columns:1.18fr .82fr;
}

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

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

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

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

.card,
.panel,
.stat,
.faq-item{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:var(--shadow);
}

.hero-card{
  padding:32px;
  border-radius:22px;
  box-shadow:0 12px 30px rgba(16,24,40,.08);
}

.eyebrow{
  display:inline-block;
  padding:7px 10px;
  border-radius:999px;
  background:var(--accent-soft);
  border:1px solid #cfe0ff;
  color:#0b377f;
  font-size:13px;
  font-weight:700;
}

h1,
h2,
h3{
  line-height:1.15;
}

.hero h2{
  font-size:42px;
  margin:14px 0;
}

.hero p,
.small,
.panel p,
.card p,
.faq-item p{
  color:var(--muted);
}

.badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}

.badge{
  padding:8px 11px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#f7f9fd;
  font-size:13px;
}

.actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}

.btn{
  display:inline-block;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--accent);
  background:var(--accent);
  color:#fff;
  font-weight:800;
}

.btn.secondary{
  background:#fff;
  color:var(--accent);
  border-color:var(--line);
}

/* SECTIONS */

.section{
  margin:30px 0;
}

.section-alt{
  background:#ffffff;
  padding:35px;
  border-radius:20px;
  margin:40px 0;
  box-shadow:0 10px 24px rgba(16,24,40,.05);
}

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

.section-head h2{
  margin-bottom:8px;
}

.section-head p{
  max-width:700px;
}

.card{
  overflow:hidden;
}

.card img{
  width:100%;
  height:220px;
  object-fit:cover;
  background:#edf2fb;
}

.card-body{
  padding:18px;
}

.panel{
  padding:20px;
}

.stat{
  padding:18px;
}

.stat strong{
  display:block;
  font-size:28px;
}

.notice{
  padding:14px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fbfcff;
}

.form-row{
  margin-bottom:12px;
}

label{
  display:block;
  font-weight:700;
  font-size:14px;
  margin-bottom:6px;
}

.input,
textarea,
select{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  font:inherit;
}

textarea{
  min-height:160px;
  resize:vertical;
}

.faq-list{
  display:grid;
  gap:14px;
}

.faq-item{
  padding:18px;
}

.footer{
  margin-top:38px;
  background:#fff;
  border-top:1px solid var(--line);
}

.footer-grid{
  grid-template-columns:1.2fr .8fr;
  padding:24px 0;
}

.breadcrumbs{
  font-size:13px;
  color:var(--muted);
  margin:6px 0 0;
}

.image-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}

.image-strip img{
  border-radius:18px;
  border:1px solid var(--line);
  height:180px;
  object-fit:cover;
  background:#eef2fb;
}

hr.sep{
  border:none;
  border-top:1px solid var(--line);
  margin:18px 0;
}

ul,
ol{
  padding-left:20px;
}

/* RESPONSIVE */

@media (max-width: 1040px){
  .grid-4,
  .image-strip{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 980px){
  .hero-grid,
  .grid-2,
  .grid-3,
  .stats,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .hero h2{
    font-size:34px;
  }
}

@media (max-width: 900px){
  .container{
    padding:16px;
  }

  .header{
    position:sticky;
    top:0;
    z-index:999;
  }

  .header .container{
    padding-top:0;
    padding-bottom:0;
  }

  .topbar{
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    padding:8px 0;
    min-height:auto;
    gap:8px;
  }

  .brand{
    width:100%;
  }

  .logo-text{
    display:inline-flex;
  }

  .logo-full{
    height:clamp(90px, 12vw, 105px);
  }

  .nav{
    width:100%;
    justify-content:flex-start;
    gap:6px;
  }

  .nav a{
    padding:6px 8px;
    font-size:12px;
    border-radius:10px;
  }
}

@media (max-width: 640px){
  .container{
    padding:14px;
  }

  .logo-full{
    height:105px;
  }

  .nav{
    gap:5px;
  }

  .nav a{
    padding:5px 7px;
    font-size:11px;
  }

  .grid-4,
  .image-strip{
    grid-template-columns:1fr;
  }
}
