/* =========================================================
   Staff Renewal v2
   Insurance / Transport pages matching design system
   ========================================================= */

.staff-renewal {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff;
  color: var(--text);
}

.staff-renewal *,
.staff-renewal *::before,
.staff-renewal *::after {
  box-sizing: border-box;
}

.staff-renewal img {
  display: block;
  max-width: 100%;
}

.staff-renewal .section-inner {
  width: min(1180px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.staff-page {
  width: 100%;
  overflow: hidden;
}

.staff-eyebrow {
  margin: 0 0 16px;
  color: var(--blue-light);
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

/* =========================================================
   Hero
   ========================================================= */

.staff-hero {
  padding: 68px 0 76px;
  background: radial-gradient(circle at 83% 15%, rgba(36, 105, 178, 0.13), transparent 26%), linear-gradient(135deg, #fff 0%, #fff 43%, #edf5fb 100%);
}

.staff-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(44px, 7vw, 90px);
}

.staff-hero__copy h1 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(42px, 5vw, 52px);
  line-height: 1.36;
  letter-spacing: 0.04em;
}

.staff-hero__lead {
  margin: 26px 0 0;
  color: #3f5068;
  font-size: 16px;
  line-height: 2;
}

.staff-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.staff-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.25s ease;
}

.staff-button--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 30px rgba(9, 42, 90, 0.18);
}

.staff-button--primary:hover {
  background: var(--blue-light);
  color: #fff;
  transform: translateY(-2px);
}

.staff-button--outline {
  border-color: #b8c9dc;
  background: rgba(255, 255, 255, 0.82);
  color: var(--blue);
}

.staff-button--outline:hover {
  border-color: var(--blue);
  background: #fff;
  color: var(--blue);
  transform: translateY(-2px);
}

.staff-hero__stats {
  display: flex;
  gap: 38px;
  margin-top: 42px;
}

.staff-hero__stats > div {
  position: relative;
  padding-left: 16px;
  border-left: 2px solid #bfd2e6;
}

.staff-hero__stats strong,
.staff-hero__stats span {
  display: block;
}

.staff-hero__stats strong {
  color: var(--blue);
  font-family: "Roboto", sans-serif;
  font-size: 32px;
  line-height: 1;
}

.staff-hero__stats span {
  margin-top: 7px;
  color: #8290a3;
  font-family: "Roboto", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.staff-hero__visual {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(29, 64, 105, 0.15);
}

.staff-hero-mosaic {
  display: grid;
  grid-template-columns: repeat(var(--staff-hero-columns, 6), minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  background: #fff;
}

.staff-hero-mosaic__item {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #edf2f7;
}

.staff-hero-mosaic__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(5, 28, 62, 0.1) 100%);
}

.staff-hero-mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.92);
  transition: transform 0.7s ease;
}

.staff-hero__visual:hover .staff-hero-mosaic__item img {
  transform: scale(1.035);
}

.staff-hero__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--blue);
  background: linear-gradient(rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.42)), repeating-linear-gradient(-45deg, rgba(36, 105, 178, 0.035) 0, rgba(36, 105, 178, 0.035) 14px, rgba(255, 255, 255, 0.12) 14px, rgba(255, 255, 255, 0.12) 28px);
}

.staff-hero__placeholder i {
  font-size: 48px;
  color: var(--blue-light);
}

.staff-hero__placeholder strong {
  font-family: "Roboto", sans-serif;
  letter-spacing: 0.14em;
}

.staff-hero__badge {
  z-index: 3;
  width: fit-content;
  min-width: 238px;
  margin: 0 0 0 auto;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--blue);
}

.staff-hero__badge span,
.staff-hero__badge strong {
  display: block;
}

.staff-hero__badge span {
  margin-bottom: 8px;
  color: var(--blue-light);
  font-family: "Roboto", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.staff-hero__badge strong {
  font-size: 17px;
  line-height: 1.55;
}

/* =========================================================
   Shared headings
   ========================================================= */

.staff-heading {
  margin-bottom: 46px;
}

.staff-heading--center {
  text-align: center;
}

.staff-heading h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.42;
}

