/* ==========================================================================
   contact.css
   Contact page only (contact.html) — loaded AFTER service-modern.css.
   Builds on the site's global tokens (style.css / newstyle.css) and the
   .svc-page tokens/components (service-modern.css: .svc-eyebrow,
   .svc-bg--soft, --svc-ease). Scoped under .ct-page.

   1. Tokens + shared bits (titles, buttons, icons, image placeholders)
   2. Hero
   3. Contact cards + enquiry form
   4. Connect band
   5. Why get in touch
   6. Responsive (1199 / 991 / 767 / 575 / 374)
   7. Reduced motion
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS + SHARED
   -------------------------------------------------------------------------- */
.ct-page {
  --accent: #044a9e;
  --accent2: #1c6fd0;
  --ct-primary: #1c6fd0;
  --ct-primary-dark: #0b4fb3;
  --ct-navy: #0b2350;
  --ct-navy-deep: #041b47;
  --ct-pale: #eaf5ff;
  --ct-line: rgba(6, 42, 107, 0.12);
  --ct-radius: 18px;
  --ct-radius-sm: 10px;
  --ct-shadow: 0 10px 34px rgba(6, 42, 107, 0.08);
  --ct-shadow-hover: 0 20px 48px rgba(6, 42, 107, 0.14);
  --ct-hand: "Caveat", cursive;
  --ct-wa: #25d366;
}

.ct-page main {
  overflow-x: clip;
}

.ct-section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.18;
  color: var(--ct-navy);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.ct-page .svc-eyebrow {
  color: var(--ct-navy);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.ct-page .svc-eyebrow::before {
  background: var(--ct-primary);
}

/* primary button */
.ct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 30px;
  border: 0;
  border-radius: var(--ct-radius-sm);
  background: var(--ct-primary);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(28, 111, 208, 0.25);
  transition: background-color 0.25s var(--svc-ease), transform 0.25s var(--svc-ease),
    box-shadow 0.25s var(--svc-ease);
}

.ct-btn i {
  transition: transform 0.25s var(--svc-ease);
}

.ct-btn:hover,
.ct-btn:focus-visible {
  background: var(--ct-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(28, 111, 208, 0.32);
}

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

.ct-btn:focus-visible,
.ct-page a:focus-visible {
  outline: 3px solid rgba(28, 111, 208, 0.35);
  outline-offset: 3px;
}

.ct-btn--block {
  width: 100%;
}

/* round solid icon used on the light cards */
.ct-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--ct-primary);
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 8px 18px rgba(28, 111, 208, 0.25);
}

/* image frame + missing-image placeholder (js/contact.js adds .is-missing) */
.ct-img {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #dcecff 0%, #f4f9ff 100%);
}

.ct-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ct-img.is-missing img {
  visibility: hidden;
}

.ct-img.is-missing::after {
  content: attr(data-img-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: #5d7aa5;
  border: 2px dashed rgba(28, 111, 208, 0.25);
  border-radius: inherit;
}

/* --------------------------------------------------------------------------
   2. HERO
   -------------------------------------------------------------------------- */
.ct-hero {
  position: relative;
  padding: 36px 0 44px;
  background:
    radial-gradient(ellipse at 85% 10%, rgba(38, 132, 229, 0.10), transparent 55%),
    linear-gradient(180deg, #f6faff 0%, #eef5fd 100%);
}

.ct-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: 40px;
  align-items: center;
}

.ct-breadcrumb__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  font-size: 0.82rem;
}

.ct-breadcrumb__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ct-primary);
  font-weight: 500;
}

.ct-breadcrumb__list li:not(:last-child)::after {
  content: "\F285";
  font-family: "bootstrap-icons";
  font-size: 0.6rem;
  color: var(--text3);
}

.ct-breadcrumb__list a {
  color: var(--ct-navy);
  font-weight: 400;
  text-decoration: none;
  transition: color 0.25s ease;
}

