/* ===== Zilon Contact page =====
   Every rule below is lifted from the supplied design: the section styles are the
   design's own inline declarations moved out of the markup unchanged, and the
   responsive block is its <style> block verbatim. Scoped to .zl-contact so nothing
   reaches the shared header and footer. The zilonGrad / zilonOrbit / zilonOrbitRev
   keyframes already ship in home.css. */

.zl-contact {
  margin: 0;
  padding: 0;
  min-height: 0;
  font-family: 'Manrope', sans-serif;
  color: #23214a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.zl-contact * {
  box-sizing: border-box;
}

.zl-contact a {
  color: #262262;
}

.zl-contact a:hover {
  color: #EE0000;
}

.zl-contact ::placeholder {
  color: #9997b5;
  opacity: 1;
}

/* The supplied Contact prototype uses a 32px reveal offset at 1.2 seconds. */
.zl-js .zl-root .zl-contact .zl-reveal {
  transform: translateY(32px);
  transition: opacity 1.2s cubic-bezier(.16, 1, .3, 1), transform 1.2s cubic-bezier(.16, 1, .3, 1);
}

.zl-js .zl-root .zl-contact .zl-reveal.zl-in {
  transform: none;
}

/* ---------- editor (WYSIWYG) output ---------- */
.zl-contact .zl-rte > * {
  margin: 0;
}

.zl-contact .zl-rte > * + * {
  margin-top: 14px;
}

.zl-contact .zl-rte img {
  max-width: 100%;
  height: auto;
}

.zl-contact .zl-rte ul,
.zl-contact .zl-rte ol {
  padding-left: 1.25em;
}

.zl-contact .zl-rte a {
  color: inherit;
  text-decoration: underline;
}

@keyframes zilonPop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }

  60% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ---------- shared ---------- */
.zl-contact .zl-ct-shell {
  max-width: 1240px;
  margin: 0 auto;
}

.zl-contact .zl-ct-blob {
  position: absolute;
  border-radius: 50%;
}

.zl-contact .zl-ct-eyebrow {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #EE0000;
}

.zl-contact .zl-ct-h2 {
  font-family: 'Sora', sans-serif;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  color: #262262;
  margin: 0;
}

.zl-contact .zl-ct-accent {
  color: #EE0000;
}

.zl-contact .zl-ct-icon-box {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(38, 34, 98, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.zl-contact .zl-ct-icon-box.is-accent {
  background: rgba(238, 0, 0, 0.08);
}

.zl-contact .zl-ct-divider {
  height: 1px;
  background: rgba(38, 34, 98, 0.08);
}

/* buttons */
.zl-contact .zl-ct-btn {
  text-decoration: none;
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
}

.zl-contact a.zl-ct-btn-primary {
  background: #EE0000;
  color: #ffffff;
  padding: 17px 40px;
  box-shadow: 0 12px 30px rgba(238, 0, 0, 0.28);
  transition: transform .25s, box-shadow .25s;
}

.zl-contact a.zl-ct-btn-ghost {
  color: #262262;
  padding: 17px 32px;
  border: 2px solid rgba(38, 34, 98, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: border-color .25s, background .25s;
}

/* The prototype's style-hover declarations. */
.zl-contact a.zl-ct-btn-primary:hover {
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(238, 0, 0, 0.35);
}

.zl-contact a.zl-ct-btn-ghost:hover {
  color: #262262;
  border-color: #262262;
  background: rgba(38, 34, 98, 0.05);
}

/* ---------- 1. hero ---------- */
.zl-contact .zl-ct-hero {
  background: linear-gradient(115deg, #f7f7fd 0%, #ececfa 28%, #fdf1f1 55%, #efeefb 80%, #f7f7fd 100%);
  background-size: 300% 300%;
  animation: zilonGrad 18s ease infinite;
  padding: 168px 32px 104px;
  position: relative;
  overflow: hidden;
}

.zl-contact .zl-ct-hero-blob-1 {
  top: 90px;
  right: 6%;
  width: 360px;
  height: 360px;
  background: linear-gradient(135deg, rgba(238, 0, 0, 0.18), rgba(168, 155, 255, 0.28));
  filter: blur(52px);
  animation: zilonOrbit 22s linear infinite;
}

.zl-contact .zl-ct-hero-blob-2 {
  bottom: 10px;
  left: 2%;
  width: 320px;
  height: 320px;
  background: linear-gradient(135deg, rgba(38, 34, 98, 0.20), rgba(238, 0, 0, 0.14));
  filter: blur(56px);
  animation: zilonOrbitRev 28s linear infinite;
}

.zl-contact .zl-ct-hero-blob-3 {
  top: 44%;
  left: 42%;
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, rgba(168, 155, 255, 0.26), rgba(238, 0, 0, 0.12));
  filter: blur(48px);
  animation: zilonOrbit 18s linear infinite;
}

.zl-contact .zl-ct-hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.zl-contact .zl-ct-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(38, 34, 98, 0.12);
  border-radius: 999px;
  padding: 8px 20px;
}

.zl-contact .zl-ct-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EE0000;
}

.zl-contact .zl-ct-badge-text {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #262262;
}

.zl-contact .zl-ct-hero-title {
  font-family: 'Sora', sans-serif;
  font-size: 62px;
  line-height: 1.1;
  font-weight: 700;
  color: #262262;
  margin: 28px 0 0;
  max-width: 940px;
  text-wrap: balance;
}

.zl-contact .zl-ct-hero-desc {
  font-size: 19px;
  line-height: 1.75;
  color: #55537a;
  max-width: 780px;
  margin: 26px 0 0;
  text-wrap: pretty;
}

.zl-contact .zl-ct-hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 38px;
  flex-wrap: wrap;
  justify-content: center;
}

