.tz-quote-page {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.96) 0%, rgba(241, 246, 252, 0.94) 38%, rgba(233, 241, 251, 0.98) 100%);
  color: var(--tz-text);
  padding-bottom: 52px;
}

.tz-quote-hero {
  position: relative;
  min-height: 620px;
  background-color: #163965;
  background-size: cover;
  background-position: center right;
  overflow: hidden;
}

.tz-quote-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 24, 52, 0.94) 0%, rgba(7, 24, 52, 0.84) 38%, rgba(7, 24, 52, 0.28) 76%, rgba(7, 24, 52, 0.12) 100%);
}

.tz-quote-hero-inner {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: flex;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 160px;
}

.tz-quote-hero-copy {
  width: min(100%, 560px);
  color: #ffffff;
}

.tz-quote-hero-copy h1 {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 0.95;
}

.tz-quote-hero-copy h1 span,
.tz-quote-hero-copy h1 strong {
  display: block;
}

.tz-quote-hero-copy h1 span {
  color: #ffffff;
  font-family: "Poppins", "Open Sans", sans-serif;
  font-size: clamp(44px, 5vw, 74px);
  font-weight: 700;
  text-shadow: 0 10px 30px rgba(5, 16, 34, 0.28);
}

.tz-quote-hero-copy h1 strong {
  color: var(--tz-orange-500);
  font-family: "Poppins", "Open Sans", sans-serif;
  font-size: clamp(44px, 5vw, 74px);
  font-weight: 800;
  text-shadow: 0 10px 30px rgba(5, 16, 34, 0.18);
}

.tz-quote-hero-copy p {
  margin: 22px 0 0;
  max-width: 520px;
  color: #f4f8ff;
  font-size: 24px;
  line-height: 1.45;
}

.tz-quote-hero-points {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px 34px;
}

