/* ==========================================================================
   JP Web Solutions - Contact page
   Builds on page-cro.css and page-wdd.css. Sections unique to this page
   are prefixed ct-.
   ========================================================================== */

/* ---------- Hero ---------- */
.ct-hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 214px 0 110px;
  border-radius: 20px;
  background: var(--jp-secondary);
  color: var(--jp-text);
}
.ct-hero-title {
  margin: 0 0 22px;
  font-size: 120px;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--jp-dark);
}
.ct-hero-title span {
  background: linear-gradient(transparent 62%, var(--jp-primary) 62%, var(--jp-primary) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.ct-hero-text {
  max-width: 460px;
  margin: 0 0 26px;
  font-size: 18px;
  line-height: 1.6;
}

/* Live open status */
.ct-status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  padding: 10px 18px 10px 14px;
  border: 1px solid var(--jp-border);
  border-radius: 100px;
  background: var(--jp-white);
}
.ct-status strong,
.ct-status small {
  display: block;
  line-height: 1.3;
}
.ct-status strong {
  color: var(--jp-dark);
  font-size: 15px;
}
.ct-status small {
  font-size: 12px;
}
.ct-status-dot {
  position: relative;
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #a5a6a1;
}
.ct-status.is-open .ct-status-dot {
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: ctPulse 2s ease-out infinite;
}
.ct-status.is-closed .ct-status-dot {
  background: #f59e0b;
}
@keyframes ctPulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  100% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
}