.ct-breadcrumb__list a:hover {
  color: var(--ct-primary);
}

.ct-hero__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ct-navy-deep);
  margin: 0 0 18px;
}

.ct-hero__title span {
  color: var(--ct-primary);
}

.ct-hero__text {
  max-width: 520px;
  font-size: 1.04rem;
  line-height: 1.6;
  color: var(--text2);
  margin: 0 0 30px;
}

.ct-hero__features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.ct-hero__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 16px;
  font-size: 0.84rem;
  line-height: 1.3;
  color: var(--ct-navy);
}

.ct-hero__features li:first-child {
  padding-left: 0;
}

.ct-hero__features li+li {
  border-left: 1px solid var(--ct-line);
}

.ct-hero__features i {
  font-size: 1.6rem;
  color: var(--ct-primary-dark);
}

.ct-hero__visual {
  position: relative;
  padding: 0 0 0 40px;
}

.ct-hero__media {
  /* aspect-ratio: 16 / 10; */
  border-radius: 24px;
  box-shadow: var(--ct-shadow);
}

.ct-hand {
  position: absolute;
  z-index: 2;
  font-family: var(--ct-hand);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.02;
  color: var(--ct-navy);
  pointer-events: none;
}

.ct-hand--left {
  top: 14%;
  left: -18px;
  transform: rotate(-12deg);
}

.ct-hand--right {
  top: -10px;
  right: 18px;
  text-align: center;
  transform: rotate(-6deg);
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
}

.ct-hand--left::after {
  content: "\21B4";
  display: block;
  font-family: var(--font-body);
  font-size: 1.3rem;
  margin: 4px 0 0 22px;
  color: var(--ct-navy);
}

/* --------------------------------------------------------------------------
   3. CONTACT CARDS + ENQUIRY FORM
   -------------------------------------------------------------------------- */
.ct-main {
  padding: 40px 0 56px;
  background: #fff;
}

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

.ct-info {
  display: grid;
  gap: 20px;
}

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

.ct-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--ct-line);
  border-radius: var(--ct-radius);
  box-shadow: var(--ct-shadow);
  padding: 24px;
  /* keeps the [data-reveal] fade while adding the hover lift */
  transition: opacity 0.7s var(--svc-ease), transform 0.35s var(--svc-ease), box-shadow 0.35s var(--svc-ease);
}

.ct-card[data-reveal].is-visible:hover,
.ct-card:not([data-reveal]):hover {
  transform: translateY(-4px);
  box-shadow: var(--ct-shadow-hover);
}

.ct-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.ct-card__title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.08rem;
  line-height: 1.25;
  color: var(--ct-navy-deep);
  margin: 0 0 4px;
}

.ct-card__text {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text2);
  margin: 0;
}

.ct-card__link {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ct-navy-deep);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.25s var(--svc-ease);
}

.ct-card__link--lg {
  font-size: 1.45rem;
  font-weight: 700;
}

.ct-card__link i {
  color: var(--ct-primary);
  transition: transform 0.25s var(--svc-ease);
}

.ct-card__link:hover {
  color: var(--ct-primary);
}

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

/* A. Talk to our team — blue gradient card */
.ct-card--team {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 26px 30px;
  border: 0;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.14), transparent 45%),
    linear-gradient(120deg, #0a3d91 0%, #1259c9 55%, #0b3a8a 100%);
  box-shadow: 0 18px 40px rgba(10, 61, 145, 0.28);
}

.ct-card--team__icon {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  color: var(--ct-primary);
  font-size: 1.9rem;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.12);
}

.ct-card--team__wa {
  position: absolute;
  right: -6px;
  bottom: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ct-wa);
  color: #fff;
  font-size: 0.95rem;
  border: 2px solid #fff;
}

.ct-card--team__body {
  min-width: 0;
}

.ct-card--team .ct-card__title {
  color: #fff;
  font-size: 1.3rem;
}

