/* -------------------------------------------------------
   Contact page
   Behaviour lives in assets/js/contact-x.js.
------------------------------------------------------- */
.contact-x {
  --ct-base: var(--base-color, #dd6531);
  --ct-coral: #ef5f43;
  --ct-peach: #f38c4b;
  --ct-ink: var(--dark-gray, #292d36);
  --ct-night: #15171c;
  --ct-muted: var(--medium-gray, #808291);
  --ct-line: rgba(41, 45, 54, 0.1);
  --ct-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ct-ease-spring: cubic-bezier(0.2, 0.9, 0.25, 1.25);
  font-family: var(--alt-font);
}

.contact-x section {
  padding: 0;
}

/* -------------------------------------------------------
   Buttons
------------------------------------------------------- */
.ct-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.4s var(--ct-ease-out), box-shadow 0.4s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.ct-btn i {
  font-size: 17px;
  transition: transform 0.4s var(--ct-ease-out);
}

.ct-btn-primary {
  overflow: hidden;
  color: #fff;
  background: linear-gradient(120deg, var(--ct-base), var(--ct-coral) 50%, var(--ct-peach));
  background-size: 200% 100%;
  box-shadow: 0 12px 30px -10px rgba(221, 101, 49, 0.7);
  animation: ct-sheen 6s ease-in-out infinite;
}

.ct-btn-primary:hover,
.ct-btn-primary:focus-visible {
  color: #fff;
  box-shadow: 0 18px 40px -12px rgba(221, 101, 49, 0.85);
}

.ct-btn-primary:hover i {
  transform: translateX(4px);
}

.ct-btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.ct-btn-ghost:hover,
.ct-btn-ghost:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

.ct-btn-ghost-dark {
  color: var(--ct-ink);
  background: transparent;
  border: 1px solid var(--ct-line);
}

.ct-btn-ghost-dark:hover {
  border-color: var(--ct-base);
  color: var(--ct-base);
}

.ct-btn-sm {
  min-height: 46px;
  padding: 0 22px;
  font-size: 15px;
}

.ct-btn:focus-visible,
.ct-card-action:focus-visible,
.ct-chip input:focus-visible + span,
.ct-social a:focus-visible {
  outline: 2px solid var(--ct-peach);
  outline-offset: 3px;
}

@keyframes ct-sheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* -------------------------------------------------------
   Hero
------------------------------------------------------- */
.ct-hero {
  position: relative;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
  color: #fff;
  background: var(--ct-night);
  padding-top: 190px !important;
}

.ct-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.ct-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  mix-blend-mode: screen;
  will-change: transform;
}

.ct-glow-1 {
  width: 560px;
  height: 560px;
  left: -160px;
  top: -120px;
  background: var(--ct-base);
  opacity: 0.4;
  animation: ct-drift 18s ease-in-out infinite;
}

.ct-glow-2 {
  width: 460px;
  height: 460px;
  right: -120px;
  top: 20%;
  background: #6c4bf3;
  opacity: 0.28;
  animation: ct-drift 22s ease-in-out infinite reverse;
}

.ct-glow-3 {
  width: 380px;
  height: 380px;
  left: 40%;
  bottom: -220px;
  background: var(--ct-peach);
  opacity: 0.3;
  animation: ct-drift 26s ease-in-out infinite;
  animation-delay: -8s;
}

.ct-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 10%, transparent 75%);
  animation: ct-grid-pan 30s linear infinite;
}

.ct-ring {
  position: absolute;
  width: 900px;
  height: 900px;
  right: -380px;
  top: -300px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(243, 140, 75, 0.35) 85%, transparent 100%);
  -webkit-mask: radial-gradient(circle, transparent 64%, #000 65%, #000 66%, transparent 67%);
  mask: radial-gradient(circle, transparent 64%, #000 65%, #000 66%, transparent 67%);
  animation: ct-spin 14s linear infinite;
}

@keyframes ct-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, 60px) scale(1.1); }
  66% { transform: translate(-50px, 90px) scale(0.92); }
}

