/* ============================================================
   CONTACT US — PAGE STYLES
   Shared base: assets/css/style.css
============================================================ */

/* @font-face declarations now live in assets/css/root.css */

/* ── PAGE HERO ── */
.page-hero {
  position: relative;
  height: 247px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 27, 30, 0.45);
}

.page-hero__title {
  position: relative;
  z-index: 2;
  font-family: Helvetica, sans-serif;
  font-size: clamp(32px, 7vw, 75px);
  letter-spacing: -2.75px;
  background: linear-gradient(90deg, var(--hero-grad-start) 0%, var(--hero-grad-end) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  line-height: normal;
  white-space: nowrap;
  margin: 0;
  font-weight: 800;
}

/* ── INTRO ── */
.ct-intro {
  background: var(--black);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  min-height: 550px;
  margin-top: 10px;
}

.ct-intro__content {
  flex: 0 0 52%;
  padding: 80px 77px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.ct-intro__heading {
  font-family: 'Cal Sans', sans-serif;
  font-size: clamp(32px, 5vw, 70px);
  color: var(--green-alt);
  line-height: 1.15;
}

.ct-intro__desc {
  font-family: HelveticaL, sans-serif;
  font-size: clamp(16px, 1.6vw, 25px);
  line-height: 1.55;
  color: var(--cream);
  max-width: 540px;
}

.ct-intro__img {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.ct-intro__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ── HELLO TICKER ── */
.ct-ticker {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--black);
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  
}

.ct-ticker__row {
  width: 100%;
  overflow: hidden;
}

.ct-ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.ct-ticker__word {
  font-family: 'Inter', sans-serif;
  font-size: clamp(20px, 4vw, 36px);
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
}

.ct-ticker__sep {
  font-family: 'Inter', sans-serif;
  font-size: clamp(20px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  opacity: 0.6;
}

/* ── FORM SECTION ── */
.ct-form-wrap {
  background: var(--black);
  padding: 0 122px 100px;
  padding-bottom: 60px;
}

.ct-form-inner {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  padding-top:0px;
  padding-bottom:0px;
}

.ct-form {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 30px;
  background: linear-gradient(180deg, #cefb60 0%, #001bda 100%);
}

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

.ct-form__field {
  position: relative;
  margin-bottom: 20px;
}

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

.ct-form__input,
.ct-form__textarea {
  width: 100%;
  background: var(--black);
  border: 1px solid #585858;
  color: var(--cream);
  font-family: HelveticaL, sans-serif;
  font-size: clamp(15px, 1.3vw, 18px);
  padding: 0 20px;
  outline: none;
  transition: border-color 0.2s;
}

.ct-form__input {
  height: 65px;
}

.ct-form__textarea {
  height: 246px;
  padding: 20px;
  resize: none;
  line-height: 28px;
}

.ct-form__input:focus,
.ct-form__textarea:focus {
  border-color: var(--green-alt);
}

.ct-form__input::placeholder,
.ct-form__textarea::placeholder {
  color: var(--cream);
}

.ct-form__checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 40px;
  margin-top: 8px;
}

.ct-form__checkbox {
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  border: 1px solid var(--white);
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  margin-top: 4px;
}

.ct-form__checkbox:checked::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: var(--green);
}

.ct-form__checkbox-label {
  font-family: HelveticaL, sans-serif;
  font-size: clamp(15px, 1.5vw, 22px);
  line-height: 1.55;
  color: var(--cream);
}

.ct-form__submit-row {
  display: flex;
  align-items: center;
}

.ct-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: HelveticaL, sans-serif;
  font-size: clamp(15px, 1.3vw, 20px);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  padding: 14px 48px;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.ct-form__submit:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

/* ── FORM RIGHT SIDE (now visually on the LEFT, sticky) ── */
.ct-form-right {
  flex: 1;
  padding-top: 40px;
  position: sticky;
  top: 80px;
  align-self: flex-start;
}

.ct-form-right__heading {
  font-family: 'Cal Sans', sans-serif;
  font-size: clamp(32px, 5vw, 72px);
  color: var(--green-alt);
  line-height: 1.15;
  margin-bottom: 32px;
  text-transform: capitalize;
}

.ct-form-right__desc {
  font-family: HelveticaL, sans-serif;
  font-size: clamp(16px, 1.6vw, 25px);
  line-height: 1.55;
  color: var(--cream);
  margin-bottom: 24px;
}

/* ── LOCATIONS ── */
.ct-locations {
  position: relative;
  background: var(--black);
  overflow: hidden;
  min-height: 780px;
}

.ct-locations__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ct-locations__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

/* Animated marker that slides to the active location */
.ct-locations__marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  transition: left 0.9s cubic-bezier(0.65, 0, 0.35, 1),
              top 0.9s cubic-bezier(0.65, 0, 0.35, 1);
  pointer-events: none;
  z-index: 50;
}
.ct-locations__marker-dot {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green-alt);
  box-shadow: 0 0 0 3px rgba(173, 220, 85, 0.35),
              0 0 18px rgba(173, 220, 85, 0.8);
}
.ct-locations__marker-pulse {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(173, 220, 85, 0.6);
  animation: ct-marker-pulse 1.8s ease-out infinite;
}
@keyframes ct-marker-pulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(3.5); opacity: 0;   }
}

