/* ==========================================================================
   Contact — V2
   Loads after css/home_v2.css + css_v2/base/variable.css (main/v2/base.html).
   ========================================================================== */
:root {
  --font-heading: "Montserrat", sans-serif;
  --ct-line: #e7f3ec;
  --ct-ink-soft: #3c4f45;
}
.btn-flat svg { color: #fff; }   /* same fix as case-studies.css */

/* reveal on scroll (driven by contact_v2.js) */
.ct [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease var(--reveal-delay, 0ms), transform .6s cubic-bezier(.2, .8, .2, 1) var(--reveal-delay, 0ms);
}
.ct [data-reveal].is-revealed { opacity: 1; transform: none; }

/* ============================================================== HERO */
.ct-hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 5rem;
  background:
    radial-gradient(900px 480px at 88% -10%, var(--brand-green-light) 0%, rgba(242, 248, 244, 0) 64%),
    linear-gradient(180deg, #fbfdfb, #fff);
}
.ct-hero__orb,
.ct-hero__dots { position: absolute; pointer-events: none; }
.ct-hero__orb { border-radius: 50%; filter: blur(6px); }
.ct-hero__orb--a {
  top: -160px; right: -140px; width: 480px; height: 480px;
  background: radial-gradient(circle at 34% 30%, rgba(39, 93, 43, .2), rgba(39, 93, 43, .04) 62%, transparent 72%);
  animation: ctDrift 26s ease-in-out infinite;
}
.ct-hero__orb--b {
  bottom: -200px; left: -160px; width: 420px; height: 420px;
  background: radial-gradient(circle at 60% 40%, rgba(126, 223, 166, .28), rgba(126, 223, 166, 0) 68%);
  animation: ctDrift 32s ease-in-out infinite reverse;
}
.ct-hero__dots {
  inset: 0;
  background-image: radial-gradient(rgba(39, 93, 43, .13) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(640px 420px at 12% 10%, #000 0%, transparent 70%);
  mask-image: radial-gradient(640px 420px at 12% 10%, #000 0%, transparent 70%);
}

/* the live ticket follows the form — only when the whole column fits on screen */
@media (min-width: 992px) and (min-height: 880px) {
  .ct-aside { position: sticky; top: 110px; }
}
.ct-hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -.02em;
}
.ct-hero__title span { display: block; color: var(--brand-green); }
.ct-hero__lead {
  max-width: 44ch;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: clamp(.98rem, 1.1vw, 1.075rem);
  line-height: 1.65;
}

/* live status pill */
.ct-status {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .6rem;
  max-width: 100%;
  margin-bottom: 1.75rem;
  padding: .5rem .95rem;
  border: 1px solid var(--ct-line);
  border-radius: 40px;
  background: rgba(255, 255, 255, .85);
  font-size: .86rem;
  font-weight: 500;
  color: var(--black);
}
.ct-status__pulse {
  position: relative;
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9aa8a0;
}
.ct-status.is-online .ct-status__pulse { background: #2fae62; }
.ct-status.is-online .ct-status__pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(47, 174, 98, .45);
  animation: ctPing 1.8s ease-out infinite;
}
.ct-status__muted { color: var(--text-muted); font-weight: 400; }
.ct-status__muted::before { content: "·"; margin-right: .6rem; color: #b5c2ba; }

/* direct lines */
.ct-lines {
  display: grid;
  gap: .6rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}
.ct-lines li {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .75rem .9rem;
  border: 1px solid var(--ct-line);
  border-radius: 14px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ct-lines li:hover { border-color: #cfe0d4; box-shadow: 0 10px 26px rgba(31, 111, 67, .07); }
.ct-lines__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-green-light);
  color: var(--brand-green);
}
.ct-lines__text { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.ct-lines__text small { color: var(--text-muted); font-size: .75rem; }
.ct-lines__text a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--black);
  font-weight: 600;
  text-decoration: none;
}
.ct-lines__text a:hover { color: var(--brand-green); }
.ct-lines__action {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .75rem;
  border: 1.5px solid var(--ct-line);
  border-radius: 40px;
  background: #fff;
  color: var(--brand-green);
  font-size: .78rem;
  font-weight: 600;
}
.ct-lines__action:hover { border-color: var(--brand-green); }
.ct-lines__action.is-done { background: var(--brand-green); border-color: var(--brand-green); color: #fff; }

/* ======================================================= LIVE TICKET */
.ct-ticket {
  position: relative;
  padding: 1.25rem 1.35rem 1rem;
  border-radius: 18px;
  background: linear-gradient(145deg, #0f3d22, #1f6f43 60%, #2e8b57);
  color: #e9f6ee;
  box-shadow: 0 22px 44px rgba(15, 61, 34, .22);
  overflow: hidden;
}
/* perforated tear line + notches, like a boarding pass */
.ct-ticket::before,
.ct-ticket::after {
  content: "";
  position: absolute;
  bottom: 52px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
}
.ct-ticket::before { left: -11px; }
.ct-ticket::after { right: -11px; }
.ct-ticket__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .75rem;
}
.ct-ticket__kicker {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7edfa6;
}
.ct-ticket__count { font-size: .75rem; color: rgba(233, 246, 238, .75); }
.ct-ticket__count b { color: #fff; }
.ct-ticket__body {
  margin: 0 0 1.1rem;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(233, 246, 238, .82);
}
.ct-slot {
  padding: 0 .15rem;
  border-bottom: 1.5px dashed rgba(126, 223, 166, .55);
  color: rgba(233, 246, 238, .5);
  font-style: italic;
  transition: color .25s ease, border-color .25s ease, background-color .25s ease;
  overflow-wrap: anywhere;
}
.ct-slot.is-filled {
  border-bottom-style: solid;
  border-color: transparent;
  border-radius: 4px;
  background: rgba(126, 223, 166, .16);
  color: #fff;
  font-style: normal;
  font-weight: 600;
  animation: ctPop .35s ease;
}
.ct-ticket__foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .85rem;
  border-top: 2px dashed rgba(233, 246, 238, .25);
}
.ct-ticket__barcode {
  width: 120px;
  height: 22px;
  opacity: .55;
  background: repeating-linear-gradient(90deg, #e9f6ee 0 2px, transparent 2px 4px, #e9f6ee 4px 5px, transparent 5px 8px, #e9f6ee 8px 11px, transparent 11px 13px);
}
.ct-ticket__stamp {
  padding: .15rem .6rem;
  border: 2px solid #7edfa6;
  border-radius: 6px;
  color: #7edfa6;
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: 0;
  transform: rotate(-12deg) scale(1.8);
}
.ct-ticket.is-sent .ct-ticket__stamp { animation: ctStamp .45s cubic-bezier(.2, .8, .2, 1.3) forwards; }

/* ========================================================= FORM CARD */
.ct-form-card {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid var(--ct-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(31, 111, 67, .08);
}
.ct-form-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  margin-bottom: 1.25rem;
}
.ct-form-card__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
}
.ct-progress {
  flex: 0 0 140px;
  height: 6px;
  border-radius: 6px;
  background: var(--brand-green-light);
  overflow: hidden;
}
.ct-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-green), #5dbb7f);
  transition: width .4s ease;
}

/* intent pills */
.ct-q { margin-bottom: 1.25rem; }
.ct-intents { display: flex; flex-wrap: wrap; gap: .5rem; }
.ct-intent { position: relative; cursor: pointer; }
.ct-intent input,
.ct-chip input { position: absolute; opacity: 0; pointer-events: none; }
.ct-intent__pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .95rem .45rem .5rem;
  border: 1.5px solid var(--ct-line);
  border-radius: 40px;
  background: #fff;
  font-size: .88rem;
  font-weight: 500;
  color: var(--ct-ink-soft);
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.ct-intent__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-green-light);
  color: var(--brand-green);
  transition: background .2s ease, color .2s ease;
}
.ct-intent__icon svg { width: 16px; height: 16px; }
.ct-intent:hover .ct-intent__pill { border-color: var(--brand-green); }
.ct-intent input:checked + .ct-intent__pill { border-color: var(--brand-green); background: var(--brand-green); color: #fff; }
.ct-intent input:checked + .ct-intent__pill .ct-intent__icon { background: rgba(255, 255, 255, .18); color: #fff; }
.ct-intent input:focus-visible + .ct-intent__pill,
.ct-chip input:focus-visible + span { outline: 2px solid var(--brand-green); outline-offset: 2px; }

/* chips */
.ct-chipgroup + .ct-chipgroup { margin-top: 1rem; }
.ct-label { display: block; margin-bottom: .5rem; font-size: .82rem; font-weight: 600; color: var(--ct-ink-soft); }
.ct-opt { margin-left: .25rem; font-size: .72rem; font-weight: 500; color: #9aa8a0; }
.ct-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.ct-chip { position: relative; cursor: pointer; }
.ct-chip span {
  display: inline-block;
  padding: .4rem .85rem;
  border: 1.5px solid var(--ct-line);
  border-radius: 40px;
  background: #fff;
  font-size: .83rem;
  font-weight: 500;
  color: var(--ct-ink-soft);
  transition: all .2s ease;
}
.ct-chip:hover span { border-color: var(--brand-green); }
.ct-chip input:checked + span { background: var(--brand-green); border-color: var(--brand-green); color: #fff; }

/* fields */
.ct-field { position: relative; margin-bottom: 0; }
.ct-field label { display: block; margin-bottom: .35rem; font-size: .82rem; font-weight: 600; color: var(--ct-ink-soft); }
.ct-field label em { color: #c2410c; font-style: normal; }
.ct-field input,
.ct-field select,
.ct-field textarea,
.ct-captcha input {
  display: block;
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid var(--ct-line);
  border-radius: 12px;
  background: #fbfdfb;
  font-size: .95rem;
  color: var(--black);
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.ct-field select {
  appearance: none;
  padding-right: 2.5rem;
  background: #fbfdfb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6e66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .9rem center / 16px no-repeat;
}
.ct-field textarea { resize: vertical; min-height: 110px; }
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus,
.ct-captcha input:focus {
  outline: 0;
  border-color: var(--brand-green);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(39, 93, 43, .08);
}
.ct-field.has-error input,
.ct-field.has-error textarea,
.ct-captcha.has-error input { border-color: #dc2626; background-color: #fff; }
.ct-error { display: block; margin-top: .3rem; font-size: .78rem; color: #b91c1c; }
.ct-error:empty { display: none; }
.ct-counter { position: absolute; right: .75rem; top: 2rem; font-size: .7rem; color: #9aa8a0; }

/* optional scope, collapsed by default */
.ct-more {
  margin-top: 1rem;
  border: 1.5px dashed #d9e7dd;
  border-radius: 14px;
  background: #fbfdfb;
}
.ct-more[open] { border-style: solid; border-color: var(--ct-line); }
.ct-more summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .5rem;
  padding: .7rem .9rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--brand-green);
  list-style: none;
  cursor: pointer;
}
.ct-more summary::-webkit-details-marker { display: none; }
.ct-more summary:focus-visible { outline: 2px solid var(--brand-green); outline-offset: 2px; border-radius: 12px; }
.ct-more__plus {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-green-light);
}
.ct-more__plus::before,
.ct-more__plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  margin: -1px 0 0 -5px;
  border-radius: 2px;
  background: var(--brand-green);
  transition: transform .25s ease;
}
.ct-more__plus::after { transform: rotate(90deg); }
.ct-more[open] .ct-more__plus::after { transform: rotate(0deg); }
.ct-more__picked { margin-left: auto; font-size: .78rem; font-weight: 500; color: var(--ct-ink-soft); }
.ct-more[open] .ct-more__picked { display: none; }
.ct-more__body { padding: .25rem .9rem 1rem; }
.ct-field--inline { margin-top: 1rem; }
.ct-field--inline select { max-width: 320px; }

/* security code + send */
.ct-sendrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-top: 1.25rem;
}
.ct-captcha {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex: 1 1 260px;
  min-width: 0;
  padding: .3rem .3rem .3rem .35rem;
  border: 1.5px solid var(--ct-line);
  border-radius: 14px;
  background: #fff;
}
.ct-captcha img { flex: 0 0 auto; display: block; height: 32px; width: auto; border-radius: 8px; }
.ct-captcha button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: var(--brand-green-light);
  color: var(--brand-green);
}
.ct-captcha button.is-spinning svg { animation: ctSpin .6s linear; }
.ct-captcha input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  padding: .45rem .7rem;
  border-color: transparent;
  background: #f5f9f6;
  font-size: .9rem;
  letter-spacing: .08em;
}
.ct-submit__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .8rem 1.8rem;
  font-size: 1rem;
}
.ct-submit__btn[disabled] { opacity: .7; cursor: progress; }
.ct-submit__btn.is-loading svg { animation: ctFly .9s ease-in-out infinite; }

.ct-check {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  margin: 1rem 0 0;
  font-size: .84rem;
  color: var(--ct-ink-soft);
  cursor: pointer;
}
.ct-check input { flex: 0 0 auto; width: 17px; height: 17px; margin-top: .12rem; accent-color: var(--brand-green); }
.ct-legal { margin: .5rem 0 0; font-size: .78rem; color: #8a988f; }
.ct-alert {
  margin-top: 1rem;
  padding: .75rem 1rem;
  border-radius: 12px;
  background: #fef2f2;
  color: #991b1b;
  font-size: .88rem;
}

/* success */
.ct-success { padding: 2.5rem 1rem; text-align: center; }
.ct-success:focus { outline: 0; }
.ct-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--brand-green);
  color: #fff;
  box-shadow: 0 0 0 10px var(--brand-green-light);
  animation: ctPop .5s ease;
}
.ct-success p { max-width: 42ch; margin: .75rem auto 1.5rem; color: var(--text-muted); }