.staff-heading__lead {
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.9;
}

/* =========================================================
   Support summary
   ========================================================= */

.staff-summary {
  padding: 92px 0 96px;
  background: #fff;
}

.staff-summary__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.staff-summary-card {
  padding: 32px 28px;
  border: 1px solid var(--blue-border);
  background: #fff;
  box-shadow: 0 12px 34px rgba(33, 68, 109, 0.07);
  text-align: center;
  transition: 0.3s ease;
}

.staff-summary-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(33, 68, 109, 0.12);
}

.staff-summary-card__icon,
.staff-strength__icon {
  position: relative;
  display: block;
  width: 74px;
  height: 74px;
  margin: 0 auto 22px;
  border: 2px solid var(--blue-light);
  border-radius: 50%;
  color: var(--blue);
  font-size: 27px;
}

.staff-summary-card__icon i,
.staff-strength__icon i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.staff-summary-card h3 {
  margin: 0;
  color: var(--blue);
  font-size: 19px;
}

.staff-summary-card p {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.85;
}

/* =========================================================
   Directory tools
   ========================================================= */

.staff-directory {
  padding: 100px 0 110px;
  background: var(--blue-surface);
  scroll-margin-top: 30px;
}

.staff-directory-tools {
  margin-bottom: 56px;
}

.staff-search {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  max-width: 680px;
  margin: 0 auto 28px;
  border: 1px solid #cfdbe8;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(33, 68, 109, 0.06);
}

.staff-search label {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  color: var(--blue-light);
  font-size: 17px;
}

.staff-search input {
  width: 100%;
  height: 54px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
}

.staff-search button {
  height: 36px;
  margin-right: 9px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.staff-shop-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}

.staff-shop-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 17px;
  border: 1px solid #cfdbe8;
  border-radius: 999px;
  background: #fff;
  color: #42536a;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s ease;
}

.staff-shop-tab:hover,
.staff-shop-tab.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(9, 42, 90, 0.14);
}

.staff-no-results {
  margin: 0 0 36px;
  padding: 30px;
  border: 1px solid var(--blue-border);
  background: #fff;
  color: var(--text-muted);
  text-align: center;
}

.staff-shop-list {
  display: block;
}

.staff-shop-section {
  scroll-margin-top: 110px;
  margin-top: 58px;
  padding: 34px;
  border: 1px solid var(--blue-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 46px rgba(31, 67, 111, 0.07);
}

.staff-shop-section:first-child {
  margin-top: 0;
}

.staff-shop-section[hidden],
.staff-card-slide[hidden] {
  display: none !important;
}

.staff-shop-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e5ebf2;
  padding: 20px;
}

.staff-shop-header__title p {
  margin: 0 0 6px;
  color: var(--blue-light);
  font-family: "Roboto", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.staff-shop-header__title h3 {
  display: inline;
  margin: 0;
  color: var(--blue);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.3;
}

.staff-shop-header__title span {
  margin-left: 14px;
  color: #a0adbd;
  font-family: "Roboto", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.staff-shop-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 170px;
  padding: 13px 17px;
  border: 1px solid var(--blue);
  border-radius: 4px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.25s ease;
}

.staff-shop-link:hover {
  background: var(--blue);
  color: #fff;
}

.staff-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.staff-card-slide {
  min-width: 0;
}

.staff-card-grid .staff-card-slide .staff-card {
  height: 100%;
}

/* =========================================================
   Staff cards
   ========================================================= */

.staff-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e1e7ee;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(30, 56, 92, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.staff-card:hover {
  border-color: #b8cee4;
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(30, 56, 92, 0.13);
}

.staff-card__photo {
  position: relative;
  aspect-ratio: 387 / 500;
  overflow: hidden;
  background: #edf2f7;
}

.staff-card__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 63%, rgba(4, 27, 61, 0.16) 100%);
  pointer-events: none;
}

.staff-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.55s ease;
}

.staff-card:hover .staff-card__photo img {
  transform: scale(1.035);
}

.staff-card__job {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 7px 11px;
  border-radius: 3px;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.staff-card__noimage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 12px;
  color: #8b98aa;
}

