.kwsc {
  --kwsc-ink: #17364a;
  --kwsc-main: #116b70;
  --kwsc-header: #123746;
  --kwsc-header2: #126a70;
  --kwsc-dim: 0.66;
  --kwsc-radius: 18px;
  --kwsc-width: 900px;
  --kwsc-hero-height: 210px;
  box-sizing: border-box;
  max-width: var(--kwsc-width);
  margin: 28px auto;
  border: 1px solid #dce6e8;
  border-radius: var(--kwsc-radius);
  overflow: hidden;
  background: #fff;
  color: var(--kwsc-ink);
  box-shadow: 0 8px 30px #17364a0d;
  text-align: right;
  font-family: inherit;
  line-height: 1.8;
}
.kwsc * {
  box-sizing: border-box;
}
.kwsc .kwsc-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 28px 20px;
  background: linear-gradient(120deg, var(--kwsc-header), var(--kwsc-header2));
  text-align: center;
  overflow: hidden;
}
.kwsc .kwsc-has-image {
  min-height: var(--kwsc-hero-height);
}
.kwsc .kwsc-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  margin: 0;
  pointer-events: none;
}
.kwsc .kwsc-has-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 24, 35, var(--kwsc-dim));
  z-index: 1;
  pointer-events: none;
}
.kwsc .kwsc-hero h2 {
  position: relative;
  z-index: 2;
  color: #fff !important;
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.75);
  margin: 0;
  font-size: clamp(23px, 4vw, 32px);
  line-height: 1.5;
}
.kwsc .kwsc-body {
  padding: 26px;
}
.kwsc .kwsc-description {
  margin: 0 0 22px;
  color: #526773;
}
.kwsc .kwsc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.kwsc .kwsc-full {
  grid-column: 1/-1;
}
.kwsc label {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.kwsc input:not([type="checkbox"]),
.kwsc select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 6px 0 0;
  padding: 10px 12px;
  border: 1px solid #c6d5da;
  border-radius: 9px;
  color: #17364a;
  background: #fff;
  font: inherit;
}
.kwsc :is(input, select, button, a):focus-visible {
  outline: 3px solid #e5a72f;
  outline-offset: 3px;
}
.kwsc fieldset {
  border: 1px solid #dce6e8;
  margin: 22px 0;
  padding: 14px;
  border-radius: 10px;
}
.kwsc legend {
  padding: 0 8px;
  font-weight: 700;
}
.kwsc .kwsc-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.kwsc .kwsc-checks label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 400;
}
.kwsc input[type="checkbox"] {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  accent-color: var(--kwsc-main);
  margin: 0;
}
.kwsc .kwsc-submit,
.kwsc .kwsc-whatsapp {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 13px 18px;
  background: var(--kwsc-main);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.kwsc .kwsc-submit:hover,
.kwsc .kwsc-whatsapp:hover {
  background: #084f55;
  color: #fff;
}
.kwsc .kwsc-note {
  font-size: 13px;
  margin: 10px 0 0;
  color: #586c76;
}
.kwsc .kwsc-result {
  margin-top: 22px;
  padding: 20px;
  background: #eef8f5;
  border: 1px solid #bdded2;
  border-radius: 12px;
}
.kwsc .kwsc-result[hidden] {
  display: none;
}
.kwsc .kwsc-result strong {
  font-size: 21px;
}
.kwsc .kwsc-result p {
  margin: 8px 0 14px;
}
.kwsc .kwsc-result p + p {
  font-size: 14px;
}
.kwsc .kwsc-whatsapp {
  margin-top: 12px;
}
@media (max-width: 560px) {
  .kwsc .kwsc-body {
    padding: 18px;
  }
  .kwsc .kwsc-grid,
  .kwsc .kwsc-checks {
    grid-template-columns: 1fr;
  }
  .kwsc .kwsc-has-image {
    min-height: var(--kwsc-hero-height);
  }
  .kwsc .kwsc-grid {
    gap: 14px;
  }
}
.kwsc-simple .kwsc-submit {
  margin-top: 18px;
}
.kwsc-simple .kwsc-description,
.kwsc-simple .kwsc-note,
.kwsc-simple .kwsc-result p {
  white-space: pre-line;
}

.kwsc .kwsc-quote {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid #bdded2;
  border-radius: 12px;
  background: #f8fbfa;
}
.kwsc .kwsc-quote[hidden] {
  display: none;
}
.kwsc .kwsc-quote h3 {
  margin: 0 0 14px;
  font-size: 21px;
}
.kwsc .kwsc-quote label {
  margin: 12px 0;
}
.kwsc .kwsc-quote textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid #c6d5da;
  border-radius: 9px;
  background: #fff;
  color: #17364a;
  font: inherit;
  resize: vertical;
}
.kwsc textarea:focus-visible {
  outline: 3px solid #e5a72f;
  outline-offset: 3px;
}

