/* ================================================================
   TEAM PAGE STYLES
   Scoped under .tm-* classes - uses the same color palette as the
   pricing / about pages. No global body/* font-family overrides.
   ================================================================ */

.tm-sec,
.tm-sec--alt,
.tm-closing {
  --tm-bg:     #0d0d0d;
  --tm-s1:     #141414;
  --tm-s2:     #1a1a1a;
  --tm-bd:     rgba(255,255,255,0.07);
  --tm-bd2:    rgba(145,217,4,0.22);
  --tm-g:      #91d904;
  --tm-g2:     #6aaa00;
  --tm-tx:     #e8e8e8;
  --tm-mt:     #4b4f5a;
  --tm-wt:     #fff;
  --tm-r:      14px;
  --tm-rs:     8px;
  --tm-tr:     .3s cubic-bezier(.4,0,.2,1);
}

/* ── Section Backgrounds ── */
.tm-sec      { background: white; padding: 40px 0; }
.tm-sec--alt { background: var(--tm-s1); padding: 40px 0; }
.tm-intro    { padding-top: 64px; }

/* ── Label ── */
.tm-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tm-g);
  margin-bottom: .9rem;
  background: rgba(145,217,4,.12);
  border: 1px solid var(--tm-bd2);
  padding: 5px 16px;
  border-radius: 50px;
}

/* ── Headings ── */
.tm-h1 {
  font-family: 'Teko', sans-serif;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 500;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: black;
  margin-bottom: 1.1rem;
}
.tm-h1 span { color: var(--tm-g); }

.tm-h2 {
  font-family: 'Teko', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #000;
  margin: 0;
}
.tm-h2 span { color: var(--tm-g); }

/* ── Intro ── */
.tm-intro__wrap {
  max-width: 760px;
}
.tm-lead {
  color: var(--tm-mt);
  font-size: clamp(.93rem, 2vw, 1.05rem);
  line-height: 1.8;
  margin-bottom: 1.1rem;
}

/* ── Section Heads ── */
.tm-sec-head {
  margin-bottom: 2.25rem;
  max-width: 640px;
}

/* ── Grid ── */
.tm-grid {
  display: grid;
  gap: 18px;
}
.tm-grid--2 { grid-template-columns: repeat(2, 1fr); }
.tm-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ── Team Card ── */
/* ================================================================
   TEAM MEMBER CARD - PORTRAIT STYLE
   ================================================================ */

.tm-card {
    background-color:#171717;

    border: 2px solid #91d904;
    
    border-radius:5%;
    padding: 2rem 2rem 2.5rem;
    text-align: center;

    height: 100%;
    overflow: hidden;

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.tm-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .35),
        0 0 25px rgba(145, 217, 4, .20);
}

@media (max-width: 991px) {
    .tm-grid--2 {
        grid-template-columns: repeat(1, 1fr);
    }
}
/* ================================================================
   TEAM IMAGE
   ================================================================ */

.tm-avatar {
    width: 250px;
    /*height: 250px;*/

    max-width: 100%;

    margin: 0 auto 3rem;

    overflow: hidden;

    background: #ddd;

    border: 4px solid ##91d904;
    border-radius: 24px;

    box-shadow:
        0 0 0 1px rgba(232, 181, 42, .25),
        0 8px 25px rgba(0, 0, 0, .25);
}

.tm-avatar img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    border-radius: 20px;

    transition: transform .5s ease;
}

.tm-card:hover .tm-avatar img {
    transform: scale(1.03);
}


/* ================================================================
   NAME + ROLE
   ================================================================ */

.tm-card__top {
    display: block;

    padding: 0;
    margin: 0 0 2.2rem;
}

.tm-card__name {
    font-family: 'Teko', sans-serif;

    font-size: clamp(2.3rem, 4vw, 3.5rem);

    font-weight: 600;

    line-height: 1.05;

    letter-spacing: .01em;

    color: #91d904
;

    margin: 0 0 1rem;
}

.tm-card__role {
    display: block;

    font-family: 'Outfit', sans-serif;

    font-size: clamp(1.25rem, 2vw, 1.7rem);

    font-weight: 600;

    line-height: 1.3;

    color: #fff;

    text-transform: none;

    letter-spacing: 0;

    margin: 0;
}


/* ================================================================
   DESCRIPTION
   ================================================================ */

.tm-card > p {
    max-width: 900px;

    margin: 0 auto 1.1rem;

    padding: 0;

    font-family: 'Outfit', sans-serif;

    font-size: clamp(1rem, 1.5vw, 1.2rem);

    font-weight: 400;

    line-height: 1.75;

    color: #f5f5f5;

    text-align: justify;
}

.tm-card > p:last-child {
    margin-bottom: 0;
}


/* ================================================================
   2 COLUMN
   ================================================================ */

.tm-grid--2 .tm-card {
    display: flex;
    flex-direction: column;
}


/* ================================================================
   3 COLUMN
   ================================================================ */

.tm-grid--3 .tm-card {
    display: flex;
    flex-direction: column;
}


/* ================================================================
   TABLET
   ================================================================ */

@media (max-width: 991px) {

    .tm-card {
        padding: 1.5rem 1.5rem 2rem;
    }

    .tm-avatar {
        width: 340px;
        height: 420px;

        margin-bottom: 2.5rem;
    }

    .tm-card__name {
        font-size: 2.6rem;
    }

    .tm-card__role {
        font-size: 1.3rem;
    }

    .tm-card > p {
        font-size: 1rem;
    }
}