.staff-card__noimage i {
  font-size: 38px;
}

.staff-card__noimage span {
  font-family: "Roboto", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.staff-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 21px 19px 18px;
}

.staff-card__heading h4 {
  margin: 0;
  color: var(--blue);
  font-size: 21px;
  line-height: 1.35;
}

.staff-card__heading p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 9px 0 0;
  color: #78869a;
  font-size: 11px;
}

.staff-card__heading p i {
  color: var(--blue-light);
}

.staff-card__comment {
  position: relative;
  margin-top: 20px;
  padding: 18px 0 0 23px;
  border-top: 1px solid #edf0f4;
}

.staff-card__comment > i {
  position: absolute;
  top: 18px;
  left: 0;
  color: #8bb0d8;
  font-size: 13px;
}

.staff-card__comment p {
  margin: 0;
  color: #536074;
  font-size: 12px;
  line-height: 1.85;
}

.staff-card__contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding: 24px 0 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.staff-card__contact:hover {
  color: var(--blue-light);
}

.staff-empty {
  margin: 0;
  padding: 30px;
  border: 1px solid var(--blue-border);
  background: var(--blue-surface);
  color: var(--text-muted);
  text-align: center;
}

/* =========================================================
   Strengths
   ========================================================= */

.staff-strengths {
  padding: 96px 0 104px;
  background: #fff;
}

.staff-strengths__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.staff-strength {
  padding: 0 32px;
  border-right: 1px solid #e0e6ed;
  text-align: center;
}

.staff-strength:last-child {
  border-right: 0;
}

.staff-strength h3 {
  margin: 0;
  color: var(--blue);
  font-size: 16px;
  line-height: 1.65;
}

.staff-strength p {
  margin: 13px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.8;
}

/* =========================================================
   Contact CTA
   ========================================================= */

.staff-contact {
  padding: 78px 0;
  background: linear-gradient(135deg, rgba(9, 42, 90, 0.98), rgba(36, 105, 178, 0.94));
}

.staff-contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 58px;
}

.staff-contact .staff-eyebrow {
  color: #9bceff;
}

.staff-contact__copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.5;
}

.staff-contact__copy > p:last-child {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.9;
}

.staff-contact__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.staff-button--white {
  min-height: 58px;
  background: #fff;
  color: var(--blue);
}

.staff-button--white:hover {
  background: var(--blue-pale);
  color: var(--blue);
  transform: translateY(-2px);
}

.staff-contact__tel {
  display: block;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  text-align: center;
  text-decoration: none;
}

.staff-contact__tel span,
.staff-contact__tel strong {
  display: block;
}

.staff-contact__tel span {
  font-size: 11px;
  letter-spacing: 0.08em;
}

.staff-contact__tel strong {
  margin-top: 6px;
  font-family: "Roboto", sans-serif;
  font-size: 27px;
  letter-spacing: 0.04em;
}

/* =========================================================
   Safe reveal animation
   ========================================================= */

.staff-reveal,
.staff-card-reveal {
  opacity: 1;
  transform: none;
}

.staff-animation-ready .staff-reveal,
.staff-animation-ready .staff-card-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.72s ease,
    transform 0.72s ease;
}

.staff-animation-ready .staff-reveal.is-visible,
.staff-animation-ready .staff-card-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* PC: row cards appear from left to right */
@media screen and (min-width: 1101px) {
  .staff-animation-ready .staff-card-grid .staff-card-reveal:nth-child(5n + 2) {
    transition-delay: 0.07s;
  }

  .staff-animation-ready .staff-card-grid .staff-card-reveal:nth-child(5n + 3) {
    transition-delay: 0.14s;
  }

  .staff-animation-ready .staff-card-grid .staff-card-reveal:nth-child(5n + 4) {
    transition-delay: 0.21s;
  }

  .staff-animation-ready .staff-card-grid .staff-card-reveal:nth-child(5n + 5) {
    transition-delay: 0.28s;
  }
}