/* ========================================================== SECTIONS */
.ct-section { padding: 5rem 0; }
.ct-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  margin-bottom: 2rem;
}
.ct .heading-section { font-family: var(--font-heading); }

/* offices */
.ct-offices { background: linear-gradient(180deg, #fff, #f7fbf8); }
.ct-office {
  height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--ct-line);
  border-radius: 18px;
  background: #fff;
  transition: box-shadow .25s ease, transform .25s ease;
}
.ct-office:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(31, 111, 67, .1); }
.ct-office__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.ct-office__place { display: flex; align-items: center; gap: .45rem; font-family: var(--font-heading); font-weight: 600; font-size: 1.15rem; color: var(--black); }
.ct-office__flag { font-size: 1.2rem; line-height: 1; }
.ct-office__country { display: block; margin-top: .15rem; font-size: .8rem; color: var(--text-muted); }
.ct-office__state {
  flex: 0 0 auto;
  padding: .25rem .65rem;
  border-radius: 40px;
  background: #f1f3f2;
  color: #5f6e66;
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap;
}
.ct-office.is-open .ct-office__state { background: #e3f6ea; color: #1f7a45; }
.ct-office__clock { display: flex; align-items: baseline; gap: .6rem; margin: 1.1rem 0 .9rem; }
.ct-office__time {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--black);
  font-variant-numeric: tabular-nums;
}
.ct-office__meta { font-size: .8rem; color: var(--text-muted); }

