/* Teknofert Portfolio – Estilos */
.tkn-section {
    padding: 64px 16px;
    background: #F9F9F9;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-sizing: border-box;
}
.tkn-section *, .tkn-section *::before, .tkn-section *::after { box-sizing: border-box; }

/* Header */
.tkn-header { text-align: center; margin-bottom: 48px; }
.tkn-label {
    display: block;
    color: #97C13B;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 8px;
}
.tkn-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: #004830;
    margin: 0 0 12px;
    line-height: 1.1;
}
.tkn-subtitle {
    color: #6b7280;
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Tabs */
.tkn-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}
.tkn-tab-btn {
    padding: 12px 24px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    border: 2px solid #e5e7eb;
    background: #fff;
    color: #6b7280;
    transition: all .3s ease;
    line-height: 1;
}
.tkn-tab-btn:hover {
    border-color: #97C13B;
    color: #004830;
}
.tkn-tab-btn.active {
    background: #004830 !important;
    color: #fff !important;
    border-color: #004830 !important;
}

/* Tab content */
.tkn-tab-content { display: none; }
.tkn-tab-content.active { display: block; }

/* Notice */
.tkn-notice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    color: #92400e;
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    font-size: 13px;
    margin-bottom: 32px;
}
.tkn-meta-note {
    margin-bottom: 24px;
    color: #6b7280;
    font-style: italic;
    font-size: 14px;
}

/* Grid */
.tkn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

/* Card */
.tkn-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all .3s cubic-bezier(.4,0,.2,1);
}
.tkn-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,.05);
    border-color: #97C13B;
}

/* Card image */
.tkn-card-img-wrap {
    width: 100%;
    height: 262px !important;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    background: #f4f9e8;
    flex-shrink: 0;
}
.tkn-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.05);
    transition: transform .4s ease;
}
.tkn-card:hover .tkn-card-img { transform: scale(1.1); }

/* Card icon row */
.tkn-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}
.tkn-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f4f9e8;
    color: #97C13B;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all .3s;
}
.tkn-card:hover .tkn-icon-wrap {
    background: #97C13B;
    color: #fff;
}
.tkn-badge {
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* Card text */
.tkn-card-title {
    font-size: 1.1rem;
    font-weight: 900;
    color: #004830;
    line-height: 1.3;
    margin: 0 0 12px;
}
.tkn-card-desc {
    color: #4b5563;
    font-size: 13.5px;
    margin: 0 0 24px;
    flex-grow: 1;
    line-height: 1.6;
}
.tkn-card-app-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 6px;
}
.tkn-card-app {
    font-size: 13px;
    color: #374151;
    line-height: 1.5;
    display: block;
}
.tkn-card-footer {
    border-top: 1px solid #f3f4f6;
    padding-top: 16px;
    margin-top: auto;
}