.ct-card--team .ct-card__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
}

.ct-card--team__numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  margin-top: 16px;
}

.ct-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-right: 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.ct-phone+.ct-phone {
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.ct-phone i {
  font-size: 1.15rem;
  transition: transform 0.25s var(--svc-ease);
}

.ct-phone:hover,
.ct-phone:focus-visible {
  color: #fff;
}

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

/* D. Office card with image */
.ct-card--office {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  padding: 0;
  overflow: hidden;
}

.ct-card--office__body {
  padding: 24px;
}

.ct-card--office__address {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text2);
  margin: 0 0 22px;
}

.ct-card--office__media {
  min-height: 220px;
}

/* Enquiry form card */
.ct-form-card {
  background: #fff;
  border: 1px solid var(--ct-line);
  border-radius: var(--ct-radius);
  box-shadow: var(--ct-shadow);
  padding: 26px 30px 22px;
}

.ct-form-card__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  line-height: 1.2;
  color: var(--ct-navy-deep);
  margin: 0 0 8px;
}

.ct-form-card__text {
  font-size: 0.9rem;
  color: var(--text2);
  margin: 0 0 22px;
}

.ct-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  margin-bottom: 20px;
}

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

.ct-field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ct-navy-deep);
  margin-bottom: 7px;
}

.ct-req {
  color: #e0353b;
}

.ct-input {
  position: relative;
}

.ct-input>i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #8193ad;
  pointer-events: none;
}

.ct-input--area>i {
  top: 15px;
  transform: none;
}

.ct-input input,
.ct-input select,
.ct-input textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 10px 14px 10px 42px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(7, 26, 46, 0.16);
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ct-input textarea {
  min-height: 96px;
  resize: vertical;
}

.ct-input select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230b2350' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.ct-input select:invalid {
  color: #8a96a8;
}

.ct-input select option {
  color: var(--text);
}

.ct-input input::placeholder,
.ct-input textarea::placeholder {
  color: #8a96a8;
}

.ct-input input:focus,
.ct-input select:focus,
.ct-input textarea:focus {
  outline: none;
  border-color: var(--ct-primary);
  box-shadow: 0 0 0 3px rgba(28, 111, 208, 0.15);
}

/* only flag errors once the visitor has typed something */
.ct-input input:not(:placeholder-shown):invalid,
.ct-input textarea:not(:placeholder-shown):invalid {
  border-color: #e0353b;
}

.ct-form__privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 0.76rem;
  color: var(--text2);
  text-align: center;
}

.ct-form__privacy i {
  color: var(--ct-navy);
}

/* --------------------------------------------------------------------------
   4. CONNECT BAND
   -------------------------------------------------------------------------- */
.ct-connect {
  padding: 44px 0;
}

.ct-connect__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.6fr);
  gap: 30px;
  align-items: center;
}

.ct-connect__head p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text2);
  margin: 0;
}

.ct-connect__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}

.ct-connect__item {
  text-align: center;
}

.ct-connect__item+.ct-connect__item {
  border-left: 1px solid var(--ct-line);
}

.ct-connect__item a {
  display: block;
  height: 100%;
  padding: 6px 18px;
  color: inherit;
  text-decoration: none;
}

.ct-connect__item h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ct-navy-deep);
  margin: 14px 0 6px;
  transition: color 0.25s var(--svc-ease);
}

.ct-connect__item p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text2);
  margin: 0;
}

.ct-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--ct-primary-dark);
  color: #fff;
  font-size: 1.45rem;
  box-shadow: 0 0 0 4px var(--ct-pale), 0 0 0 5px rgba(28, 111, 208, 0.35);
  transition: transform 0.3s var(--svc-ease);
}

.ct-ring--wa {
  background: var(--ct-wa);
  box-shadow: 0 0 0 4px var(--ct-pale), 0 0 0 5px rgba(37, 211, 102, 0.45);
}