/* 24-hour strip */
.ct-day {
  position: relative;
  height: 10px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, #1b3a2a 0%, #3b5f4c 22%, #e9f3ec 30%, #f5faf6 50%, #e9f3ec 72%, #3b5f4c 82%, #1b3a2a 100%);
  opacity: .9;
}
.ct-day__band {
  position: absolute;
  top: -2px;
  bottom: -2px;
  border-radius: 8px;
  background: rgba(47, 174, 98, .55);
  box-shadow: inset 0 0 0 1.5px #2fae62;
}
.ct-day__now {
  position: absolute;
  top: -5px;
  width: 4px;
  height: 20px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--brand-green);
  box-shadow: 0 0 0 3px #fff;
  transition: left 1s linear;
}
.ct-day__ticks {
  display: flex;
  justify-content: space-between;
  margin-top: .4rem;
  font-size: .64rem;
  color: #9aa8a0;
  font-variant-numeric: tabular-nums;
}
.ct-office__address { margin: 1.1rem 0 .9rem; font-size: .88rem; line-height: 1.6; color: var(--ct-ink-soft); }
.ct-office__link { font-size: .9rem; }

/* office map: office list on the left, map on the right */
.ct-map {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  margin-bottom: 1.5rem;
  border: 1px solid var(--ct-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(31, 111, 67, .08);
  overflow: hidden;
}
.ct-map__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1rem;
  border-right: 1px solid var(--ct-line);
  background: #fbfdfb;
}
.ct-map__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .25rem .35rem .5rem; }
.ct-map__head small { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ct-ink-soft); }
.ct-map__all { padding: 0; border: 0; background: none; font-size: .8rem; font-weight: 600; color: var(--brand-green); }
.ct-map__all:hover { text-decoration: underline; }
.ct-map__item {
  display: block;
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1.5px solid var(--ct-line);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.ct-map__item:hover { border-color: #cfe0d4; box-shadow: 0 10px 26px rgba(31, 111, 67, .07); }
.ct-map__item:focus-visible,
.ct-map__all:focus-visible { outline: 2px solid var(--brand-green); outline-offset: 2px; }
.ct-map__item[aria-pressed="true"] { border-color: var(--brand-green); background: var(--brand-green-light); box-shadow: 0 10px 26px rgba(31, 111, 67, .1); }
.ct-map__place { display: flex; align-items: center; gap: .45rem; font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600; color: var(--black); }
.ct-map__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--brand-green);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
}
.ct-map__country { display: block; margin-top: .1rem; font-size: .76rem; color: var(--text-muted); }
.ct-map__addr { display: block; margin-top: .55rem; font-size: .82rem; line-height: 1.55; color: var(--ct-ink-soft); }
.ct-map__addr > span { display: block; }
.ct-map__canvas { min-height: 500px; background: #eef4f0; }
.ct-map .leaflet-container { font-family: inherit; }
/* soften the OSM tiles so the green pins carry the colour */
.ct-map .leaflet-tile-pane { filter: grayscale(.9) contrast(.92) brightness(1.04); }
.ct-map .leaflet-bar { border: 1px solid var(--ct-line); border-radius: 12px; box-shadow: 0 10px 26px rgba(31, 111, 67, .1); overflow: hidden; }
.ct-map .leaflet-bar a { color: var(--brand-green); }

.ct-pin { position: relative; display: block; width: 34px; height: 44px; color: var(--brand-green); }
.ct-pin svg { position: relative; display: block; filter: drop-shadow(0 6px 8px rgba(15, 61, 34, .3)); transition: transform .2s ease; }
.ct-pin:hover svg,
.ct-pin.is-active svg { transform: translateY(-3px) scale(1.08); }
/* pulse at the pin's tip, like the live status dot */
.ct-pin::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 26px;
  height: 12px;
  margin-left: -13px;
  border-radius: 50%;
  border: 2px solid rgba(47, 174, 98, .55);
  animation: ctPing 1.8s ease-out infinite;
}

