:root {
  --hubbix-blue: #001e48;
  --hubbix-blue-dark: #001e48;
  --hubbix-orange: #ff6600;
  --hubbix-light: #f8fafc;
  --hubbix-text: #001e48;
  --hubbix-muted: #66708d;
  --hubbix-white: #ffffff;
  --hubbix-border: #dbe3f0;
  --hubbix-orange-soft: #fff3eb;
}

/* Dedicated completion view: scoped away from request/error form styles. */
.hubbixquote-page.hubbixquote-confirmation {
  display: grid;
  min-height: 58vh;
  padding: clamp(36px, 7vw, 88px) 20px;
  place-items: center;
}

.hubbixquote-confirmation-card {
  background: #fff;
  border: 1px solid var(--hubbix-border);
  border-top: 4px solid var(--hubbix-orange);
  border-radius: 20px;
  box-shadow: 0 18px 54px rgba(0, 30, 72, 0.07);
  max-width: 820px;
  padding: clamp(30px, 6vw, 64px) clamp(22px, 5vw, 60px);
  text-align: center;
  width: 100%;
}

.hubbixquote-confirmation-check {
  align-items: center;
  background: var(--hubbix-orange-soft);
  border-radius: 50%;
  color: var(--hubbix-blue);
  display: inline-flex;
  height: 76px;
  justify-content: center;
  margin-bottom: 26px;
  width: 76px;
}

.hubbixquote-confirmation-card h1 {
  color: var(--hubbix-blue);
  font-size: clamp(27px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 auto 22px;
  max-width: 650px;
  text-transform: none;
}

.hubbixquote-confirmation-copy {
  color: var(--hubbix-muted);
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.7;
  margin: 0 auto 32px;
  max-width: 590px;
}

.hubbixquote-confirmation-home {
  align-items: center;
  background: var(--hubbix-blue);
  border: 2px solid var(--hubbix-blue);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  justify-content: center;
  line-height: 1.4;
  min-height: 52px;
  padding: 14px 28px;
  text-decoration: none;
}

.hubbixquote-confirmation-home:hover {
  background: #123d72;
  border-color: #123d72;
  color: #fff;
  text-decoration: none;
}

.hubbixquote-confirmation-home:focus-visible {
  outline: 3px solid var(--hubbix-orange);
  outline-offset: 4px;
}

@media (max-width: 480px) {
  .hubbixquote-page.hubbixquote-confirmation { padding: 28px 16px; }
  .hubbixquote-confirmation-home { width: 100%; }
}

.hubbixquote-page,
.hubbixquote-page *,
.hubbixquote-product-cta,
.hubbixquote-product-cta * {
  box-sizing: border-box;
}

.hubbixquote-page,
.hubbixquote-page * {
  font-family: "Manrope", "Inter", Arial, sans-serif !important;
}

.hubbixquote-product-cta {
  margin: 18px 0;
}

.hubbixquote-button,
.hubbixquote-submit {
  align-items: center;
  background: var(--hubbix-orange);
  border: 2px solid var(--hubbix-orange);
  border-radius: 8px;
  color: var(--hubbix-white);
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  line-height: 1.2;
  min-height: 56px;
  padding: 15px 30px;
  text-decoration: none;
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.hubbixquote-button:hover,
.hubbixquote-submit:hover {
  background: var(--hubbix-orange);
  border-color: var(--hubbix-orange);
  box-shadow: 0 16px 30px rgba(255, 102, 0, 0.24);
  color: var(--hubbix-white);
  text-decoration: none;
  transform: translateY(-2px);
}

.hubbixquote-page {
  background:
    radial-gradient(circle at top center, rgba(0, 30, 72, 0.08), rgba(248, 250, 252, 0) 360px),
    linear-gradient(180deg, #ffffff 0%, #f9fbff 45%, #f8fafc 100%);
  color: var(--hubbix-text);
  padding: 0 0 clamp(46px, 6vw, 76px);
}

.hubbixquote-wrap {
  margin: 0 auto;
  max-width: 1180px;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}

.hubbixquote-hero {
  background: #fff;
  isolation: isolate;
  margin: 0 0 28px;
  min-height: clamp(228px, 25vw, 310px);
  width: 100%;
  overflow: hidden;
  padding: clamp(36px, 4vw, 52px) 20px 18px;
  position: relative;
  text-align: center;
}

.hubbixquote-hero-bg {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center center;
  opacity: 0.5;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.hubbixquote-hero::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.42) 48%, rgba(255, 255, 255, 0.82)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.78));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.hubbixquote-hero h1,
.hubbixquote-hero p,
.hubbixquote-hero-badges {
  position: relative;
  z-index: 2;
}

.hubbixquote-hero h1 {
  color: var(--hubbix-blue);
  font-size: clamp(36px, 4.2vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  margin: 0 auto 14px;
  max-width: 860px;
}

.hubbixquote-hero p {
  color: var(--hubbix-muted);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 720px;
}

.hubbixquote-hero-badges {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  grid-template-columns: repeat(3, 220px);
  justify-content: center;
  margin: 22px auto 0;
  max-width: 760px;
}

.hubbixquote-hero-badges span {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 30, 72, 0.06);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0, 30, 72, 0.07);
  color: var(--hubbix-blue);
  display: grid;
  gap: 14px;
  grid-template-columns: 38px 1fr;
  min-height: 62px;
  padding: 12px 18px;
  text-align: left;
  width: 100%;
}