/* Contact methods */
.ct-methods {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ct-methods li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #d3d4cd;
}
.ct-method-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--jp-dark);
  color: var(--jp-primary);
  font-size: 19px;
}
.ct-method-text {
  flex: 1 1 auto;
  min-width: 0;
}
.ct-method-text small {
  display: block;
  font-size: 13px;
}
.ct-method-text a {
  display: block;
  color: var(--jp-dark);
  font-family: var(--tj-ff-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.ct-methods li:last-child .ct-method-text a {
  font-family: var(--tj-ff-body);
  font-size: 15px;
  font-weight: 500;
}
.ct-method-text a:hover {
  color: var(--jp-dark);
  text-decoration: underline;
  text-decoration-color: var(--jp-primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.ct-copy {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--jp-border);
  border-radius: 100px;
  background: var(--jp-white);
  color: var(--jp-dark);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.ct-copy i {
  display: none;
  font-size: 9px;
}
.ct-copy:hover {
  background: var(--jp-primary);
}
.ct-copy.is-copied {
  border-color: var(--jp-dark);
  background: var(--jp-dark);
  color: var(--jp-primary);
}
.ct-copy.is-copied i {
  display: inline;
}

/* Form card */
.ct-card {
  padding: 44px;
  border-radius: 24px;
  background: var(--cro-ink);
  color: var(--cro-muted-dark);
  box-shadow: 0 50px 90px rgba(5, 5, 5, 0.22);
}
.ct-card-title {
  margin: 0 0 4px;
  color: var(--jp-white);
  font-size: 34px;
}
.ct-card-sub {
  margin: 0 0 24px;
  color: var(--jp-primary);
  font-size: 15px;
  font-weight: 500;
}
.ct-topics {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}
.ct-topics legend {
  margin-bottom: 12px;
  color: var(--jp-white);
  font-size: 15px;
  font-weight: 600;
}
.ct-topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ct-topic-list button {
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  background: transparent;
  color: var(--jp-white);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.ct-topic-list button:hover {
  border-color: var(--jp-primary);
}
.ct-topic-list button[aria-pressed="true"] {
  border-color: var(--jp-primary);
  background: var(--jp-primary);
  color: var(--jp-dark);
}
.ct-support-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -6px 0 20px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(211, 237, 49, 0.1);
  color: var(--jp-white);
  font-size: 14px;
}
.ct-support-note i {
  color: var(--jp-primary);
}
.ct-support-note a {
  color: var(--jp-primary);
  font-weight: 600;
}
.ct-form .cro-field label {
  color: var(--jp-white);
}
.ct-form .cro-field label small {
  color: var(--cro-muted-dark);
  font-weight: 400;
}
.ct-form .cro-form-note {
  color: var(--cro-muted-dark);
}
.ct-form .cro-form-note i {
  color: var(--jp-primary);
}
.ct-form .is-sent {
  color: var(--jp-dark);
}

/* ---------- Quick routes ---------- */
.ct-routes {
  padding: 100px 0 40px;
}
.ct-routes-title {
  margin: 0 0 30px;
  font-size: 32px;
}
.ct-route {
  position: relative;
  display: block;
  padding: 32px 30px;
  border: 1px solid var(--jp-border);
  border-radius: 20px;
  background: var(--jp-white);
  color: var(--jp-text);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.ct-route:hover {
  border-color: var(--jp-dark);
  color: var(--jp-text);
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(5, 5, 5, 0.08);
}
.ct-route-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--jp-secondary);
  color: var(--jp-dark);
  font-size: 21px;
}
.ct-route strong {
  display: block;
  margin-bottom: 6px;
  color: var(--jp-dark);
  font-family: var(--tj-ff-heading);
  font-size: 22px;
  font-weight: 600;
}
.ct-route > span:not(.ct-route-icon) {
  display: block;
  font-size: 15px;
}
.ct-route-arrow {
  position: absolute;
  top: 34px;
  right: 30px;
  color: var(--jp-dark);
  transition: transform 0.3s;
}
.ct-route:hover .ct-route-arrow {
  transform: translateX(4px);
}
.ct-route-dark {
  border-color: var(--cro-ink);
  background: var(--cro-ink);
  color: var(--cro-muted-dark);
}
.ct-route-dark:hover {
  border-color: var(--jp-primary);
  color: var(--cro-muted-dark);
}
.ct-route-dark strong {
  color: var(--jp-white);
}
.ct-route-dark .ct-route-icon {
  background: var(--jp-primary);
}
.ct-route-dark .ct-route-arrow {
  color: var(--jp-primary);
}

/* ---------- Visit ---------- */
.ct-visit {
  padding: 100px 0;
}
.ct-visit-text {
  margin: 22px 0 24px;
}
.ct-address {
  margin: 0 0 28px;
  padding: 20px 24px;
  border-left: 4px solid var(--jp-primary);
  border-radius: 12px;
  background: var(--jp-secondary);
  color: var(--jp-dark);
  font-style: normal;
  line-height: 1.7;
}
.ct-address strong {
  display: block;
  font-family: var(--tj-ff-heading);
  font-size: 18px;
}
.ct-visit-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

/* Illustrated map */
.ct-map {
  position: relative;
  display: block;
  height: 460px;
  overflow: hidden;
  border-radius: 24px;
  background: #ecefe6;
  box-shadow: 0 40px 80px rgba(5, 5, 5, 0.1);
}
.ct-map-art {
  position: absolute;
  inset: 0;
}
.ct-road {
  position: absolute;
  background: var(--jp-white);
  box-shadow: 0 0 0 1px rgba(5, 5, 5, 0.04);
}
.ct-road-1 { top: 0; bottom: 0; left: 36%; width: 22px; transform: rotate(8deg); transform-origin: top; }
.ct-road-2 { left: 0; right: 0; top: 58%; height: 18px; transform: rotate(-6deg); }
.ct-road-3 { left: 0; right: 0; top: 22%; height: 12px; transform: rotate(4deg); }
.ct-road-4 { top: 0; bottom: 0; left: 74%; width: 14px; transform: rotate(-12deg); }
.ct-park {
  position: absolute;
  top: 66%;
  left: 6%;
  width: 26%;
  height: 26%;
  border-radius: 40% 60% 50% 40%;
  background: #d4e6bf;
}
.ct-water {
  position: absolute;
  top: 6%;
  right: 4%;
  width: 18%;
  height: 12%;
  border-radius: 50%;
  background: #c9dcef;
}
.ct-block {
  position: absolute;
  border-radius: 6px;
  background: #dfe2d8;
}
.ct-block-1 { top: 30%; left: 8%; width: 18%; height: 18%; }
.ct-block-2 { top: 30%; left: 45%; width: 20%; height: 20%; }
.ct-block-3 { top: 70%; left: 44%; width: 22%; height: 16%; }
.ct-block-4 { top: 4%; left: 48%; width: 16%; height: 12%; }
.ct-block-5 { top: 68%; left: 80%; width: 14%; height: 22%; }
.ct-label {
  position: absolute;
  color: #7c7d77;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ct-label-1 { top: 10%; left: 10%; }
.ct-label-2 { top: 48%; left: 60%; }
.ct-label-3 { bottom: 6%; right: 16%; }
.ct-pin {
  position: absolute;
  top: 44%;
  left: 44%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50% 50% 50% 0;
  background: var(--jp-dark);
  color: var(--jp-primary);
  font-size: 22px;
  transform: translate(-50%, -100%) rotate(-45deg);
  box-shadow: 0 16px 30px rgba(5, 5, 5, 0.3);
  animation: ctDrop 2.6s ease-in-out infinite;
}
.ct-pin i {
  transform: rotate(45deg);
}
.ct-pin::after {
  content: "";
  position: absolute;
  bottom: -22px;
  left: -22px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(211, 237, 49, 0.55);
  transform: rotate(45deg);
  z-index: -1;
}
@keyframes ctDrop {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -8px; }
}
.ct-map-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: block;
  padding: 18px 22px;
  border-radius: 16px;
  background: var(--jp-white);
  color: var(--jp-text);
  box-shadow: 0 20px 40px rgba(5, 5, 5, 0.12);
}
.ct-map-card strong {
  display: block;
  color: var(--jp-dark);
  font-family: var(--tj-ff-heading);
  font-size: 18px;
}
.ct-map-card small {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}
.ct-map-card em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--jp-dark);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  border-bottom: 2px solid var(--jp-primary);
}
.ct-map:hover .ct-map-card em {
  border-color: var(--jp-dark);
}