@keyframes ct-grid-pan {
  to { background-position: 64px 64px; }
}

@keyframes ct-spin {
  to { transform: rotate(360deg); }
}

.ct-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
  padding-bottom: 90px;
}

.ct-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  margin-bottom: 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.ct-clock {
  font-variant-numeric: tabular-nums;
  color: #fff;
  font-weight: 600;
}

.ct-live {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3ddc84;
}

.ct-live::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: ct-ping 1.8s var(--ct-ease-out) infinite;
}

@keyframes ct-ping {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(3.2); opacity: 0; }
}

.ct-title {
  margin: 0 0 26px;
  color: #fff;
  font-size: clamp(42px, 6.2vw, 88px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.ct-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.ct-rotator {
  position: relative;
  display: inline-grid;
  vertical-align: bottom;
}

.ct-rotator > span {
  grid-area: 1 / 1;
  background: linear-gradient(100deg, var(--ct-peach), var(--ct-coral) 45%, #ffb37d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(70%) rotateX(-60deg);
  filter: blur(6px);
  transition: opacity 0.6s ease, transform 0.8s var(--ct-ease-out), filter 0.6s ease;
}

.ct-rotator > span.is-active {
  opacity: 1;
  transform: none;
  filter: none;
}

.ct-rotator > span.is-leaving {
  opacity: 0;
  transform: translateY(-70%) rotateX(60deg);
  filter: blur(6px);
}

.ct-lead {
  max-width: 540px;
  margin: 0 0 38px;
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.ct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Contact cards */
.ct-cards {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  perspective: 1000px;
}

.ct-card {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 22px 22px 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.5s var(--ct-ease-out), border-color 0.4s ease, background-color 0.4s ease;
}

.ct-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(243, 140, 75, 0.22), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.ct-card:hover {
  border-color: rgba(243, 140, 75, 0.45);
}

.ct-card:hover::before {
  opacity: 1;
}

.ct-card-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  font-size: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--ct-base), var(--ct-peach));
  box-shadow: 0 10px 24px -8px rgba(221, 101, 49, 0.7);
  transition: transform 0.5s var(--ct-ease-spring);
}

.ct-card:hover .ct-card-icon {
  transform: rotate(-8deg) scale(1.08);
}

.ct-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}

.ct-card-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}

.ct-card-value {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.ct-card-value:hover {
  color: var(--ct-peach);
}

.ct-card-action {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  font-size: 17px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.4s var(--ct-ease-spring), color 0.3s ease;
}

.ct-card-action:hover {
  color: #fff;
  background: var(--ct-base);
  transform: rotate(45deg);
}

button.ct-card-action:hover {
  transform: scale(1.1);
}

.ct-card-action.is-copied {
  background: #3ddc84;
  border-color: #3ddc84;
}

/* Marquee */
.ct-marquee {
  position: relative;
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.ct-marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: ct-marquee 40s linear infinite;
}

.ct-marquee-track span {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}

.ct-marquee-track i {
  font-style: normal;
  color: var(--ct-peach);
}

.ct-marquee:hover .ct-marquee-track {
  animation-play-state: paused;
}

@keyframes ct-marquee {
  to { transform: translateX(-50%); }
}

/* Hero entrance */
.ct-js .ct-rise {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  transition: opacity 0.9s ease, transform 1s var(--ct-ease-out), filter 0.9s ease;
  transition-delay: calc(var(--ct-d, 0) * 110ms + 150ms);
}

.ct-js .ct-line > .ct-rise:not(.ct-rotator) {
  display: inline-block;
  transform: translateY(105%);
  filter: none;
}

.ct-js .ct-ready .ct-rise,
.ct-js .ct-ready .ct-line > .ct-rise:not(.ct-rotator) {
  opacity: 1;
  transform: none;
  filter: none;
}

.ct-js .ct-ready .ct-card.ct-rise {
  transform: rotateX(var(--rx)) rotateY(var(--ry));
}

/* After the entrance, cards respond to tilt immediately */
.ct-js .ct-ready .ct-card.is-settled {
  transition: transform 0.5s var(--ct-ease-out), border-color 0.4s ease;
  transition-delay: 0s;
}

/* -------------------------------------------------------
   Form section
------------------------------------------------------- */
.ct-connect {
  position: relative;
  padding: 120px 0 !important;
  background-color: #f7f7f9;
  background-image:
    radial-gradient(circle at 0% 0%, rgba(243, 140, 75, 0.12), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(108, 75, 243, 0.07), transparent 45%);
}

.ct-connect-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
  gap: 70px;
  align-items: start;
}

