.quote-page{background:var(--bg)}
.quote-page-hero{padding:34px 0 26px;background:linear-gradient(180deg,#091014 0%,#060a0c 100%);border-bottom:1px solid var(--line)}
.quote-page-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:64px;align-items:center}
.quote-intro{max-width:690px}
.quote-brand-mark{display:block;width:92px;height:50px;margin-bottom:12px;background:url("ils-mark.png") left center/contain no-repeat}
.quote-intro h1{font-size:42px;margin-bottom:12px}
.quote-intro>p:last-child{max-width:660px;margin-bottom:0;color:#fff;font-size:17px;line-height:1.7}
.quote-summary{padding:26px 28px;border:1px solid var(--line);border-radius:10px;background:linear-gradient(145deg,#0e171c,#091014)}
.quote-summary-label{margin:0 0 14px;color:var(--green);font-size:12px;font-weight:800;letter-spacing:.17em}
.quote-summary>div{display:grid;grid-template-columns:42px 1fr;gap:14px;padding:15px 0;border-top:1px solid #243139}
.quote-summary>div>span{width:34px;height:34px;display:grid;place-items:center;border:1px solid #465b64;border-radius:50%;color:var(--green);font-size:12px;font-weight:800}
.quote-summary p{margin:0;color:#fff;font-size:14px}
.quote-summary strong{font-size:15px}
.quote-form-section{padding:26px 0 72px}
.quote-form-shell{max-width:980px}
.quote-form{padding:36px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(180deg,#0d1519,#090f12);box-shadow:0 26px 70px rgba(0,0,0,.2)}
.form-heading{margin-bottom:28px}
.form-heading h2{margin-bottom:8px}
.form-heading>p:last-child{margin:0;color:#fff;font-size:14px}
.quote-form fieldset{margin:0;padding:28px 0;border:0;border-top:1px solid var(--line)}
.quote-form fieldset:first-of-type{border-top:0;padding-top:6px}
.quote-form legend{padding:0 0 16px;color:#fff;font-size:18px;font-weight:800}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.form-grid label{display:block;min-width:0}
.form-grid label.wide{grid-column:1/-1}
.form-grid label>span{display:block;margin-bottom:8px;color:#fff;font-size:13px;font-weight:700}
.quote-form input,.quote-form select,.quote-form textarea{width:100%;border:1px solid #34464f;border-radius:7px;background:#071014;color:#fff;font:inherit;font-size:16px;padding:13px 14px;outline:none}
.quote-form input,.quote-form select{min-height:48px}
.quote-form textarea{resize:vertical;min-height:112px}
.quote-form input::placeholder,.quote-form textarea::placeholder{color:#8b9aa0}
.quote-form input:focus,.quote-form select:focus,.quote-form textarea:focus{border-color:var(--green);box-shadow:0 0 0 2px rgba(69,245,46,.12)}
.quote-form select option{background:#071014;color:#fff}
.quote-submit-row{display:flex;align-items:center;justify-content:space-between;gap:28px;padding-top:28px;border-top:1px solid var(--line)}
.submit-note{display:grid;grid-template-columns:54px minmax(0,1fr);gap:14px;align-items:center;max-width:560px}
.submit-mark{display:block;width:50px;height:29px;background:url("ils-mark.png") left center/contain no-repeat}
.submit-note p{margin:0;color:#fff;font-size:13px}
.quote-submit{border:0;cursor:pointer;white-space:nowrap}
.quote-status{min-height:24px;margin:16px 0 0;color:#fff;font-size:13px}
.quote-status.error{color:#fff}
@media(max-width:820px){
  .quote-page-hero-grid{grid-template-columns:1fr;gap:30px}
  .quote-summary{max-width:640px}
}
@media(max-width:640px){
  .quote-page-hero{padding:42px 0 34px}
  .quote-brand-mark{width:100px;height:55px}
  .quote-intro h1{font-size:38px}
  .quote-form-section{padding:38px 0 58px}
  .quote-form{padding:24px 20px}
  .form-grid{grid-template-columns:1fr;gap:16px}
  .form-grid label.wide{grid-column:auto}
  .quote-submit-row{align-items:stretch;flex-direction:column}
  .quote-submit{width:100%}
}

.quote-page-hero-grid.simplified{grid-template-columns:1fr;max-width:840px}
.quote-page-hero-grid.simplified .quote-intro{max-width:820px}
.quote-page-hero-grid.simplified h1 span{color:var(--green)}
.quote-page-hero-grid.simplified .quote-intro>p:last-child{max-width:720px;font-size:18px;line-height:1.65}

#quote-form{scroll-margin-top:112px}
.quote-form input,.quote-form select,.quote-form textarea{pointer-events:auto;position:relative;z-index:1}

.quote-page .quote-form-section{padding-top:38px}
.quote-form-shell{max-width:1040px}
.form-heading{display:grid;grid-template-columns:110px 1fr;column-gap:20px;align-items:center}
.form-heading:before{content:"";display:block;width:100px;height:55px;background:url("ils-mark.png") left center/contain no-repeat;grid-row:1/4}
.form-heading .kicker,.form-heading h2,.form-heading>p:last-child{grid-column:2}
@media(max-width:640px){
  .form-heading{grid-template-columns:1fr;display:block}
  .form-heading:before{width:88px;height:48px;margin-bottom:14px}
}

.call-option{grid-column:2;display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}
.call-option span{font-size:13px;font-weight:700;color:#fff}
.call-option a{color:#fff;text-decoration:none;font-size:14px;font-weight:800;border-bottom:1px solid rgba(255,255,255,.35);padding-bottom:1px}
.call-option a:hover{color:var(--green);border-bottom-color:var(--green)}
@media(max-width:640px){
  .call-option{grid-column:auto;margin-top:12px}
}

.call-desktop{font-size:14px;font-weight:800;color:#fff}
.call-mobile{display:none}
@media(max-width:640px){
  .call-desktop{display:none}
  .call-mobile{display:inline;color:#fff;text-decoration:none;font-size:14px;font-weight:800;border-bottom:1px solid rgba(255,255,255,.35);padding-bottom:1px}
  .call-mobile:hover{color:var(--green);border-bottom-color:var(--green)}
}

.call-option{margin-top:16px}
.call-option span:first-child,
.call-desktop,
.call-mobile{
  font-size:38px;
  line-height:1.12;
  letter-spacing:-.025em;
  font-weight:800;
}
@media(max-width:640px){
  .call-option span:first-child,
  .call-desktop,
  .call-mobile{font-size:30px}
}

.form-heading.refined{display:block;margin-bottom:34px;padding-bottom:26px;border-bottom:1px solid var(--line)}
.form-heading.refined:before{content:none}
.form-heading.refined .kicker{margin-bottom:10px}
.form-heading.refined h2{margin:0 0 10px;font-size:36px;line-height:1.12}
.form-heading.refined .form-intro{margin:0;max-width:690px;color:#fff;font-size:16px;line-height:1.6}
.call-option.refined{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-top:18px}
.call-option.refined .call-label{font-size:16px;line-height:1.4;font-weight:700;letter-spacing:0;color:#fff}
.call-option.refined .call-desktop,
.call-option.refined .call-mobile{font-size:18px;line-height:1.4;font-weight:800;letter-spacing:0;color:var(--green)}
.call-option.refined .call-mobile{display:none;text-decoration:none;border:0;padding:0}
.call-option.refined .call-mobile:hover{color:#fff}
@media(max-width:640px){
  .form-heading.refined h2{font-size:30px}
  .call-option.refined{align-items:flex-start;gap:6px 10px}
  .call-option.refined .call-label{font-size:15px}
  .call-option.refined .call-desktop{display:none}
  .call-option.refined .call-mobile{display:inline;font-size:17px}
}

/* Easier date and time selection */
.quote-form input[type="date"],
.quote-form input[type="time"]{
  min-height:56px;
  cursor:pointer;
  color-scheme:dark;
  padding:14px 16px;
  border-color:#52636b;
}
.quote-form input[type="date"]:hover,
.quote-form input[type="time"]:hover{
  border-color:var(--green);
  background:#0a1518;
}
.quote-form input[type="date"]::-webkit-calendar-picker-indicator,
.quote-form input[type="time"]::-webkit-calendar-picker-indicator{
  cursor:pointer;
  opacity:1;
  width:24px;
  height:24px;
  filter:brightness(0) invert(1);
}
.quote-form input[type="date"]:focus,
.quote-form input[type="time"]:focus{
  border-color:var(--green);
  box-shadow:0 0 0 3px rgba(69,245,46,.14);
}
@media(max-width:640px){
  .quote-form input[type="date"],
  .quote-form input[type="time"]{min-height:58px}
}

.quote-submit-block{padding-top:30px;border-top:1px solid var(--line)}
.quote-submit-block .submit-note{margin-bottom:18px}
.quote-submit-block .submit-note strong{display:block;margin-bottom:4px;color:#fff;font-size:16px}
.quote-submit-block .submit-note p{font-size:14px;line-height:1.5}
.quote-submit-block .quote-submit{min-width:190px}
.quote-submit-block .quote-status{margin-top:14px}
@media(max-width:640px){
  .quote-submit-block .quote-submit{width:100%}
}

.form-heading.refined .quote-heading-top{
  margin:0 0 8px;
  color:#fff;
  font-size:22px;
  line-height:1.25;
  font-weight:800;
  letter-spacing:0;
}
.form-heading.refined h2{margin-top:0}
@media(max-width:640px){
  .form-heading.refined .quote-heading-top{font-size:20px}
}

.call-option.refined .call-label,
.call-option.refined .call-desktop,
.call-option.refined .call-mobile{
  font-size:22px;
  line-height:1.25;
  font-weight:800;
}
@media(max-width:640px){
  .call-option.refined .call-label,
  .call-option.refined .call-desktop,
  .call-option.refined .call-mobile{font-size:20px}
}

.urgent-call-note{
  margin:8px 0 0;
  color:var(--green) !important;
  font-size:16px !important;
  line-height:1.35 !important;
  font-weight:800 !important;
  letter-spacing:.01em;
}

.terms-accept{display:flex;align-items:flex-start;gap:10px;margin:0 0 18px;max-width:760px}
.terms-accept input{width:18px!important;height:18px;min-height:0!important;margin:2px 0 0;accent-color:var(--green);flex:0 0 auto}
.terms-accept span{margin:0!important;font-size:13px!important;line-height:1.5;color:#fff!important;font-weight:600!important}
.terms-accept a{color:var(--green);text-decoration:underline}

.privacy-note{margin:0 0 14px;color:#fff;font-size:13px;line-height:1.5}
.privacy-note a{color:var(--green);font-weight:700}

.quote-page-title{margin:0 0 12px;font-size:38px;line-height:1.12;letter-spacing:-.025em;font-weight:800}
.legal-heading h1{margin:0 0 14px;font-size:42px;line-height:1.08;letter-spacing:-.025em}
@media(max-width:640px){.quote-page-title,.legal-heading h1{font-size:32px}}

/* Hidden anti-spam field */
.form-honeypot{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
