/* V25 — focused fixes for Website Examples and Corporate Quotation only. */

/* Website Examples: the showcase now begins immediately, without the redundant hero block. */
body:has(.v23-showcase) .v23-showcase.v22-showcase{
  margin-top:0!important;
  border-top:0!important;
}
.v23-showcase .v22-showcase__intro{
  padding:46px 0 40px!important;
}
.v23-showcase .v22-showcase__intro h2{
  margin-top:9px!important;
}
.v23-showcase .v22-showcase__jump{
  margin-top:18px!important;
}

/* Corporate quotation hero: compact, balanced and high contrast. */
.corporate-quote-page .cq-hero{
  min-height:0!important;
  height:auto!important;
  padding:52px 0!important;
  background:
    radial-gradient(circle at 82% 10%,rgba(31,145,255,.28),transparent 29rem),
    linear-gradient(135deg,#061a34 0%,#082d57 54%,#075fb9 100%)!important;
  color:#fff!important;
}
.corporate-quote-page .cq-hero__grid{
  grid-template-columns:minmax(0,1.08fr) minmax(330px,.72fr)!important;
  gap:clamp(30px,4.5vw,64px)!important;
  align-items:center!important;
}
.corporate-quote-page .cq-hero__copy{
  min-width:0!important;
  padding:0!important;
}
.corporate-quote-page .cq-hero .eyebrow{
  color:#85d5ff!important;
  opacity:1!important;
}
.corporate-quote-page .cq-hero h1{
  display:block!important;
  max-width:820px!important;
  margin:12px 0 18px!important;
  color:#fff!important;
  opacity:1!important;
  font-size:clamp(2.65rem,5vw,5rem)!important;
  line-height:.96!important;
  text-shadow:0 4px 28px rgba(0,0,0,.18)!important;
}
.corporate-quote-page .cq-hero__copy>p{
  display:block!important;
  max-width:760px!important;
  margin:0!important;
  color:#d8eafb!important;
  opacity:1!important;
  font-size:clamp(.98rem,1.25vw,1.13rem)!important;
  line-height:1.65!important;
}
.corporate-quote-page .cq-hero__actions{
  margin-top:24px!important;
}
.corporate-quote-page .cq-promise-row{
  margin-top:23px!important;
}
.corporate-quote-page .cq-hero__panel{
  padding:27px!important;
  border:1px solid rgba(126,202,255,.38)!important;
  background:linear-gradient(155deg,rgba(3,29,58,.98),rgba(5,43,82,.96))!important;
  color:#fff!important;
  box-shadow:0 24px 62px rgba(0,0,0,.3)!important;
  opacity:1!important;
}
.corporate-quote-page .cq-panel-label{
  color:#80d3ff!important;
  opacity:1!important;
}
.corporate-quote-page .cq-hero__panel b{
  color:#fff!important;
  opacity:1!important;
}
.corporate-quote-page .cq-hero__panel li span{
  color:#c9e1f4!important;
  opacity:1!important;
}
.corporate-quote-page .cq-hero__panel>p{
  color:#e7f5ff!important;
  opacity:1!important;
}
.corporate-quote-page .cq-explainer{
  padding:54px 0!important;
}
.corporate-quote-page .cq-form-section{
  padding:62px 0 74px!important;
}

/* Accessible feature/content help cards. */
.cq-choice-grid{
  align-items:stretch;
}
.cq-choice-item{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) 38px;
  min-width:0;
  border:1px solid #d1e2ef;
  border-radius:11px;
  background:#f7fbff;
  transition:border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.cq-choice-item:hover,
.cq-choice-item:focus-within{
  z-index:8;
  border-color:#70b4e8;
  background:#eef7ff;
  box-shadow:0 8px 22px rgba(13,93,157,.11);
}
.cq-choice-item>label{
  display:flex!important;
  align-items:flex-start!important;
  gap:9px!important;
  min-width:0;
  margin:0!important;
  padding:12px 8px 12px 12px!important;
  border:0!important;
  border-radius:10px 0 0 10px!important;
  background:transparent!important;
  color:#274762!important;
  font-size:.76rem!important;
  font-weight:800!important;
  line-height:1.45!important;
  cursor:pointer;
}
.cq-choice-item>label input{
  flex:0 0 auto!important;
  width:auto!important;
  height:auto!important;
  margin:2px 0 0!important;
  padding:0!important;
}
.cq-choice-text{
  min-width:0;
  overflow-wrap:anywhere;
}
.cq-info-button{
  position:relative;
  display:grid;
  width:38px;
  min-width:38px;
  height:100%;
  min-height:44px;
  place-items:center;
  align-self:stretch;
  padding:0;
  border:0;
  border-left:1px solid #d1e2ef;
  border-radius:0 10px 10px 0;
  background:#edf6fe;
  color:#0868cf;
  cursor:help;
  font:inherit;
}
.cq-info-button:hover,
.cq-info-button:focus-visible,
.cq-info-button[aria-expanded="true"]{
  outline:0;
  background:#dceeff;
  color:#034e9c;
}
.cq-info-icon{
  display:grid;
  width:21px;
  height:21px;
  place-items:center;
  border:1px solid currentColor;
  border-radius:50%;
  font-size:.72rem;
  font-weight:900;
  line-height:1;
}
.cq-tooltip{
  position:absolute;
  right:0;
  bottom:calc(100% + 10px);
  z-index:30;
  width:min(320px,calc(100vw - 40px));
  padding:12px 14px;
  border:1px solid rgba(112,188,246,.38);
  border-radius:12px;
  background:#061f3c;
  color:#eef8ff;
  box-shadow:0 18px 44px rgba(0,24,52,.28);
  opacity:0;
  visibility:hidden;
  transform:translateY(6px);
  pointer-events:none;
  text-align:left;
  font-size:.78rem;
  font-weight:600;
  line-height:1.5;
  transition:opacity .16s ease,transform .16s ease,visibility .16s ease;
}
.cq-tooltip::after{
  content:"";
  position:absolute;
  right:12px;
  top:100%;
  border:7px solid transparent;
  border-top-color:#061f3c;
}
.cq-choice-item:hover .cq-tooltip,
.cq-choice-item:focus-within .cq-tooltip,
.cq-info-button[aria-expanded="true"] .cq-tooltip{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

/* Consent row: stop the checkbox from inheriting full-width form-input styling. */
.cq-consent{
  display:grid!important;
  grid-template-columns:20px minmax(0,1fr)!important;
  align-items:start!important;
  width:100%!important;
  min-height:0!important;
  gap:11px!important;
  overflow:visible!important;
}
.cq-consent input{
  display:block!important;
  width:18px!important;
  min-width:18px!important;
  max-width:18px!important;
  height:18px!important;
  margin:2px 0 0!important;
  padding:0!important;
  border-radius:4px!important;
}
.cq-consent span{
  display:block!important;
  min-width:0!important;
  max-width:100%!important;
  overflow-wrap:anywhere!important;
}

@media(max-width:980px){
  .corporate-quote-page .cq-hero__grid{grid-template-columns:1fr!important}
  .corporate-quote-page .cq-hero__panel{max-width:720px!important}
}
@media(max-width:680px){
  .v23-showcase .v22-showcase__intro{padding:34px 0 30px!important}
  .corporate-quote-page .cq-hero{padding:40px 0!important}
  .corporate-quote-page .cq-hero h1{font-size:clamp(2.35rem,12vw,3.7rem)!important}
  .cq-choice-item{grid-template-columns:minmax(0,1fr) 42px}
  .cq-info-button{width:42px;min-width:42px}
  .cq-tooltip{position:fixed;right:16px;bottom:18px;left:16px;width:auto;max-width:none}
  .cq-tooltip::after{display:none}
}
@media(prefers-reduced-motion:reduce){
  .cq-choice-item,.cq-tooltip{transition:none!important}
}
