
:root{--brand:#0d4f8b;--accent:#1c8bc3;--dark:#12324a;--light:#f4f8fb}
body{color:#22313f;background:#fff;font-family:"Noto Sans",sans-serif;line-height:1.6}
a{color:var(--brand)} .logo img{max-height:62px;width:auto}
.site-nav{display:flex;gap:1.2rem;align-items:center}.site-nav a{text-decoration:none;color:#22313f;font-weight:600}.site-nav a:hover{color:var(--accent)}
.hero{background:linear-gradient(90deg,rgba(6,44,75,.88),rgba(6,44,75,.35)),url('assets/images/home/hero-bnr.jpg') center/cover;min-height:520px;display:flex;align-items:center;color:#fff}.hero .container{padding:70px 15px}.hero h1{font-size:clamp(2.2rem,5vw,4rem);font-weight:800;max-width:760px}.hero p{font-size:1.15rem;max-width:650px}
.btn-brand{display:inline-block;background:var(--accent);color:#fff!important;border:0;border-radius:6px;padding:.8rem 1.4rem;text-decoration:none;font-weight:700}.btn-outline-brand{display:inline-block;border:2px solid var(--accent);color:var(--accent)!important;border-radius:6px;padding:.7rem 1.3rem;text-decoration:none;font-weight:700}
.section{padding:70px 0}.section h2{text-align:center;color:var(--dark);font-weight:800;margin-bottom:15px}.lead{text-align:center;max-width:760px;margin:0 auto 35px}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:24px}.cardx{background:#fff;border-radius:12px;padding:28px;box-shadow:0 8px 30px rgba(18,50,74,.10);height:100%}.cardx img{max-height:70px;object-fit:contain;margin-bottom:15px}
.inner-hero{background:linear-gradient(90deg,rgba(6,44,75,.88),rgba(6,44,75,.45)),url('assets/images/about/inner-bnr-mob.jpg') center/cover;min-height:260px;color:#fff;display:flex;align-items:center}.inner-hero h1{font-size:3rem;font-weight:800}
.split{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}.split img{width:100%;border-radius:12px}.product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:25px}.product-card{overflow:hidden;border-radius:12px;background:#fff;box-shadow:0 8px 25px rgba(0,0,0,.09)}.product-card img{width:100%;height:210px;object-fit:cover}.product-card div{padding:22px}
.form-wrap{max-width:900px;margin:auto;background:#fff;padding:35px;border-radius:14px;box-shadow:0 10px 35px rgba(0,0,0,.1)}.form-control,.form-select{padding:.8rem}.required:after{content:" *";color:#c00}
.site-footer{background:#102f45;color:#dbe8f0;padding:45px 0 20px}.site-footer a{color:#fff;text-decoration:none}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.copyright{border-top:1px solid rgba(255,255,255,.2);margin-top:30px;padding-top:18px;text-align:center}
.alert{border-radius:8px}.muted{color:#667}
@media(max-width:768px){.site-nav{display:none}.open-nav-menu{display:flex}.split,.footer-grid{grid-template-columns:1fr}.hero{min-height:470px}.inner-hero{min-height:210px}.inner-hero h1{font-size:2.3rem}}

/* Reference form layouts — matched to supplied Crescita form screenshots */
.reference-form-section{
  padding:34px 0 46px;
  background:#fff;
}
.contact-reference-shell,
.application-reference-shell{
  background:#fff;
  box-shadow:none;
  border-radius:0;
}
.contact-reference-shell{
  max-width:790px!important;
  padding:0 23px;
}
.reference-form-title{
  margin:0 0 20px!important;
  text-align:left!important;
  color:#111!important;
  font-family:Georgia,"Times New Roman",serif;
  font-size:18px;
  line-height:1.25;
  font-weight:700!important;
}
.reference-form,
.application-reference-form{
  font-family:"Noto Sans",Arial,sans-serif;
  color:#111;
}
.reference-field{
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0;
}
.contact-reference-form .reference-field + .reference-field{
  margin-top:15px;
}
.reference-field label{
  color:#111;
  font-size:12px;
  line-height:1.2;
  font-weight:400;
}
.reference-input,
.reference-select,
.reference-textarea{
  display:block;
  width:100%;
  margin:0;
  border:1px solid #43b12294;
  border-radius:7px;
  outline:none;
  background:#fff;
  color:#222;
  font-family:"Noto Sans",Arial,sans-serif;
  font-size:12px;
  font-weight:400;
  transition:border-color .15s ease,box-shadow .15s ease;
}
.reference-input,
.reference-select{
  height:38px;
  padding:0 11px;
}
.reference-textarea{
  min-height:135px;
  resize:vertical;
  padding:10px 11px;
}
.reference-input::placeholder,
.reference-textarea::placeholder{
  color:#7b7b7b;
  opacity:1;
}
.reference-input:focus,
.reference-select:focus,
.reference-textarea:focus{
  border-color:#4840f0;
  box-shadow:0 0 0 2px rgba(91,85,255,.10);
}
.reference-actions{
  margin-top:20px;
}
.reference-submit{
  min-height:37px;
  padding:0 20px;
  border:0;
  border-radius:999px;
  background:linear-gradient(90deg,#414bc7 0%,#6d5cff 100%);
  color:#fff;
  font-family:"Noto Sans",Arial,sans-serif;
  font-size:12px;
  line-height:37px;
  font-weight:600;
  cursor:pointer;
  box-shadow:none;
}
.reference-submit:hover{filter:brightness(.97)}
.reference-submit:focus-visible{outline:3px solid rgba(91,85,255,.25);outline-offset:2px}
.form-status{margin-bottom:14px}
.reference-success,.reference-error{
  padding:10px 12px;
  border-radius:6px;
  font-size:12px;
  line-height:1.4;
}
.reference-success{background:#eef9f1;color:#185b2d;border:1px solid #b9dfc4}
.reference-error{background:#fff0f0;color:#8a1d1d;border:1px solid #efb8b8}

.application-reference-shell{
  max-width:1140px!important;
  padding:0 19px;
}
.application-groups{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  column-gap:22px;
  row-gap:30px;
  align-items:start;
}
.application-group{
  min-width:0;
  margin:0;
  padding:0;
  border:0;
}
.application-group legend{
  display:block;
  width:100%;
  margin:0 0 15px;
  padding:0;
  color:#111;
  font-family:Georgia,"Times New Roman",serif;
  font-size:14px;
  line-height:1.2;
  font-weight:700;
}
.application-group .reference-field + .reference-field{
  margin-top:11px;
}
.application-group .reference-field label{
  font-size:10px;
  line-height:1.15;
}
.application-group .reference-input,
.application-group .reference-select{
  height:34px;
  border-radius:5px;
  font-size:10px;
  padding:0 9px;
}
.application-group .reference-select{
  padding-right:28px;
  -webkit-appearance:auto;
  appearance:auto;
}
.application-group .reference-date{
  -webkit-appearance:auto;
  appearance:auto;
}
.reference-file-field{gap:7px}
.reference-file{
  display:block;
  width:100%;
  max-width:100%;
  font-family:"Noto Sans",Arial,sans-serif;
  font-size:9px;
  color:#222;
}
.reference-file::file-selector-button{
  margin-right:5px;
  padding:3px 6px;
  border:1px solid #999;
  border-radius:2px;
  background:#f5f5f5;
  color:#111;
  font:inherit;
  cursor:pointer;
}
.application-consent{
  margin-top:15px;
  color:#222;
  font-size:9px;
  line-height:1.45;
}
.consent-line{
  display:flex;
  align-items:flex-start;
  gap:4px;
  margin:0 0 8px;
  cursor:pointer;
}
.consent-line input{
  flex:0 0 auto;
  width:11px;
  height:11px;
  margin:2px 0 0;
  padding:0;
  -webkit-appearance:auto;
  appearance:auto;
}
.application-consent p{margin:5px 0 0}
.application-consent a{color:#4c4bf4;text-decoration:none}
.application-consent a:hover{text-decoration:underline}
.application-actions{margin-top:10px}
.compact-submit{
  min-height:31px;
  line-height:31px;
  padding:0 14px;
  font-size:9px;
}

@media(max-width:700px){
  .application-groups{grid-template-columns:1fr;row-gap:24px}
  .application-reference-shell{padding:0 23px}
  .application-group legend{font-size:16px}
  .application-group .reference-field label{font-size:12px}
  .application-group .reference-input,.application-group .reference-select{height:38px;font-size:12px}
  .application-consent{font-size:10px}
  .compact-submit{min-height:37px;line-height:37px;font-size:12px;padding:0 20px}
}

@media(max-width:480px){
  .reference-form-section{padding:26px 0 38px}
  .contact-reference-shell,.application-reference-shell{padding-left:23px;padding-right:14px}
  .reference-form-title{margin-bottom:22px!important}
}


/* Contact details and legal pages */
.contact-info-block{
  margin:0 0 24px;
  padding:18px 20px;
  background:var(--light);
  border-left:4px solid var(--accent);
  border-radius:8px;
}
.contact-info-block p{margin:3px 0;font-size:14px;line-height:1.6}
.contact-info-block a{font-weight:700;text-decoration:none}
.contact-info-block a:hover{text-decoration:underline}
.legal-page{background:#fff}
.legal-shell{max-width:900px!important}
.legal-shell h2{
  margin:34px 0 10px;
  text-align:left;
  color:var(--dark);
  font-size:1.35rem;
  line-height:1.3;
}
.legal-shell p{margin:0 0 14px;color:#34495a}
.legal-shell a{font-weight:600}

.legal-list{
  margin:0 0 18px 22px;
  padding:0;
  color:#34495a;
}
.legal-list li{
  margin:0 0 9px;
  line-height:1.65;
}
.legal-updated{color:#667!important;font-size:.95rem;margin-bottom:24px!important}
.legal-contact-box{
  margin-top:16px;
  padding:18px 20px;
  background:var(--light);
  border-radius:8px;
}
.legal-contact-box p{margin:4px 0}
@media(max-width:768px){
  .legal-shell{padding-left:20px!important;padding-right:20px!important}
  .legal-shell h2{font-size:1.2rem}
  .contact-info-block{margin-bottom:20px}
}
