<style>

/* ======================================================
   BASE
====================================================== */
*{box-sizing:border-box;}



html,body{
  margin:0;
  font-family:'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background:#f3f6fa;
  color:#182d50;
  overflow-x:hidden;
}

/* ======================================================
   LAYOUT
====================================================== */

/* HEADER */
header{background:#fff;border-bottom:1px solid #e6ebf1;}
.header-inner{
  max-width:1200px;
  margin:0 auto;
  padding:14px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:72px;
}
.logo{font-size:20px;font-weight:700;color:#1e3a8a;white-space:nowrap;}
nav{display:flex;gap:20px;font-size:14px;white-space:nowrap;}
nav a{text-decoration:none;color:#4a5a6a;padding:6px 10px;border-radius:8px;}
nav a:hover{background:#eef3fb;color:#182d50;}

/* MAIN */
main{max-width:1200px;margin:0 auto;padding:48px 20px 80px;}

/* FOOTER */
footer{
  margin-top:80px;
  background:#fff;
  border-top:1px solid #e6ebf1;
  padding:40px 20px;
}
.footer-inner{
  max-width:1200px;
  margin:0 auto;
  text-align:center;
  font-size:12px;
  color:#6b7b8a;
  line-height:1.6;
}

/* ======================================================
   COMPONENTS
====================================================== */

/* HERO */
.hero{
  background:#fff;
  border-radius:20px;
  padding:36px;
  box-shadow:0 16px 40px rgba(15,40,80,.12);
}
.hero-title{font-size:32px;margin-bottom:8px;}
.hero-subtitle{color:#4a5a6a;margin-bottom:32px;max-width:700px;}
.hero-grid{display:grid;grid-template-columns:420px 1fr;gap:48px;}

.hero form label{
  display:block;
  margin-top:14px;
  font-size:13px;
  font-weight:600;
}
.hero form input{
  width:100%;
  margin-top:6px;
  padding:12px;
  border-radius:10px;
  border:1px solid #ccd6e0;
  font-size:14px;
}
.hero form input:focus{
  outline:none;
  border-color:#182d50;
  box-shadow:0 0 0 3px rgba(30,136,229,.15);
}
.hero form button{
  width:100%;
  margin-top:22px;
  padding:15px;
  border-radius:14px;
  background:#182d50;
  color:#fff;
  font-weight:700;
  border:none;
  cursor:pointer;
}

#form-error,#form-status{
  display:none;
  margin-top:12px;
  font-size:13px;
  text-align:center;
}
#form-error{color:#b00020;}
#form-status{color:#4a5a6a;}

.hero-right{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  align-items:flex-end;
}
.hero-trust{
  display:grid;
  gap:12px;
  font-size:14px;
  color:#4a5a6a;
  text-align:right;
  margin-bottom:20px;
}
.hero-trust div{
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
}
.hero-trust span{color:#182d50;font-weight:700;}
.hero-illustration img{width:100%;max-width:620px;}

/* TRUST */
.section-title{font-size:28px;margin:72px 0 8px;}
.section-subtitle{color:#4a5a6a;max-width:700px;margin-bottom:40px;}

.trust-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
}
.trust-card{
  background:#fff;
  border-radius:20px;
  padding:40px;
  box-shadow:0 16px 40px rgba(15,40,80,.12);
  display:flex;
  flex-direction:column;
  gap:24px;
}
.trust-card img{width:120px;height:120px;object-fit: contain;}
.trust-card-title{font-size:18px;font-weight:600;}
.trust-card-text{font-size:15px;color:#4a5a6a;line-height:1.5;}

.trust-title{
  margin:72px 0 24px;
  font-size:22px;
  text-align:center;
}
.trust-companies{
  background:#fff;
  border-radius:20px;
  padding:32px;
  box-shadow:0 16px 40px rgba(15,40,80,.08);
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  gap:20px;
  text-align:center;
  color:#6b7b8a;
  font-size:14px;
}

/* FACTORS */
.factors-header{margin:96px 0 32px;}
.factors{
  background:#eef3fb;
  border-radius:24px;
  padding:48px 20px;
}
.factors-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:32px;
}
.factor-item{
  background:#fff;
  border-radius:16px;
  padding:24px;
  display:grid;
  grid-template-columns:112px 1fr;
  gap:20px;
  align-items:center;
}
.factor-item img{width:112px;height:102px;object-fit:contain;}
.factor-title{font-size:16px;font-weight:600;margin-bottom:6px;}
.factor-text{font-size:14px;color:#4a5a6a;line-height:1.4;}
.factors-link{
  background:none;
  border:none;
  padding:0;
  margin:0;
  font:inherit;
  color:#182d50;
  cursor:pointer;
  display:inline;
  vertical-align:baseline;
}

/* ======================================================
   DIALOGS
====================================================== */

#factorsDialog{
  box-sizing:border-box;
  width:min(720px,100%);
  max-height:calc(100dvh - 32px);
  padding:0;
  border:none;
  border-radius:20px;
  margin:auto;
}
#factorsDialog::backdrop{
  background:rgba(11,31,51,.55);
}

#factorsDialog .dialog-header{
  position:relative;
  padding:24px 28px;
  border-bottom:1px solid #e6ebf1;
}
#factorsDialog .dialog-title{
  margin:0;
  font-size:24px;
  font-weight:700;
}
#factorsDialog .dialog-close{
  position:absolute;
  top:16px;
  right:16px;
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  border:none;
  background:#182d50;
  color:#fff;
  font-size:22px;
  font-weight:700;
  line-height:1;
  cursor:pointer;
}
#factorsDialog .dialog-close:hover{
  background:#e6edf7;
  color:#182d50;
}
#factorsDialog .dialog-body{
  padding:28px;
  overflow-y:auto;
}
#factorsDialog .dialog-box{
  background:#eef3fb;
  border-radius:16px;
  padding:18px;
  margin-bottom:24px;
  font-size:15px;
}
/* ======================================================
   RESPONSIVE
====================================================== */

/* Mobile navigation safety */
@media (max-width:480px){
  nav{
    flex-wrap:wrap;
    gap:12px;
    white-space:normal;
  }
}

/* Tablet & down */
@media (max-width:900px){
  .hero-grid,
  .trust-grid,
  .factors-grid{
    grid-template-columns:1fr;
  }

  .hero-right{
    align-items:flex-start;
    text-align:left;
  }
}

/* Mobile header layout */
@media (max-width:700px){
  .header-inner{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
  }

  nav{
    width:100%;
    display:flex;
    flex-direction:column;
    gap:8px;
  }

  nav a{
    padding:8px 0;
  }
}

/* Mobile dialog fullscreen */
@media (max-width:700px){
  #factorsDialog{
    width:100vw;
    height:100dvh;
    border-radius:0;
  }
}


</style>