.ct-aside-sticky {
  position: sticky;
  top: 130px;
}

.ct-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ct-base);
}

.ct-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.ct-h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ct-ink);
}

.ct-text {
  margin: 0 0 40px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ct-muted);
}

.ct-steps {
  position: relative;
  display: grid;
  gap: 28px;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
}

.ct-steps::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(var(--ct-base), rgba(221, 101, 49, 0.08));
  transform-origin: top;
  transform: scaleY(var(--ct-line-p, 1));
  transition: transform 1.6s var(--ct-ease-out) 0.3s;
}

.ct-step {
  position: relative;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.ct-step-num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: var(--ct-base);
  background: #fff;
  border: 1px solid rgba(221, 101, 49, 0.3);
  box-shadow: 0 0 0 6px #f7f7f9;
  transition: background-color 0.4s ease, color 0.4s ease, transform 0.5s var(--ct-ease-spring);
}

.ct-step:hover .ct-step-num {
  color: #fff;
  background: var(--ct-base);
  transform: scale(1.1);
}

.ct-step strong {
  display: block;
  margin: 2px 0 2px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ct-ink);
}

.ct-step strong + span {
  display: block;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ct-muted);
}

.ct-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ct-social > span {
  margin-right: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ct-ink);
}

.ct-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 15px;
  color: var(--ct-ink);
  background: #fff;
  border: 1px solid var(--ct-line);
  transition: transform 0.4s var(--ct-ease-spring), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.ct-social a:hover {
  color: #fff;
  background: var(--ct-base);
  border-color: var(--ct-base);
  transform: translateY(-4px);
}

/* Form card */
.ct-form-card {
  position: relative;
  overflow: hidden;
  padding: 48px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(41, 45, 54, 0.06);
  box-shadow: 0 40px 80px -40px rgba(41, 45, 54, 0.25), 0 2px 6px rgba(41, 45, 54, 0.04);
}

.ct-progress {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: rgba(41, 45, 54, 0.06);
}

.ct-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--ct-base), var(--ct-peach));
  transition: transform 0.6s var(--ct-ease-out);
}

.ct-topics {
  margin: 0 0 34px;
  padding: 0;
  border: 0;
}

.ct-topics legend {
  float: none;
  width: auto;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ct-ink);
}

.ct-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ct-chip {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.ct-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ct-chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ct-ink);
  background: #f4f4f6;
  border: 1px solid transparent;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.4s var(--ct-ease-spring), box-shadow 0.3s ease;
}

.ct-chip span::before {
  content: "";
  width: 0;
  height: 14px;
  margin-right: -8px;
  background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  transition: width 0.3s var(--ct-ease-out), margin 0.3s var(--ct-ease-out);
}

.ct-chip:hover span {
  border-color: rgba(221, 101, 49, 0.4);
  transform: translateY(-2px);
}

.ct-chip input:checked + span {
  color: #fff;
  background: var(--ct-ink);
  box-shadow: 0 10px 20px -10px rgba(41, 45, 54, 0.6);
}

.ct-chip input:checked + span::before {
  width: 14px;
  margin-right: 0;
}

