@charset "UTF-8";
.page-hero {
  position: relative;
  min-height: 400px;
  width: 100%;
  display: flex;
  align-items: center;
  background-color: #0b2434;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #fff;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(11, 36, 52, 0.75) 0%, rgba(11, 36, 52, 0.45) 100%);
}
.page-hero .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  padding-top: 30px;
  padding-bottom: 30px;
}
.page-hero .eyebrow {
  color: #e6c878;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: "Playfair Display", "Open Sans", sans-serif;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.page-hero p {
  max-width: 700px;
  color: #cbd5e1;
  font-size: 14.5px;
  line-height: 1.6;
  margin-top: 8px;
}
.page-hero p.meta {
  color: #e6c878;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

.section-team-page {
  padding: 70px 0 100px;
  background: #ffffff;
}

.team-page-intro {
  margin-bottom: 45px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Team Page Grid --- */
.team-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 30px;
}
@media (max-width: 1100px) {
  .team-page-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .team-page-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}
@media (max-width: 480px) {
  .team-page-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.team-card-item {
  background: #ffffff;
  border: 1px solid #e8e5df;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.team-card-item:hover {
  box-shadow: 0 12px 35px rgba(16, 45, 63, 0.12);
  transform: translateY(-5px);
}
.team-card-item:hover .cnc-member-card__photo img {
  transform: scale(1.05);
}
.team-card-item .cnc-member-card__photo {
  height: 280px;
  background: #f1f5f9;
}
@media (max-width: 768px) {
  .team-card-item .cnc-member-card__photo {
    height: 220px;
  }
}
.team-card-item .cnc-member-card__info {
  padding: 18px 18px 20px;
  border-top: 3px solid #b99a62;
}
.team-card-item .cnc-member-card__info h3 {
  font-size: 17px;
  font-weight: 700;
  color: #142838;
  margin: 0 0 6px;
}

.team-card-contacts {
  margin: 10px 0;
  padding: 10px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}
.team-card-contacts p {
  font-size: 12.5px;
  color: #475569;
  margin: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  word-break: break-all;
}
.team-card-contacts p i {
  color: #b99a62;
  font-size: 12px;
  width: 14px;
}

/* --- Staff Modal Popup --- */
.staff-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(10, 31, 44, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.staff-modal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}
.staff-modal-backdrop.is-active .staff-modal-dialog {
  transform: translateY(0) scale(1);
}

.staff-modal-dialog {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  overflow-y: auto;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.staff-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;
  line-height: 1;
  color: #64748b;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s ease, transform 0.2s ease;
}
.staff-modal-close:hover {
  color: #142838;
  transform: scale(1.1);
}

.staff-modal-content {
  display: grid;
  grid-template-columns: 290px 1fr;
}
@media (max-width: 768px) {
  .staff-modal-content {
    grid-template-columns: 1fr;
  }
}

.staff-modal-sidebar {
  background: #f8fafc;
  padding: 40px 25px;
  border-right: 1px solid #e2e8f0;
  text-align: center;
}
.staff-modal-sidebar .staff-modal-avatar {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.staff-modal-sidebar .staff-modal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.staff-modal-sidebar h3 {
  font-size: 20px;
  font-weight: 700;
  color: #142838;
  margin-bottom: 6px;
}
.staff-modal-sidebar .staff-modal-pos {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #b99a62;
  margin-bottom: 20px;
}
.staff-modal-sidebar .staff-modal-contacts {
  text-align: left;
  margin-bottom: 20px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
}
.staff-modal-sidebar .staff-modal-contacts .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13.5px;
  color: #475569;
}
.staff-modal-sidebar .staff-modal-contacts .contact-item i {
  color: #b99a62;
  width: 16px;
}
.staff-modal-sidebar .staff-modal-contacts .contact-item a {
  color: #475569;
  text-decoration: none;
  word-break: break-all;
}
.staff-modal-sidebar .staff-modal-contacts .contact-item a:hover {
  color: #b99a62;
}
.staff-modal-sidebar .staff-modal-extra {
  text-align: left;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
}
.staff-modal-sidebar .staff-modal-extra h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.staff-modal-sidebar .staff-modal-extra p {
  font-size: 13px;
  line-height: 1.65;
  color: #475569;
}

.staff-modal-body {
  padding: 45px 40px;
}
.staff-modal-body .staff-modal-body-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b99a62;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
}
.staff-modal-body .staff-modal-desc {
  font-size: 15px;
  line-height: 1.85;
  color: #334155;
}
.staff-modal-body .staff-modal-desc p {
  margin-bottom: 16px;
}

.cnc-contact-cta {
  padding: 130px 0;
  background: #c7a16a;
  color: #142838;
  text-align: left;
}
.cnc-contact-cta .cnc-kicker {
  color: #31404a;
}
.cnc-contact-cta h2 {
  max-width: 800px;
  margin-bottom: 36px;
  font-size: clamp(33px, 4.1vw, 52px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.08;
}
.cnc-contact-cta h2 i {
  color: #fff;
  font-weight: 400;
}
.cnc-contact-cta .cnc-button {
  background: #092131;
  color: #fff;
}
.cnc-contact-cta .cnc-button:hover {
  background: #fff;
  color: #092131;
}

.cnc-team {
  padding: 80px 0;
  background: #ffffff;
  border-top: 1px solid #e8e5df;
}

.cnc-team__wrap {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 30px;
  align-items: start;
}

.cnc-team__intro {
  padding-top: 8px;
}
.cnc-team__intro .cnc-kicker {
  color: #957544;
  margin-bottom: 14px;
}
.cnc-team__intro h2 {
  font-size: clamp(26px, 2.8vw, 44px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #142838;
  margin: 0 0 20px;
}
.cnc-team__intro h2 i {
  color: #a17c4b;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 36px);
}

.cnc-team__intro-desc {
  margin: 0 0 28px;
  color: #64717a;
  font-size: 14px;
  line-height: 1.75;
}

.cnc-team__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1px solid #142838;
  color: #142838;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cnc-team__cta-btn span {
  font-size: 16px;
  line-height: 1;
}
.cnc-team__cta-btn:hover {
  background: #142838;
  color: #fff;
}

.cnc-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cnc-member-card {
  background: #fff;
  border: 1px solid #e8e5df;
  border-radius: 3px;
  overflow: hidden;
  transition: box-shadow 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cnc-member-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}
.cnc-member-card:hover .cnc-member-card__photo img {
  transform: scale(1.04);
}
.cnc-member-card__photo {
  position: relative;
  height: 270px;
  overflow: hidden;
  background: linear-gradient(145deg, #c5bfb6 0%, #9da8b0 100%);
}
.cnc-member-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cnc-member-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #c8c2b8, #a5acb2);
}
.cnc-member-card__placeholder span {
  font-size: 52px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  line-height: 1;
}
.cnc-member-card__info {
  padding: 14px 16px 16px;
  border-top: 3px solid #b99a62;
}
.cnc-member-card__info h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 400;
  color: #142838;
  line-height: 1.3;
}
.cnc-member-card__pos {
  margin: 0 0 10px;
  color: #957544;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cnc-member-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #957544;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94), gap 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cnc-member-card__link::after {
  content: "›";
  font-size: 16px;
  line-height: 1;
}
.cnc-member-card__link:hover {
  color: #142838;
  gap: 8px;
}

@media (max-width: 1100px) {
  .cnc-team__wrap {
    grid-template-columns: 1fr 2fr;
    gap: 40px;
  }
}
@media (max-width: 992px) {
  .cnc-team__wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .cnc-team__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .cnc-team {
    padding: 60px 0;
  }
  .cnc-team__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .cnc-member-card__photo {
    height: 190px;
  }
}
@media (max-width: 576px) {
  .cnc-team__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .cnc-member-card__photo {
    height: 170px;
  }
  .cnc-member-card__info h3 {
    font-size: 14px;
  }
}