.ct-connect__item a:hover .ct-ring,
.ct-connect__item a:focus-visible .ct-ring {
  transform: translateY(-4px);
}

.ct-connect__item a:hover h3 {
  color: var(--ct-primary);
}

/* --------------------------------------------------------------------------
   5. WHY GET IN TOUCH
   -------------------------------------------------------------------------- */
.ct-why {
  padding: 0 0 56px;
  background: linear-gradient(180deg, var(--ct-pale) 0 50px, #fff 50px);
}

.ct-why__panel {
  position: relative;
  overflow: hidden;
  padding: 34px 32px 36px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(120deg, var(--ct-navy-deep) 0%, #0a3a8c 60%, #0d47a8 100%);
  box-shadow: 0 22px 50px rgba(4, 27, 71, 0.25);
}

/* subtle decorative globe lines, bottom-right */
.ct-why__panel::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 22px);
  pointer-events: none;
}

.ct-why__head,
.ct-why__list {
  position: relative;
  z-index: 1;
}

.ct-why__head {
  margin-bottom: 26px;
}

.ct-why .ct-section-title {
  color: #fff;
  margin-bottom: 10px;
}

.ct-why__head p {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.86);
}

.ct-why__head p::before {
  content: "";
  flex: 0 0 34px;
  height: 10px;
  background: rgba(255, 255, 255, 0.75);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 10' fill='none' stroke='%23000' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 5h29M26 1l4 4-4 4'/%3E%3C/svg%3E") no-repeat left center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 10' fill='none' stroke='%23000' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 5h29M26 1l4 4-4 4'/%3E%3C/svg%3E") no-repeat left center / contain;
}

.ct-why__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}

.ct-why__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 4px 20px;
}

.ct-why__item:first-child {
  padding-left: 0;
}

.ct-why__item+.ct-why__item {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.ct-why__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.4rem;
  color: #fff;
  transition: background-color 0.3s var(--svc-ease), transform 0.3s var(--svc-ease);
}

.ct-why__item:hover .ct-why__icon {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-3px);
}

.ct-why__item h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1rem;
  color: #fff;
  margin: 2px 0 6px;
}

.ct-why__item p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

/* --------------------------------------------------------------------------
   6. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .ct-phone {
    font-size: 1.3rem;
  }

  .ct-card__link--lg {
    font-size: 1.25rem;
  }

  .ct-connect__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .ct-connect__head {
    max-width: 640px;
  }

  .ct-hero__features li {
    padding: 2px 12px;
  }
}

@media (max-width: 991.98px) {
  .ct-hero {
    padding: 28px 0 40px;
  }

  .ct-hero__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .ct-hero__text {
    max-width: 640px;
  }

  .ct-hero__visual {
    padding: 0;
    max-width: 720px;
  }

  .ct-hand--left {
    left: auto;
    right: 20px;
    top: auto;
    bottom: 18px;
    padding: 8px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.85);
  }

  .ct-hand--left::after {
    display: none;
  }

  .ct-hand--right {
    top: 18px;
  }

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

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

  .ct-why__item:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 767.98px) {
  .ct-main {
    padding: 32px 0 44px;
  }

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

  .ct-connect__item:nth-child(odd) {
    border-left: 0;
  }

  .ct-card--team {
    padding: 24px;
    gap: 20px;
  }

  .ct-card--team__numbers {
    flex-direction: column;
    align-items: flex-start;
  }

  .ct-phone,
  .ct-phone+.ct-phone {
    padding: 0;
    border-left: 0;
  }

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

  .ct-why__panel {
    padding: 30px 24px;
  }
}

@media (max-width: 575.98px) {
  .ct-hero__title {
    font-size: clamp(1.85rem, 8.6vw, 2.3rem);
  }

  .ct-hero__text {
    font-size: 0.98rem;
    margin-bottom: 24px;
  }

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

  .ct-hero__features li,
  .ct-hero__features li:first-child {
    padding: 2px 10px;
  }

  .ct-hero__features li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .ct-hero__media {
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }

  .ct-hand {
    font-size: 1.2rem;
  }

  .ct-card--team {
    flex-direction: column;
    align-items: flex-start;
  }

  .ct-card--team__icon {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }

  .ct-phone {
    font-size: 1.3rem;
  }

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

  .ct-card--office__media {
    order: -1;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .ct-card--office .ct-btn {
    width: 100%;
  }

  .ct-form-card {
    padding: 22px 18px 20px;
  }

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

  /* 16px inputs stop iOS from zooming on focus */
  .ct-input input,
  .ct-input select,
  .ct-input textarea {
    font-size: 1rem;
  }

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

  .ct-connect__item,
  .ct-connect__item+.ct-connect__item {
    border-left: 0;
  }

  .ct-connect__item+.ct-connect__item {
    border-top: 1px solid var(--ct-line);
  }

  .ct-connect__item a {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 18px;
    align-items: center;
    padding: 16px 0;
    text-align: left;
  }

  .ct-connect__item .ct-ring {
    grid-row: span 2;
    width: 54px;
    height: 54px;
    font-size: 1.25rem;
  }

  .ct-connect__item h3 {
    margin: 0 0 4px;
  }

  .ct-why {
    padding-bottom: 44px;
  }

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

  .ct-why__item,
  .ct-why__item:nth-child(odd),
  .ct-why__item+.ct-why__item {
    padding: 16px 0;
    border-left: 0;
  }

  .ct-why__item+.ct-why__item {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .ct-why__head p::before {
    display: none;
  }
}