.zl-contact .zl-ct-hero-note {
  font-size: 15px;
  color: #7a789c;
  margin: 30px 0 0;
  max-width: 740px;
  text-wrap: pretty;
}

/* ---------- 2. form + office ---------- */
.zl-contact .zl-ct-main {
  padding: 104px 32px 112px;
  background: #ffffff;
  position: relative;
}

.zl-contact .zl-ct-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.82fr;
  gap: 44px;
  align-items: start;
}

.zl-contact .zl-ct-grid.is-single {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

/* form card */
.zl-contact .zl-ct-form-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(38, 34, 98, 0.08);
  border-radius: 24px;
  padding: 46px 44px;
  box-shadow: 0 30px 70px rgba(38, 34, 98, 0.10);
}

.zl-contact .zl-ct-form-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 30px;
}

.zl-contact .zl-ct-form-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #55537a;
  margin: 6px 0 0;
}

.zl-contact .zl-ct-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.zl-contact .zl-ct-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.zl-contact .zl-ct-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}

.zl-contact .zl-ct-label {
  font-family: 'Sora', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #262262;
}

.zl-contact .zl-ct-required {
  color: #EE0000;
}

.zl-contact .zl-ct-input {
  width: 100%;
  background: #f6f6fb;
  border: 1px solid rgba(38, 34, 98, 0.12);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: #23214a;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.zl-contact .zl-ct-input:focus {
  border-color: #EE0000;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(238, 0, 0, 0.10);
}
.zl-contact .zl-ct-input.is-invalid {
  border-color: #EE0000;
  background: #fff;
}

.zl-contact .zl-ct-input.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(238, 0, 0, 0.14);
}

.zl-contact .zl-ct-error {
  font-family: 'Manrope', sans-serif;
  font-size: 12.5px;
  line-height: 1.45;
  color: #EE0000;
}

.zl-contact .zl-ct-error[hidden] {
  display: none;
}
.zl-contact .zl-ct-textarea {
  line-height: 1.6;
  resize: vertical;
  min-height: 128px;
}

.zl-contact .zl-ct-select-wrap {
  position: relative;
  display: block;
}

.zl-contact .zl-ct-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 44px;
  cursor: pointer;
}

.zl-contact .zl-ct-select-arrow {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
}

.zl-contact .zl-ct-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.zl-contact .zl-ct-submit {
  background: #EE0000;
  color: #ffffff;
  border: none;
  cursor: pointer;
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 38px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(238, 0, 0, 0.28);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .25s, box-shadow .25s, background .25s;
}

.zl-contact .zl-ct-submit:hover {
  background: #ff1a1a;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(238, 0, 0, 0.4);
}

.zl-contact .zl-ct-note {
  font-size: 13px;
  color: #9997b5;
}

.zl-contact .zl-ct-status {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  background: #fff0f0;
  color: #a31919;
  border: 1px solid #f0bcbc;
}

.zl-contact .zl-ct-status.is-success {
  background: #eef9f1;
  color: #176b35;
  border-color: #bfe5ca;
}

/* success state */
.zl-contact .zl-ct-success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: 40px 12px;
}

.zl-contact .zl-ct-success-state[hidden],
.zl-contact .zl-ct-form-state[hidden],
.zl-contact .zl-ct-status[hidden] {
  display: none;
}

.zl-contact .zl-ct-success-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a1750, #3a2a85);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 40px rgba(38, 34, 98, 0.28);
  animation: zilonPop .5s cubic-bezier(.16, 1, .3, 1) both;
}

