/* Ceramic Pro Lubbock — LP quote form. Copied from ceramicprolbk.com lead-form.v2 (2026-11-11d) + homepage variant; scoped for landing pages. */
.cpl-lead,.cpl-lead *{box-sizing:border-box}
.cpl-lead{
  background:linear-gradient(180deg,#1c1218 0%,#141014 42%,#100c10 100%);
  color:#fff;font-family:Montserrat,Arial,sans-serif;text-align:left;
  padding:clamp(22px,4vw,40px) clamp(16px,3.5vw,34px);
  border-top:4px solid #e91d8f;border-radius:16px;
  box-shadow:inset 0 40px 80px rgba(233,29,143,.05);
  --disp:'Bebas Neue',sans-serif;--mont:Montserrat,Arial,sans-serif;
  width:100%;max-width:720px;margin:0 auto;
}
.cpl-lead .cpl-lead-title{
  font-family:var(--disp);font-weight:400;
  font-size:clamp(32px,5vw,50px);line-height:1.1;margin:0 0 12px;color:#fff;letter-spacing:.01em;text-transform:none;font-style:normal;
}
.cpl-lead .cpl-lead-title:after{content:"";display:block;width:72px;height:4px;background:#e91d8f;margin-top:14px;border-radius:2px}
.cpl-lead .lead-home-intro{margin-bottom:22px!important}
.cpl-lead-thanks{text-align:center;padding:12px 0}
.cpl-lead-thanks .cpl-lead-title:after{margin-left:auto;margin-right:auto}
.cpl-lead-thanks p{line-height:1.6;margin:12px auto;max-width:560px;color:#f3f3f3}
.cpl-lead-thanks .lead-elite-badge{margin:18px auto 0}
.cpl-lead-thanks:focus{outline:none}
.cpl-lead .lead-method{position:relative}
.cpl-lead button.lead-submit{appearance:none}
.cpl-lead input,.cpl-lead textarea{text-align:left}
.cpl-lead-mount{width:100%}
/* (v2 base)
   Brand: #E91D8F on #141014, Bebas/Montserrat. Headline styles unchanged. */


.lead-form--v2{position:relative}
.lead-fields{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  margin-top:8px;
}
.lead-field{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-weight:600;
  font-size:16px;
  color:#fff;
  min-width:0;
}
.lead-label-text{display:block;max-width:100%;font-weight:600}
.lead-req{color:#e91d8f;font-weight:700;font-size:1.05em;margin-left:.12em;white-space:nowrap}
.lead-opt{font-weight:400;color:#e91d8f;font-size:13px;line-height:1.35}
.visually-hidden{
  position:absolute!important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}
.lead-form--v2 input:not([type=checkbox]):not([type=radio]),
.lead-form--v2 select,
.lead-form--v2 textarea{
  box-sizing:border-box;
  width:100%;
  min-width:0;
  background:#fff;
  color:#161616;
  border:2px solid #f3c6de;
  border-radius:12px;
  padding:14px 14px;
  font:inherit;
  font-size:16px;
  min-height:48px;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.lead-form--v2 textarea{min-height:112px;resize:vertical;line-height:1.45}
.lead-form--v2 input::placeholder,
.lead-form--v2 textarea::placeholder{color:#8a6576}
.lead-form--v2 input:focus,
.lead-form--v2 select:focus,
.lead-form--v2 textarea:focus,
.lead-form--v2 button:focus-visible,
.lead-method:focus-visible{
  outline:3px solid #ff62bb;
  outline-offset:2px;
  border-color:#e91d8f;
  box-shadow:0 0 0 4px rgba(233,29,143,.18);
}
.lead-form--v2 .lead-field[data-invalid=true] input,
.lead-form--v2 .lead-field[data-invalid=true] select,
.lead-form--v2 .lead-field[data-invalid=true] textarea,
.lead-methods[data-invalid=true]{
  border-color:#e91d8f;
  box-shadow:0 0 0 3px rgba(233,29,143,.22);
}
.lead-error{
  font-weight:600;
  font-size:13px;
  color:#e91d8f;
  line-height:1.35;
  margin:0;
}
.lead-error[hidden]{display:none!important}

/* Optional field inputs stay slightly quieter; labels use the same white 16px/600 style as required fields. */
.lead-field--optional input,
.lead-field--optional textarea{
  min-height:44px;
  padding:10px 12px;
  font-size:15px;
  background:#faf7f9;
  border-color:#e8c4d6;
}

/* Service is full-width and prominent */
.lead-field--service select{
  font-weight:600;
  background:#fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23e91d8f' d='M1 1l5 5 5-5'/></svg>") no-repeat right 14px center;
  background-size:12px;
  appearance:none;
  padding-right:36px;
}

/* Contact method buttons */
.lead-methods{
  border:0;
  margin:4px 0 0;
  padding:0;
  min-width:0;
}
.lead-methods legend{
  font-weight:600;
  font-size:16px;
  color:#fff;
  margin:0 0 10px;
  padding:0;
}
.lead-method-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.lead-method{
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  min-height:48px;
  padding:12px 14px;
  border:2px solid #f0b9d6;
  border-radius:12px;
  background:rgba(255,255,255,.04);
  color:#fff;
  font:700 14px var(--mont,Arial,sans-serif);
  letter-spacing:.02em;
  cursor:pointer;
  transition:background .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease,transform .15s ease;
}
.lead-method:hover{
  border-color:#e91d8f;
  background:rgba(233,29,143,.12);
}
.lead-method:has(input:checked),
.lead-method.is-selected{
  background:linear-gradient(180deg,#ff4ab3 0%,#e91d8f 70%);
  border-color:#e91d8f;
  color:#fff;
  box-shadow:0 8px 22px rgba(233,29,143,.35);
}
.lead-method input{
  position:absolute;
  opacity:0;
  width:1px;height:1px;
  pointer-events:none;
}

/* Calendar */
.lead-calendar{
  display:flex;
  flex-direction:column;
  background:linear-gradient(180deg,#fff 0%,#fff8fb 100%);
  color:#171717;
  border:2px solid #e91d8f;
  border-radius:16px;
  padding:18px 16px;
  margin:28px 0 8px;
  min-width:0;
  box-shadow:0 14px 34px rgba(233,29,143,.18);
}
.lead-calendar legend{
  font-size:18px;
  font-weight:700;
  line-height:1.3;
  padding:0 8px;
  color:#e91d8f;
  background:#fff;
}
.lead-calendar .lead-calendar-note,
.lead-calendar p.lead-calendar-note{
  font-size:15px;
  line-height:1.5;
  color:#333;
  margin:0 0 14px;
}
.lead-calendar .lead-field{color:#171717}
.lead-calendar .lead-req,.lead-calendar .lead-opt{color:#e91d8f}
.lead-calendar input:not([type=checkbox]):not([type=radio]),
.lead-calendar select{background:#fff;border-color:#f0b9d6}
.lead-month-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:16px 0}
.lead-month-nav h3{font-size:18px;text-align:center;margin:0;color:#111;flex:1}
.lead-calendar button{
  background:#fff;
  border:1.5px solid #f0b9d6;
  color:#171717;
  border-radius:10px;
  min-height:44px;
  min-width:36px;
  font:inherit;
  cursor:pointer;
}
.lead-month-nav button{width:46px;background:#fff5fa;color:#e91d8f;border-color:#e91d8f;font-weight:700}
.lead-weekdays,.lead-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;text-align:center}
.lead-weekdays{font-size:12px;color:#e91d8f;padding:8px 0;font-weight:700}
.lead-weekdays span:first-child{color:#c9a3b5;font-weight:600}
.lead-days button:hover:not(:disabled){border-color:#e91d8f;background:#ffe3f2}
.lead-days button[aria-pressed=true]{
  background:linear-gradient(180deg,#ff4ab3 0%,#e91d8f 80%);
  border-color:#e91d8f;
  color:#fff;
  box-shadow:0 4px 14px rgba(233,29,143,.28);
}
.lead-days button[aria-current=date]{box-shadow:inset 0 0 0 2px #e91d8f}
.lead-days button:disabled{opacity:.38;cursor:not-allowed;background:#f5f5f5;color:#888}
.lead-calendar .lead-clear{
  padding:10px 16px;
  margin-top:15px;
  font-size:14px;
  background:#fff;
  color:#e91d8f;
  border:1.5px solid #e91d8f;
  border-radius:999px;
  align-self:flex-start;
}
.lead-calendar .lead-clear:hover{background:#fff5fa}
.lead-calendar .lead-field{max-width:100%}
.lead-calendar a{color:#a50a60}

/* Consent + submit */
.lead-consent{
  font-size:12px;
  line-height:1.5;
  color:#f0d0e2;
  margin:22px 0 12px;
}
.lead-submit{
  display:block;
  background:linear-gradient(180deg,#ff5ebd 0%,#e91d8f 55%,#c41578 100%);
  color:#fff;
  border:0;
  padding:16px 28px;
  min-height:56px;
  width:100%;
  font:800 18px var(--mont,Arial,sans-serif);
  letter-spacing:.04em;
  text-transform:uppercase;
  cursor:pointer;
  border-radius:999px;
  box-shadow:0 10px 28px rgba(233,29,143,.48),0 0 0 1px rgba(255,255,255,.16) inset,0 1px 0 rgba(255,255,255,.28) inset;
  transition:transform .15s ease,box-shadow .2s ease,filter .2s ease;
}
.lead-submit:hover{
  filter:brightness(1.06);
  box-shadow:0 14px 34px rgba(233,29,143,.58),0 0 0 1px rgba(255,255,255,.2) inset;
}
.lead-submit:active{transform:translateY(1px)}
.lead-form--v2 button:disabled{opacity:.4;cursor:not-allowed;filter:none;box-shadow:none}

.lead-followup{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:16px;
  flex-wrap:wrap;
}
.lead-followup-copy{
  font-size:14px;
  line-height:1.45;
  color:#f0d0e2;
  margin:0;
  flex:1 1 200px;
}
.lead-elite-badge{
  display:block;
  height:44px;
  width:auto;
  max-width:180px;
  object-fit:contain;
  flex:0 0 auto;
}
.lead-status{min-height:24px;margin:12px 0 0}
.lead-status[data-state=error]{color:#ffbbbb}
.lead-status[data-state=success]{color:#aff3c2}
.lead-trap{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
.lead-form--v2 a{color:#ff86cb;text-decoration:underline}

@media (min-width:640px){
  .lead-fields{grid-template-columns:1fr 1fr;gap:18px 22px}
  .lead-span,
  .lead-field--service,
  .lead-field--notes,
  .lead-methods,
  .lead-field:has([name="Year / Make / Model"]){grid-column:1/-1}
  .lead-method-grid{grid-template-columns:1fr 1fr}
  .lead-calendar{padding:28px}
  .lead-calendar .lead-field{max-width:360px}
}
@media (max-width:639px){
  .lead-fields{grid-template-columns:1fr}
  .lead-form--v2 input:not([type=checkbox]):not([type=radio]),
  .lead-form--v2 select,
  .lead-form--v2 textarea,
  .lead-submit,
  .lead-method{width:100%}
  .lead-calendar{padding:12px}
  .lead-calendar button{min-width:28px}
  .lead-elite-badge{height:40px}
}

/* Homepage intro only; shared lead-form styles stay unchanged. */
.cpl-lead .lead-home-intro{text-align:center;margin-bottom:30px}
.cpl-lead .lead-home-intro .cpl-lead-title:after{margin-left:auto;margin-right:auto}
.cpl-lead .lead-home-intro p,.cpl-lead-thanks p{line-height:1.6;margin:12px auto;max-width:620px;color:#f3f3f3}
.cpl-lead .lead-home-kicker{color:#e91d8f;font-weight:700;font-size:14px;letter-spacing:.12em;text-transform:uppercase;text-align:center;text-indent:.12em;display:block;width:100%;max-width:none;margin:0 auto 12px;box-sizing:border-box}
.cpl-lead .lead-home-intro a,
.cpl-lead .lead-home-intro .lead-home-projects a{color:#e91d8f;text-decoration:underline;text-underline-offset:3px}
.cpl-lead .lead-home-call a{font-weight:700;white-space:nowrap}
.cpl-lead .lead-home-intro .lead-home-projects{font-size:14px;color:#f0d0e2;max-width:min(960px,100%);white-space:nowrap}
@media (max-width:599px){
  .cpl-lead .lead-home-intro .lead-home-projects{white-space:normal}
}
.cpl-lead .lead-home-intro a:focus-visible{outline:3px solid #e91d8f;outline-offset:4px}

/* Shorter homepage form: keep the stacked fields visually balanced. */
.cpl-lead .lead-form--home{margin-top:8px}
.cpl-lead .lead-form--home .lead-fields{gap:18px}
@media (min-width:640px){
  .cpl-lead .lead-form--home .lead-fields{gap:20px 22px}
  .cpl-lead .lead-form--home .lead-field.lead-span{grid-column:1/-1}
}
.cpl-lead .lead-form--home .lead-consent{margin-top:26px}

/* 2026-11-21c: keep the pill on one line on narrow phones */
.cpl-lead .lead-submit{white-space:nowrap;padding-left:14px;padding-right:14px;font-size:clamp(14px,4.2vw,18px);letter-spacing:.03em}
@media (max-width:420px){.cpl-lead{padding-left:14px;padding-right:14px}}
