/* "Let's talk" enquiry section (_src/shared/lets-talk.html): headline, awards
   and office cards (_src/shared/office-cards.html, pages/offices.css) on the left;
   a frosted-glass form card on the right with a phone country selector
   (intl-tel-input, assets/js/phone-input.js). */

/* Same dotted night background as the About page's offices section. */
.lets-talk {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 128px) var(--gutter);
  background:
    radial-gradient(circle at 2px 2px, rgb(255 255 255 / 2.5%) 1.6px, transparent 1.7px) 0 0 / 16px 16px,
    radial-gradient(1100px 600px at 20% 30%, rgb(76 134 240 / 18%), transparent 58%),
    #0f141e;
  color: var(--white);
}

/* Desktop: headline, awards and office cards on the left, the form on the right.
   Phones: headline, then the form, then the awards and offices. */
.lets-talk__grid {
  position: relative;
  display: grid;
  grid-template:
    'head form' auto
    'awards form' auto
    'offices form' 1fr
    / minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.lets-talk__head { grid-area: head; }
.lets-talk__recognised { grid-area: awards; }

.lets-talk__offices { grid-area: offices; margin-top: 36px; }

/* Offices as tabs: flag + city pills switch one office card (pages/offices.css
   look) showing the address; email and phones sit in pills under it. */
.lets-talk__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }

.lets-talk__tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px 0 14px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 999px;
  background: rgb(255 255 255 / 6%);
  color: var(--night-soft);
  font: inherit;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.lets-talk__tab:hover { border-color: rgb(255 255 255 / 30%); color: var(--white); }
.lets-talk__tab[aria-selected='true'] { border-color: var(--gold); background: rgb(245 200 66 / 12%); color: var(--white); }
.lets-talk__tab .iti__flag { border-radius: 2px; box-shadow: none; }

/* All three cards share one grid cell, so the box keeps the tallest card's
   height and switching tabs never resizes it. Inactive cards stay in the
   layout, invisible. */
.lets-talk__panels { display: grid; }
.lets-talk__panel { grid-area: 1 / 1; flex-direction: row; border-radius: 16px; }
.lets-talk__panel[hidden] { display: flex; visibility: hidden; }
.lets-talk__panel .office__photo { flex: none; width: 168px; aspect-ratio: auto; }
.lets-talk__panel .office__body { justify-content: center; gap: 6px; padding: 18px 22px; }
.lets-talk__panel .office__city { font-size: 19px; }
.lets-talk__panel .office__addr { font-size: 14.5px; line-height: 1.55; }
.lets-talk__pills { justify-content: flex-start; gap: 10px; margin-top: 14px; }
.lets-talk__pills .office-pill { padding: 11px 18px; font-size: 15px; }

/* ---------- left column ---------- */

.lets-talk__title {
  max-width: 560px;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1.06;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.lets-talk__lead { max-width: 460px; margin-bottom: 40px; font-size: 17px; line-height: 1.6; color: #b9bcc6; }

.lets-talk__subhead { margin-bottom: 16px; font-weight: 600; font-size: 16px; }
.lets-talk__awards { display: flex; flex-wrap: wrap; gap: 14px; }

.lets-talk__awards li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 52px;
  padding: 10px 18px;
  border-radius: 8px;
  background: rgb(255 255 255 / 9%);
}
.lets-talk__awards img { max-width: 100%; max-height: 26px; object-fit: contain; }

/* Awwwards and Kokuyo are dark artwork; show them white on the dark chips. */
.lets-talk__award--dark { filter: brightness(0) invert(1); opacity: .85; }

/* ---------- form card ----------
   Frosted glass: a brighter dot field and soft glow sit behind the card
   (grid ::before, same grid area as the form) and the card blurs them, so the
   dots read sharp around the card and soft through it. */

.lets-talk__grid::before {
  content: '';
  position: absolute;
  inset: -56px -40px;
  grid-area: form;
  background:
    radial-gradient(circle at 3px 3px, rgb(255 255 255 / 7%) 2.2px, transparent 2.5px) 0 0 / 18px 18px,
    radial-gradient(closest-side, rgb(76 134 240 / 30%), transparent 75%);
  mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  pointer-events: none;
}

.lets-talk__card {
  position: relative;
  z-index: 1;
  display: flex;
  grid-area: form;
  align-self: center;
  flex-direction: column;
  gap: 14px;
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 20px;
  background: linear-gradient(160deg, rgb(255 255 255 / 12%), rgb(255 255 255 / 4%));
  backdrop-filter: blur(3px) saturate(140%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 16%), 0 40px 80px -40px rgb(0 0 0 / 70%);
  color: var(--white);
}
.lets-talk__card-title { font-weight: 700; font-size: clamp(24px, 2.1vw, 30px); line-height: 1.15; letter-spacing: -.9px; }
.lets-talk__card-lead { max-width: 420px; margin-bottom: 14px; font-size: 15.5px; line-height: 1.6; color: var(--night-soft); }

.lt-field {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 12px;
  background: rgb(255 255 255 / 7%);
  color: var(--white);
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color .2s ease, background-color .2s ease;
}
.lt-field--area { height: auto; min-height: 132px; padding: 16px 18px; line-height: 1.55; resize: vertical; }
.lt-field::placeholder { color: rgb(255 255 255 / 55%); }
.lt-field:focus { border-color: var(--gold); background: rgb(255 255 255 / 10%); }

.lets-talk__submit { margin-top: 6px; }
.lets-talk__note { font-size: 13.5px; line-height: 1.5; color: var(--night-muted); }
.lets-talk__card .form-status { margin-top: 0; }
.lets-talk__card .form-status:not(:empty) + .lets-talk__note { display: none; }

/* Phone selector on the glass card (base skin: forms.css). */
.lets-talk__card .iti {
  --iti-arrow-color: rgb(255 255 255 / 60%);
  --iti-hover-color: rgb(255 255 255 / 8%);

  display: block;
  width: 100%;
}
.lets-talk__card .iti__selected-country { border-radius: 12px 0 0 12px; }
.lets-talk__card .iti__selected-country-primary { border-radius: 12px 0 0 12px; }
.lets-talk__card .iti__selected-dial-code { color: var(--white); }

@media (max-width: 900px) {
  .lets-talk__grid {
    grid-template: 'head' 'form' 'awards' 'offices' / minmax(0, 1fr);
  }
  .lets-talk__title { max-width: none; }
  .lets-talk__card { margin-bottom: 48px; }
}

@media (max-width: 720px) {
  .lets-talk__awards li { width: calc((100% - 28px) / 3); height: 46px; padding: 8px 10px; }
  .lets-talk__panel .office__photo { width: 112px; }
  .lets-talk__tabs { gap: 8px; }
  .lets-talk__tab { gap: 8px; height: 40px; padding: 0 12px 0 10px; font-size: 14px; }
}
@media (max-width: 400px) {
  /* Narrow phones: keep "Request My Strategy Call" on one line inside the card. */
  .lets-talk__submit { padding: 0 44px 0 14px; font-size: 13.5px; }
}