.kwsc .kwsc-promo {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 13px;
  background: #effaf3;
  border: 1px solid #a6d8b5;
  color: #135b34;
  text-align: center;
}
.kwsc .kwsc-promo strong {
  display: block;
  font-size: clamp(17px, 3vw, 22px);
  line-height: 1.55;
}
.kwsc .kwsc-promo p {
  margin: 7px 0 0;
  font-size: 14px;
  color: #276446;
}
.kwsc-editor-form .kwsc-adjust-box,
.kwsc-editor-form .kwsc-offer-box {
  padding: 12px;
  margin: 14px 0;
  border: 1px solid #dcdcde;
  border-radius: 8px;
  background: #fafafa;
}
.kwsc-editor-form .kwsc-adjust-box label,
.kwsc-editor-form .kwsc-offer-box label {
  display: block;
  margin: 8px 0;
}

.kwsc-simple .kwsc-hero img.kwsc-cover {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block !important;
  opacity: 1 !important;
}
.kwsc-simple .kwsc-hero > *:not(.kwsc-cover) {
  position: relative;
  z-index: 2;
}
.kwsc-simple .kwsc-hero:after {
  z-index: 1;
}
.kwsc-simple .kwsc-body {
  position: relative;
  z-index: 0;
  background: #fff;
}
.kwsc-simple .kwsc-hero {
  min-width: 0;
}

/* v2.5.2: transparent note contact action and accessible quote form */
.kwsc .kwsc-note-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 13px 15px;
  background: #f4f9fb;
  border: 1px solid #d4e4ea;
  border-radius: 12px;
}
.kwsc .kwsc-note-bar .kwsc-note {
  flex: 1;
  margin: 0;
  line-height: 1.8;
}
.kwsc .kwsc-note-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  border: 0;
  border-radius: 9px;
  padding: 9px 13px;
  background: var(--kwsc-main);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.kwsc .kwsc-note-action:hover {
  filter: brightness(0.85);
}
.kwsc .kwsc-quote {
  border: 2px solid var(--kwsc-main);
  background: #f7fbfa;
  box-shadow: 0 7px 23px rgba(10, 55, 65, 0.09);
  padding: 22px;
  border-radius: 14px;
}
.kwsc .kwsc-quote h3 {
  padding: 0 0 10px;
  border-bottom: 1px solid #c9dfe0;
  color: var(--kwsc-ink);
  font-size: clamp(20px, 3vw, 25px);
}
.kwsc .kwsc-quote-selection {
  margin: 12px 0;
  padding: 11px 13px;
  background: #e8f5f1;
  border-radius: 9px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.8;
}
.kwsc .kwsc-quote label {
  font-size: 14px;
  font-weight: 650;
}
.kwsc .kwsc-quote .kwsc-whatsapp {
  margin-top: 16px;
}
.kwsc-editor-form .kwsc-quote-setting {
  margin: 14px 0;
  padding: 16px;
  border: 2px solid #a6d1d5;
  border-radius: 10px;
  background: #f0fafb;
}
.kwsc-editor-form .kwsc-quote-setting > label {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.kwsc-editor-form .kwsc-quote-setting input[type="checkbox"] {
  width: 21px;
  height: 21px;
}
.kwsc-editor-form .kwsc-quote-setting p {
  margin: 7px 0 0;
  color: #526773;
  font-size: 13px;
}
@media (max-width: 560px) {
  .kwsc .kwsc-note-bar {
    flex-wrap: wrap;
  }
  .kwsc .kwsc-note-action {
    width: 100%;
  }
  .kwsc .kwsc-quote {
    padding: 16px;
  }
}

/* v2.5.3: ensure visible button labels even when the theme overwrites button colors */
.kwsc-simple .kwsc-note-action,
.kwsc-simple .kwsc-note-action:is(:hover, :focus, :active),
.kwsc-simple .kwsc-submit,
.kwsc-simple .kwsc-submit:is(:hover, :focus, :active),
.kwsc-simple .kwsc-whatsapp,
.kwsc-simple .kwsc-whatsapp:is(:hover, :focus, :active) {
  color: var(--kwsc-button-text, #fff) !important;
  -webkit-text-fill-color: var(--kwsc-button-text, #fff) !important;
  opacity: 1;
  text-shadow: none;
}
.kwsc-simple .kwsc-note-action {
  background: var(--kwsc-main, #116b70) !important;
}
