/*=============================================
=               Contact Us page               =
=============================================*/
.ct-hero,
.ct-main,
.ct-office {
  --ct-ink: #1d1838;
  --ct-body: #5d5872;
  --ct-brand: #805dcd;
  --ct-brand-strong: #6340b5;
  --ct-soft: #eee7ff;
  --ct-line: #e5e0f1;
  --ct-tint: #f7f5fc;
  --ct-night: #140d2e;
  --ct-night-2: #2d1a66;
}

.ct-eyebrow {
  margin: 0 0 14px;
  color: #cdb8ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ct-eyebrow--dark {
  color: var(--ct-brand-strong);
}

/* Hero */
.ct-hero {
  padding: 150px 0 190px;
  background:
    radial-gradient(circle at 85% 15%, rgba(128, 93, 205, 0.55), transparent 45%),
    radial-gradient(circle at 5% 100%, rgba(128, 93, 205, 0.25), transparent 40%),
    linear-gradient(135deg, var(--ct-night), var(--ct-night-2));
  color: rgba(255, 255, 255, 0.84);
}

.ct-hero h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(38px, 5.4vw, 66px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.ct-hero h1 span {
  background: linear-gradient(90deg, #cdb8ff, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ct-hero__lead {
  max-width: 640px;
  margin: 0 0 30px;
  font-size: 19px;
  line-height: 1.6;
}

.ct-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ct-quick a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background-color 0.2s ease;
}

.ct-quick a:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.ct-quick i {
  color: #cdb8ff;
}

/* Form and side panel */
.ct-main {
  padding: 0 0 96px;
  background: var(--ct-tint);
}

.ct-main__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.ct-form-card {
  margin-top: -120px;
  padding: 40px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 60px rgba(20, 13, 46, 0.18);
  scroll-margin-top: 110px;
}

.ct-form-card h2 {
  margin: 0 0 8px;
  color: var(--ct-ink);
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 600;
}

.ct-form-card__lead {
  margin: 0 0 28px;
  color: var(--ct-body);
  font-size: 16px;
}

.ct-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ct-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--ct-ink);
  font-size: 14px;
  font-weight: 600;
}

.ct-form label span {
  color: var(--ct-body);
  font-weight: 400;
}

.ct-form input,
.ct-form select,
.ct-form textarea {
  width: 100%;
  min-width: 0;
  margin-bottom: 20px;
  padding: 13px 14px;
  border: 1px solid #d6cfe8;
  border-radius: 10px;
  background: #fff;
  color: var(--ct-ink);
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ct-form input:focus,
.ct-form select:focus,
.ct-form textarea:focus {
  border-color: var(--ct-brand);
  outline: none;
  box-shadow: 0 0 0 4px rgba(128, 93, 205, 0.18);
}

.ct-form textarea {
  min-height: 120px;
  resize: vertical;
}

.ct-submit {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 24px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #805dcd, #5a33c2);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.ct-submit:hover {
  filter: brightness(1.08);
}

.ct-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

#consultation-status {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: var(--ct-body);
  font-size: 14px;
}

.ct-privacy {
  margin: 6px 0 0;
  color: var(--ct-body);
  font-size: 13px;
}

.ct-privacy i {
  margin-right: 4px;
  color: var(--ct-brand);
}

.ct-privacy a {
  color: var(--ct-brand-strong);
  text-decoration: underline;
}

.ct-side {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

.ct-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ct-method {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--ct-line);
  border-radius: 16px;
  background: #fff;
  color: var(--ct-body);
  font-size: 14px;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ct-method:hover {
  border-color: var(--ct-brand);
  color: var(--ct-body);
  box-shadow: 0 16px 32px rgba(40, 30, 80, 0.1);
  transform: translateY(-3px);
}

.ct-method strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ct-ink);
  font-size: 16px;
  font-weight: 600;
}

.ct-method__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: var(--ct-soft);
  color: var(--ct-brand-strong);
  font-size: 18px;
}

.ct-method__icon--wa {
  background: #dcfce7;
  color: #15803d;
}

.ct-next {
  padding: 28px;
  border-radius: 18px;
  background: linear-gradient(150deg, var(--ct-night), var(--ct-night-2));
  color: rgba(255, 255, 255, 0.82);
}

.ct-next h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}

.ct-next ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ct-step;
}

.ct-next li {
  position: relative;
  padding: 0 0 18px 48px;
  counter-increment: ct-step;
}

.ct-next li:last-child {
  padding-bottom: 0;
}

.ct-next li::before {
  content: counter(ct-step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #805dcd;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.ct-next strong {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.ct-next span {
  font-size: 14.5px;
  line-height: 1.5;
}

/* Office */
.ct-office {
  padding: 96px 0;
  background: #fff;
}

.ct-office__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: center;
}

.ct-office h2 {
  margin: 0 0 18px;
  color: var(--ct-ink);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 600;
}

.ct-office address {
  margin: 0 0 24px;
  color: var(--ct-body);
  font-size: 18px;
  font-style: normal;
  line-height: 1.7;
}

.ct-directions {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 13px 24px;
  border-radius: 10px;
  background: var(--ct-brand-strong);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.ct-directions:hover {
  background: #4f329a;
  color: #fff;
}

.ct-map {
  overflow: hidden;
  border: 1px solid var(--ct-line);
  border-radius: 20px;
  aspect-ratio: 16 / 10;
  background: var(--ct-tint);
}

.ct-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.ct-hero a:focus-visible,
.ct-main a:focus-visible,
.ct-main button:focus-visible,
.ct-office a:focus-visible {
  outline: 3px solid #f9c322;
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 991px) {
  .ct-hero {
    padding: 120px 0 170px;
  }

  .ct-main__grid,
  .ct-office__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ct-side {
    margin-top: 0;
  }
}

@media (max-width: 575px) {
  .ct-form-card {
    padding: 26px 20px;
  }

  .ct-form__row,
  .ct-methods {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .ct-methods {
    gap: 12px;
  }

  .ct-office {
    padding: 64px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ct-method,
  .ct-quick a,
  .ct-submit {
    transition: none;
  }

  .ct-method:hover {
    transform: none;
  }
}
