.contact-page {
  padding: clamp(4rem, 7vw, 7rem) 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(32, 104, 180, .27), transparent 38%),
    radial-gradient(circle at 85% 100%, rgba(16, 170, 161, .1), transparent 32%),
    #12213d;
}

.contact-page .contact-layout {
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: start;
  gap: clamp(3rem, 7vw, 7rem);
}

.contact-intro {
  padding-top: clamp(.5rem, 2vw, 1.75rem);
}

.contact-page .eyebrow {
  margin-bottom: 1.2rem;
  color: #72ded7;
}

.contact-intro h1 {
  max-width: 540px;
  margin: 0;
  color: #fff;
  font-family: Manrope, "DM Sans", sans-serif;
  font-size: clamp(2.65rem, 4.4vw, 4.45rem);
  line-height: 1.08;
  letter-spacing: -.06em;
}

.contact-intro .contact-lead {
  max-width: 480px;
  margin: 1.4rem 0 0;
  color: #ccd9e8;
  font-size: 1.02rem;
  line-height: 1.75;
}

.contact-process {
  max-width: 470px;
  margin-top: 3rem;
  padding-top: 1.7rem;
  border-top: 1px solid rgba(207, 223, 242, .2);
}

.contact-process > p,
.contact-alternatives > p {
  margin: 0 0 1.2rem;
  color: #8fa8c9;
  font-size: .71rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.contact-process ol {
  display: grid;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-process li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: .95rem;
  align-items: start;
}

.contact-process li > span {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(114, 222, 215, .35);
  border-radius: .7rem;
  background: rgba(114, 222, 215, .08);
  color: #72ded7;
  font-size: .74rem;
  font-weight: 800;
}

.contact-process strong,
.contact-process small {
  display: block;
}

.contact-process strong {
  color: #fff;
  font-size: .91rem;
}

.contact-process small {
  margin-top: .2rem;
  color: #aebfd4;
  font-size: .83rem;
  line-height: 1.55;
}

.contact-alternatives {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1.3rem;
  max-width: 470px;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(207, 223, 242, .2);
}

.contact-alternatives > p {
  flex-basis: 100%;
  margin-bottom: .25rem;
}

.contact-alternatives a {
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(114, 222, 215, .7);
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}

.contact-page .contact-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3.2vw, 2.5rem);
  border: 1px solid #e2e9f3;
  border-radius: 1.45rem;
  box-shadow: 0 26px 70px rgba(3, 13, 34, .24);
}

.contact-page .contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #11aaa1, #0759f4);
}

.contact-card-heading {
  margin-bottom: 1.8rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e8edf5;
}

.contact-card-heading > span {
  color: #0b8884;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.contact-page .contact-card-heading h2 {
  margin: .45rem 0 .4rem;
  color: #14203a;
  font-family: Manrope, "DM Sans", sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -.045em;
}

.contact-card-heading p {
  margin: 0;
  color: #64728a;
  font-size: .88rem;
  line-height: 1.6;
}

.contact-page .contact-card form {
  gap: 1.15rem 1rem;
}

.contact-page [hidden] {
  display: none !important;
}

.contact-package {
  min-width: 0;
  padding: 1.1rem 1.2rem;
  border: 1px solid #d5e3f3;
  border-radius: .85rem;
  background: #f7faff;
  color: #24334f;
}

.contact-package-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: .2rem 1rem;
}

.contact-package-heading > span {
  flex-basis: 100%;
  color: #0b8884;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.contact-package-heading h3 {
  margin: 0;
  color: #14203a;
  font-size: 1.15rem;
}

.contact-package-heading > strong,
.contact-package-total strong {
  color: #0759f4;
  white-space: nowrap;
}

.contact-package-meta {
  margin: .55rem 0 0;
  color: #5d6d83;
  font-size: .76rem;
  line-height: 1.5;
}

.contact-package-inherits {
  margin: .9rem 0 0;
  padding: .6rem .75rem;
  border-radius: .55rem;
  background: #e8f5f2;
  color: #166b64;
  font-size: .78rem;
  font-weight: 800;
}