/* ---------- What happens next ---------- */
.ct-next {
  padding: 40px 0 100px;
}
.ct-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ct-steps li {
  position: relative;
  padding: 36px 30px;
  border: 1px solid var(--jp-border);
  border-radius: 20px;
  background: var(--jp-white);
}
.ct-steps li:nth-child(2) {
  border-color: var(--jp-primary);
  background: var(--jp-primary);
}
.ct-steps-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--jp-dark);
  color: var(--jp-primary);
  font-family: var(--tj-ff-heading);
  font-size: 20px;
  font-weight: 700;
}
.ct-steps h3 {
  margin: 0 0 8px;
  font-size: 22px;
}
.ct-steps p {
  margin: 0;
}
.ct-steps li:nth-child(2) p {
  color: var(--jp-dark);
}

/* ---------- Company + social ---------- */
.ct-company {
  padding: 0 0 40px;
}
.ct-panel {
  padding: 40px;
  border: 1px solid var(--jp-border);
  border-radius: 20px;
  background: var(--jp-white);
}
.ct-panel-title {
  margin: 0 0 20px;
  font-size: 28px;
}
.ct-facts {
  margin: 0;
}
.ct-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--jp-border);
}
.ct-facts > div:last-child {
  border-bottom: 0;
}
.ct-facts dt {
  font-weight: 400;
}
.ct-facts dd {
  margin: 0;
  color: var(--jp-dark);
  font-weight: 600;
  text-align: right;
}
.ct-panel-dark {
  border-color: var(--cro-ink);
  background: var(--cro-ink);
  color: var(--cro-muted-dark);
}
.ct-panel-dark .ct-panel-title {
  margin-bottom: 6px;
  color: var(--jp-white);
}
.ct-panel-dark > p {
  margin: 0 0 22px;
}
.ct-social {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.ct-social a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid var(--cro-line-dark);
  border-radius: 12px;
  color: var(--jp-white);
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}
.ct-social a:hover {
  border-color: var(--jp-primary);
  background: rgba(211, 237, 49, 0.08);
  color: var(--jp-white);
}
.ct-social i {
  color: var(--jp-primary);
  font-size: 18px;
}
.ct-google {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--jp-white);
  color: var(--jp-text);
}
.ct-google:hover {
  color: var(--jp-text);
}
.ct-google-g {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--jp-secondary);
  color: #4285f4;
  font-size: 20px;
}
.ct-google strong {
  margin-right: 8px;
  color: var(--jp-dark);
  font-family: var(--tj-ff-heading);
  font-size: 24px;
}
.ct-stars {
  color: #f5b400;
  font-size: 13px;
}
.ct-google small {
  display: block;
  font-size: 13px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Mobile */
@media (max-width: 767px) {
  .ct-hero {
    padding: 130px 0 60px;
    border-radius: 12px;
  }
  .ct-hero-title {
    font-size: 72px;
  }
  .ct-hero-text {
    font-size: 16px;
  }
  .ct-method-text a {
    font-size: 17px;
  }
  .ct-copy span {
    display: none;
  }
  .ct-copy {
    padding: 9px;
  }
  .ct-copy::before {
    content: "\2398";
    font-size: 13px;
  }
  .ct-copy.is-copied::before {
    content: none;
  }
  .ct-card {
    padding: 26px 20px;
    border-radius: 18px;
  }
  .ct-card-title {
    font-size: 26px;
  }
  .ct-topic-list button {
    padding: 8px 13px;
    font-size: 13px;
  }
  .ct-routes {
    padding: 70px 0 20px;
  }
  .ct-routes-title {
    font-size: 26px;
  }
  .ct-route {
    padding: 26px 24px;
  }
  .ct-visit {
    padding: 70px 0;
  }
  .ct-visit-actions .tj-primary-btn {
    width: 100%;
    justify-content: space-between;
  }
  .ct-map {
    height: 340px;
    border-radius: 16px;
  }
  .ct-map-card {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }
  .ct-next {
    padding: 20px 0 70px;
  }
  .ct-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ct-steps li {
    padding: 28px 24px;
  }
  .ct-panel {
    padding: 28px 22px;
  }
  .ct-social {
    grid-template-columns: 1fr 1fr;
  }
}

/* ios */
@media (max-width: 340px) {
  .ct-hero-title {
    font-size: 60px;
  }
}

/* tab portrait view */
@media (min-width: 768px) and (max-width: 991px) {
  .ct-hero {
    padding: 160px 0 80px;
    border-radius: 12px;
  }
  .ct-hero-title {
    font-size: 96px;
  }
  .ct-steps {
    gap: 16px;
  }
  .ct-steps li {
    padding: 28px 22px;
  }
  .ct-steps h3 {
    font-size: 19px;
  }
}

/* tab landscape */
@media (min-width: 992px) and (max-width: 1199px) {
  .ct-hero {
    padding: 190px 0 90px;
  }
  .ct-hero-title {
    font-size: 96px;
  }
  .ct-card {
    padding: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ct-status.is-open .ct-status-dot,
  .ct-pin {
    animation: none;
  }
}
