﻿/* =========================================================
   TEAM INFORMATION PAGE
========================================================= */

.team-hero {
    position: relative;
    min-height: 610px;
    display: flex;
    align-items: center;
    background-image: url("https://images.unsplash.com/photo-1511795409834-ef04bbd61622?auto=format&fit=crop&w=2200&q=90");
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.team-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(49, 30, 28, .9), rgba(74, 43, 40, .62), rgba(50, 29, 27, .18) );
}

.team-hero-content {
    position: relative;
    z-index: 2;
    max-width: 790px;
    padding: 90px 0;
    color: #fff;
}

.team-eyebrow,
.team-section-label,
.team-heading > span {
    display: block;
    color: #e9c878;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
}

.team-eyebrow {
    margin-bottom: 18px;
}

.team-hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(45px, 6vw, 78px);
    line-height: 1.05;
    font-weight: 400;
    margin: 0 0 25px;
}

    .team-hero h1 span {
        display: block;
        color: #e9c878;
        font-style: italic;
    }

.team-hero p {
    max-width: 650px;
    color: #f5e8e4;
    font-size: 16px;
    line-height: 1.85;
}

.team-hero-actions,
.team-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.team-primary-btn,
.team-outline-btn,
.team-whatsapp-btn,
.team-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 24px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: .3s ease;
}

.team-primary-btn {
    background: #fff;
    color: #704a45;
}

    .team-primary-btn:hover {
        background: #e9c878;
        color: #3f2c29;
        transform: translateY(-3px);
    }

.team-outline-btn {
    border: 1px solid rgba(255,255,255,.6);
    color: #fff;
}

    .team-outline-btn:hover {
        background: #fff;
        color: #704a45;
    }


/* INTRODUCTION */

.team-introduction {
    padding: 110px 0;
    background: #fff;
}

.team-intro-image {
    position: relative;
    height: 590px;
    overflow: hidden;
}

    .team-intro-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .8s ease;
    }

    .team-intro-image:hover img {
        transform: scale(1.05);
    }

.team-intro-badge {
    position: absolute;
    right: 25px;
    bottom: 25px;
    background: rgba(255,255,255,.95);
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 14px;
}

    .team-intro-badge strong {
        font-family: Georgia, serif;
        font-size: 38px;
        color: #8b5e59;
    }

    .team-intro-badge span {
        color: #6e5b57;
        font-size: 11px;
        line-height: 1.4;
    }

.team-intro-content {
    padding-left: 30px;
}

.team-section-label {
    color: #9b6b65;
    margin-bottom: 14px;
}

.team-intro-content h2,
.team-heading h2 {
    font-family: Georgia, serif;
    color: #40302e;
    font-weight: 400;
    line-height: 1.15;
}

.team-intro-content h2 {
    font-size: clamp(38px, 4vw, 55px);
    margin-bottom: 25px;
}

    .team-intro-content h2 em,
    .team-heading h2 em {
        display: block;
        color: #8b5e59;
        font-style: italic;
    }

.team-intro-content p {
    color: #766560;
    font-size: 14px;
    line-height: 1.85;
}

.team-intro-points {
    margin-top: 28px;
}

    .team-intro-points div {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 14px;
    }

    .team-intro-points i {
        width: 25px;
        height: 25px;
        border-radius: 50%;
        background: #f4e4df;
        color: #8b5e59;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .team-intro-points span {
        color: #4c3b38;
        font-size: 13px;
    }


/* STATS */

.team-stats {
    padding: 0 0 100px;
    background: #fff;
}

.team-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    box-shadow: 0 20px 55px rgba(70,40,35,.1);
}

.team-stat {
    padding: 38px 20px;
    text-align: center;
    background: #fffaf8;
    border-right: 1px solid #eadbd6;
}

    .team-stat:last-child {
        border-right: 0;
    }

.team-stat-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #f4e4df;
    color: #8b5e59;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.team-stat strong {
    display: block;
    font-family: Georgia, serif;
    font-size: 40px;
    font-weight: 400;
    color: #473532;
}

.team-stat span {
    color: #7b6965;
    font-size: 11px;
}


/* FOUNDER */

.team-founder {
    padding: 110px 0;
    background: #fff8f5;
}

.team-founder-box {
    background: #fff;
    box-shadow: 0 25px 65px rgba(65,35,30,.09);
}

.team-founder-image {
    height: 570px;
    overflow: hidden;
}

    .team-founder-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .7s ease;
    }

.team-founder-box:hover .team-founder-image img {
    transform: scale(1.04);
}

.team-founder-content {
    padding: 55px;
}

    .team-founder-content h2 {
        font-family: Georgia, serif;
        color: #40302e;
        font-size: clamp(37px, 4vw, 54px);
        font-weight: 400;
        line-height: 1.15;
        margin: 15px 0;
    }

        .team-founder-content h2 em {
            display: block;
            color: #8b5e59;
        }

.team-founder-role {
    color: #9a6b64;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 25px;
}

.team-founder-content p {
    color: #766560;
    font-size: 14px;
    line-height: 1.85;
}

.team-founder-signature {
    margin-top: 28px;
    font-family: "Brush Script MT", cursive;
    font-size: 28px;
    color: #8b5e59;
}


/* TEAM MEMBERS */

.team-members {
    padding: 110px 0;
    background: #fff;
}

.team-heading {
    max-width: 700px;
    margin: 0 auto 45px;
    text-align: center;
}

    .team-heading h2 {
        font-size: clamp(38px, 4vw, 56px);
        margin: 14px 0;
    }

    .team-heading p {
        color: #776763;
        line-height: 1.8;
    }