.contact-package-scope,
.contact-package-extras {
  margin-top: 1rem;
}

.contact-package-scope > strong,
.contact-package-extras > strong {
  color: #24334f;
  font-size: .79rem;
}

.contact-package :is(.contact-package-scope, .contact-package-extras, .contact-package-previous) ul {
  display: grid;
  gap: .38rem;
  margin: .55rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-package li {
  position: relative;
  padding-left: 1rem;
  color: #52617a;
  font-size: .77rem;
  line-height: 1.4;
}

.contact-package li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #0b988d;
  font-weight: 800;
}

.contact-package-previous {
  margin-top: .85rem;
  padding-top: .7rem;
  border-top: 1px solid #dce7f5;
}

.contact-package-previous summary {
  color: #0759f4;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
}

.contact-package-previous h4 {
  margin: .8rem 0 0;
  color: #24334f;
  font-size: .8rem;
}

.contact-package-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0 0;
  padding-top: .8rem;
  border-top: 1px solid #dce7f5;
  color: #52617a;
  font-size: .78rem;
  font-weight: 800;
}

.contact-financing {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-financing legend {
  margin-bottom: .55rem;
  color: #24334f;
  font-size: .8rem;
  font-weight: 800;
}

.contact-financing legend em {
  color: #0b8f88;
  font-style: normal;
}

.contact-financing-switch {
  display: flex;
  align-items: center;
  width: max-content;
  gap: .65rem;
  cursor: pointer;
}

.contact-financing-switch > input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.contact-financing-track {
  position: relative;
  display: block;
  width: 3.3rem;
  height: 1.85rem;
  padding: .18rem;
  border: 1px solid #c9d7e8;
  border-radius: .65rem;
  border-radius: 999px;
  background: #dce6f2;
  transition: background-color .18s ease, border-color .18s ease;
}

.contact-financing-track span {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(20, 32, 58, .25);
  transition: transform .18s ease;
}

.contact-financing-switch > input:checked + .contact-financing-track {
  border-color: #0759f4;
  background: #0759f4;
}

.contact-financing-switch > input:checked + .contact-financing-track span {
  transform: translateX(1.45rem);
}

.contact-financing-switch:has(> input:disabled) {
  cursor: not-allowed;
  opacity: .62;
}

.contact-financing-switch > input:focus-visible + .contact-financing-track {
  outline: 3px solid rgba(7, 89, 244, .2);
  outline-offset: 3px;
}

.contact-financing-value {
  color: #24334f;
  font-size: .84rem;
  font-weight: 800;
}

.contact-financing small {
  display: block;
  margin-top: .45rem;
  color: #64728a;
  font-size: .73rem;
}

.contact-financing small a {
  color: #0759f4;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-financing-detail {
  margin-top: 1rem;
  padding: 1.1rem;
  border: 1px solid #c8dce7;
  border-radius: .9rem;
  background: #f4f9fc;
  color: #183f61;
}

.contact-financing-detail[hidden] { display: none; }
.contact-financing-detail strong { display: block; font-size: 1rem; }
.contact-financing-detail p { margin: .55rem 0 0; font-size: .82rem; line-height: 1.55; }
.contact-financing-detail small { margin-top: .65rem; color: #526b7d; line-height: 1.5; }
.contact-financing-detail a { display: inline-block; margin-top: .65rem; color: #164b83; font-size: .8rem; font-weight: 700; }

.contact-optional {
  color: #64728a;
  font-size: .76rem;
  font-weight: 600;
}

.contact-page .contact-field {
  display: block;
  min-width: 0;
  color: #24334f;
  font-size: .8rem;
  font-weight: 800;
}

.contact-page .contact-field-wide {
  grid-column: 1 / -1;
}

.contact-business-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1rem;
  min-width: 0;
  padding: 1.1rem;
  border: 1px solid #dfe8f4;
  border-radius: .9rem;
  background: #fbfcff;
}

.contact-page .contact-field > span {
  display: block;
  margin-bottom: .55rem;
}

.contact-page .contact-field > small {
  display: block;
  margin-top: .45rem;
  color: #64728a;
  font-size: .72rem;
  font-weight: 500;
  line-height: 1.45;
}

.contact-page .contact-field > .contact-phone-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: stretch;
  margin: 0;
}

.contact-page .contact-field .contact-phone-prefix {
  display: block;
  width: 4.25rem;
  min-width: 4.25rem;
  min-height: 3.2rem;
  padding: .8rem;
  border: 1px solid #d5dfec;
  border-right: 0;
  border-radius: .7rem 0 0 .7rem;
  background: #edf3fb;
  color: #24334f;
  font: 800 .88rem/1.45 "DM Sans", Arial, sans-serif;
  text-align: center;
}

.contact-page .contact-phone-control > input:not(.contact-phone-prefix) {
  border-radius: 0 .7rem .7rem 0;
}

.contact-page .contact-phone-control:focus-within .contact-phone-prefix {
  border-color: #0759f4;
  background: #eef4ff;
  box-shadow: -4px 0 0 rgba(7, 89, 244, .12);
}

.contact-page .contact-field em {
  color: #0b8f88;
  font-style: normal;
}

.contact-page .contact-field input,
.contact-page .contact-field select,
.contact-page .contact-field textarea {
  display: block;
  width: 100%;
  min-height: 3.2rem;
  margin: 0;
  padding: .8rem .95rem;
  border: 1px solid #d5dfec;
  border-radius: .7rem;
  background-color: #f8fafd;
  color: #14203a;
  font: 500 .91rem/1.45 "DM Sans", Arial, sans-serif;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.contact-page .contact-field input::placeholder,
.contact-page .contact-field textarea::placeholder {
  color: #8290a5;
  opacity: 1;
}

.contact-page .contact-field select {
  appearance: none;
  padding-right: 2.8rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='m4.5 6.75 4.5 4.5 4.5-4.5' stroke='%23586780' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  cursor: pointer;
}

.contact-page .contact-field select:invalid {
  color: #8290a5;
}

.contact-page .contact-field textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-page .contact-field :is(input, select, textarea):hover {
  border-color: #a9bed8;
}

.contact-page .contact-field :is(input, select, textarea):focus-visible {
  outline: none;
  border-color: #0759f4;
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(7, 89, 244, .12);
}

.contact-page .consent {
  align-items: center;
  gap: .7rem;
  margin-top: .15rem;
  padding: .85rem;
  border-radius: .7rem;
  background: #f4f7fb;
  color: #56657c;
  font-size: .76rem;
}

.contact-page .consent input {
  accent-color: #0759f4;
}

.contact-page .consent a {
  font-weight: 700;
}

.contact-page .contact-card .button {
  min-height: 3.35rem;
  margin-top: .2rem;
  border-radius: .7rem;
  font-size: .92rem;
}

.contact-page .contact-card .button span {
  font-size: 1.2rem;
  line-height: 1;
}

.contact-page .whatsapp-link {
  display: block;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid #e8edf5;
  color: #126e69;
  font-size: .81rem;
  text-align: center;
}

.contact-page .whatsapp-link:hover,
.contact-alternatives a:hover {
  color: #52d6cb;
}

@media (max-width: 900px) {
  .contact-page .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.7rem;
  }

  .contact-intro {
    padding-top: 0;
  }

  .contact-intro h1,
  .contact-intro .contact-lead {
    max-width: 660px;
  }

  .contact-process {
    margin-top: 2rem;
  }

  .contact-page .contact-card {
    max-width: 680px;
  }
}

@media (max-width: 600px) {
  .contact-page {
    padding: 3.5rem 0 4.5rem;
  }

  .contact-intro h1 {
    font-size: clamp(2.35rem, 9vw, 3.2rem);
  }

  .contact-page .contact-card form {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-field-wide {
    grid-column: auto;
  }

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

  .contact-page .contact-card {
    border-radius: 1.1rem;
  }
}
