/* =========================================================
   GOLDBITES
   WHAT OUR CLIENTS SAY
   ========================================================= */

.testimonials-section {
    width: 100%;

    background: linear-gradient(180deg, #fbf7e9, #f1ead3);

    color: #24352d;

    box-sizing: border-box;

    overflow: visible;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.testimonials-container {
    width: 100%;

    max-width: 1320px;

    margin: 0 auto;

    padding: 0 clamp(16px, 4vw, 48px) 48px;

    box-sizing: border-box;
}


/* =========================================================
   MAIN HEADING
   ========================================================= */

.testimonials-heading {
    margin: 0;

    padding-top: clamp(28px, 3vw, 45px);

    padding-bottom: clamp(28px, 3vw, 40px);

    text-align: center;

    color: #bd8d18;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(30px, 3.3vw, 48px);

    font-weight: 700;

    line-height: 1;
}


/* =========================================================
   TESTIMONIAL CARDS
   ========================================================= */

   .testimonial-grid {
       width: 100%;

       display: grid;

       grid-template-columns: repeat(3, minmax(0, 1fr));

       gap: clamp(12px, 1.3vw, 18px);

       box-sizing: border-box;
   }

/* =========================================================
   INDIVIDUAL CARD
   ========================================================= */

   .testimonial-card {
       width: 100%;
       min-width: 0;

       min-height: 185px;
       height: auto;

       padding: clamp(18px, 1.8vw, 26px);

       background: #ffffff;

       border: 1px solid rgba(15, 74, 54, 0.12);

       border-radius: 10px;

       box-sizing: border-box;

       display: flex;

       flex-direction: column;

       justify-content: space-between;

       overflow: visible;
   }


/* =========================================================
   HOVER
   CARD DOES NOT MOVE
   ========================================================= */

.testimonial-card:hover {

    border-color: #f4c542;

    box-shadow:
        0 0 12px rgba(244, 197, 66, 0.25);
}


/* =========================================================
   STARS
   ========================================================= */

.testimonial-stars {

    color: #f4c542;

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size:
        clamp(12px, 1vw, 16px);

    letter-spacing:
        2px;

    line-height: 1;
}


/* =========================================================
   TESTIMONIAL TEXT
   ========================================================= */

.testimonial-text {

    margin:
        8px 0;

    color: #3d3b33;

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size:
        clamp(13px, 1vw, 15px);

    line-height:
        1.55;

    max-width: 100%;
    overflow-wrap: anywhere;
}


/* =========================================================
   USER
   ========================================================= */

.testimonial-user {

    display: flex;

    align-items: center;

    gap:
        clamp(8px, 0.7vw, 11px);

    min-width: 0;
}


/* =========================================================
   AVATAR
   ========================================================= */

   .testimonial-avatar {
       width: 42px;
       height: 42px;

       flex-shrink: 0;

       border-radius: 50%;

       overflow: hidden;

       border: 1px solid #f4c542;
       background: rgba(244, 197, 66, 0.12);
       color: #f4c542;
       display: flex;
       align-items: center;
       justify-content: center;
       font: 700 12px/1 "Inter", Arial, sans-serif;

       box-sizing: border-box;
   }

   .testimonial-avatar img {
       width: 100%;
       height: 100%;

       display: block;

       object-fit: cover;
       object-position: center;
   }

/* =========================================================
   USER INFORMATION
   ========================================================= */

.testimonial-user-info {
    min-width: 0;
}


.testimonial-user-info h3 {

    margin: 0 0 3px;

    color: #0f4a36;

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size:
        13px;

    font-weight: 700;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


.testimonial-user-info p {

    margin: 0;

    color: #6b675a;

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size:
        11px;

    white-space: nowrap;
}


/* =========================================================
   STATISTICS AREA
   ========================================================= */

.goldbites-stats {

    width: 100%;
	margin-top: clamp(32px, 4vw, 50px);


    padding:
        clamp(20px, 1.8vw, 27px)
        0;

    border-top:
        1px solid rgba(244, 197, 66, 0.28);

    border-bottom:
        1px solid rgba(244, 197, 66, 0.28);

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    box-sizing: border-box;
}


/* =========================================================
   STAT ITEM
   ========================================================= */

.stat-item {

    min-width: 0;

    text-align: center;

    padding:
        0 clamp(10px, 2vw, 30px);

    box-sizing: border-box;

    border-right:
        1px solid rgba(244, 197, 66, 0.25);
}


/* Remove last divider */

.stat-item:last-child {
    border-right: none;
}


/* =========================================================
   STAT NUMBER
   ========================================================= */

.stat-item strong {

    display: block;

    color: #9b7411;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(23px, 2.1vw, 31px);

    font-weight: 700;

    line-height: 1;
}


.stat-item strong span {
    font-size: 0.7em;
}


/* =========================================================
   STAT TITLE
   ========================================================= */

.stat-item h4 {

    margin:
        5px 0 2px;

    color: #0f4a36;

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size:
        11px;

    font-weight: 500;

    line-height: 1.2;
}


/* =========================================================
   STAT SUBTEXT
   ========================================================= */

.stat-item p {

    margin: 0;

    color: #6b675a;

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size:
        9px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonial-card {
        min-height: 175px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {
    .testimonials-container {
        padding-inline: 16px;
        padding-bottom: 36px;
    }

    .testimonials-heading {
        padding-top: 30px;
        padding-bottom: 24px;
        font-size: clamp(25px, 7vw, 32px);
        line-height: 1.15;
    }

    .testimonial-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .testimonial-card {
        min-height: 155px;
        padding: 18px;
        border-radius: 10px;
    }

    .testimonial-stars {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .testimonial-text {
        margin: 12px 0;
        font-size: 14px;
        line-height: 1.55;
    }

    .testimonial-avatar {
        width: 38px;
        height: 38px;
    }

    .testimonial-user-info h3 {
        font-size: 12px;
    }

    .testimonial-user-info p {
        font-size: 10px;
    }

    .goldbites-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 0;
        margin-top: 28px;
        padding: 20px 0;
    }

    .stat-item {
        padding: 0 8px;
    }

    .stat-item:nth-child(2n) {
        border-right: none;
    }

    .stat-item strong {
        font-size: 23px;
    }

    .stat-item h4 {
        font-size: 10px;
        white-space: normal;
    }

    .stat-item p {
        font-size: 8px;
    }
}