.ct-map .leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: 0 18px 40px rgba(31, 111, 67, .18); }
.ct-map .leaflet-popup-content { margin: 1rem 1.15rem; min-width: 220px; line-height: 1.55; }
.ct-map .leaflet-popup-close-button { top: 6px; right: 6px; color: #9aa8a0; }
.ct-pop__place { display: flex; align-items: center; gap: .4rem; font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600; color: var(--black); }
.ct-pop__country { display: block; margin-top: .1rem; font-size: .76rem; color: var(--text-muted); }
.ct-pop__address { margin: .65rem 0 .7rem; font-size: .84rem; color: var(--ct-ink-soft); }
.ct-map .leaflet-container a.ct-pop__link { display: inline-flex; align-items: center; gap: .3rem; color: var(--brand-green); font-size: .84rem; font-weight: 600; text-decoration: none; }
.ct-map .leaflet-container a.ct-pop__link:hover { text-decoration: underline; }

/* next steps */
.ct-steps__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ct-step { position: relative; padding-top: 3.4rem; }
/* connector line behind the numbers */
.ct-step::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 44px;
  right: -1.5rem;
  height: 2px;
  background: repeating-linear-gradient(90deg, #cfe0d4 0 8px, transparent 8px 14px);
}
.ct-step:last-child::before { display: none; }
.ct-step__num {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-green);
  color: #fff;
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 700;
  box-shadow: 0 0 0 6px var(--brand-green-light);
}
.ct-step__title { margin-bottom: .5rem; font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; }
.ct-step__text { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--text-muted); }