.tz-quote-hero-point {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.tz-quote-hero-point-icon {
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(241, 132, 47, 0.9);
  border-radius: 50%;
  color: var(--tz-orange-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  font-size: 18px;
}

.tz-quote-hero-point-text {
  max-width: 190px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.tz-quote-form-section {
  margin-top: -108px;
  position: relative;
  z-index: 2;
}

.tz-quote-form-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(215, 226, 238, 0.86);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(9, 34, 66, 0.12);
  padding: 34px 42px 30px;
}

.tz-quote-form-empty {
  border: 1px dashed #ccd7e5;
  border-radius: 14px;
  padding: 26px;
  color: #556983;
  text-align: center;
}

.tz-quote-form-card .wpcf7 {
  width: 100%;
}

.tz-quote-form-card .wpcf7 form {
  margin: 0;
}

.tz-quote-form-card .wpcf7 p {
  margin: 0;
}

.tz-quote-form-card .wpcf7 form .screen-reader-response,
.tz-quote-form-card .wpcf7 form .wpcf7-response-output:empty {
  display: none;
}

.tz-quote-form-card .wpcf7 form .wpcf7-response-output {
  margin: 18px 0 0;
  border: 0;
  border-radius: 12px;
  padding: 14px 16px;
  color: #143458;
  background: #eef4fb;
  font-size: 14px;
}

.tz-quote-form-card .wpcf7-not-valid-tip {
  margin-top: 8px;
  color: #d83b39;
  font-size: 12px;
}

.tz-quote-form-card .wpcf7 form.invalid .wpcf7-response-output,
.tz-quote-form-card .wpcf7 form.unaccepted .wpcf7-response-output {
  background: #fff0ef;
  color: #b92c2a;
}

.tz-quote-form-card .wpcf7 form.sent .wpcf7-response-output {
  background: #edf8ef;
  color: #1a7240;
}

.tz-quote-form-section-block + .tz-quote-form-section-block {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px dashed #d7e1ee;
}

.tz-quote-form-heading {
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--tz-blue-900);
  font-family: "Poppins", "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.tz-quote-form-heading i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eef4fb;
  color: var(--tz-blue-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.tz-quote-grid {
  display: grid;
  gap: 18px 22px;
}

.tz-quote-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tz-quote-field {
  display: block;
}

.tz-quote-field > span {
  display: block;
  margin-bottom: 9px;
  color: #122b4c;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.tz-quote-field > span em {
  color: #ff5449;
  font-style: normal;
}

.tz-quote-field .wpcf7-form-control-wrap {
  display: block;
}

.tz-quote-field input[type="text"],
.tz-quote-field input[type="email"],
.tz-quote-field input[type="tel"],
.tz-quote-field input[type="number"],
.tz-quote-field input[type="date"],
.tz-quote-field select,
.tz-quote-field textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid #d9e3ef;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: inset 0 1px 2px rgba(10, 38, 71, 0.02);
  color: #15355a;
  font-size: 15px;
  line-height: 1.4;
  padding: 0 16px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.tz-quote-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #5b6f8a 50%),
    linear-gradient(135deg, #5b6f8a 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
}

.tz-quote-field textarea {
  min-height: 128px;
  resize: vertical;
  padding-top: 14px;
  padding-bottom: 14px;
}

.tz-quote-field input::placeholder,
.tz-quote-field textarea::placeholder,
.tz-quote-field select {
  color: #7a8ea7;
}

.tz-quote-field input:focus,
.tz-quote-field textarea:focus,
.tz-quote-field select:focus {
  outline: 0;
  border-color: rgba(20, 92, 189, 0.42);
  box-shadow: 0 0 0 4px rgba(20, 92, 189, 0.12);
}

.tz-quote-field--with-icon .wpcf7-form-control-wrap,
.tz-quote-field--phone .wpcf7-form-control-wrap {
  position: relative;
}

.tz-quote-field--with-icon .wpcf7-form-control-wrap::before,
.tz-quote-field--phone .wpcf7-form-control-wrap::before {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #6a80a0;
  font-size: 15px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  pointer-events: none;
}

.tz-quote-field--with-icon input[type="text"],
.tz-quote-field--with-icon input[type="email"],
.tz-quote-field--with-icon input[type="tel"],
.tz-quote-field--with-icon input[type="number"],
.tz-quote-field--with-icon input[type="date"],
.tz-quote-field--phone input[type="text"],
.tz-quote-field--phone input[type="tel"] {
  padding-left: 44px;
}

.tz-quote-field--date .wpcf7-form-control-wrap::before {
  content: "\f073";
}

.tz-quote-field--people .wpcf7-form-control-wrap::before {
  content: "\f007";
}

.tz-quote-field--phone .wpcf7-form-control-wrap::before {
  content: "\f095";
}

.tz-quote-textarea-hint {
  display: block;
  margin-top: 8px;
  color: #7a8ea7;
  font-size: 14px;
  line-height: 1.45;
}

.tz-quote-form-actions {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.tz-quote-form-actions .wpcf7-spinner {
  margin: 0;
}

.tz-quote-form-actions input[type="submit"],
.tz-quote-form-actions button,
.tz-quote-form-actions .wpcf7-submit {
  width: min(100%, 360px);
  min-height: 56px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(90deg, #ff9a2b 0%, #ff7d1f 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 16px 32px rgba(255, 125, 31, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.tz-quote-form-actions input[type="submit"]:hover,
.tz-quote-form-actions button:hover,
.tz-quote-form-actions .wpcf7-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 36px rgba(255, 125, 31, 0.28);
  filter: saturate(1.04);
}

.tz-quote-form-secure {
  margin-top: 10px;
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #687d95;
  font-size: 14px;
}

.tz-quote-benefits {
  margin-top: 40px;
}

.tz-quote-benefits-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(215, 226, 238, 0.86);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(9, 34, 66, 0.08);
  padding: 26px 28px;
}

.tz-quote-benefits-card h2 {
  margin: 0 0 22px;
  color: var(--tz-blue-900);
  text-align: center;
  font-family: "Poppins", "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.tz-quote-benefits-card h2 span {
  color: var(--tz-orange-500);
}

.tz-quote-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tz-quote-benefits-grid--count-1 {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}

.tz-quote-benefits-grid--count-2 {
  grid-template-columns: repeat(2, minmax(260px, 360px));
  justify-content: center;
}

.tz-quote-benefits-grid--count-3 {
  grid-template-columns: repeat(3, minmax(240px, 360px));
  justify-content: center;
}

.tz-quote-benefit-card {
  text-align: center;
  padding: 0 22px;
}

.tz-quote-benefit-card + .tz-quote-benefit-card {
  border-left: 1px solid #e4ebf5;
}

.tz-quote-benefit-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #f3f8ff;
  color: var(--tz-blue-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.tz-quote-benefit-card h3 {
  margin: 16px 0 10px;
  color: #122b4c;
  font-family: "Poppins", "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.tz-quote-benefit-card p {
  margin: 0;
  color: #4e627d;
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 1100px) {
  .tz-quote-hero {
    min-height: 560px;
  }

  .tz-quote-hero-copy p {
    font-size: 21px;
  }

  .tz-quote-grid--3,
  .tz-quote-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tz-quote-benefits-grid--count-3 .tz-quote-benefit-card:last-child:nth-child(3) {
    grid-column: 1 / -1;
    width: min(100%, 420px);
    margin: 24px auto 0;
    border-left: 0;
  }

  .tz-quote-benefit-card:nth-child(3),
  .tz-quote-benefit-card:nth-child(4) {
    margin-top: 24px;
  }

  .tz-quote-benefit-card:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 767px) {
  .tz-quote-page {
    padding-bottom: 34px;
  }

  .tz-quote-hero {
    min-height: auto;
    background-position: center center;
  }

  .tz-quote-hero-inner {
    padding-top: 52px;
    padding-bottom: 136px;
  }

  .tz-quote-hero-copy {
    width: 100%;
  }

  .tz-quote-hero-copy h1 span,
  .tz-quote-hero-copy h1 strong {
    font-size: clamp(36px, 10vw, 52px);
  }

  .tz-quote-hero-copy p {
    font-size: 19px;
  }

  .tz-quote-hero-points {
    flex-direction: column;
    gap: 16px;
  }

  .tz-quote-hero-point-text {
    max-width: none;
  }

  .tz-quote-form-section {
    margin-top: -82px;
  }

  .tz-quote-form-card,
  .tz-quote-benefits-card {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .tz-quote-grid--3,
  .tz-quote-benefits-grid {
    grid-template-columns: 1fr;
  }

  .tz-quote-benefit-card {
    padding: 0;
  }

  .tz-quote-benefit-card + .tz-quote-benefit-card,
  .tz-quote-benefit-card:nth-child(3) {
    margin-top: 22px;
    padding-top: 22px;
    border-left: 0;
    border-top: 1px solid #e4ebf5;
  }
}