@media screen and (min-width: 821px) and (max-width: 1100px) {
  .staff-animation-ready .staff-card-grid .staff-card-reveal:nth-child(3n + 2) {
    transition-delay: 0.08s;
  }

  .staff-animation-ready .staff-card-grid .staff-card-reveal:nth-child(3n + 3) {
    transition-delay: 0.16s;
  }
}

@media screen and (min-width: 561px) and (max-width: 820px) {
  .staff-animation-ready .staff-card-grid .staff-card-reveal:nth-child(2n) {
    transition-delay: 0.1s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .staff-animation-ready .staff-reveal,
  .staff-animation-ready .staff-card-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   Tablet
   ========================================================= */

@media screen and (max-width: 1100px) {
  .staff-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .staff-strength {
    padding: 0 22px;
  }

  .staff-contact__inner {
    gap: 36px;
  }
}

@media screen and (max-width: 820px) {
  .staff-renewal .section-inner {
    width: min(100% - 32px, 1180px);
  }

  .staff-hero {
    padding: 52px 0 58px;
  }

  .staff-hero__inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .staff-hero__copy h1 {
    font-size: clamp(40px, 9vw, 52px);
  }

  .staff-hero__visual {
    min-height: 480px;
  }

  .staff-summary,
  .staff-directory,
  .staff-strengths {
    padding-top: 74px;
    padding-bottom: 78px;
  }

  .staff-summary__grid {
    grid-template-columns: 1fr;
  }

  .staff-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staff-strengths__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 0;
  }

  .staff-strength:nth-child(2) {
    border-right: 0;
  }

  .staff-contact__inner {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Mobile
   ========================================================= */

@media screen and (max-width: 560px) {
  .staff-renewal .section-inner {
    width: min(100% - 14px, 1180px);
  }

  .staff-hero__copy h1 {
    font-size: 38px;
  }

  .staff-hero__lead br {
    display: none;
  }

  .staff-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .staff-hero__stats {
    gap: 24px;
  }

  .staff-hero__stats strong {
    font-size: 27px;
  }

  .staff-hero__visual {
    min-height: 0;
  }

  .staff-hero-mosaic {
    grid-template-columns: repeat(var(--staff-hero-mobile-columns, 2), minmax(0, 1fr));
  }

  .staff-hero__badge {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .staff-heading h2 {
    font-size: 29px;
  }

  .staff-search {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }

  .staff-search input {
    font-size: 13px;
  }

  .staff-shop-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .staff-shop-tabs::-webkit-scrollbar {
    display: none;
  }

  .staff-shop-tab {
    flex: 0 0 auto;
  }

  .staff-shop-list {
    display: block;
  }

  .staff-shop-section {
    margin-top: 34px;
    padding: 20px 12px;
  }

  .staff-shop-section:first-child {
    margin-top: 0;
  }

  .staff-shop-header {
    display: block;
  }

  .staff-shop-header__title h3 {
    display: block;
    font-size: 25px;
  }

  .staff-shop-header__title span {
    display: block;
    margin: 8px 0 0;
  }

  .staff-shop-link {
    width: 100%;
    margin-top: 18px;
  }

  .staff-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }

  .staff-card__body {
    padding: 14px 10px 12px;
  }

  .staff-card__heading h4 {
    font-size: 16px;
    line-height: 1.35;
  }

  .staff-card__comment {
    margin-top: 12px;
    padding: 12px 0 0 18px;
  }

  .staff-card__comment > i {
    top: 12px;
    font-size: 11px;
  }

  .staff-card__comment p {
    font-size: 11px;
    line-height: 1.65;
  }
  .staff-card__contact {
    font-size: 10px;
    column-gap: 0.5em;
  }
  .staff-strengths__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .staff-strength,
  .staff-strength:nth-child(2) {
    padding: 30px 10px;
    border-right: 0;
    border-bottom: 1px solid #e0e6ed;
  }

  .staff-strength:last-child {
    border-bottom: 0;
  }

  .staff-contact {
    padding: 64px 0;
  }

  .staff-contact__copy h2 {
    font-size: 30px;
  }

  .staff-contact__tel strong {
    font-size: 24px;
  }
}