/* FAQ */
.ct-faq { padding-top: 0; }
.ct-faq a { color: var(--brand-green); }
.ct-qa { border-bottom: 1px solid var(--ct-line); }
.ct-qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--black);
  list-style: none;
  cursor: pointer;
}
.ct-qa summary::-webkit-details-marker { display: none; }
.ct-qa summary:focus-visible { outline: 2px solid var(--brand-green); outline-offset: 4px; border-radius: 4px; }
.ct-qa__icon {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-green-light);
  transition: background .2s ease, transform .3s ease;
}
.ct-qa__icon::before,
.ct-qa__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--brand-green);
  transition: transform .3s ease, background .2s ease;
}
.ct-qa__icon::after { transform: rotate(90deg); }
.ct-qa[open] .ct-qa__icon { background: var(--brand-green); transform: rotate(180deg); }
.ct-qa[open] .ct-qa__icon::before,
.ct-qa[open] .ct-qa__icon::after { background: #fff; }
.ct-qa[open] .ct-qa__icon::after { transform: rotate(0deg); }
.ct-qa p { margin: 0 0 1.2rem; max-width: 65ch; color: var(--text-muted); line-height: 1.65; }

/* toast */
.ct-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 1080;
  padding: .7rem 1.2rem;
  border-radius: 40px;
  background: var(--black);
  color: #fff;
  font-size: .88rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity .25s ease, transform .25s ease;
}
.ct-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ======================================================== RESPONSIVE */
@media (max-width: 991.98px) {
  .ct-hero { padding: 2.5rem 0 3.5rem; }
  .ct-hero__lead { max-width: none; }
  .ct-section { padding: 3.5rem 0; }
  .ct-faq { padding-top: 0; }
  /* office list becomes a swipeable row above the map */
  .ct-map { grid-template-columns: minmax(0, 1fr); }
  .ct-map__list { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; border-right: 0; border-bottom: 1px solid var(--ct-line); padding: .85rem; }
  .ct-map__head { display: none; }
  .ct-map__item { flex: 0 0 min(320px, 78%); scroll-snap-align: start; padding: .8rem .9rem; }
  .ct-map__addr { font-size: .78rem; }
  .ct-map__canvas { min-height: 380px; }
}
@media (max-width: 767.98px) {
  .ct-step { padding: 0 0 0 3.6rem; min-height: 44px; }
  .ct-step::before { top: 50px; bottom: -1.5rem; left: 21px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #cfe0d4 0 8px, transparent 8px 14px); }
}
@media (max-width: 575.98px) {
  .ct-intent__pill { padding: .45rem .85rem; font-size: .84rem; }
  .ct-intent__icon { display: none; }
  .ct-progress { flex-basis: 100%; }
  .ct-submit__btn { width: 100%; }
  .ct-office__time { font-size: 2.1rem; }
  .ct-office__top { flex-wrap: wrap; gap: .6rem; }   /* status pill drops under the city on narrow phones */
  .ct-map__canvas { min-height: 340px; }
  .ct-lines__action span { display: none; }
}

/* ========================================================= KEYFRAMES */
@keyframes ctDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(3%, -3%, 0) scale(1.06); }
}
@keyframes ctPing { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes ctPop { 0% { transform: scale(.9); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes ctStamp { to { opacity: 1; transform: rotate(-12deg) scale(1); } }
@keyframes ctSpin { to { transform: rotate(360deg); } }
@keyframes ctFly { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(3px, -3px); } }

@media (prefers-reduced-motion: reduce) {
  .ct *, .ct *::before, .ct *::after { animation: none !important; transition: none !important; }
  .ct [data-reveal] { opacity: 1; transform: none; }
  .ct-ticket.is-sent .ct-ticket__stamp { opacity: 1; transform: rotate(-12deg); }
}