.ct-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.ct-field {
  position: relative;
}

.ct-field-full {
  grid-column: 1 / -1;
}

.ct-field input,
.ct-field textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 26px 18px 10px;
  border-radius: 14px;
  font-size: 16px;
  color: var(--ct-ink);
  background: #f7f7f9;
  border: 1.5px solid transparent;
  box-shadow: none;
  outline: 0;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.ct-field textarea {
  min-height: 160px;
  resize: vertical;
  padding-bottom: 30px;
}

.ct-field label {
  position: absolute;
  left: 19px;
  top: 19px;
  margin: 0;
  font-size: 16px;
  color: var(--ct-muted);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.35s var(--ct-ease-out), color 0.3s ease;
}

.ct-field label em {
  font-style: normal;
  color: var(--ct-base);
  margin-left: 2px;
}

.ct-field input:hover,
.ct-field textarea:hover {
  background: #f1f1f4;
}

.ct-field input:focus,
.ct-field textarea:focus {
  background: #fff;
  border-color: var(--ct-base);
  box-shadow: 0 0 0 5px rgba(221, 101, 49, 0.12);
}

.ct-field input:focus + label,
.ct-field input:not(:placeholder-shown) + label,
.ct-field textarea:focus + label,
.ct-field textarea:not(:placeholder-shown) + label {
  transform: translateY(-11px) scale(0.78);
  color: var(--ct-base);
}

.ct-field.is-valid input,
.ct-field.is-valid textarea {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ddc84' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 16px;
  background-position: right 16px top 20px;
}

.ct-field.is-invalid input,
.ct-field.is-invalid textarea {
  border-color: #e5484d;
  background-color: #fff6f6;
  animation: ct-shake 0.45s ease;
}

.ct-field.is-invalid label {
  color: #e5484d;
}

.ct-error {
  display: block;
  max-height: 0;
  overflow: hidden;
  font-size: 13px;
  color: #e5484d;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}

.ct-field.is-invalid .ct-error {
  max-height: 40px;
  margin-top: 6px;
  opacity: 1;
}

.ct-count {
  position: absolute;
  right: 16px;
  top: 128px;
  font-size: 12px;
  color: var(--ct-muted);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.ct-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@keyframes ct-shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.ct-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
}

.ct-privacy {
  max-width: 340px;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ct-muted);
}

.ct-privacy a {
  color: var(--ct-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ct-submit {
  flex: 0 0 auto;
  min-width: 196px;
}

.ct-spinner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  opacity: 0;
  animation: ct-spin 0.8s linear infinite;
  transition: opacity 0.2s ease;
}

.ct-submit .ct-submit-label,
.ct-submit i {
  transition: opacity 0.2s ease, transform 0.4s var(--ct-ease-out);
}

.ct-submit.is-loading {
  pointer-events: none;
}

.ct-submit.is-loading .ct-submit-label,
.ct-submit.is-loading i {
  opacity: 0;
}

.ct-submit.is-loading .ct-spinner {
  opacity: 1;
}

.ct-submit:hover i {
  transform: translate(3px, -3px) rotate(8deg);
}

.ct-form-alert {
  margin: 0;
  max-height: 0;
  overflow: hidden;
  font-size: 15px;
  border-radius: 12px;
  color: #b42318;
  background: #fff1f0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease, padding 0.3s ease;
}

.ct-form-alert.is-shown {
  max-height: 140px;
  margin-top: 20px;
  padding: 14px 18px;
  opacity: 1;
}

/* Success state */
.ct-form {
  transition: opacity 0.4s ease, transform 0.5s var(--ct-ease-out);
}

.ct-form.is-sent {
  opacity: 0;
  transform: translateY(-20px) scale(0.98);
}

.ct-success {
  padding: 40px 0 20px;
  text-align: center;
  outline: 0;
}

.ct-success:not([hidden]) {
  animation: ct-pop-in 0.7s var(--ct-ease-out) both;
}

.ct-success h3 {
  margin: 26px 0 10px;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ct-ink);
}