.ct-locations__inner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 100%;
  overflow: hidden;
  padding: 50px 0;
}

.ct-locations__track {
  display: flex;
  gap: 0;
  width: max-content;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.ct-location-card {
  flex: 0 0 22vw;
  min-width: 0;
  min-height: 295px;
  padding: 32px 28px 28px;
  position: relative;
  cursor: pointer;
  background: var(--green-alt);
  color: var(--black);
  transition: background 0.4s ease, color 0.4s ease, transform 0.5s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 6px;
}

@media (max-width: 1199px) {
  .ct-location-card { flex: 0 0 28vw; }
}
@media (max-width: 900px) {
  .ct-location-card { flex: 0 0 55vw; }
}
@media (max-width: 600px) {
  .ct-location-card { flex: 0 0 85vw; }
}
.ct-location-card:hover {
  background: #bde066;
}
.ct-location-card .ct-location-card__pin path,
.ct-location-card .ct-location-card__city,
.ct-location-card .ct-location-card__address,
.ct-location-card .ct-location-card__phone {
  transition: color 0.4s ease, fill 0.4s ease;
}

/* Active card: brand blue with white text */
.ct-location-card--active,
.ct-location-card--active:hover {
  background: var(--blue);
}

.ct-location-card--active .ct-location-card__city,
.ct-location-card--active .ct-location-card__address,
.ct-location-card--active .ct-location-card__phone {
  color: #fff;
}
.ct-location-card--active .ct-location-card__pin path {
  fill: #fff;
}

.ct-location-card__pin {
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  display: none;
}
.ct-location-card .ct-location-card__pin path {
  fill: var(--black);
}

.ct-location-card__city {
  font-family: 'Cal Sans', sans-serif;
  font-size: clamp(20px, 1.8vw, 26px);
  color: var(--black);
  line-height: 1.25;
  margin-bottom: 6px;
  font-weight: 500;
}

.ct-location-card__address {
  font-family: HelveticaL, sans-serif;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.5;
  color: var(--black);
  margin-bottom: 0;
}

.ct-location-card__phone {
  font-family: HelveticaL, sans-serif;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.5;
  color: var(--black);
  /* margin-top: auto; */
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .ct-intro {
    flex-direction: column;
  }

  .ct-intro__content {
    flex: none;
    padding: 60px 24px;
    gap: 24px;
  }

  .ct-intro__img {
    min-height: 380px;
    width: 100%;
  }

  .ct-form-wrap {
    padding: 0 16px 60px;
  }

  .ct-form-inner {
    flex-direction: column;
    padding: 40px 20px 60px;
    gap: 48px;
  }

  .ct-form {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .ct-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ct-form-right {
    padding-top: 0;
  }

  .ct-location-card {
    flex: 0 0 280px;
    padding: 32px 24px 28px;
  }
}

@media (max-width: 600px) {
  .page-hero {
    height: 180px;
  }

  .ct-form-wrap {
    padding: 0 12px 40px;
  }

  .ct-form-inner {
    padding: 32px 12px 40px;
    gap: 32px;
  }

  .ct-form {
    padding: 20px;
  }
}