.hubbixquote-hero-badges strong {
  align-items: center;
  border: 2px solid var(--hubbix-orange);
  border-radius: 999px;
  color: var(--hubbix-orange);
  display: inline-flex;
  font-size: 17px;
  height: 38px;
  justify-content: center;
  line-height: 1;
  width: 38px;
}

.hubbixquote-hero-badges em,
.hubbixquote-hero-badges small {
  display: block;
  font-style: normal;
  grid-column: 2;
}

.hubbixquote-hero-badges em {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.hubbixquote-hero-badges small {
  color: var(--hubbix-muted);
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
}

.hubbixquote-form {
  margin-left: auto;
  margin-right: auto;
  background: var(--hubbix-white);
  border: 1px solid rgba(0, 30, 72, 0.1);
  border-radius: 16px;
  box-shadow: 0 24px 65px rgba(0, 30, 72, 0.12);
  overflow: hidden;
  width: 100%;
}

.hubbixquote-section {
  padding: clamp(30px, 4vw, 56px) clamp(28px, 5vw, 76px);
  position: relative;
}

.hubbixquote-section + .hubbixquote-section {
  border-top: 1px solid var(--hubbix-border);
}

.hubbixquote-section h2 {
  color: var(--hubbix-blue);
  font-size: 25px;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 8px 122px;
  min-height: 52px;
  position: relative;
  z-index: 1;
}

.hubbixquote-section h2::before {
  color: rgba(0, 30, 72, 0.08);
  content: attr(data-step);
  font-size: clamp(74px, 10vw, 92px);
  font-weight: 900;
  left: -122px;
  letter-spacing: 0;
  line-height: 0.9;
  position: absolute;
  top: -10px;
  z-index: -1;
}

.hubbixquote-section h2::after {
  background: var(--hubbix-orange);
  bottom: 0;
  content: "";
  display: block;
  height: 3px;
  left: 0;
  position: absolute;
  width: 42px;
}

.hubbixquote-section-intro {
  color: var(--hubbix-muted);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.55;
  margin: 0 0 26px 122px;
}

.hubbixquote-grid {
  display: grid;
  gap: 22px 26px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hubbixquote-grid-full {
  grid-column: 1 / -1;
}

.hubbixquote-grid label,
.hubbixquote-message {
  margin: 0;
}

.hubbixquote-grid label > span,
.hubbixquote-message > span {
  color: var(--hubbix-blue);
  display: block;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 10px;
}

.hubbixquote-form input[type='text'],
.hubbixquote-form input[type='email'],
.hubbixquote-form input[type='tel'],
.hubbixquote-form select,
.hubbixquote-form textarea {
  background: #fff;
  border: 1px solid #cfd8e8;
  border-radius: 7px;
  color: var(--hubbix-text);
  display: block;
  font-size: 16px;
  font-weight: 650;
  min-height: 56px;
  padding: 15px 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.hubbixquote-phone-field {
  align-items: center;
  background: var(--hubbix-white);
  border: 1px solid #cfd8e8;
  border-radius: 7px;
  display: grid;
  grid-template-columns: auto 1fr;
  min-height: 56px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hubbixquote-phone-prefix {
  align-items: center;
  align-self: stretch;
  background: #f6f8fc;
  border-right: 1px solid #cfd8e8;
  display: inline-flex;
  justify-content: center;
  min-width: 58px;
  padding: 0 12px;
}

.hubbixquote-flag {
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 30, 72, 0.18);
  display: block;
  height: 16px;
  overflow: hidden;
  position: relative;
  width: 24px;
}

.hubbixquote-flag-fr { background: linear-gradient(90deg, #0055a4 0 33.33%, #fff 33.33% 66.66%, #ef4135 66.66%); }
.hubbixquote-flag-be { background: linear-gradient(90deg, #000 0 33.33%, #ffd90c 33.33% 66.66%, #ef3340 66.66%); }
.hubbixquote-flag-it { background: linear-gradient(90deg, #009246 0 33.33%, #fff 33.33% 66.66%, #ce2b37 66.66%); }
.hubbixquote-flag-de { background: linear-gradient(180deg, #000 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66%); }
.hubbixquote-flag-nl { background: linear-gradient(180deg, #ae1c28 0 33.33%, #fff 33.33% 66.66%, #21468b 66.66%); }
.hubbixquote-flag-lu { background: linear-gradient(180deg, #ed2939 0 33.33%, #fff 33.33% 66.66%, #00a1de 66.66%); }
.hubbixquote-flag-es { background: linear-gradient(180deg, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75%); }
.hubbixquote-flag-pt { background: linear-gradient(90deg, #006600 0 40%, #ff0000 40%); }
.hubbixquote-flag-ch { background: #d52b1e; }
.hubbixquote-flag-ch::before,
.hubbixquote-flag-ch::after {
  background: #fff;
  content: "";
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}
.hubbixquote-flag-ch::before { height: 10px; width: 4px; }
.hubbixquote-flag-ch::after { height: 4px; width: 10px; }

.hubbixquote-phone-field input[type='tel'] {
  border: 0;
  border-radius: 0;
  min-height: 54px;
}

.hubbixquote-phone-field:focus-within {
  border-color: var(--hubbix-orange);
  box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.12);
}

.hubbixquote-form input::placeholder,
.hubbixquote-form textarea::placeholder {
  color: #7e89a6;
  font-weight: 600;
}

.hubbixquote-form select {
  appearance: auto;
}

.hubbixquote-form input:focus,
.hubbixquote-form select:focus,
.hubbixquote-form textarea:focus {
  border-color: var(--hubbix-orange);
  box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.12), 0 0 0 1px rgba(0, 30, 72, 0.08);
  outline: 0;
}

.hubbixquote-configurator {
  display: grid;
  gap: 18px;
}

.hubbixquote-config-head,
.hubbixquote-config-line {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(165px, 0.96fr) minmax(125px, 0.78fr) 42px;
}

.hubbixquote-config-head {
  background: var(--hubbix-blue-dark);
  border-radius: 7px 7px 0 0;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  overflow: hidden;
  padding-right: 42px;
  text-align: center;
}

.hubbixquote-config-head span {
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  padding: 15px 12px;
}

.hubbixquote-config-head span:last-child {
  border-right: 0;
}

.hubbixquote-config-lines {
  margin-top: -18px;
}

.hubbixquote-config-line {
  align-items: end;
  background: #fff;
  border: 1px solid var(--hubbix-border);
  border-radius: 0 0 7px 7px;
  border-top: 0;
  padding: 16px;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.hubbixquote-config-line + .hubbixquote-config-line {
  border-radius: 7px;
  border-top: 1px solid var(--hubbix-border);
  margin-top: 12px;
}

.hubbixquote-config-line:hover {
  border-color: rgba(255, 102, 0, 0.38);
  box-shadow: 0 14px 30px rgba(0, 30, 72, 0.07);
}

.hubbixquote-config-line label {
  border-right: 1px solid var(--hubbix-border);
  margin: 0;
  padding: 0 14px;
}

.hubbixquote-config-line label:first-child {
  padding-left: 0;
}

.hubbixquote-config-line label span {
  display: none;
}

.hubbixquote-config-line select {
  font-size: 15px;
  padding-left: 12px;
  padding-right: 10px;
}

.hubbixquote-remove-line {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--hubbix-orange);
  cursor: pointer;
  display: inline-flex;
  font-size: 26px;
  font-weight: 800;
  height: 56px;
  justify-content: center;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  width: 42px;
}

.hubbixquote-remove-line:hover:not(:disabled) {
  color: #d94f00;
  transform: scale(1.05);
}

.hubbixquote-remove-line:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

.hubbixquote-add-line {
  align-items: center;
  background: #fff;
  border: 1px solid var(--hubbix-border);
  border-radius: 7px;
  color: var(--hubbix-blue);
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  justify-self: start;
  min-height: 48px;
  padding: 12px 22px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hubbixquote-add-line:hover {
  border-color: var(--hubbix-orange);
  box-shadow: 0 10px 24px rgba(255, 102, 0, 0.1);
  color: var(--hubbix-orange);
  transform: translateY(-1px);
}

.hubbixquote-config-note {
  background: #fff;
  border: 1px solid var(--hubbix-border);
  border-radius: 7px;
  color: var(--hubbix-muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.55;
  margin: 0;
  padding: 20px 24px;
}

.hubbixquote-message textarea {
  min-height: 86px;
  resize: vertical;
}

.hubbixquote-actions {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 0 clamp(28px, 5vw, 76px) clamp(34px, 5vw, 54px);
  text-align: center;
}

.hubbixquote-submit {
  font-size: 20px;
  max-width: 1010px;
  width: 100%;
}

.hubbixquote-submit-note {
  color: var(--hubbix-muted);
  font-size: 15px;
  font-weight: 800;
  margin: 18px 0 0;
}

.hubbixquote-alert {
  border-radius: 10px;
  font-weight: 850;
  margin: 0 auto 20px;
  padding: 16px 18px;
  width: 100%;
}

.hubbixquote-alert ul {
  margin: 0;
  padding-left: 1.2rem;
}

.hubbixquote-alert-success {
  background: #e9f8ef;
  border: 1px solid #a9e4bd;
  color: #17602f;
}

.hubbixquote-alert-error {
  background: #fff0e8;
  border: 1px solid #ffc19e;
  color: #8f3600;
}

.hubbixquote-hidden {
  height: 0;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  width: 0;
}

@media (max-width: 900px) {
  .hubbixquote-hero-badges {
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 100%;
  }

  .hubbixquote-grid {
    grid-template-columns: 1fr;
  }

  .hubbixquote-section h2,
  .hubbixquote-section-intro {
    margin-left: 92px;
  }

  .hubbixquote-section h2::before {
    left: -92px;
  }

  .hubbixquote-config-head {
    display: none;
  }

  .hubbixquote-config-lines {
    margin-top: 0;
  }

  .hubbixquote-config-line,
  .hubbixquote-config-line + .hubbixquote-config-line {
    border: 1px solid var(--hubbix-border);
    border-radius: 10px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hubbixquote-config-line label {
    border-right: 0;
    padding: 0;
  }

  .hubbixquote-config-line label span {
    color: var(--hubbix-blue);
    display: block;
    font-size: 14px;
    font-weight: 850;
    margin-bottom: 8px;
  }

  .hubbixquote-remove-line {
    background: var(--hubbix-orange-soft);
    border-radius: 8px;
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hubbixquote-page {
    padding: 0 0 34px;
  }

  .hubbixquote-wrap {
    max-width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  .hubbixquote-hero {
    min-height: 0;
    padding: 32px 0 0;
    text-align: left;
  }

  
  .hubbixquote-hero h1 {
    font-size: 34px;
  }

  .hubbixquote-hero p {
    font-size: 17px;
  }

  .hubbixquote-hero-badges {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .hubbixquote-form {
    border-radius: 12px;
  }

  .hubbixquote-section {
    padding: 30px 20px;
  }

  .hubbixquote-section h2,
  .hubbixquote-section-intro {
    margin-left: 0;
  }

  .hubbixquote-section h2 {
    padding-top: 52px;
  }

  .hubbixquote-section h2::before {
    left: 0;
    top: 0;
    transform: none;
  }

  .hubbixquote-actions {
    padding: 0 20px 30px;
  }

  .hubbixquote-submit,
  .hubbixquote-button {
    width: 100%;
  }
}


.hubbixquote-config-line-required .hubbixquote-remove-line {
  display: none;
}