.zl-contact .zl-ct-success-title {
  font-family: 'Sora', sans-serif;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  color: #262262;
  margin: 8px 0 0;
}

.zl-contact .zl-ct-success-text {
  font-size: 16px;
  line-height: 1.75;
  color: #55537a;
  margin: 0;
  max-width: 420px;
}

.zl-contact .zl-ct-reset {
  margin-top: 8px;
  background: transparent;
  border: 2px solid rgba(38, 34, 98, 0.22);
  color: #262262;
  cursor: pointer;
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 999px;
  transition: border-color .25s, background .25s;
}

.zl-contact .zl-ct-reset:hover {
  border-color: #262262;
  background: rgba(38, 34, 98, 0.05);
}

/* sidebar */
.zl-contact .zl-ct-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.zl-contact .zl-ct-office-card {
  background: #f6f6fb;
  border: 1px solid rgba(38, 34, 98, 0.08);
  border-radius: 24px;
  padding: 14px 14px 34px;
  overflow: hidden;
}

.zl-contact .zl-ct-office-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.zl-contact .zl-ct-office-img,
.zl-contact .zl-ct-office-slot {
  width: 100%;
  height: 208px;
  display: block;
  object-fit: cover;
  border-radius: 16px;
}

.zl-contact .zl-ct-office-pin {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 7px 15px;
  box-shadow: 0 6px 18px rgba(38, 34, 98, 0.16);
}

.zl-contact .zl-ct-office-pin-text {
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #262262;
}

.zl-contact .zl-ct-office-body {
  padding: 28px 22px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.zl-contact .zl-ct-office-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zl-contact .zl-ct-office-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.zl-contact .zl-ct-office-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.zl-contact .zl-ct-office-title {
  font-family: 'Sora', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #262262;
}

.zl-contact .zl-ct-office-address {
  font-size: 14.5px;
  line-height: 1.6;
  color: #55537a;
}

.zl-contact .zl-ct-contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.zl-contact .zl-ct-contact-row:hover {
  color: inherit;
}

.zl-contact .zl-ct-contact-lines {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.zl-contact .zl-ct-contact-label {
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9997b5;
}

.zl-contact .zl-ct-contact-value {
  font-size: 15.5px;
  font-weight: 600;
  color: #262262;
}

/* response time card */
.zl-contact .zl-ct-response-card {
  position: relative;
  background: linear-gradient(120deg, #1a1750, #262262 48%, #3a2a85);
  border-radius: 24px;
  padding: 34px 32px;
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(38, 34, 98, 0.22);
}

.zl-contact .zl-ct-response-glow {
  position: absolute;
  top: -70px;
  right: -50px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 0, 0, 0.22), rgba(238, 0, 0, 0) 65%);
}

.zl-contact .zl-ct-response-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.zl-contact .zl-ct-response-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.zl-contact .zl-ct-response-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 13px;
  background: rgba(168, 155, 255, 0.14);
  border: 1px solid rgba(168, 155, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.zl-contact .zl-ct-response-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.zl-contact .zl-ct-response-eyebrow {
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9c1ff;
}

.zl-contact .zl-ct-response-title {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.zl-contact .zl-ct-response-text {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

/* ============ RESPONSIVE ============
   Breakpoints and values are the design's <style> block, with its structural
   selectors expressed as the matching class so a section keeps the right layout
   even when an editor empties a block and the child order shifts. */

/* Laptop / small desktop */
@media (max-width: 1080px) {
  .zl-contact .zl-ct-hero {
    padding: 148px 24px 88px !important;
  }

  .zl-contact .zl-ct-hero-title {
    font-size: 52px !important;
  }

  .zl-contact .zl-ct-main {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .zl-contact .zl-ct-grid {
    gap: 32px !important;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .zl-contact section {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }

  .zl-contact .zl-ct-hero-title {
    font-size: 44px !important;
  }

  .zl-contact .zl-ct-hero-desc,
  .zl-contact .zl-ct-hero-note {
    font-size: 17px !important;
  }

  .zl-contact .zl-ct-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .zl-contact .zl-ct-hero {
    padding: 112px 18px 60px !important;
  }

  .zl-contact .zl-ct-hero-title {
    font-size: 33px !important;
  }

  .zl-contact .zl-ct-hero-desc,
  .zl-contact .zl-ct-hero-note {
    font-size: 15.5px !important;
  }

  .zl-contact .zl-ct-hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 12px !important;
  }

  .zl-contact .zl-ct-hero-actions a {
    justify-content: center !important;
    text-align: center !important;
  }

  .zl-contact .zl-ct-row {
    grid-template-columns: 1fr !important;
  }

  .zl-contact .zl-ct-form-card {
    padding: 32px 22px !important;
  }
}