@media (max-width: 374.98px) {
  .ct-hand--left {
    display: none;
  }

  .ct-card__link--lg {
    font-size: 1.15rem;
  }

  .ct-card,
  .ct-card--office__body {
    padding: 20px;
  }
}

/* --------------------------------------------------------------------------
   6b. EQUAL-HEIGHT CONTACT COLUMNS + FORM reCAPTCHA
   In the two-column layout the info column and the form card share one
   height: the grid stretches both, and the office card (last on the left)
   takes up whatever is left so there is no empty space under it — its photo
   simply fills the taller frame. The form card does the same in reverse
   should the info column ever be the taller one.
   -------------------------------------------------------------------------- */
.ct-field--captcha {
  margin-top: 2px;
}

.ct-field--captcha .g-recaptcha {
  min-height: 78px;
}

@media (min-width: 992px) {
  .ct-main__grid {
    align-items: stretch;
  }

  .ct-info {
    grid-template-rows: auto auto minmax(0, 1fr);
  }

  .ct-card--office__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .ct-card--office__media {
    position: relative;
    min-height: 220px;
  }

  .ct-card--office__media img {
    position: absolute;
    inset: 0;
  }

  .ct-form-card {
    display: flex;
    flex-direction: column;
  }

  .ct-form-card .ct-form {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
  }

  .ct-form-card .ct-form > .ct-btn--block {
    margin-top: auto;
  }
}

/* reCAPTCHA v2 is a fixed 304px wide — scale it on the narrowest phones */
@media (max-width: 374.98px) {
  .ct-field--captcha .g-recaptcha {
    transform: scale(0.88);
    transform-origin: 0 0;
    min-height: 69px;
  }
}

/* --------------------------------------------------------------------------
   7. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

  .ct-btn,
  .ct-btn i,
  .ct-card,
  .ct-card__link i,
  .ct-phone i,
  .ct-ring,
  .ct-why__icon {
    transition: none;
  }

  .ct-btn:hover,
  .ct-card[data-reveal].is-visible:hover,
  .ct-card:not([data-reveal]):hover,
  .ct-connect__item a:hover .ct-ring,
  .ct-why__item:hover .ct-why__icon {
    transform: none;
  }
}
