/* Compact glass quote card overlaid on the homepage hero. */
.hero { min-height: 720px; height: auto; background: #0b0b0c; }
.hero .wrap.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 372px;
  gap: 28px 36px;
  align-items: end;
}
.hero-copy { min-width: 0; }
.hero-head, .hero-rest { min-width: 0; }

.hero-qcard {
  width: 372px;
  max-width: 100%;
  justify-self: end;
  box-sizing: border-box;
  padding: 16px 16px 14px;
  background: rgba(11, 11, 12, .82);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  border: 1px solid rgba(242, 239, 232, .3);
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
  color: #F2EFE8;
  font-family: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
  position: relative;
}
.hero-qcard .hp { position: absolute; left: -9999px; height: 1px; width: 1px; opacity: 0; }
.hero-qcard .hq-h {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin: 0 0 2px;
  color: #F2EFE8;
}
.hq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}
.hq-span { grid-column: 1 / -1; }
.hero-qcard .hq-f {
  display: block;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
  color: #C9C5BB;
  margin: 9px 0 0;
}
.hero-qcard .hq-f input {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 6px 0 5px;
  border: 0;
  border-bottom: 1px solid #3A3A3D;
  border-radius: 0;
  background: transparent;
  color: #F2EFE8;
  font: inherit;
  font-size: 13px;
  letter-spacing: -.01em;
  text-transform: none;
  outline: none;
}
.hero-qcard .hq-f input:focus { border-color: #F2EFE8; }
.hero-qcard .hq-f input::placeholder { color: #6F6B64; }
.hero-qcard .hq-f.bad input { border-bottom-color: #E07A7A; }
.hero-qcard .hq-f select {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 6px 22px 5px 0;
  border: 0;
  border-bottom: 1px solid #3A3A3D;
  border-radius: 0;
  background-color: transparent;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' fill='none' stroke='%23F2EFE8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 12px 8px;
  color: #F2EFE8;
  font: inherit;
  font-size: 13px;
  letter-spacing: -.01em;
  text-transform: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.hero-qcard .hq-f select:focus { border-color: #F2EFE8; }
.hero-qcard .hq-f.bad select { border-bottom-color: #E07A7A; }
.hero-qcard .hq-f select.is-ph,
.hero-qcard .hq-f select:required:invalid { color: #6F6B64; }
.hero-qcard .hq-f select option { background: #141416; color: #F2EFE8; }
.hero-qcard input:-webkit-autofill,
.hero-qcard input:-webkit-autofill:focus {
  -webkit-text-fill-color: #F2EFE8;
  caret-color: #F2EFE8;
  box-shadow: inset 0 0 0 1000px #141416;
  transition: background-color 9999s ease-out;
}
.hq-veh { margin-top: 10px; }
.hq-lbl {
  display: block;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
  color: #C9C5BB;
  margin: 0 0 6px;
}
.hq-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.hq-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid #3A3A3D;
  border-radius: 0;
  background: transparent;
  color: #F2EFE8;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  user-select: none;
}
.hq-pill input { position: absolute; opacity: 0; pointer-events: none; }
.hq-pill:hover { border-color: #F2EFE8; }
.hq-pill:has(input:checked),
.hq-pill.is-on {
  background: #1B2F5E;
  border-color: #1B2F5E;
  box-shadow: inset 0 0 0 1.5px #FFD23F;
  color: #F2EFE8;
}
.hq-veh.bad .hq-pills { outline: 1px solid #E07A7A; outline-offset: 2px; }
.hq-check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: #C9C5BB;
  cursor: pointer;
}
.hq-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hq-check i {
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 1px;
  border: 1.5px solid #F2EFE8;
  display: block;
  position: relative;
}
.hq-check input:checked + i { background: #1B2F5E; border-color: #1B2F5E; }
.hq-check input:checked + i::after {
  content: "";
  position: absolute;
  left: 3px; top: 0;
  width: 4px; height: 8px;
  border: solid #FFD23F;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.hq-check.bad i { border-color: #E07A7A; }
.hq-check a { color: #F2EFE8; text-underline-offset: 2px; }
/* v2.27: consent line sits directly above the button. No checkbox. Readable 16px, light on the dark glass card. */
.hq-consent {
  margin: 12px 0 10px;
  font-size: 16px;
  line-height: 1.45;
  color: #F2EFE8;
}
.hq-consent a { color: #F2EFE8; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.hq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 40px;
  margin-top: 12px;
  padding: 0 16px;
  background: #1B2F5E;
  color: #F2EFE8;
  border: 0;
  border-radius: 0;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: inset 0 0 0 1.5px rgba(255, 210, 63, .5);
}
.hq-btn svg { width: 16px; height: 16px; display: block; flex: none; }
.hq-btn svg path { stroke: #FFD23F; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hq-btn:hover { background: #24407D; }
.hq-btn:disabled { opacity: .65; cursor: wait; }
.hq-priv {
  margin: 8px 0 0;
  font-size: 10px;
  line-height: 1.4;
  color: #A8A49A;
}
.hq-priv a { color: #F2EFE8; text-underline-offset: 2px; white-space: nowrap; }
.hq-status {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #F2EFE8;
}
.hq-status a { color: #F2EFE8; text-underline-offset: 2px; }
.hq-status.err { color: #F2C9C9; }
.hq-ty-h { display: block; font-size: 17px; font-weight: 600; line-height: 1.3; margin-bottom: 6px; }
.hq-ty-p { display: block; }
.hq-ty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  margin-top: 12px;
  padding: 0 16px;
  background: #1B2F5E;
  color: #F2EFE8 !important;
  border: 0;
  border-radius: 0;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  box-sizing: border-box;
}
.hq-ty-btn:hover { background: #24407D; }
.hq-ty-note { display: block; margin-top: 10px; font-size: 12px; color: #C9C5BB; }
.hero-qcard.is-done .hq-grid,
.hero-qcard.is-done .hq-veh,
.hero-qcard.is-done .hq-consent,
.hero-qcard.is-done .hq-btn,
.hero-qcard.is-done .hq-priv { display: none; }

@media (max-width: 960px) {
  .hero { min-height: 560px; }
  /* Pin the photo layer to the first screen so the stacked quote form
     does not stretch the LCP image box to the full hero height. */
  .hero-slides { top: 0; left: 0; right: 0; bottom: auto; height: 100vh; height: 100svh; }
  .hero-slides::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(to bottom, rgba(11, 11, 12, 0), #0b0b0c); pointer-events: none; }
  .hero .wrap.hero-split {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .hero-copy { display: contents; }
  .hero-head { order: 1; }
  .hero-qcard { order: 2; width: 100%; max-width: 380px; justify-self: stretch; }
  .hero-rest { order: 3; }
}
@media (max-width: 640px) {
  .hero { min-height: 0; }
  .hero-qcard { max-width: none; padding: 14px 14px 12px; }
}

/* Car / Home / Both choice: three equal segments, easy to tap on phones. */
.hq-cov { margin-top: 10px; }
.hq-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.hq-seg .hq-pill { min-height: 40px; padding: 0 6px; font-size: 13px; letter-spacing: .02em; }
.hq-seg .hq-pill:has(input:focus-visible) { outline: 1px solid #FFD23F; outline-offset: 2px; }
.hq-vehf[hidden] { display: none; }
.hero-qcard.is-done .hq-cov { display: none; }
/* Sticky "Get a quote" jumps here; keep the card clear of the header and the bottom bar. */
#hero-quote-form { scroll-margin-top: 90px; scroll-margin-bottom: 80px; }
.hq-btn { scroll-margin-bottom: 80px; }
@media (max-width: 640px) {
  .hq-seg .hq-pill { min-height: 44px; font-size: 14px; }
  .hq-btn { height: 48px; }
}

/* v2.31 car-only one-screen card (Dec 4 2026): readable labels, short consent line right above the button, bundle offer after submit. */
.hero-qcard.hq-car .hq-h { font-size: 21px; margin: 0 0 4px; }
.hero-qcard.hq-car .hq-f { font-size: 10.5px; letter-spacing: .12em; margin-top: 10px; }
.hero-qcard.hq-car .hq-f input { font-size: 15px; padding: 7px 0 6px; }
.hero-qcard.hq-car .hq-consent { font-size: 12.5px; line-height: 1.42; margin: 12px 0 0; color: #DAD6CC; }
.hero-qcard.hq-car .hq-btn { height: 46px; margin-top: 10px; font-size: 12.5px; }
.hero-qcard.hq-car .hq-priv { font-size: 10.5px; }
.hq-bundle { display: block; margin: 12px 0 4px; }
.hero-qcard .bo { border: 1px solid rgba(255, 210, 63, .55); background: rgba(27, 47, 94, .55); padding: 12px; border-radius: 4px; }
.hero-qcard .bo-h { margin: 0 0 2px; font-size: 16px; font-weight: 600; color: #F2EFE8; }
.hero-qcard .bo-p { margin: 0 0 10px; font-size: 13px; color: #DAD6CC; }
.hero-qcard .bo-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hero-qcard .bo-b { min-height: 44px; background: transparent; color: #F2EFE8; border: 1px solid rgba(242, 239, 232, .55); border-radius: 2px; font: 500 14px/1.1 "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 5px; }
.hero-qcard .bo-b:hover { border-color: #FFD23F; }
.hero-qcard .bo-b.on { background: #F2EFE8; color: #0b0b0c; border-color: #F2EFE8; }
.hero-qcard .bo-plus { color: #FFD23F; font-weight: 700; }
.hero-qcard .bo-b.on .bo-plus { color: #1B2F5E; }
.hero-qcard .bo-msg { margin: 8px 0 0; font-size: 13px; color: #B9E5C2; }
/* Desktop /quote and /cotizar car card section */
.carq-desk { background: #0b0b0c; padding: 28px 0 40px; }
.carq-desk .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.carq-desk .cd-copy { color: #F2EFE8; font-family: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif; padding-top: 8px; }
.carq-desk .cd-copy h1 { font-size: 40px; font-weight: 300; letter-spacing: -.03em; line-height: 1.08; margin: 0 0 12px; color: #F2EFE8; }
.carq-desk .cd-copy p { color: #C9C5BB; font-size: 16px; line-height: 1.55; margin: 0 0 10px; max-width: 460px; }
.carq-desk .cd-copy a { color: #F2EFE8; }
.carq-desk .hero-qcard { width: 400px; justify-self: end; }
@media (max-width: 900px) { .carq-desk .wrap { grid-template-columns: 1fr; gap: 16px; } .carq-desk .hero-qcard { width: 100%; justify-self: stretch; } .carq-desk .cd-copy h1 { font-size: 30px; } }
html.carq-on .qz3 { display: none; }
html:not(.carq-on) .carq-desk { display: none; }
.hero-qcard .bo-em { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid rgba(242, 239, 232, .2); }
.hero-qcard .bo-em label { display: block; font-size: 13px; color: #F2EFE8; margin: 0 0 5px; }
.hero-qcard .bo-emrow { display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.hero-qcard .bo-em input { min-width: 0; height: 40px; background: transparent; border: 0; border-bottom: 1px solid #6F6B64; color: #F2EFE8; font: 15px "Outfit", Helvetica, Arial, sans-serif; outline: none; }
.hero-qcard .bo-em input::placeholder { color: #6F6B64; }
.hero-qcard .bo-em.bad input { border-bottom-color: #E07A7A; }
.hero-qcard .bo-save { height: 40px; padding: 0 14px; background: #1B2F5E; color: #F2EFE8; border: 0; box-shadow: inset 0 0 0 1.5px rgba(255, 210, 63, .5); font: 500 13px "Outfit", Helvetica, Arial, sans-serif; cursor: pointer; }
.hero-qcard .bo-emmsg { margin: 5px 0 0; font-size: 12.5px; color: #B9E5C2; }
.hero-qcard .bo-em.bad .bo-emmsg { color: #F2C9C9; }

/* v2.32 PREVIEW (Dec 4 2026): same first-screen additions on the desktop hero card. */
.hero-qcard .v232-hd { display: flex; gap: 12px; align-items: center; margin: 0 0 6px; }
.hero-qcard .v232-ph { width: 54px; height: 54px; flex: none; border-radius: 50%; object-fit: cover; border: 2px solid rgba(242, 239, 232, .75); background: #2a2a2d; }
.hero-qcard .v232-ht { min-width: 0; }
.hero-qcard .v232-by { margin: 2px 0 0; font-size: 12.5px; line-height: 1.25; color: #C9C5BB; }
.hero-qcard .v232-es { display: inline-block; margin-top: 5px; background: #FFD23F; color: #1B2F5E; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 600; }
.hero-qcard .v232-proof { margin: 4px 0 6px; font-size: 14px; font-weight: 600; line-height: 1.25; color: #FFD23F; }
.hero-qcard .v232-next { margin: 0 0 4px; padding: 7px 10px; border-left: 3px solid #FFD23F; background: rgba(255, 255, 255, .07); font-size: 13px; line-height: 1.38; color: #F2EFE8; }
.hero-qcard .v232-talk { margin: 8px 0 0; text-align: center; font-size: 14px; color: #DAD6CC; }
.hero-qcard .v232-talk a { color: #F2EFE8; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hero-qcard .v232-phs { display: flex; flex: none; }
.hero-qcard .v232-phs .v232-ph2 { margin-left: -16px; }