.ct-success p {
  max-width: 420px;
  margin: 0 auto 30px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ct-muted);
}

.ct-check {
  width: 104px;
  height: 104px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 14px 24px rgba(61, 220, 132, 0.35));
}

.ct-check circle {
  stroke: #3ddc84;
  stroke-width: 2.5;
  fill: rgba(61, 220, 132, 0.08);
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: ct-draw 0.8s var(--ct-ease-out) 0.15s forwards;
}

.ct-check path {
  stroke: #1fb866;
  stroke-width: 3.5;
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  animation: ct-draw 0.5s var(--ct-ease-out) 0.75s forwards;
}

@keyframes ct-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes ct-pop-in {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

/* -------------------------------------------------------
   Map
------------------------------------------------------- */
.ct-visit {
  padding: 0 0 120px !important;
  background: #f7f7f9;
}

.ct-visit-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
}

.ct-visit-head .ct-h2 {
  margin: 0;
}

.ct-visit-head .ct-text {
  max-width: 440px;
  margin: 0;
}

.ct-offices {
  display: grid;
  grid-template-columns: minmax(300px, 0.5fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.ct-offices.is-single {
  grid-template-columns: 1fr;
}

.ct-office-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ct-office {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 22px;
  border: 1px solid var(--ct-line);
  border-radius: 20px;
  text-align: left;
  font-family: inherit;
  color: var(--ct-ink);
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.4s ease, transform 0.4s var(--ct-ease-out), background-color 0.3s ease;
}

.ct-office::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--ct-base), var(--ct-peach));
  transform: scaleY(0);
  transition: transform 0.45s var(--ct-ease-out);
}

.ct-office:hover {
  border-color: rgba(221, 101, 49, 0.35);
  transform: translateX(4px);
}

.ct-office.is-active {
  border-color: transparent;
  box-shadow: 0 24px 50px -28px rgba(41, 45, 54, 0.45);
}

.ct-office.is-active::before {
  transform: scaleY(1);
}

.ct-office:focus-visible {
  outline: 2px solid var(--ct-peach);
  outline-offset: 3px;
}

.ct-office-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ct-muted);
  background: #f2f2f5;
  transition: color 0.3s ease, background 0.3s ease;
}

.ct-office.is-active .ct-office-num {
  color: #fff;
  background: linear-gradient(135deg, var(--ct-base), var(--ct-peach));
}

.ct-office-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ct-office-city {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.ct-office-meta {
  font-size: 14px;
  color: var(--ct-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ct-office-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ct-muted);
  font-variant-numeric: tabular-nums;
}

.ct-office-time i {
  color: var(--ct-base);
}

.ct-office-go {
  flex: none;
  font-size: 18px;
  color: var(--ct-muted);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.4s var(--ct-ease-out), color 0.3s ease;
}

.ct-office:hover .ct-office-go,
.ct-office.is-active .ct-office-go {
  opacity: 1;
  transform: none;
}

.ct-office.is-active .ct-office-go {
  color: var(--ct-base);
}

.ct-map {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 28px;
  background: #e8e8ec;
  box-shadow: 0 40px 80px -40px rgba(41, 45, 54, 0.3);
}

.ct-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.8s ease;
}

.ct-map:hover iframe,
.ct-map:focus-within iframe {
  filter: none;
}

.ct-map-card {
  position: absolute;
  left: 32px;
  bottom: 32px;
  max-width: 380px;
  padding: 30px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 30px 60px -25px rgba(41, 45, 54, 0.4);
}

.ct-map-pin {
  position: absolute;
  right: 26px;
  top: -26px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--ct-base), var(--ct-peach));
  box-shadow: 0 0 0 0 rgba(221, 101, 49, 0.5);
  animation: ct-pulse 2.2s ease-out infinite, ct-bob 3s ease-in-out infinite;
}