/* ================================================================
   MOBILE
   ================================================================ */

@media (max-width: 767px) {

    .tm-card {
        padding: 1.25rem 1rem 2rem;
    }

    .tm-avatar {
        width: 300px;
        height: 380px;

        margin-bottom: 2rem;

        border-width: 3px;
        border-radius: 20px;
    }

    .tm-avatar img {
        border-radius: 17px;
    }

    .tm-card__top {
        margin-bottom: 1.7rem;
    }

    .tm-card__name {
        font-size: 2.3rem;
    }

    .tm-card__role {
        font-size: 1.15rem;
    }

    .tm-card > p {
        font-size: .95rem;
        line-height: 1.7;
    }
}


/* ================================================================
   SMALL MOBILE
   ================================================================ */

@media (max-width: 480px) {

    .tm-card {
        padding: 1rem .8rem 1.75rem;
    }

    .tm-avatar {
        width: 270px;
        height: 340px;

        margin-bottom: 1.8rem;
    }

    .tm-card__name {
        font-size: 2rem;
    }

    .tm-card__role {
        font-size: 1.05rem;
    }

    .tm-card > p {
        font-size: .9rem;
        line-height: 1.65;
    }
}
/* ================================================================
   CLOSING / OUR FAMILY SECTION
   ================================================================ */

.tm-closing {
    padding: 70px 0;
    background: #fff;
}

.tm-closing__box {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;

    padding: 3rem;

    background: #1a1a1a;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid var(--tm-g);

    border-radius: 14px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}


/* ================================================================
   LABEL
   ================================================================ */

.tm-closing__box .tm-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* ================================================================
   HEADING
   ================================================================ */

.tm-closing__box .tm-h2 {
    margin-bottom: 1.5rem;
    text-align: center;
}


/* ================================================================
   PARAGRAPHS
   ================================================================ */

.tm-closing__box p {
    width: 100%;

    margin: 0 0 1.2rem;

    color: #d0d5e3;

    font-size: 0.95rem;
    line-height: 1.8;

    text-align: justify;
    text-justify: inter-word;
}

.tm-closing__box p:last-of-type {
    margin-bottom: 2rem;
}


/* ================================================================
   STAT ROW
   ================================================================ */

.tm-stat-row {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 1rem;

    width: 100%;
}

.tm-stat {
    background: #0d0d0d;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 8px;

    padding: 1.4rem 1rem;

    text-align: center;

    transition:
        transform .3s ease,
        border-color .3s ease;
}

.tm-stat:hover {
    transform: translateY(-5px);
    border-color: var(--tm-g);
}

.tm-stat .num {
    font-family: 'Teko', sans-serif;

    font-size: 2.5rem;
    font-weight: 600;

    line-height: 1;

    color: var(--tm-g);
}

.tm-stat .lbl {
    margin-top: .4rem;

    font-size: .75rem;
    font-weight: 600;

    color: #d0d5e3;

    text-transform: uppercase;
    letter-spacing: .06em;
}


/* ================================================================
   TABLET - 991px
   ================================================================ */

@media (max-width: 991px) {

    .tm-closing {
        padding: 55px 0;
    }

    .tm-closing__box {
        max-width: 900px;
        padding: 2.5rem 2rem;
    }

    .tm-closing__box p {
        font-size: .93rem;
        line-height: 1.75;
    }

    .tm-stat-row {
        grid-template-columns: repeat(3, 1fr);
        gap: .8rem;
    }
}


/* ================================================================
   MOBILE - 767px
   ================================================================ */

@media (max-width: 767px) {

    .tm-closing {
        padding: 45px 0;
    }

    .tm-closing__box {
        padding: 2rem 1.25rem;

        border-radius: 12px;
    }

    .tm-closing__box .tm-h2 {
        font-size: 2rem;
        line-height: 1.15;

        margin-bottom: 1.25rem;
    }

    .tm-closing__box p {
        font-size: .9rem;
        line-height: 1.7;

        text-align: justify;
    }

    .tm-stat-row {
        grid-template-columns: 1fr;

        gap: .7rem;
    }

    .tm-stat {
        padding: 1.1rem;
    }

    .tm-stat .num {
        font-size: 2.2rem;
    }
}


/* ================================================================
   SMALL MOBILE - 480px
   ================================================================ */

@media (max-width: 480px) {

    .tm-closing {
        padding: 36px 0;
    }

    .tm-closing__box {
        padding: 1.5rem 1rem;

        border-radius: 10px;
    }

    .tm-closing__box .tm-h2 {
        font-size: 1.75rem;
    }

    .tm-closing__box p {
        font-size: .87rem;
        line-height: 1.65;

        text-align: justify;
    }

    .tm-closing__box p:last-of-type {
        margin-bottom: 1.5rem;
    }

    .tm-stat-row {
        gap: .6rem;
    }

    .tm-stat {
        padding: 1rem;
    }

    .tm-stat .num {
        font-size: 2rem;
    }

    .tm-stat .lbl {
        font-size: .7rem;
    }
}
@media (max-width: 767px) {
    .tm-grid--2,
    .tm-grid--3 {
        grid-template-columns: 1fr !important;
    }
}