.team-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.team-filter {
    border: 1px solid #e4d3ce;
    background: transparent;
    color: #6d5955;
    padding: 10px 20px;
    font-size: 12px;
    cursor: pointer;
    transition: .3s ease;
}

    .team-filter:hover,
    .team-filter.active {
        background: #8b5e59;
        border-color: #8b5e59;
        color: #fff;
    }

.team-member-card {
    height: 100%;
    background: #fff;
    border: 1px solid #eadbd7;
    overflow: hidden;
    transition: .4s ease;
}

    .team-member-card:hover {
        transform: translateY(-9px);
        box-shadow: 0 25px 50px rgba(65,35,30,.13);
    }

.team-member-image {
    position: relative;
    height: 390px;
    overflow: hidden;
}

    .team-member-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .7s ease;
    }

.team-member-card:hover .team-member-image img {
    transform: scale(1.06);
}

.team-member-social {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    opacity: 0;
    transform: translateX(15px);
    transition: .35s ease;
}

.team-member-card:hover .team-member-social {
    opacity: 1;
    transform: translateX(0);
}

.team-member-social a {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: #fff;
    color: #8b5e59;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,.12);
}

.team-member-info {
    padding: 25px;
}

    .team-member-info span {
        color: #a1736b;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 2px;
    }

    .team-member-info h3 {
        font-family: Georgia, serif;
        color: #443330;
        font-size: 24px;
        margin: 9px 0;
    }

    .team-member-info p {
        margin: 0;
        color: #776763;
        font-size: 13px;
        line-height: 1.7;
    }


/* VALUES */

.team-values {
    padding: 110px 0;
    background: #fff8f5;
}

.team-value-card {
    position: relative;
    height: 100%;
    padding: 42px 32px;
    background: #fff;
    border: 1px solid #eadbd6;
    transition: .35s ease;
    overflow: hidden;
}

    .team-value-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 45px rgba(65,35,30,.1);
    }

    .team-value-card > i {
        display: block;
        width: 62px;
        height: 62px;
        border-radius: 50%;
        background: #f4e4df;
        color: #8b5e59;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 25px;
        margin-bottom: 23px;
    }

.team-value-number {
    position: absolute;
    right: 18px;
    top: 12px;
    color: #eee0dc;
    font-family: Georgia, serif;
    font-size: 46px;
}

.team-value-card h3 {
    font-family: Georgia, serif;
    color: #443330;
    font-size: 24px;
}

.team-value-card p {
    color: #776763;
    font-size: 13px;
    line-height: 1.8;
}


/* CTA */

.team-cta {
    position: relative;
    min-height: 510px;
    display: flex;
    align-items: center;
    text-align: center;
    background-image: url("https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=2200&q=90");
    background-size: cover;
    background-position: center;
}

.team-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(49,29,27,.8);
}

.team-cta-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: auto;
    color: #fff;
}

    .team-cta-content > span {
        color: #e9c878;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 3px;
    }

    .team-cta-content h2 {
        font-family: Georgia, serif;
        font-size: clamp(40px, 5vw, 64px);
        font-weight: 400;
        line-height: 1.1;
        margin: 18px 0;
    }

        .team-cta-content h2 em {
            display: block;
            color: #e9c878;
        }

    .team-cta-content p {
        color: #f1e2df;
        line-height: 1.8;
    }

.team-cta-actions {
    justify-content: center;
}

.team-whatsapp-btn {
    background: #fff;
    color: #6d4843;
}

    .team-whatsapp-btn:hover {
        background: #e9c878;
        color: #3f2c29;
    }

.team-contact-btn {
    border: 1px solid rgba(255,255,255,.6);
    color: #fff;
}

    .team-contact-btn:hover {
        background: #fff;
        color: #6d4843;
    }


/* REVEAL */

.team-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity .8s ease, transform .8s ease;
}

    .team-reveal.team-visible {
        opacity: 1;
        transform: translateY(0);
    }


/* FILTER ANIMATION */

.team-member-item {
    transition: opacity .35s ease, transform .35s ease;
}

    .team-member-item.team-hidden {
        opacity: 0;
        transform: scale(.94);
        pointer-events: none;
    }


/* RESPONSIVE */

@media (max-width: 991px) {

    .team-intro-content {
        padding-left: 0;
    }

    .team-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-stat:nth-child(2) {
        border-right: 0;
    }

    .team-stat:nth-child(3),
    .team-stat:nth-child(4) {
        border-top: 1px solid #eadbd6;
    }

    .team-founder-content {
        padding: 40px;
    }
}

@media (max-width: 767px) {

    .team-hero {
        min-height: 620px;
    }

    .team-introduction,
    .team-founder,
    .team-members,
    .team-values {
        padding: 75px 0;
    }

    .team-intro-image {
        height: 430px;
    }

    .team-founder-image {
        height: 450px;
    }

    .team-member-image {
        height: 430px;
    }
}

@media (max-width: 575px) {

    .team-stats-grid {
        grid-template-columns: 1fr;
    }

    .team-stat {
        border-right: 0;
        border-bottom: 1px solid #eadbd6;
    }

        .team-stat:last-child {
            border-bottom: 0;
        }

    .team-hero h1 {
        font-size: 42px;
    }

    .team-intro-image,
    .team-founder-image {
        height: 350px;
    }

    .team-member-image {
        height: 390px;
    }

    .team-founder-content {
        padding: 30px;
    }
}
