#pirana-enquiry {
  width: min(960px, calc(100vw - 40px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: #171a1d;
  background: #fff;
  box-shadow: 0 24px 80px #0005;
  font-family: Manrope, Arial, sans-serif;
  overflow: auto;
}

#pirana-enquiry::backdrop {
  background: rgba(10, 13, 16, .76);
  backdrop-filter: blur(3px);
}

#pirana-enquiry * {
  box-sizing: border-box;
}

.pq-layout {
  display: grid;
  grid-template-columns: 35% 65%;
  min-height: 0;
}

.pq-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 56px 34px 34px;
  overflow: hidden;
  color: #fff;
  background: #171a1d;
}

.pq-aside::before {
  content: "";
  position: absolute;
  top: 0;
  left: 34px;
  width: 64px;
  height: 5px;
  background: #e31e24;
}

.pq-aside > * {
  position: relative;
}

.pq-aside h2 {
  margin: 0 0 22px;
  color: #fff;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(40px, 4.2vw, 54px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.02em;
}

.pq-aside p {
  margin: 0 0 20px;
  color: #c8ced2;
  font-size: 13px;
  line-height: 1.7;
}

.pq-contact {
  margin-top: auto;
  padding-top: 44px;
}

.pq-contact p {
  margin-bottom: 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.pq-contact a {
  display: block;
  width: fit-content;
  margin: 33px 0 10px;
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.pq-contact a:first-of-type {
  margin-top: 0;
}

.pq-main {
  position: relative;
  min-width: 0;
  padding: 38px 40px 32px;
}

.pq-main h3 {
  margin: 0 0 6px;
  padding-right: 42px;
  color: #171a1d;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.01em;
}

.pq-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #e0e3e5;
  border-radius: 50%;
  color: #171a1d;
  background: #fff;
  font: 26px/1 Arial, sans-serif;
  cursor: pointer;
}

.pq-close:hover {
  border-color: #b7bdc1;
  background: #f6f7f8;
}

.pq-main label {
  display: block;
  margin-bottom: 15px;
  color: #242a2e;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
}

.pq-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.pq-main input,
.pq-main textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px 13px;
  border: 1px solid #c5cacd;
  border-radius: 2px;
  color: #171a1d;
  background: #f6f7f8;
  font: 13px/1.5 Manrope, Arial, sans-serif;
  transition: border-color .15s, background .15s, box-shadow .15s;
}

.pq-main input {
  min-height: 45px;
}

.pq-main textarea {
  min-height: 104px;
  resize: vertical;
}

.pq-main input:hover,
.pq-main textarea:hover {
  border-color: #8f979d;
}

.pq-main input:focus,
.pq-main textarea:focus {
  border-color: #e31e24;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(227, 30, 36, .11);
  outline: 0;
}

.pq-main input::placeholder,
.pq-main textarea::placeholder {
  color: #697278;
  opacity: 1;
}

.pq-main .pq-note {
  margin: 7px 0 16px;
  color: #5e686f;
  font-size: 11px;
  line-height: 1.6;
}

.pq-note a,
.pq-list {
  color: #171a1d;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.pq-submit {
  width: 100%;
  min-height: 48px;
  padding: 13px 18px;
  border: 0;
  border-radius: 2px;
  color: #fff;
  background: #e31e24;
  font: 800 12px/1 Manrope, Arial, sans-serif;
  letter-spacing: .045em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s;
}

.pq-submit:hover {
  background: #bc151a;
}

.pq-submit:disabled {
  opacity: .65;
  cursor: wait;
}

.pq-status {
  margin: 12px 0;
  color: #171a1d;
  font-size: 12px;
  line-height: 1.6;
}

.pq-status:empty {
  display: none;
}

.pq-list {
  display: inline-block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
}

.pq-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#pirana-enquiry :focus-visible {
  outline: 2px solid #e31e24;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  #pirana-enquiry {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }

  .pq-layout {
    grid-template-columns: 1fr;
  }

  .pq-aside {
    padding: 29px 22px 22px;
  }

  .pq-aside::before {
    left: 22px;
    width: 45px;
    height: 4px;
  }

  .pq-aside h2 {
    max-width: calc(100% - 4px);
    margin-right: 36px;
    margin-bottom: 12px;
    padding-right: 9px;
    font-size: 34px;
    line-height: 1.02;
  }

  .pq-aside h2 br {
    display: none;
  }

  .pq-aside p {
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-size: 12px;
    line-height: 1.65;
  }

  .pq-contact {
    display: none;
  }

  .pq-main {
    padding: 30px 20px 32px;
  }

  .pq-main h3 {
    padding-right: 0;
    font-size: 32px;
  }

  .pq-close {
    position: fixed;
    z-index: 2;
    top: 17px;
    right: 15px;
    width: 38px;
    height: 38px;
    border-color: #3d4246;
    color: #fff;
    background: #171a1d;
  }

  .pq-close:hover {
    background: #e31e24;
  }

  .pq-fields {
    grid-template-columns: 1fr;
  }

  .pq-main input,
  .pq-main textarea {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pq-main input,
  .pq-main textarea,
  .pq-submit {
    transition: none;
  }
}