@keyframes ct-pulse {
  0% { box-shadow: 0 0 0 0 rgba(221, 101, 49, 0.55); }
  100% { box-shadow: 0 0 0 22px rgba(221, 101, 49, 0); }
}

@keyframes ct-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.ct-map-title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ct-ink);
}

.ct-map-panel:not([hidden]) {
  animation: ct-panel-in 0.5s var(--ct-ease-out);
}

@keyframes ct-panel-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.ct-map-meta {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: var(--ct-ink);
}

.ct-map-meta li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ct-map-meta i {
  color: var(--ct-base);
}

.ct-map-meta a {
  color: inherit;
}

.ct-map-meta a:hover {
  color: var(--ct-base);
}

.ct-map-card address {
  margin: 0 0 18px;
  font-style: normal;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ct-muted);
}

/* -------------------------------------------------------
   Toast
------------------------------------------------------- */
.ct-toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 2000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background: var(--ct-ink);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translate(-50%, 20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.5s var(--ct-ease-spring);
}

.ct-toast.is-shown {
  opacity: 1;
  transform: translate(-50%, 0);
}

.ct-toast:empty {
  display: none;
}

/* -------------------------------------------------------
   Scroll reveal (only hidden once JS is running)
------------------------------------------------------- */
.ct-js .ct-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.9s var(--ct-ease-out);
  transition-delay: calc(var(--ct-i, 0) * 90ms);
}

.ct-js .ct-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.ct-js .ct-steps {
  --ct-line-p: 0;
}

.ct-js .ct-steps.is-drawn {
  --ct-line-p: 1;
}

/* -------------------------------------------------------
   Responsive
------------------------------------------------------- */
@media (max-width: 1199px) {
  .ct-hero-inner {
    gap: 40px;
  }

  .ct-connect-grid {
    gap: 50px;
  }

  .ct-form-card {
    padding: 38px;
  }
}

@media (max-width: 991px) {
  .ct-hero {
    padding-top: 150px !important;
  }

  .ct-hero-inner {
    grid-template-columns: 1fr;
    padding-bottom: 70px;
  }

  .ct-connect {
    padding: 90px 0 !important;
  }

  .ct-connect-grid {
    grid-template-columns: 1fr;
  }

  .ct-aside-sticky {
    position: static;
  }

  .ct-visit {
    padding-bottom: 90px !important;
  }

  .ct-visit-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .ct-offices {
    grid-template-columns: 1fr;
  }

  .ct-office-list {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 14px;
    margin: -4px -4px 0;
    scrollbar-width: none;
  }

  .ct-office-list::-webkit-scrollbar {
    display: none;
  }

  .ct-office {
    flex: 0 0 auto;
    width: auto;
    min-width: 230px;
    scroll-snap-align: start;
  }

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

  .ct-office-go {
    display: none;
  }
}

@media (max-width: 767px) {
  .ct-hero {
    padding-top: 130px !important;
  }

  .ct-lead {
    font-size: 17px;
  }

  .ct-actions .ct-btn {
    flex: 1 1 100%;
  }

  .ct-card {
    padding: 16px;
    gap: 14px;
  }

  .ct-card-icon {
    width: 48px;
    height: 48px;
    font-size: 19px;
  }

  .ct-card-value {
    font-size: 17px;
  }

  .ct-marquee-track span {
    font-size: 18px;
  }

  .ct-form-card {
    padding: 32px 20px 24px;
    border-radius: 22px;
  }

  .ct-fields {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ct-form-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .ct-privacy {
    max-width: none;
  }

  .ct-map {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .ct-map iframe {
    position: relative;
    height: 320px;
  }

  .ct-map-card {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: none;
    border-radius: 0;
    background: #fff;
  }

  .ct-ring {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-x *,
  .contact-x *::before,
  .contact-x *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .ct-marquee-track {
    animation: none !important;
  }
}
